com.tencentcloudapi.domain.v20180808.models.CreateIntlTemplateRequest 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.domain.v20180808.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 CreateIntlTemplateRequest extends AbstractModel {
/**
* The registrant contact.
*/
@SerializedName("RegistrantContact")
@Expose
private RegistrantContact RegistrantContact;
/**
* The admin contact.
*/
@SerializedName("AdminContact")
@Expose
private AdminContact AdminContact;
/**
* The technical contact.
*/
@SerializedName("TechnicalContact")
@Expose
private TechnicalContact TechnicalContact;
/**
* The contact person for bills.
*/
@SerializedName("BillingContact")
@Expose
private BillingContact BillingContact;
/**
* The profile type. Valid values: `I` (individual, default), `E` (organization).
*/
@SerializedName("TemplateType")
@Expose
private String TemplateType;
/**
* Get The registrant contact.
* @return RegistrantContact The registrant contact.
*/
public RegistrantContact getRegistrantContact() {
return this.RegistrantContact;
}
/**
* Set The registrant contact.
* @param RegistrantContact The registrant contact.
*/
public void setRegistrantContact(RegistrantContact RegistrantContact) {
this.RegistrantContact = RegistrantContact;
}
/**
* Get The admin contact.
* @return AdminContact The admin contact.
*/
public AdminContact getAdminContact() {
return this.AdminContact;
}
/**
* Set The admin contact.
* @param AdminContact The admin contact.
*/
public void setAdminContact(AdminContact AdminContact) {
this.AdminContact = AdminContact;
}
/**
* Get The technical contact.
* @return TechnicalContact The technical contact.
*/
public TechnicalContact getTechnicalContact() {
return this.TechnicalContact;
}
/**
* Set The technical contact.
* @param TechnicalContact The technical contact.
*/
public void setTechnicalContact(TechnicalContact TechnicalContact) {
this.TechnicalContact = TechnicalContact;
}
/**
* Get The contact person for bills.
* @return BillingContact The contact person for bills.
*/
public BillingContact getBillingContact() {
return this.BillingContact;
}
/**
* Set The contact person for bills.
* @param BillingContact The contact person for bills.
*/
public void setBillingContact(BillingContact BillingContact) {
this.BillingContact = BillingContact;
}
/**
* Get The profile type. Valid values: `I` (individual, default), `E` (organization).
* @return TemplateType The profile type. Valid values: `I` (individual, default), `E` (organization).
*/
public String getTemplateType() {
return this.TemplateType;
}
/**
* Set The profile type. Valid values: `I` (individual, default), `E` (organization).
* @param TemplateType The profile type. Valid values: `I` (individual, default), `E` (organization).
*/
public void setTemplateType(String TemplateType) {
this.TemplateType = TemplateType;
}
public CreateIntlTemplateRequest() {
}
/**
* 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 CreateIntlTemplateRequest(CreateIntlTemplateRequest source) {
if (source.RegistrantContact != null) {
this.RegistrantContact = new RegistrantContact(source.RegistrantContact);
}
if (source.AdminContact != null) {
this.AdminContact = new AdminContact(source.AdminContact);
}
if (source.TechnicalContact != null) {
this.TechnicalContact = new TechnicalContact(source.TechnicalContact);
}
if (source.BillingContact != null) {
this.BillingContact = new BillingContact(source.BillingContact);
}
if (source.TemplateType != null) {
this.TemplateType = new String(source.TemplateType);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamObj(map, prefix + "RegistrantContact.", this.RegistrantContact);
this.setParamObj(map, prefix + "AdminContact.", this.AdminContact);
this.setParamObj(map, prefix + "TechnicalContact.", this.TechnicalContact);
this.setParamObj(map, prefix + "BillingContact.", this.BillingContact);
this.setParamSimple(map, prefix + "TemplateType", this.TemplateType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy