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

com.tencentcloudapi.iotvideoindustry.v20201201.models.LiveChannelInfo 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.iotvideoindustry.v20201201.models;

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

public class LiveChannelInfo extends AbstractModel{

    /**
    * 频道ID
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("LiveChannelId")
    @Expose
    private String LiveChannelId;

    /**
    * 频道名称
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("LiveChannelName")
    @Expose
    private String LiveChannelName;

    /**
    * 频道类型
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("LiveChannelType")
    @Expose
    private Long LiveChannelType;

    /**
    * 通道直播状态:1: 未推流,2: 推流中
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("LiveStatus")
    @Expose
    private Long LiveStatus;

    /**
    * 推流地址
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("PushStreamAddress")
    @Expose
    private String PushStreamAddress;

    /**
    * 创建时间
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("CreateTime")
    @Expose
    private String CreateTime;

    /**
    * 修改时间
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("UpdateTime")
    @Expose
    private String UpdateTime;

    /**
     * Get 频道ID
注意:此字段可能返回 null,表示取不到有效值。 
     * @return LiveChannelId 频道ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getLiveChannelId() {
        return this.LiveChannelId;
    }

    /**
     * Set 频道ID
注意:此字段可能返回 null,表示取不到有效值。
     * @param LiveChannelId 频道ID
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setLiveChannelId(String LiveChannelId) {
        this.LiveChannelId = LiveChannelId;
    }

    /**
     * Get 频道名称
注意:此字段可能返回 null,表示取不到有效值。 
     * @return LiveChannelName 频道名称
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getLiveChannelName() {
        return this.LiveChannelName;
    }

    /**
     * Set 频道名称
注意:此字段可能返回 null,表示取不到有效值。
     * @param LiveChannelName 频道名称
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setLiveChannelName(String LiveChannelName) {
        this.LiveChannelName = LiveChannelName;
    }

    /**
     * Get 频道类型
注意:此字段可能返回 null,表示取不到有效值。 
     * @return LiveChannelType 频道类型
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getLiveChannelType() {
        return this.LiveChannelType;
    }

    /**
     * Set 频道类型
注意:此字段可能返回 null,表示取不到有效值。
     * @param LiveChannelType 频道类型
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setLiveChannelType(Long LiveChannelType) {
        this.LiveChannelType = LiveChannelType;
    }

    /**
     * Get 通道直播状态:1: 未推流,2: 推流中
注意:此字段可能返回 null,表示取不到有效值。 
     * @return LiveStatus 通道直播状态:1: 未推流,2: 推流中
注意:此字段可能返回 null,表示取不到有效值。
     */
    public Long getLiveStatus() {
        return this.LiveStatus;
    }

    /**
     * Set 通道直播状态:1: 未推流,2: 推流中
注意:此字段可能返回 null,表示取不到有效值。
     * @param LiveStatus 通道直播状态:1: 未推流,2: 推流中
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setLiveStatus(Long LiveStatus) {
        this.LiveStatus = LiveStatus;
    }

    /**
     * Get 推流地址
注意:此字段可能返回 null,表示取不到有效值。 
     * @return PushStreamAddress 推流地址
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getPushStreamAddress() {
        return this.PushStreamAddress;
    }

    /**
     * Set 推流地址
注意:此字段可能返回 null,表示取不到有效值。
     * @param PushStreamAddress 推流地址
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setPushStreamAddress(String PushStreamAddress) {
        this.PushStreamAddress = PushStreamAddress;
    }

    /**
     * Get 创建时间
注意:此字段可能返回 null,表示取不到有效值。 
     * @return CreateTime 创建时间
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getCreateTime() {
        return this.CreateTime;
    }

    /**
     * Set 创建时间
注意:此字段可能返回 null,表示取不到有效值。
     * @param CreateTime 创建时间
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setCreateTime(String CreateTime) {
        this.CreateTime = CreateTime;
    }

    /**
     * Get 修改时间
注意:此字段可能返回 null,表示取不到有效值。 
     * @return UpdateTime 修改时间
注意:此字段可能返回 null,表示取不到有效值。
     */
    public String getUpdateTime() {
        return this.UpdateTime;
    }

    /**
     * Set 修改时间
注意:此字段可能返回 null,表示取不到有效值。
     * @param UpdateTime 修改时间
注意:此字段可能返回 null,表示取不到有效值。
     */
    public void setUpdateTime(String UpdateTime) {
        this.UpdateTime = UpdateTime;
    }

    public LiveChannelInfo() {
    }

    /**
     * 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 LiveChannelInfo(LiveChannelInfo source) {
        if (source.LiveChannelId != null) {
            this.LiveChannelId = new String(source.LiveChannelId);
        }
        if (source.LiveChannelName != null) {
            this.LiveChannelName = new String(source.LiveChannelName);
        }
        if (source.LiveChannelType != null) {
            this.LiveChannelType = new Long(source.LiveChannelType);
        }
        if (source.LiveStatus != null) {
            this.LiveStatus = new Long(source.LiveStatus);
        }
        if (source.PushStreamAddress != null) {
            this.PushStreamAddress = new String(source.PushStreamAddress);
        }
        if (source.CreateTime != null) {
            this.CreateTime = new String(source.CreateTime);
        }
        if (source.UpdateTime != null) {
            this.UpdateTime = new String(source.UpdateTime);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "LiveChannelId", this.LiveChannelId);
        this.setParamSimple(map, prefix + "LiveChannelName", this.LiveChannelName);
        this.setParamSimple(map, prefix + "LiveChannelType", this.LiveChannelType);
        this.setParamSimple(map, prefix + "LiveStatus", this.LiveStatus);
        this.setParamSimple(map, prefix + "PushStreamAddress", this.PushStreamAddress);
        this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
        this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy