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

com.tencentcloudapi.cme.v20191029.models.HandleStreamConnectProjectRequest 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.cme.v20191029.models;

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

public class HandleStreamConnectProjectRequest extends AbstractModel{

    /**
    * 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
    */
    @SerializedName("Platform")
    @Expose
    private String Platform;

    /**
    * 云转推项目 Id 。
    */
    @SerializedName("ProjectId")
    @Expose
    private String ProjectId;

    /**
    * 请参考 [操作类型](#Operation)
    */
    @SerializedName("Operation")
    @Expose
    private String Operation;

    /**
    * 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。
    */
    @SerializedName("InputInfo")
    @Expose
    private StreamInputInfo InputInfo;

    /**
    * 主备输入源标识,取值有:
  • Main :主源;
  • Backup :备源。
  • */ @SerializedName("InputEndpoint") @Expose private String InputEndpoint; /** * 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ @SerializedName("OutputInfo") @Expose private StreamConnectOutput OutputInfo; /** * 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ @SerializedName("CurrentStopTime") @Expose private String CurrentStopTime; /** * 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 */ @SerializedName("Operator") @Expose private String Operator; /** * Get 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 * @return Platform 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 */ public String getPlatform() { return this.Platform; } /** * Set 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 * @param Platform 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。 */ public void setPlatform(String Platform) { this.Platform = Platform; } /** * Get 云转推项目 Id 。 * @return ProjectId 云转推项目 Id 。 */ public String getProjectId() { return this.ProjectId; } /** * Set 云转推项目 Id 。 * @param ProjectId 云转推项目 Id 。 */ public void setProjectId(String ProjectId) { this.ProjectId = ProjectId; } /** * Get 请参考 [操作类型](#Operation) * @return Operation 请参考 [操作类型](#Operation) */ public String getOperation() { return this.Operation; } /** * Set 请参考 [操作类型](#Operation) * @param Operation 请参考 [操作类型](#Operation) */ public void setOperation(String Operation) { this.Operation = Operation; } /** * Get 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @return InputInfo 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public StreamInputInfo getInputInfo() { return this.InputInfo; } /** * Set 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @param InputInfo 转推输入源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public void setInputInfo(StreamInputInfo InputInfo) { this.InputInfo = InputInfo; } /** * Get 主备输入源标识,取值有:
  • Main :主源;
  • Backup :备源。
  • * @return InputEndpoint 主备输入源标识,取值有:
  • Main :主源;
  • Backup :备源。
  • */ public String getInputEndpoint() { return this.InputEndpoint; } /** * Set 主备输入源标识,取值有:
  • Main :主源;
  • Backup :备源。
  • * @param InputEndpoint 主备输入源标识,取值有:
  • Main :主源;
  • Backup :备源。
  • */ public void setInputEndpoint(String InputEndpoint) { this.InputEndpoint = InputEndpoint; } /** * Get 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @return OutputInfo 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public StreamConnectOutput getOutputInfo() { return this.OutputInfo; } /** * Set 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @param OutputInfo 转推输出源操作参数。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public void setOutputInfo(StreamConnectOutput OutputInfo) { this.OutputInfo = OutputInfo; } /** * Get 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @return CurrentStopTime 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public String getCurrentStopTime() { return this.CurrentStopTime; } /** * Set 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 * @param CurrentStopTime 云转推当前预计结束时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。具体操作方式详见 [操作类型](#Operation) 及下文示例。 */ public void setCurrentStopTime(String CurrentStopTime) { this.CurrentStopTime = CurrentStopTime; } /** * Get 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 * @return Operator 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 */ public String getOperator() { return this.Operator; } /** * Set 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 * @param Operator 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作所有云转推项目。如果指定操作者,则操作者必须为项目所有者。 */ public void setOperator(String Operator) { this.Operator = Operator; } public HandleStreamConnectProjectRequest() { } /** * 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 HandleStreamConnectProjectRequest(HandleStreamConnectProjectRequest source) { if (source.Platform != null) { this.Platform = new String(source.Platform); } if (source.ProjectId != null) { this.ProjectId = new String(source.ProjectId); } if (source.Operation != null) { this.Operation = new String(source.Operation); } if (source.InputInfo != null) { this.InputInfo = new StreamInputInfo(source.InputInfo); } if (source.InputEndpoint != null) { this.InputEndpoint = new String(source.InputEndpoint); } if (source.OutputInfo != null) { this.OutputInfo = new StreamConnectOutput(source.OutputInfo); } if (source.CurrentStopTime != null) { this.CurrentStopTime = new String(source.CurrentStopTime); } if (source.Operator != null) { this.Operator = new String(source.Operator); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Platform", this.Platform); this.setParamSimple(map, prefix + "ProjectId", this.ProjectId); this.setParamSimple(map, prefix + "Operation", this.Operation); this.setParamObj(map, prefix + "InputInfo.", this.InputInfo); this.setParamSimple(map, prefix + "InputEndpoint", this.InputEndpoint); this.setParamObj(map, prefix + "OutputInfo.", this.OutputInfo); this.setParamSimple(map, prefix + "CurrentStopTime", this.CurrentStopTime); this.setParamSimple(map, prefix + "Operator", this.Operator); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy