All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huaweicloud.sdk.meeting.v1.model.SearchQosHistoryMeetingsRequest 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 SearchQosHistoryMeetingsRequest {

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "startDate")

    private Long startDate;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty(value = "endDate")

    private Long endDate;

    @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;

    public SearchQosHistoryMeetingsRequest withStartDate(Long startDate) {
        this.startDate = startDate;
        return this;
    }

    /** 查询的起始日期,Unix时间戳(单位毫秒)。
     * 
     * @return startDate */
    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public SearchQosHistoryMeetingsRequest withEndDate(Long endDate) {
        this.endDate = endDate;
        return this;
    }

    /** 查询的截止日期,Unix时间戳(单位毫秒)。
     * 
     * @return endDate */
    public Long getEndDate() {
        return endDate;
    }

    public void setEndDate(Long endDate) {
        this.endDate = endDate;
    }

    public SearchQosHistoryMeetingsRequest withOffset(Integer offset) {
        this.offset = offset;
        return this;
    }

    /** 查询偏移量。 * 取值:大于等于0,默认值为0。 * 小于最小值0时,系统设置为0。 * 大于等于最大条目数量,则返回最后一页的数据。
     * 
     * @return offset */
    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public SearchQosHistoryMeetingsRequest withLimit(Integer limit) {
        this.limit = limit;
        return this;
    }

    /** 查询的条目数量。 * 取值:1-500,默认值为20。 * 小于最小值1时,系统设置为1。 * 大于最大值500时,系统设置为500。
     * 
     * @return limit */
    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public SearchQosHistoryMeetingsRequest withSearchKey(String searchKey) {
        this.searchKey = searchKey;
        return this;
    }

    /** 根据会议主题,预定人和会议id作为关键词,模糊查询会议列表。最大不超过512个字节。
     * 
     * @return searchKey */
    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    @Override
    public boolean equals(java.lang.Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SearchQosHistoryMeetingsRequest searchQosHistoryMeetingsRequest = (SearchQosHistoryMeetingsRequest) o;
        return Objects.equals(this.startDate, searchQosHistoryMeetingsRequest.startDate)
            && Objects.equals(this.endDate, searchQosHistoryMeetingsRequest.endDate)
            && Objects.equals(this.offset, searchQosHistoryMeetingsRequest.offset)
            && Objects.equals(this.limit, searchQosHistoryMeetingsRequest.limit)
            && Objects.equals(this.searchKey, searchQosHistoryMeetingsRequest.searchKey);
    }

    @Override
    public int hashCode() {
        return Objects.hash(startDate, endDate, offset, limit, searchKey);
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class SearchQosHistoryMeetingsRequest {\n");
        sb.append("    startDate: ").append(toIndentedString(startDate)).append("\n");
        sb.append("    endDate: ").append(toIndentedString(endDate)).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("}");
        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