![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.vod.v20180717.models.SubAppIdInfo 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.vod.v20180717.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 SubAppIdInfo extends AbstractModel {
/**
* Subapplication ID.
*/
@SerializedName("SubAppId")
@Expose
private Long SubAppId;
/**
* The subapplication name.
*/
@SerializedName("SubAppIdName")
@Expose
private String SubAppIdName;
/**
* Subapplication overview.
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Subapplication status. Valid values:
On: enabled
Off: disabled
Destroying: terminating
Destroyed: terminated
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* Get Subapplication ID.
* @return SubAppId Subapplication ID.
*/
public Long getSubAppId() {
return this.SubAppId;
}
/**
* Set Subapplication ID.
* @param SubAppId Subapplication ID.
*/
public void setSubAppId(Long SubAppId) {
this.SubAppId = SubAppId;
}
/**
* Get The subapplication name.
* @return SubAppIdName The subapplication name.
*/
public String getSubAppIdName() {
return this.SubAppIdName;
}
/**
* Set The subapplication name.
* @param SubAppIdName The subapplication name.
*/
public void setSubAppIdName(String SubAppIdName) {
this.SubAppIdName = SubAppIdName;
}
/**
* Get Subapplication overview.
* @return Description Subapplication overview.
*/
public String getDescription() {
return this.Description;
}
/**
* Set Subapplication overview.
* @param Description Subapplication overview.
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
* @return CreateTime Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
* @param CreateTime Subapplication creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Subapplication status. Valid values:
On: enabled
Off: disabled
Destroying: terminating
Destroyed: terminated
* @return Status Subapplication status. Valid values:
On: enabled
Off: disabled
Destroying: terminating
Destroyed: terminated
*/
public String getStatus() {
return this.Status;
}
/**
* Set Subapplication status. Valid values:
On: enabled
Off: disabled
Destroying: terminating
Destroyed: terminated
* @param Status Subapplication status. Valid values:
On: enabled
Off: disabled
Destroying: terminating
Destroyed: terminated
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
* @return Name The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
*/
public String getName() {
return this.Name;
}
/**
* Set The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
* @param Name The subapplication name. This parameter is not recommended. Please use `SubAppIdName` instead.
*/
public void setName(String Name) {
this.Name = Name;
}
public SubAppIdInfo() {
}
/**
* 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 SubAppIdInfo(SubAppIdInfo source) {
if (source.SubAppId != null) {
this.SubAppId = new Long(source.SubAppId);
}
if (source.SubAppIdName != null) {
this.SubAppIdName = new String(source.SubAppIdName);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Name != null) {
this.Name = new String(source.Name);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "SubAppId", this.SubAppId);
this.setParamSimple(map, prefix + "SubAppIdName", this.SubAppIdName);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Name", this.Name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy