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

com.tencentcloudapi.live.v20180801.models.DescribeLiveTranscodeDetailInfoRequest 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.live.v20180801.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 DescribeLiveTranscodeDetailInfoRequest extends AbstractModel {

    /**
    * Push domain name.
    */
    @SerializedName("PushDomain")
    @Expose
    private String PushDomain;

    /**
    * Stream name.
    */
    @SerializedName("StreamName")
    @Expose
    private String StreamName;

    /**
    * Query date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a day in the past three months, with yesterday as the latest date allowed.
    */
    @SerializedName("DayTime")
    @Expose
    private String DayTime;

    /**
    * Number of pages. Default value: 1.
Up to 100 pages.
    */
    @SerializedName("PageNum")
    @Expose
    private Long PageNum;

    /**
    * Number of entries per page. Default value: 20,
Value range: [10,1000].
    */
    @SerializedName("PageSize")
    @Expose
    private Long PageSize;

    /**
    * Start date (UTC+8)
Format: yyyymmdd
Note: details for the last three months can be queried.
    */
    @SerializedName("StartDayTime")
    @Expose
    private String StartDayTime;

    /**
    * End date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a period in the past three months, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied.
    */
    @SerializedName("EndDayTime")
    @Expose
    private String EndDayTime;

    /**
     * Get Push domain name. 
     * @return PushDomain Push domain name.
     */
    public String getPushDomain() {
        return this.PushDomain;
    }

    /**
     * Set Push domain name.
     * @param PushDomain Push domain name.
     */
    public void setPushDomain(String PushDomain) {
        this.PushDomain = PushDomain;
    }

    /**
     * Get Stream name. 
     * @return StreamName Stream name.
     */
    public String getStreamName() {
        return this.StreamName;
    }

    /**
     * Set Stream name.
     * @param StreamName Stream name.
     */
    public void setStreamName(String StreamName) {
        this.StreamName = StreamName;
    }

    /**
     * Get Query date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a day in the past three months, with yesterday as the latest date allowed. 
     * @return DayTime Query date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a day in the past three months, with yesterday as the latest date allowed.
     */
    public String getDayTime() {
        return this.DayTime;
    }

    /**
     * Set Query date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a day in the past three months, with yesterday as the latest date allowed.
     * @param DayTime Query date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a day in the past three months, with yesterday as the latest date allowed.
     */
    public void setDayTime(String DayTime) {
        this.DayTime = DayTime;
    }

    /**
     * Get Number of pages. Default value: 1.
Up to 100 pages. 
     * @return PageNum Number of pages. Default value: 1.
Up to 100 pages.
     */
    public Long getPageNum() {
        return this.PageNum;
    }

    /**
     * Set Number of pages. Default value: 1.
Up to 100 pages.
     * @param PageNum Number of pages. Default value: 1.
Up to 100 pages.
     */
    public void setPageNum(Long PageNum) {
        this.PageNum = PageNum;
    }

    /**
     * Get Number of entries per page. Default value: 20,
Value range: [10,1000]. 
     * @return PageSize Number of entries per page. Default value: 20,
Value range: [10,1000].
     */
    public Long getPageSize() {
        return this.PageSize;
    }

    /**
     * Set Number of entries per page. Default value: 20,
Value range: [10,1000].
     * @param PageSize Number of entries per page. Default value: 20,
Value range: [10,1000].
     */
    public void setPageSize(Long PageSize) {
        this.PageSize = PageSize;
    }

    /**
     * Get Start date (UTC+8)
Format: yyyymmdd
Note: details for the last three months can be queried. 
     * @return StartDayTime Start date (UTC+8)
Format: yyyymmdd
Note: details for the last three months can be queried.
     */
    public String getStartDayTime() {
        return this.StartDayTime;
    }

    /**
     * Set Start date (UTC+8)
Format: yyyymmdd
Note: details for the last three months can be queried.
     * @param StartDayTime Start date (UTC+8)
Format: yyyymmdd
Note: details for the last three months can be queried.
     */
    public void setStartDayTime(String StartDayTime) {
        this.StartDayTime = StartDayTime;
    }

    /**
     * Get End date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a period in the past three months, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied. 
     * @return EndDayTime End date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a period in the past three months, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied.
     */
    public String getEndDayTime() {
        return this.EndDayTime;
    }

    /**
     * Set End date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a period in the past three months, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied.
     * @param EndDayTime End date (UTC+8)
Format: yyyymmdd
Note: you can query the statistics for a period in the past three months, with yesterday as the latest date allowed. You must specify either `DayTime`, or `StartDayTime` and `EndDayTime`. If you specify all three parameters, only `DayTime` will be applied.
     */
    public void setEndDayTime(String EndDayTime) {
        this.EndDayTime = EndDayTime;
    }

    public DescribeLiveTranscodeDetailInfoRequest() {
    }

    /**
     * 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 DescribeLiveTranscodeDetailInfoRequest(DescribeLiveTranscodeDetailInfoRequest source) {
        if (source.PushDomain != null) {
            this.PushDomain = new String(source.PushDomain);
        }
        if (source.StreamName != null) {
            this.StreamName = new String(source.StreamName);
        }
        if (source.DayTime != null) {
            this.DayTime = new String(source.DayTime);
        }
        if (source.PageNum != null) {
            this.PageNum = new Long(source.PageNum);
        }
        if (source.PageSize != null) {
            this.PageSize = new Long(source.PageSize);
        }
        if (source.StartDayTime != null) {
            this.StartDayTime = new String(source.StartDayTime);
        }
        if (source.EndDayTime != null) {
            this.EndDayTime = new String(source.EndDayTime);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "PushDomain", this.PushDomain);
        this.setParamSimple(map, prefix + "StreamName", this.StreamName);
        this.setParamSimple(map, prefix + "DayTime", this.DayTime);
        this.setParamSimple(map, prefix + "PageNum", this.PageNum);
        this.setParamSimple(map, prefix + "PageSize", this.PageSize);
        this.setParamSimple(map, prefix + "StartDayTime", this.StartDayTime);
        this.setParamSimple(map, prefix + "EndDayTime", this.EndDayTime);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy