All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.twc.models.PleaderObject Maven / Gradle / Ivy

There is a newer version: 1.12.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;

import com.aliyun.tea.*;

public class PleaderObject extends TeaModel {
    // 法人或自然人标识,法人为1,自然人为0
    @NameInMap("party_type")
    @Validation(required = true)
    public Long partyType;

    // 自然人信息
    // 当partyType=1必填
    @NameInMap("natural_person")
    public NaturalPerson naturalPerson;

    // 法人信息
    // 当partyType=0必填
    @NameInMap("legal_person")
    public LegalPerson legalPerson;

    public static PleaderObject build(java.util.Map map) throws Exception {
        PleaderObject self = new PleaderObject();
        return TeaModel.build(map, self);
    }

    public PleaderObject setPartyType(Long partyType) {
        this.partyType = partyType;
        return this;
    }
    public Long getPartyType() {
        return this.partyType;
    }

    public PleaderObject setNaturalPerson(NaturalPerson naturalPerson) {
        this.naturalPerson = naturalPerson;
        return this;
    }
    public NaturalPerson getNaturalPerson() {
        return this.naturalPerson;
    }

    public PleaderObject setLegalPerson(LegalPerson legalPerson) {
        this.legalPerson = legalPerson;
        return this;
    }
    public LegalPerson getLegalPerson() {
        return this.legalPerson;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy