com.antgroup.antchain.openapi.twc.models.UpdatePrivatecontractCertRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class UpdatePrivatecontractCertRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 私有云实例id
@NameInMap("instance_id")
@Validation(required = true)
public String instanceId;
// 私有云系统内部生成的用户id
//
@NameInMap("user_inner_id")
@Validation(required = true)
public String userInnerId;
// 用户类型,个人PERSON,企业ORG
@NameInMap("user_type")
@Validation(required = true)
public String userType;
// 用户名称, 个人为个人名称,企业为企业名称
//
@NameInMap("user_name")
@Validation(required = true)
public String userName;
// 用户证件类型,默认个人,身份证CRED_PSN_CH_IDCARD; 企业,统一社会信用代码,CRED_ORG_USCC
//
@NameInMap("user_cert_type")
@Validation(required = true)
public String userCertType;
// 证件号码
@NameInMap("user_cert_number")
@Validation(required = true)
public String userCertNumber;
// 是否需要更新机构印模
@NameInMap("update_org_seal")
@Validation(required = true)
public Boolean updateOrgSeal;
public static UpdatePrivatecontractCertRequest build(java.util.Map map) throws Exception {
UpdatePrivatecontractCertRequest self = new UpdatePrivatecontractCertRequest();
return TeaModel.build(map, self);
}
public UpdatePrivatecontractCertRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UpdatePrivatecontractCertRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public UpdatePrivatecontractCertRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public UpdatePrivatecontractCertRequest setUserInnerId(String userInnerId) {
this.userInnerId = userInnerId;
return this;
}
public String getUserInnerId() {
return this.userInnerId;
}
public UpdatePrivatecontractCertRequest setUserType(String userType) {
this.userType = userType;
return this;
}
public String getUserType() {
return this.userType;
}
public UpdatePrivatecontractCertRequest setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
public UpdatePrivatecontractCertRequest setUserCertType(String userCertType) {
this.userCertType = userCertType;
return this;
}
public String getUserCertType() {
return this.userCertType;
}
public UpdatePrivatecontractCertRequest setUserCertNumber(String userCertNumber) {
this.userCertNumber = userCertNumber;
return this;
}
public String getUserCertNumber() {
return this.userCertNumber;
}
public UpdatePrivatecontractCertRequest setUpdateOrgSeal(Boolean updateOrgSeal) {
this.updateOrgSeal = updateOrgSeal;
return this;
}
public Boolean getUpdateOrgSeal() {
return this.updateOrgSeal;
}
}