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

com.antgroup.antchain.openapi.demo.models.AnotherClass Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class AnotherClass extends TeaModel {
    // 测试字段
    @NameInMap("bar")
    @Validation(required = true)
    public String bar;

    // 引用字段
    @NameInMap("ref")
    @Validation(required = true)
    public DemoClass ref;

    // 列表引用Struct
    @NameInMap("refList")
    public java.util.List refList;

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

    public AnotherClass setBar(String bar) {
        this.bar = bar;
        return this;
    }
    public String getBar() {
        return this.bar;
    }

    public AnotherClass setRef(DemoClass ref) {
        this.ref = ref;
        return this;
    }
    public DemoClass getRef() {
        return this.ref;
    }

    public AnotherClass setRefList(java.util.List refList) {
        this.refList = refList;
        return this;
    }
    public java.util.List getRefList() {
        return this.refList;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy