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

com.tencentcloudapi.csip.v20221121.models.DescribeTaskLogURLRequest Maven / Gradle / Ivy

There is a newer version: 3.1.1107
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.csip.v20221121.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 DescribeTaskLogURLRequest extends AbstractModel {

    /**
    * 0: 预览, 1: 下载
    */
    @SerializedName("Type")
    @Expose
    private Long Type;

    /**
    * 集团账号的成员id
    */
    @SerializedName("MemberId")
    @Expose
    private String [] MemberId;

    /**
    * 任务报告Id 列表
    */
    @SerializedName("ReportItemKeyList")
    @Expose
    private ReportItemKey [] ReportItemKeyList;

    /**
    * 报告中任务id列表
    */
    @SerializedName("ReportTaskIdList")
    @Expose
    private ReportTaskIdList [] ReportTaskIdList;

    /**
     * Get 0: 预览, 1: 下载 
     * @return Type 0: 预览, 1: 下载
     */
    public Long getType() {
        return this.Type;
    }

    /**
     * Set 0: 预览, 1: 下载
     * @param Type 0: 预览, 1: 下载
     */
    public void setType(Long Type) {
        this.Type = Type;
    }

    /**
     * Get 集团账号的成员id 
     * @return MemberId 集团账号的成员id
     */
    public String [] getMemberId() {
        return this.MemberId;
    }

    /**
     * Set 集团账号的成员id
     * @param MemberId 集团账号的成员id
     */
    public void setMemberId(String [] MemberId) {
        this.MemberId = MemberId;
    }

    /**
     * Get 任务报告Id 列表 
     * @return ReportItemKeyList 任务报告Id 列表
     */
    public ReportItemKey [] getReportItemKeyList() {
        return this.ReportItemKeyList;
    }

    /**
     * Set 任务报告Id 列表
     * @param ReportItemKeyList 任务报告Id 列表
     */
    public void setReportItemKeyList(ReportItemKey [] ReportItemKeyList) {
        this.ReportItemKeyList = ReportItemKeyList;
    }

    /**
     * Get 报告中任务id列表 
     * @return ReportTaskIdList 报告中任务id列表
     */
    public ReportTaskIdList [] getReportTaskIdList() {
        return this.ReportTaskIdList;
    }

    /**
     * Set 报告中任务id列表
     * @param ReportTaskIdList 报告中任务id列表
     */
    public void setReportTaskIdList(ReportTaskIdList [] ReportTaskIdList) {
        this.ReportTaskIdList = ReportTaskIdList;
    }

    public DescribeTaskLogURLRequest() {
    }

    /**
     * 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 DescribeTaskLogURLRequest(DescribeTaskLogURLRequest source) {
        if (source.Type != null) {
            this.Type = new Long(source.Type);
        }
        if (source.MemberId != null) {
            this.MemberId = new String[source.MemberId.length];
            for (int i = 0; i < source.MemberId.length; i++) {
                this.MemberId[i] = new String(source.MemberId[i]);
            }
        }
        if (source.ReportItemKeyList != null) {
            this.ReportItemKeyList = new ReportItemKey[source.ReportItemKeyList.length];
            for (int i = 0; i < source.ReportItemKeyList.length; i++) {
                this.ReportItemKeyList[i] = new ReportItemKey(source.ReportItemKeyList[i]);
            }
        }
        if (source.ReportTaskIdList != null) {
            this.ReportTaskIdList = new ReportTaskIdList[source.ReportTaskIdList.length];
            for (int i = 0; i < source.ReportTaskIdList.length; i++) {
                this.ReportTaskIdList[i] = new ReportTaskIdList(source.ReportTaskIdList[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Type", this.Type);
        this.setParamArraySimple(map, prefix + "MemberId.", this.MemberId);
        this.setParamArrayObj(map, prefix + "ReportItemKeyList.", this.ReportItemKeyList);
        this.setParamArrayObj(map, prefix + "ReportTaskIdList.", this.ReportTaskIdList);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy