com.tencentcloudapi.essbasic.v20210526.models.SyncProxyOrganizationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-essbasic Show documentation
Show all versions of tencentcloud-sdk-java-essbasic Show documentation
Tencent Cloud Open 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.essbasic.v20210526.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class SyncProxyOrganizationRequest extends AbstractModel{
/**
* 应用信息
此接口Agent.ProxyOrganizationOpenId必填
*/
@SerializedName("Agent")
@Expose
private Agent Agent;
/**
* 渠道侧合作企业名称
*/
@SerializedName("ProxyOrganizationName")
@Expose
private String ProxyOrganizationName;
/**
* 渠道侧合作企业统一社会信用代码
*/
@SerializedName("UniformSocialCreditCode")
@Expose
private String UniformSocialCreditCode;
/**
* 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
*/
@SerializedName("BusinessLicense")
@Expose
private String BusinessLicense;
/**
* 操作者的信息
*/
@SerializedName("Operator")
@Expose
private UserInfo Operator;
/**
* Get 应用信息
此接口Agent.ProxyOrganizationOpenId必填
* @return Agent 应用信息
此接口Agent.ProxyOrganizationOpenId必填
*/
public Agent getAgent() {
return this.Agent;
}
/**
* Set 应用信息
此接口Agent.ProxyOrganizationOpenId必填
* @param Agent 应用信息
此接口Agent.ProxyOrganizationOpenId必填
*/
public void setAgent(Agent Agent) {
this.Agent = Agent;
}
/**
* Get 渠道侧合作企业名称
* @return ProxyOrganizationName 渠道侧合作企业名称
*/
public String getProxyOrganizationName() {
return this.ProxyOrganizationName;
}
/**
* Set 渠道侧合作企业名称
* @param ProxyOrganizationName 渠道侧合作企业名称
*/
public void setProxyOrganizationName(String ProxyOrganizationName) {
this.ProxyOrganizationName = ProxyOrganizationName;
}
/**
* Get 渠道侧合作企业统一社会信用代码
* @return UniformSocialCreditCode 渠道侧合作企业统一社会信用代码
*/
public String getUniformSocialCreditCode() {
return this.UniformSocialCreditCode;
}
/**
* Set 渠道侧合作企业统一社会信用代码
* @param UniformSocialCreditCode 渠道侧合作企业统一社会信用代码
*/
public void setUniformSocialCreditCode(String UniformSocialCreditCode) {
this.UniformSocialCreditCode = UniformSocialCreditCode;
}
/**
* Get 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
* @return BusinessLicense 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
*/
public String getBusinessLicense() {
return this.BusinessLicense;
}
/**
* Set 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
* @param BusinessLicense 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
*/
public void setBusinessLicense(String BusinessLicense) {
this.BusinessLicense = BusinessLicense;
}
/**
* Get 操作者的信息
* @return Operator 操作者的信息
*/
public UserInfo getOperator() {
return this.Operator;
}
/**
* Set 操作者的信息
* @param Operator 操作者的信息
*/
public void setOperator(UserInfo Operator) {
this.Operator = Operator;
}
public SyncProxyOrganizationRequest() {
}
/**
* 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 SyncProxyOrganizationRequest(SyncProxyOrganizationRequest source) {
if (source.Agent != null) {
this.Agent = new Agent(source.Agent);
}
if (source.ProxyOrganizationName != null) {
this.ProxyOrganizationName = new String(source.ProxyOrganizationName);
}
if (source.UniformSocialCreditCode != null) {
this.UniformSocialCreditCode = new String(source.UniformSocialCreditCode);
}
if (source.BusinessLicense != null) {
this.BusinessLicense = new String(source.BusinessLicense);
}
if (source.Operator != null) {
this.Operator = new UserInfo(source.Operator);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamObj(map, prefix + "Agent.", this.Agent);
this.setParamSimple(map, prefix + "ProxyOrganizationName", this.ProxyOrganizationName);
this.setParamSimple(map, prefix + "UniformSocialCreditCode", this.UniformSocialCreditCode);
this.setParamSimple(map, prefix + "BusinessLicense", this.BusinessLicense);
this.setParamObj(map, prefix + "Operator.", this.Operator);
}
}