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

com.tencentcloudapi.ccc.v20200210.models.DescribeIvrAudioListRequest 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.ccc.v20200210.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 DescribeIvrAudioListRequest extends AbstractModel {

    /**
    * 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
    */
    @SerializedName("SdkAppId")
    @Expose
    private Long SdkAppId;

    /**
    * 分页尺寸,上限 50
    */
    @SerializedName("PageSize")
    @Expose
    private Long PageSize;

    /**
    * 分页页码,从 0 开始
    */
    @SerializedName("PageNumber")
    @Expose
    private Long PageNumber;

    /**
    * 文件别名
    */
    @SerializedName("CustomFileName")
    @Expose
    private String [] CustomFileName;

    /**
    * 文件名
    */
    @SerializedName("AudioFileName")
    @Expose
    private String [] AudioFileName;

    /**
    * 文件ID
    */
    @SerializedName("FileId")
    @Expose
    private Long [] FileId;

    /**
     * Get 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc 
     * @return SdkAppId 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
     */
    public Long getSdkAppId() {
        return this.SdkAppId;
    }

    /**
     * Set 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
     * @param SdkAppId 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
     */
    public void setSdkAppId(Long SdkAppId) {
        this.SdkAppId = SdkAppId;
    }

    /**
     * Get 分页尺寸,上限 50 
     * @return PageSize 分页尺寸,上限 50
     */
    public Long getPageSize() {
        return this.PageSize;
    }

    /**
     * Set 分页尺寸,上限 50
     * @param PageSize 分页尺寸,上限 50
     */
    public void setPageSize(Long PageSize) {
        this.PageSize = PageSize;
    }

    /**
     * Get 分页页码,从 0 开始 
     * @return PageNumber 分页页码,从 0 开始
     */
    public Long getPageNumber() {
        return this.PageNumber;
    }

    /**
     * Set 分页页码,从 0 开始
     * @param PageNumber 分页页码,从 0 开始
     */
    public void setPageNumber(Long PageNumber) {
        this.PageNumber = PageNumber;
    }

    /**
     * Get 文件别名 
     * @return CustomFileName 文件别名
     */
    public String [] getCustomFileName() {
        return this.CustomFileName;
    }

    /**
     * Set 文件别名
     * @param CustomFileName 文件别名
     */
    public void setCustomFileName(String [] CustomFileName) {
        this.CustomFileName = CustomFileName;
    }

    /**
     * Get 文件名 
     * @return AudioFileName 文件名
     */
    public String [] getAudioFileName() {
        return this.AudioFileName;
    }

    /**
     * Set 文件名
     * @param AudioFileName 文件名
     */
    public void setAudioFileName(String [] AudioFileName) {
        this.AudioFileName = AudioFileName;
    }

    /**
     * Get 文件ID 
     * @return FileId 文件ID
     */
    public Long [] getFileId() {
        return this.FileId;
    }

    /**
     * Set 文件ID
     * @param FileId 文件ID
     */
    public void setFileId(Long [] FileId) {
        this.FileId = FileId;
    }

    public DescribeIvrAudioListRequest() {
    }

    /**
     * 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 DescribeIvrAudioListRequest(DescribeIvrAudioListRequest source) {
        if (source.SdkAppId != null) {
            this.SdkAppId = new Long(source.SdkAppId);
        }
        if (source.PageSize != null) {
            this.PageSize = new Long(source.PageSize);
        }
        if (source.PageNumber != null) {
            this.PageNumber = new Long(source.PageNumber);
        }
        if (source.CustomFileName != null) {
            this.CustomFileName = new String[source.CustomFileName.length];
            for (int i = 0; i < source.CustomFileName.length; i++) {
                this.CustomFileName[i] = new String(source.CustomFileName[i]);
            }
        }
        if (source.AudioFileName != null) {
            this.AudioFileName = new String[source.AudioFileName.length];
            for (int i = 0; i < source.AudioFileName.length; i++) {
                this.AudioFileName[i] = new String(source.AudioFileName[i]);
            }
        }
        if (source.FileId != null) {
            this.FileId = new Long[source.FileId.length];
            for (int i = 0; i < source.FileId.length; i++) {
                this.FileId[i] = new Long(source.FileId[i]);
            }
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "SdkAppId", this.SdkAppId);
        this.setParamSimple(map, prefix + "PageSize", this.PageSize);
        this.setParamSimple(map, prefix + "PageNumber", this.PageNumber);
        this.setParamArraySimple(map, prefix + "CustomFileName.", this.CustomFileName);
        this.setParamArraySimple(map, prefix + "AudioFileName.", this.AudioFileName);
        this.setParamArraySimple(map, prefix + "FileId.", this.FileId);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy