com.huaweicloud.sdk.iotanalytics.v1.model.GetPropertyRequest Maven / Gradle / Ivy
package com.huaweicloud.sdk.iotanalytics.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Consumer;
/**
* 查询属性值请求
*/
public class GetPropertyRequest {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "tags")
private Map tags = null;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "property_names")
private List propertyNames = null;
public GetPropertyRequest withTags(Map tags) {
this.tags = tags;
return this;
}
public GetPropertyRequest putTagsItem(String key, String tagsItem) {
if (this.tags == null) {
this.tags = new HashMap<>();
}
this.tags.put(key, tagsItem);
return this;
}
public GetPropertyRequest withTags(Consumer