com.aliyun.dingtalkwms_1_0.models.QueryGoodsListResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkwms_1_0.models;
import com.aliyun.tea.*;
public class QueryGoodsListResponseBody extends TeaModel {
@NameInMap("result")
public QueryGoodsListResponseBodyResult result;
@NameInMap("success")
public Boolean success;
public static QueryGoodsListResponseBody build(java.util.Map map) throws Exception {
QueryGoodsListResponseBody self = new QueryGoodsListResponseBody();
return TeaModel.build(map, self);
}
public QueryGoodsListResponseBody setResult(QueryGoodsListResponseBodyResult result) {
this.result = result;
return this;
}
public QueryGoodsListResponseBodyResult getResult() {
return this.result;
}
public QueryGoodsListResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class QueryGoodsListResponseBodyResultList extends TeaModel {
/**
* This parameter is required.
*
* example:
* 衣服
*/
@NameInMap("goodsName")
public String goodsName;
/**
* This parameter is required.
*
* example:
* 0001
*/
@NameInMap("goodsNo")
public String goodsNo;
/**
* This parameter is required.
*
* example:
* abcdse-dse-example
*/
@NameInMap("instanceId")
public String instanceId;
/**
* This parameter is required.
*
* example:
* XXL
*/
@NameInMap("productSpecs")
public String productSpecs;
/**
* This parameter is required.
*
* example:
* 件
*/
@NameInMap("unit")
public String unit;
public static QueryGoodsListResponseBodyResultList build(java.util.Map map) throws Exception {
QueryGoodsListResponseBodyResultList self = new QueryGoodsListResponseBodyResultList();
return TeaModel.build(map, self);
}
public QueryGoodsListResponseBodyResultList setGoodsName(String goodsName) {
this.goodsName = goodsName;
return this;
}
public String getGoodsName() {
return this.goodsName;
}
public QueryGoodsListResponseBodyResultList setGoodsNo(String goodsNo) {
this.goodsNo = goodsNo;
return this;
}
public String getGoodsNo() {
return this.goodsNo;
}
public QueryGoodsListResponseBodyResultList setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public QueryGoodsListResponseBodyResultList setProductSpecs(String productSpecs) {
this.productSpecs = productSpecs;
return this;
}
public String getProductSpecs() {
return this.productSpecs;
}
public QueryGoodsListResponseBodyResultList setUnit(String unit) {
this.unit = unit;
return this;
}
public String getUnit() {
return this.unit;
}
}
public static class QueryGoodsListResponseBodyResult extends TeaModel {
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("hasMore")
public Boolean hasMore;
@NameInMap("list")
public java.util.List list;
/**
* This parameter is required.
*
* example:
* 20
*/
@NameInMap("maxResults")
public Long maxResults;
/**
* This parameter is required.
*
* example:
* 10
*/
@NameInMap("nextToken")
public String nextToken;
public static QueryGoodsListResponseBodyResult build(java.util.Map map) throws Exception {
QueryGoodsListResponseBodyResult self = new QueryGoodsListResponseBodyResult();
return TeaModel.build(map, self);
}
public QueryGoodsListResponseBodyResult setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public QueryGoodsListResponseBodyResult setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public QueryGoodsListResponseBodyResult setMaxResults(Long maxResults) {
this.maxResults = maxResults;
return this;
}
public Long getMaxResults() {
return this.maxResults;
}
public QueryGoodsListResponseBodyResult setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
}
}