public class ReqListDehByTags extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReqListDehByTags.ActionEnum
操作标识,包括filter和count两种。 1.filter:表示按标签过滤专属主机,返回符合条件的专属主机列表。此时,为分页查询。 2.count:表示按标签搜索专属主机,返回符合条件的专属主机个数。
|
| Constructor and Description |
|---|
ReqListDehByTags() |
| Modifier and Type | Method and Description |
|---|---|
ReqListDehByTags |
addMatchesItem(Match matchesItem) |
ReqListDehByTags |
addNotTagsAnyItem(Tag notTagsAnyItem) |
ReqListDehByTags |
addNotTagsItem(Tag notTagsItem) |
ReqListDehByTags |
addTagsAnyItem(Tag tagsAnyItem) |
ReqListDehByTags |
addTagsItem(Tag tagsItem) |
boolean |
equals(Object o) |
ReqListDehByTags.ActionEnum |
getAction()
操作标识,包括filter和count两种。 1.filter:表示按标签过滤专属主机,返回符合条件的专属主机列表。此时,为分页查询。 2.count:表示按标签搜索专属主机,返回符合条件的专属主机个数。
|
Integer |
getLimit()
查询返回的专属主机数量限制,最多为1000,不能为负数。 1.如果action的值为count,此参数无效。 2.如果action的值为filter,limit默认为1000。
|
List<Match> |
getMatches()
搜索字段,用于按条件搜索专属主机。 当前仅支持按resource_name进行搜索。
|
List<Tag> |
getNotTags()
查询不包含所有指定标签的专属主机。 1.最多包含10个key,每个key下面的value最多10个。 2.结构体不能缺失。 3.key不能为空或者空字符串。 4.key不能重复。 5.同一个key中value不能重复。
|
List<Tag> |
getNotTagsAny()
不包含任意标签。 1.最多包含10个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。 2.key不能重复,同一个key中value不能重复。 3.结果返回不包含标签的资源列表,key之间是“或”的关系,key-value结构中value是或的关系。 4.无过滤条件时返回全量数据。
|
Integer |
getOffset()
索引位置,从offset指定的下一条数据开始查询。必须为数字,不能为负数。 查询第一页数据时,不需要传入此参数。查询后续页码数据时,将查询前一页数据时响应体中的值带入此参数。 1.如果action的值为count,此参数无效。 2.如果action的值为filter,offset默认为0。
|
List<Tag> |
getTags()
查询包含所有指定标签的专属主机结构体不能缺失。 1.最多包含10个key,每个key下面的value最多10个。 2.结构体不能缺失。 3.key不能为空或者空字符串。 4.key不能重复。 5.同一个key中value不能重复。
|
List<Tag> |
getTagsAny()
包含任意标签。 1.最多包含10个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。 2.key不能重复,同一个key中value不能重复。 3.结果返回包含标签的资源列表,key之间是“或”的关系,key-value结构中value是“或”的关系。 4.无过滤条件时返回全量数据。
|
int |
hashCode() |
void |
setAction(ReqListDehByTags.ActionEnum action) |
void |
setLimit(Integer limit) |
void |
setMatches(List<Match> matches) |
void |
setNotTags(List<Tag> notTags) |
void |
setNotTagsAny(List<Tag> notTagsAny) |
void |
setOffset(Integer offset) |
void |
setTags(List<Tag> tags) |
void |
setTagsAny(List<Tag> tagsAny) |
String |
toString() |
ReqListDehByTags |
withAction(ReqListDehByTags.ActionEnum action) |
ReqListDehByTags |
withLimit(Integer limit) |
ReqListDehByTags |
withMatches(java.util.function.Consumer<List<Match>> matchesSetter) |
ReqListDehByTags |
withMatches(List<Match> matches) |
ReqListDehByTags |
withNotTags(java.util.function.Consumer<List<Tag>> notTagsSetter) |
ReqListDehByTags |
withNotTags(List<Tag> notTags) |
ReqListDehByTags |
withNotTagsAny(java.util.function.Consumer<List<Tag>> notTagsAnySetter) |
ReqListDehByTags |
withNotTagsAny(List<Tag> notTagsAny) |
ReqListDehByTags |
withOffset(Integer offset) |
ReqListDehByTags |
withTags(java.util.function.Consumer<List<Tag>> tagsSetter) |
ReqListDehByTags |
withTags(List<Tag> tags) |
ReqListDehByTags |
withTagsAny(java.util.function.Consumer<List<Tag>> tagsAnySetter) |
ReqListDehByTags |
withTagsAny(List<Tag> tagsAny) |
public ReqListDehByTags withTags(List<Tag> tags)
public ReqListDehByTags addTagsItem(Tag tagsItem)
public ReqListDehByTags withTags(java.util.function.Consumer<List<Tag>> tagsSetter)
public List<Tag> getTags()
public ReqListDehByTags withNotTags(List<Tag> notTags)
public ReqListDehByTags addNotTagsItem(Tag notTagsItem)
public ReqListDehByTags withNotTags(java.util.function.Consumer<List<Tag>> notTagsSetter)
public List<Tag> getNotTags()
public ReqListDehByTags withLimit(Integer limit)
public Integer getLimit()
public void setLimit(Integer limit)
public ReqListDehByTags withOffset(Integer offset)
public Integer getOffset()
public void setOffset(Integer offset)
public ReqListDehByTags withAction(ReqListDehByTags.ActionEnum action)
public ReqListDehByTags.ActionEnum getAction()
public void setAction(ReqListDehByTags.ActionEnum action)
public ReqListDehByTags withTagsAny(List<Tag> tagsAny)
public ReqListDehByTags addTagsAnyItem(Tag tagsAnyItem)
public ReqListDehByTags withTagsAny(java.util.function.Consumer<List<Tag>> tagsAnySetter)
public List<Tag> getTagsAny()
public ReqListDehByTags withNotTagsAny(List<Tag> notTagsAny)
public ReqListDehByTags addNotTagsAnyItem(Tag notTagsAnyItem)
public ReqListDehByTags withNotTagsAny(java.util.function.Consumer<List<Tag>> notTagsAnySetter)
public List<Tag> getNotTagsAny()
public ReqListDehByTags withMatches(List<Match> matches)
public ReqListDehByTags addMatchesItem(Match matchesItem)
public ReqListDehByTags withMatches(java.util.function.Consumer<List<Match>> matchesSetter)
public List<Match> getMatches()
Copyright © 2022. All rights reserved.