com.antgroup.antchain.openapi.demo.models.AnotherClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-demo Show documentation
Show all versions of openapi-demo Show documentation
Ant Chain DEMO SDK for Java
// 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