com.antgroup.antchain.openapi.demo.models.TestStruct 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 TestStruct extends TeaModel {
// x
@NameInMap("x")
@Validation(required = true)
public String x;
// y
@NameInMap("y")
@Validation(required = true)
public DemoClass y;
// z
@NameInMap("z")
@Validation(required = true)
public java.util.List z;
public static TestStruct build(java.util.Map map) throws Exception {
TestStruct self = new TestStruct();
return TeaModel.build(map, self);
}
public TestStruct setX(String x) {
this.x = x;
return this;
}
public String getX() {
return this.x;
}
public TestStruct setY(DemoClass y) {
this.y = y;
return this;
}
public DemoClass getY() {
return this.y;
}
public TestStruct setZ(java.util.List z) {
this.z = z;
return this;
}
public java.util.List getZ() {
return this.z;
}
}