com.tencentcloudapi.live.v20180801.models.CallBackRuleInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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 CallBackRuleInfo extends AbstractModel {
/**
* The rule creation time.
Note: Beijing time (UTC+8) is used.
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* The rule update time.
Note: Beijing time (UTC+8) is used.
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Template ID.
*/
@SerializedName("TemplateId")
@Expose
private Long TemplateId;
/**
* Push domain name.
*/
@SerializedName("DomainName")
@Expose
private String DomainName;
/**
* Push path.
*/
@SerializedName("AppName")
@Expose
private String AppName;
/**
* Get The rule creation time.
Note: Beijing time (UTC+8) is used.
* @return CreateTime The rule creation time.
Note: Beijing time (UTC+8) is used.
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set The rule creation time.
Note: Beijing time (UTC+8) is used.
* @param CreateTime The rule creation time.
Note: Beijing time (UTC+8) is used.
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get The rule update time.
Note: Beijing time (UTC+8) is used.
* @return UpdateTime The rule update time.
Note: Beijing time (UTC+8) is used.
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set The rule update time.
Note: Beijing time (UTC+8) is used.
* @param UpdateTime The rule update time.
Note: Beijing time (UTC+8) is used.
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get Template ID.
* @return TemplateId Template ID.
*/
public Long getTemplateId() {
return this.TemplateId;
}
/**
* Set Template ID.
* @param TemplateId Template ID.
*/
public void setTemplateId(Long TemplateId) {
this.TemplateId = TemplateId;
}
/**
* Get Push domain name.
* @return DomainName Push domain name.
*/
public String getDomainName() {
return this.DomainName;
}
/**
* Set Push domain name.
* @param DomainName Push domain name.
*/
public void setDomainName(String DomainName) {
this.DomainName = DomainName;
}
/**
* Get Push path.
* @return AppName Push path.
*/
public String getAppName() {
return this.AppName;
}
/**
* Set Push path.
* @param AppName Push path.
*/
public void setAppName(String AppName) {
this.AppName = AppName;
}
public CallBackRuleInfo() {
}
/**
* 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 CallBackRuleInfo(CallBackRuleInfo source) {
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.TemplateId != null) {
this.TemplateId = new Long(source.TemplateId);
}
if (source.DomainName != null) {
this.DomainName = new String(source.DomainName);
}
if (source.AppName != null) {
this.AppName = new String(source.AppName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamSimple(map, prefix + "TemplateId", this.TemplateId);
this.setParamSimple(map, prefix + "DomainName", this.DomainName);
this.setParamSimple(map, prefix + "AppName", this.AppName);
}
}