public class EncodingListQueryParams extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EncodingListQueryParams() |
Modifier and Type | Method and Description |
---|---|
CloudRegion |
getCloudRegion() |
String |
getEncoderVersion() |
Integer |
getLimit() |
String |
getName() |
Integer |
getOffset() |
String |
getSearch() |
String |
getSort() |
String |
getStatus() |
String |
getType() |
void |
setCloudRegion(CloudRegion cloudRegion) |
void |
setEncoderVersion(String encoderVersion) |
void |
setLimit(Integer limit) |
void |
setName(String name) |
void |
setOffset(Integer offset) |
void |
setSearch(String search) |
void |
setSort(String sort) |
void |
setStatus(String status) |
void |
setType(String type) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public Integer getOffset()
public void setOffset(Integer offset)
offset
- Index of the first item to return, starting at 0. Default is 0 (optional)public Integer getLimit()
public void setLimit(Integer limit)
limit
- Maximum number of items to return. Default is 25, maximum is 100 (optional)public String getSort()
public void setSort(String sort)
sort
- Order list result according an encoding resource attribute (optional)public String getType()
public void setType(String type)
type
- Filter encodings to only show the ones with the type specified. (optional)public String getStatus()
public void setStatus(String status)
status
- Filter encodings to only show the ones with the status specified. (optional)public CloudRegion getCloudRegion()
public void setCloudRegion(CloudRegion cloudRegion)
cloudRegion
- Filter encodings to only show the ones with the cloudRegion specified. (optional, default to null)public String getEncoderVersion()
public void setEncoderVersion(String encoderVersion)
encoderVersion
- Filter encodings to only show the ones with the encoderVersion specified. (optional)public String getName()
public void setName(String name)
name
- Filter encodings to only show the ones with this exact name. (optional)public String getSearch()
public void setSearch(String search)
search
- The search query string for advanced filtering. We are using the [Apache Lucene](https://lucene.apache.org/) query syntax here. Only lucene queries equivalent to exact matching and startsWith are supported. Also only AND conjunctions supported at the moment. Please be aware that our filters are **case-insensitive** Examples of supported lucene queries: + `name:MyEncoding1` - This searches for encodings with names that are equal to `myencoding1` + `name:\"My Encoding\"` - This searches for encodings with names that are equal to `my encoding` + `name:MyEncoding\\*` - This searches for encodings with names that are equal to `myencoding*` Please have a look at the [Lucene Documentation - Escaping Special Characters](https://lucene.apache.org/core/8_1_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Escaping_Special_Characters) section to see what characters have to be escaped. + `name:test*` - This searches for encodings with names that start with `test` + `name:test* AND labels:Customer1` - This searches for encodings with names starting with `test` and labels containing an entry that is equal to `customer1` Available search fields: + `name` + `labels` Please be aware to send these queries url encoded. If you provide fields or lucene queries that are not supported, it will result in an error response. (optional)Copyright © 2020. All rights reserved.