
com.huaweicloud.sdk.meeting.v1.model.SearchVisionActiveCodeRequest Maven / Gradle / Ivy
package com.huaweicloud.sdk.meeting.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** Request Object */
public class SearchVisionActiveCodeRequest {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "X-Request-Id")
private String xRequestId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "Accept-Language")
private String acceptLanguage;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "offset")
private Integer offset;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "limit")
private Integer limit;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "searchKey")
private String searchKey;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "devType")
private String devType;
public SearchVisionActiveCodeRequest withXRequestId(String xRequestId) {
this.xRequestId = xRequestId;
return this;
}
/** 请求requestId,用来标识一路请求,用于问题跟踪定位,建议使用uuId,若不携带,则后台自动生成
*
* @return xRequestId */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "X-Request-Id")
public String getXRequestId() {
return xRequestId;
}
public void setXRequestId(String xRequestId) {
this.xRequestId = xRequestId;
}
public SearchVisionActiveCodeRequest withAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
return this;
}
/** 语言参数,默认为中文zh_CN, 英文为en_US
*
* @return acceptLanguage */
public String getAcceptLanguage() {
return acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
}
public SearchVisionActiveCodeRequest withOffset(Integer offset) {
this.offset = offset;
return this;
}
/** 查询偏移量,若超过最大数量,则返回最后一页的数据 默认值:0 minimum: 0
*
* @return offset */
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public SearchVisionActiveCodeRequest withLimit(Integer limit) {
this.limit = limit;
return this;
}
/** 查询数量 默认值:0 minimum: 1 maximum: 500
*
* @return limit */
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public SearchVisionActiveCodeRequest withSearchKey(String searchKey) {
this.searchKey = searchKey;
return this;
}
/** 搜索条件,支持激活码、终端名称模糊搜索。
*
* @return searchKey */
public String getSearchKey() {
return searchKey;
}
public void setSearchKey(String searchKey) {
this.searchKey = searchKey;
}
public SearchVisionActiveCodeRequest withDevType(String devType) {
this.devType = devType;
return this;
}
/** 终端类型 - idea-hub:智能协作大屏 - huawei-vision:智慧屏TV - welink-desktop(iwb):电子白板
*
* @return devType */
public String getDevType() {
return devType;
}
public void setDevType(String devType) {
this.devType = devType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SearchVisionActiveCodeRequest searchVisionActiveCodeRequest = (SearchVisionActiveCodeRequest) o;
return Objects.equals(this.xRequestId, searchVisionActiveCodeRequest.xRequestId)
&& Objects.equals(this.acceptLanguage, searchVisionActiveCodeRequest.acceptLanguage)
&& Objects.equals(this.offset, searchVisionActiveCodeRequest.offset)
&& Objects.equals(this.limit, searchVisionActiveCodeRequest.limit)
&& Objects.equals(this.searchKey, searchVisionActiveCodeRequest.searchKey)
&& Objects.equals(this.devType, searchVisionActiveCodeRequest.devType);
}
@Override
public int hashCode() {
return Objects.hash(xRequestId, acceptLanguage, offset, limit, searchKey, devType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SearchVisionActiveCodeRequest {\n");
sb.append(" xRequestId: ").append(toIndentedString(xRequestId)).append("\n");
sb.append(" acceptLanguage: ").append(toIndentedString(acceptLanguage)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" searchKey: ").append(toIndentedString(searchKey)).append("\n");
sb.append(" devType: ").append(toIndentedString(devType)).append("\n");
sb.append("}");
return sb.toString();
}
/** Convert the given object to string with each line indented by 4 spaces (except the first line). */
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy