
com.huaweicloud.sdk.meeting.v1.model.ListUpComingWebinarsRequest 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 ListUpComingWebinarsRequest {
@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 = "sortType")
private String sortType;
public ListUpComingWebinarsRequest 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 ListUpComingWebinarsRequest 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 ListUpComingWebinarsRequest 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 ListUpComingWebinarsRequest 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 ListUpComingWebinarsRequest withSearchKey(String searchKey) {
this.searchKey = searchKey;
return this;
}
/** 搜索条件。支持账号、姓名、手机、邮箱模糊搜索
*
* @return searchKey */
public String getSearchKey() {
return searchKey;
}
public void setSearchKey(String searchKey) {
this.searchKey = searchKey;
}
public ListUpComingWebinarsRequest withSortType(String sortType) {
this.sortType = sortType;
return this;
}
/** ASC_StartTIME:按会议开始时间升序排序。DSC_StartTIME:按会议开始时间降序排序
*
* @return sortType */
public String getSortType() {
return sortType;
}
public void setSortType(String sortType) {
this.sortType = sortType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ListUpComingWebinarsRequest listUpComingWebinarsRequest = (ListUpComingWebinarsRequest) o;
return Objects.equals(this.xRequestId, listUpComingWebinarsRequest.xRequestId)
&& Objects.equals(this.acceptLanguage, listUpComingWebinarsRequest.acceptLanguage)
&& Objects.equals(this.offset, listUpComingWebinarsRequest.offset)
&& Objects.equals(this.limit, listUpComingWebinarsRequest.limit)
&& Objects.equals(this.searchKey, listUpComingWebinarsRequest.searchKey)
&& Objects.equals(this.sortType, listUpComingWebinarsRequest.sortType);
}
@Override
public int hashCode() {
return Objects.hash(xRequestId, acceptLanguage, offset, limit, searchKey, sortType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ListUpComingWebinarsRequest {\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(" sortType: ").append(toIndentedString(sortType)).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