com.antgroup.antchain.openapi.demo.models.NumberTest 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 NumberTest extends TeaModel {
// 1
@NameInMap("parameter_1")
@Validation(required = true, maximum = 5, minimum = 1)
public Long parameter1;
// 2
@NameInMap("parameter_2")
@Validation(required = true, maximum = 5, minimum = 1)
public Long parameter2;
// 3
@NameInMap("parameter_3")
@Validation(required = true, maximum = 5, minimum = 1)
public Long parameter3;
// 4
@NameInMap("parameter_4")
@Validation(required = true, maximum = 5, minimum = 1)
public Long parameter4;
// 5
@NameInMap("parameter_5")
@Validation(required = true)
public DemoClass parameter5;
public static NumberTest build(java.util.Map map) throws Exception {
NumberTest self = new NumberTest();
return TeaModel.build(map, self);
}
public NumberTest setParameter1(Long parameter1) {
this.parameter1 = parameter1;
return this;
}
public Long getParameter1() {
return this.parameter1;
}
public NumberTest setParameter2(Long parameter2) {
this.parameter2 = parameter2;
return this;
}
public Long getParameter2() {
return this.parameter2;
}
public NumberTest setParameter3(Long parameter3) {
this.parameter3 = parameter3;
return this;
}
public Long getParameter3() {
return this.parameter3;
}
public NumberTest setParameter4(Long parameter4) {
this.parameter4 = parameter4;
return this;
}
public Long getParameter4() {
return this.parameter4;
}
public NumberTest setParameter5(DemoClass parameter5) {
this.parameter5 = parameter5;
return this;
}
public DemoClass getParameter5() {
return this.parameter5;
}
}