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

com.tencentcloudapi.dlc.v20210125.models.DescribeJobsRequest Maven / Gradle / Ivy

There is a newer version: 3.0.1076
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.dlc.v20210125.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeJobsRequest extends AbstractModel {

    /**
    * Query keywords
    */
    @SerializedName("Keyword")
    @Expose
    private String Keyword;

    /**
    * Matching mode
    */
    @SerializedName("Pattern")
    @Expose
    private String Pattern;

    /**
    * Pagination parameters
    */
    @SerializedName("Limit")
    @Expose
    private Long Limit;

    /**
    * Pagination parameters
    */
    @SerializedName("Offset")
    @Expose
    private Long Offset;

    /**
    * Sorting fields
    */
    @SerializedName("Sort")
    @Expose
    private String Sort;

    /**
    * Sorting fields, and true means the ascending order (by default) while false means the descending order.
    */
    @SerializedName("Asc")
    @Expose
    private Boolean Asc;

    /**
     * Get Query keywords 
     * @return Keyword Query keywords
     */
    public String getKeyword() {
        return this.Keyword;
    }

    /**
     * Set Query keywords
     * @param Keyword Query keywords
     */
    public void setKeyword(String Keyword) {
        this.Keyword = Keyword;
    }

    /**
     * Get Matching mode 
     * @return Pattern Matching mode
     */
    public String getPattern() {
        return this.Pattern;
    }

    /**
     * Set Matching mode
     * @param Pattern Matching mode
     */
    public void setPattern(String Pattern) {
        this.Pattern = Pattern;
    }

    /**
     * Get Pagination parameters 
     * @return Limit Pagination parameters
     */
    public Long getLimit() {
        return this.Limit;
    }

    /**
     * Set Pagination parameters
     * @param Limit Pagination parameters
     */
    public void setLimit(Long Limit) {
        this.Limit = Limit;
    }

    /**
     * Get Pagination parameters 
     * @return Offset Pagination parameters
     */
    public Long getOffset() {
        return this.Offset;
    }

    /**
     * Set Pagination parameters
     * @param Offset Pagination parameters
     */
    public void setOffset(Long Offset) {
        this.Offset = Offset;
    }

    /**
     * Get Sorting fields 
     * @return Sort Sorting fields
     */
    public String getSort() {
        return this.Sort;
    }

    /**
     * Set Sorting fields
     * @param Sort Sorting fields
     */
    public void setSort(String Sort) {
        this.Sort = Sort;
    }

    /**
     * Get Sorting fields, and true means the ascending order (by default) while false means the descending order. 
     * @return Asc Sorting fields, and true means the ascending order (by default) while false means the descending order.
     */
    public Boolean getAsc() {
        return this.Asc;
    }

    /**
     * Set Sorting fields, and true means the ascending order (by default) while false means the descending order.
     * @param Asc Sorting fields, and true means the ascending order (by default) while false means the descending order.
     */
    public void setAsc(Boolean Asc) {
        this.Asc = Asc;
    }

    public DescribeJobsRequest() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public DescribeJobsRequest(DescribeJobsRequest source) {
        if (source.Keyword != null) {
            this.Keyword = new String(source.Keyword);
        }
        if (source.Pattern != null) {
            this.Pattern = new String(source.Pattern);
        }
        if (source.Limit != null) {
            this.Limit = new Long(source.Limit);
        }
        if (source.Offset != null) {
            this.Offset = new Long(source.Offset);
        }
        if (source.Sort != null) {
            this.Sort = new String(source.Sort);
        }
        if (source.Asc != null) {
            this.Asc = new Boolean(source.Asc);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Keyword", this.Keyword);
        this.setParamSimple(map, prefix + "Pattern", this.Pattern);
        this.setParamSimple(map, prefix + "Limit", this.Limit);
        this.setParamSimple(map, prefix + "Offset", this.Offset);
        this.setParamSimple(map, prefix + "Sort", this.Sort);
        this.setParamSimple(map, prefix + "Asc", this.Asc);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy