com.aliyun.dingtalkindustry_1_0.models.IndustryManufactureMesMaterialRequest 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.dingtalkindustry_1_0.models;
import com.aliyun.tea.*;
public class IndustryManufactureMesMaterialRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* add
*/
@NameInMap("action")
public String action;
/**
* This parameter is required.
*
* example:
* opsoft
*/
@NameInMap("appKey")
public String appKey;
/**
* example:
* material
*/
@NameInMap("baseDataName")
public String baseDataName;
/**
* example:
* 紧压白茶,白茶,红茶
*/
@NameInMap("category")
public String category;
/**
* if can be null:
* true
*/
@NameInMap("extendData")
public java.util.List extendData;
/**
* example:
* 20220509028
*/
@NameInMap("productCode")
public String productCode;
/**
* example:
* 毛坯SNR47端盖
*/
@NameInMap("productName")
public String productName;
/**
* example:
* KM63
*/
@NameInMap("productSpecification")
public String productSpecification;
/**
* example:
* 原材料
*/
@NameInMap("prop")
public String prop;
/**
* example:
* 件
*/
@NameInMap("unit")
public String unit;
/**
* This parameter is required.
*
* example:
* 39C1E213-86B2-706B-9615-5B957DF8C15D
*/
@NameInMap("uuid")
public String uuid;
public static IndustryManufactureMesMaterialRequest build(java.util.Map map) throws Exception {
IndustryManufactureMesMaterialRequest self = new IndustryManufactureMesMaterialRequest();
return TeaModel.build(map, self);
}
public IndustryManufactureMesMaterialRequest setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
public IndustryManufactureMesMaterialRequest setAppKey(String appKey) {
this.appKey = appKey;
return this;
}
public String getAppKey() {
return this.appKey;
}
public IndustryManufactureMesMaterialRequest setBaseDataName(String baseDataName) {
this.baseDataName = baseDataName;
return this;
}
public String getBaseDataName() {
return this.baseDataName;
}
public IndustryManufactureMesMaterialRequest setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public IndustryManufactureMesMaterialRequest setExtendData(java.util.List extendData) {
this.extendData = extendData;
return this;
}
public java.util.List getExtendData() {
return this.extendData;
}
public IndustryManufactureMesMaterialRequest setProductCode(String productCode) {
this.productCode = productCode;
return this;
}
public String getProductCode() {
return this.productCode;
}
public IndustryManufactureMesMaterialRequest setProductName(String productName) {
this.productName = productName;
return this;
}
public String getProductName() {
return this.productName;
}
public IndustryManufactureMesMaterialRequest setProductSpecification(String productSpecification) {
this.productSpecification = productSpecification;
return this;
}
public String getProductSpecification() {
return this.productSpecification;
}
public IndustryManufactureMesMaterialRequest setProp(String prop) {
this.prop = prop;
return this;
}
public String getProp() {
return this.prop;
}
public IndustryManufactureMesMaterialRequest setUnit(String unit) {
this.unit = unit;
return this;
}
public String getUnit() {
return this.unit;
}
public IndustryManufactureMesMaterialRequest setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public static class IndustryManufactureMesMaterialRequestExtendData extends TeaModel {
/**
* example:
* staffName
*/
@NameInMap("code")
public String code;
/**
* example:
* 生产人员
*/
@NameInMap("name")
public String name;
/**
* example:
* 张三
*/
@NameInMap("value")
public String value;
/**
* example:
* string
*/
@NameInMap("valueType")
public String valueType;
public static IndustryManufactureMesMaterialRequestExtendData build(java.util.Map map) throws Exception {
IndustryManufactureMesMaterialRequestExtendData self = new IndustryManufactureMesMaterialRequestExtendData();
return TeaModel.build(map, self);
}
public IndustryManufactureMesMaterialRequestExtendData setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public IndustryManufactureMesMaterialRequestExtendData setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public IndustryManufactureMesMaterialRequestExtendData setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
public IndustryManufactureMesMaterialRequestExtendData setValueType(String valueType) {
this.valueType = valueType;
return this;
}
public String getValueType() {
return this.valueType;
}
}
}