com.antgroup.antchain.openapi.twc.models.UpdateContractOrganizationRequest 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 UpdateContractOrganizationRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 证件号,该字段只有为空才允许修改
@NameInMap("id_number")
public String idNumber;
// 证件类型 ,默认CRED_ORG_USCC
@NameInMap("id_type")
public String idType;
// 企业法定代表人名称
@NameInMap("legal_person")
public String legalPerson;
// 企业法定代表人证件号
@NameInMap("legal_person_id")
public String legalPersonId;
// 机构名称
@NameInMap("name")
public String name;
// 机构账号id,注册机构账户时返回的机构账号id
@NameInMap("organization_id")
@Validation(required = true)
public String organizationId;
public static UpdateContractOrganizationRequest build(java.util.Map map) throws Exception {
UpdateContractOrganizationRequest self = new UpdateContractOrganizationRequest();
return TeaModel.build(map, self);
}
public UpdateContractOrganizationRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UpdateContractOrganizationRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public UpdateContractOrganizationRequest setIdNumber(String idNumber) {
this.idNumber = idNumber;
return this;
}
public String getIdNumber() {
return this.idNumber;
}
public UpdateContractOrganizationRequest setIdType(String idType) {
this.idType = idType;
return this;
}
public String getIdType() {
return this.idType;
}
public UpdateContractOrganizationRequest setLegalPerson(String legalPerson) {
this.legalPerson = legalPerson;
return this;
}
public String getLegalPerson() {
return this.legalPerson;
}
public UpdateContractOrganizationRequest setLegalPersonId(String legalPersonId) {
this.legalPersonId = legalPersonId;
return this;
}
public String getLegalPersonId() {
return this.legalPersonId;
}
public UpdateContractOrganizationRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateContractOrganizationRequest setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
}