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

com.tencentcloudapi.live.v20180801.models.DescribeStreamPlayInfoListRequest 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.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeStreamPlayInfoListRequest extends AbstractModel{

    /**
    * 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。
    */
    @SerializedName("StartTime")
    @Expose
    private String StartTime;

    /**
    * 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
    */
    @SerializedName("EndTime")
    @Expose
    private String EndTime;

    /**
    * 播放域名,
若不填,则为查询所有播放域名的在线流数据。
    */
    @SerializedName("PlayDomain")
    @Expose
    private String PlayDomain;

    /**
    * 流名称,精确匹配。
若不填,则为查询总体播放数据。
    */
    @SerializedName("StreamName")
    @Expose
    private String StreamName;

    /**
    * 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
若不填,则为查询总体播放数据。
    */
    @SerializedName("AppName")
    @Expose
    private String AppName;

    /**
    * 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
    */
    @SerializedName("ServiceName")
    @Expose
    private String ServiceName;

    /**
     * Get 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。 
     * @return StartTime 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。
     */
    public String getStartTime() {
        return this.StartTime;
    }

    /**
     * Set 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。
     * @param StartTime 起始时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。
     */
    public void setStartTime(String StartTime) {
        this.StartTime = StartTime;
    }

    /**
     * Get 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。 
     * @return EndTime 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
     */
    public String getEndTime() {
        return this.EndTime;
    }

    /**
     * Set 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
     * @param EndTime 结束时间点,接口查询支持两种时间格式:
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
2)yyyy-MM-dd HH:mm:ss:使用此格式时,默认代表北京时间。
开始时间和结束时间的格式需要保持一致。结束时间和开始时间跨度不支持超过24小时,支持距当前时间一个月内的数据查询。
     */
    public void setEndTime(String EndTime) {
        this.EndTime = EndTime;
    }

    /**
     * Get 播放域名,
若不填,则为查询所有播放域名的在线流数据。 
     * @return PlayDomain 播放域名,
若不填,则为查询所有播放域名的在线流数据。
     */
    public String getPlayDomain() {
        return this.PlayDomain;
    }

    /**
     * Set 播放域名,
若不填,则为查询所有播放域名的在线流数据。
     * @param PlayDomain 播放域名,
若不填,则为查询所有播放域名的在线流数据。
     */
    public void setPlayDomain(String PlayDomain) {
        this.PlayDomain = PlayDomain;
    }

    /**
     * Get 流名称,精确匹配。
若不填,则为查询总体播放数据。 
     * @return StreamName 流名称,精确匹配。
若不填,则为查询总体播放数据。
     */
    public String getStreamName() {
        return this.StreamName;
    }

    /**
     * Set 流名称,精确匹配。
若不填,则为查询总体播放数据。
     * @param StreamName 流名称,精确匹配。
若不填,则为查询总体播放数据。
     */
    public void setStreamName(String StreamName) {
        this.StreamName = StreamName;
    }

    /**
     * Get 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
若不填,则为查询总体播放数据。 
     * @return AppName 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
若不填,则为查询总体播放数据。
     */
    public String getAppName() {
        return this.AppName;
    }

    /**
     * Set 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
若不填,则为查询总体播放数据。
     * @param AppName 推流路径,与播放地址中的AppName保持一致,会精确匹配,在同时传递了StreamName时生效。
若不填,则为查询总体播放数据。
     */
    public void setAppName(String AppName) {
        this.AppName = AppName;
    }

    /**
     * Get 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。 
     * @return ServiceName 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
     */
    public String getServiceName() {
        return this.ServiceName;
    }

    /**
     * Set 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
     * @param ServiceName 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
     */
    public void setServiceName(String ServiceName) {
        this.ServiceName = ServiceName;
    }

    public DescribeStreamPlayInfoListRequest() {
    }

    /**
     * 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 DescribeStreamPlayInfoListRequest(DescribeStreamPlayInfoListRequest source) {
        if (source.StartTime != null) {
            this.StartTime = new String(source.StartTime);
        }
        if (source.EndTime != null) {
            this.EndTime = new String(source.EndTime);
        }
        if (source.PlayDomain != null) {
            this.PlayDomain = new String(source.PlayDomain);
        }
        if (source.StreamName != null) {
            this.StreamName = new String(source.StreamName);
        }
        if (source.AppName != null) {
            this.AppName = new String(source.AppName);
        }
        if (source.ServiceName != null) {
            this.ServiceName = new String(source.ServiceName);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "StartTime", this.StartTime);
        this.setParamSimple(map, prefix + "EndTime", this.EndTime);
        this.setParamSimple(map, prefix + "PlayDomain", this.PlayDomain);
        this.setParamSimple(map, prefix + "StreamName", this.StreamName);
        this.setParamSimple(map, prefix + "AppName", this.AppName);
        this.setParamSimple(map, prefix + "ServiceName", this.ServiceName);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy