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

com.aliyun.dingtalkwms_1_0.models.QueryGoodsListResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// 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 {
    // result
    @NameInMap("result")
    public QueryGoodsListResponseBodyResult result;

    // success
    @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 {
        // 物料名称
        @NameInMap("goodsName")
        public String goodsName;

        // 物料编号
        @NameInMap("goodsNo")
        public String goodsNo;

        // 物料ID
        @NameInMap("instanceId")
        public String instanceId;

        // 规格
        @NameInMap("productSpecs")
        public String productSpecs;

        // 计量单位
        @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 {
        // 下次获取数据的游标
        @NameInMap("hasMore")
        public Boolean hasMore;

        @NameInMap("list")
        public java.util.List list;

        // 总数
        @NameInMap("maxResults")
        public Long maxResults;

        // 下次获取数据的游标
        @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;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy