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

com.tencentcloudapi.cls.v20201016.models.CreateExportRequest Maven / Gradle / Ivy

/*
 * 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.cls.v20201016.models;

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

public class CreateExportRequest extends AbstractModel{

    /**
    * 日志主题
    */
    @SerializedName("TopicId")
    @Expose
    private String TopicId;

    /**
    * 日志导出检索语句
    */
    @SerializedName("Query")
    @Expose
    private String Query;

    /**
    * 日志导出数量,  最大值1000万
    */
    @SerializedName("Count")
    @Expose
    private Long Count;

    /**
    * 日志导出起始时间,毫秒时间戳
    */
    @SerializedName("From")
    @Expose
    private Long From;

    /**
    * 日志导出结束时间,毫秒时间戳
    */
    @SerializedName("To")
    @Expose
    private Long To;

    /**
    * 日志导出时间排序。desc,asc,默认为desc
    */
    @SerializedName("Order")
    @Expose
    private String Order;

    /**
    * 日志导出数据格式。json,csv,默认为json
    */
    @SerializedName("Format")
    @Expose
    private String Format;

    /**
     * Get 日志主题 
     * @return TopicId 日志主题
     */
    public String getTopicId() {
        return this.TopicId;
    }

    /**
     * Set 日志主题
     * @param TopicId 日志主题
     */
    public void setTopicId(String TopicId) {
        this.TopicId = TopicId;
    }

    /**
     * Get 日志导出检索语句 
     * @return Query 日志导出检索语句
     */
    public String getQuery() {
        return this.Query;
    }

    /**
     * Set 日志导出检索语句
     * @param Query 日志导出检索语句
     */
    public void setQuery(String Query) {
        this.Query = Query;
    }

    /**
     * Get 日志导出数量,  最大值1000万 
     * @return Count 日志导出数量,  最大值1000万
     */
    public Long getCount() {
        return this.Count;
    }

    /**
     * Set 日志导出数量,  最大值1000万
     * @param Count 日志导出数量,  最大值1000万
     */
    public void setCount(Long Count) {
        this.Count = Count;
    }

    /**
     * Get 日志导出起始时间,毫秒时间戳 
     * @return From 日志导出起始时间,毫秒时间戳
     */
    public Long getFrom() {
        return this.From;
    }

    /**
     * Set 日志导出起始时间,毫秒时间戳
     * @param From 日志导出起始时间,毫秒时间戳
     */
    public void setFrom(Long From) {
        this.From = From;
    }

    /**
     * Get 日志导出结束时间,毫秒时间戳 
     * @return To 日志导出结束时间,毫秒时间戳
     */
    public Long getTo() {
        return this.To;
    }

    /**
     * Set 日志导出结束时间,毫秒时间戳
     * @param To 日志导出结束时间,毫秒时间戳
     */
    public void setTo(Long To) {
        this.To = To;
    }

    /**
     * Get 日志导出时间排序。desc,asc,默认为desc 
     * @return Order 日志导出时间排序。desc,asc,默认为desc
     */
    public String getOrder() {
        return this.Order;
    }

    /**
     * Set 日志导出时间排序。desc,asc,默认为desc
     * @param Order 日志导出时间排序。desc,asc,默认为desc
     */
    public void setOrder(String Order) {
        this.Order = Order;
    }

    /**
     * Get 日志导出数据格式。json,csv,默认为json 
     * @return Format 日志导出数据格式。json,csv,默认为json
     */
    public String getFormat() {
        return this.Format;
    }

    /**
     * Set 日志导出数据格式。json,csv,默认为json
     * @param Format 日志导出数据格式。json,csv,默认为json
     */
    public void setFormat(String Format) {
        this.Format = Format;
    }

    public CreateExportRequest() {
    }

    /**
     * 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 CreateExportRequest(CreateExportRequest source) {
        if (source.TopicId != null) {
            this.TopicId = new String(source.TopicId);
        }
        if (source.Query != null) {
            this.Query = new String(source.Query);
        }
        if (source.Count != null) {
            this.Count = new Long(source.Count);
        }
        if (source.From != null) {
            this.From = new Long(source.From);
        }
        if (source.To != null) {
            this.To = new Long(source.To);
        }
        if (source.Order != null) {
            this.Order = new String(source.Order);
        }
        if (source.Format != null) {
            this.Format = new String(source.Format);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "TopicId", this.TopicId);
        this.setParamSimple(map, prefix + "Query", this.Query);
        this.setParamSimple(map, prefix + "Count", this.Count);
        this.setParamSimple(map, prefix + "From", this.From);
        this.setParamSimple(map, prefix + "To", this.To);
        this.setParamSimple(map, prefix + "Order", this.Order);
        this.setParamSimple(map, prefix + "Format", this.Format);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy