@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class MaterialField extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MaterialField.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_FIELD_NAME |
static String |
SERIALIZED_NAME_FIELD_VALUE |
| 构造器和说明 |
|---|
MaterialField() |
| 限定符和类型 | 方法和说明 |
|---|---|
MaterialField |
addFieldValueItem(String fieldValueItem) |
boolean |
equals(Object o) |
MaterialField |
fieldName(String fieldName) |
MaterialField |
fieldValue(List<String> fieldValue) |
static MaterialField |
fromJson(String jsonString)
Create an instance of MaterialField given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFieldName()
素材字段名称,来源于素材规范定义的字段名称。
|
List<String> |
getFieldValue()
素材字段值,素材字段提报的实际值,支持多值,具体的要求请查看素材规范或对应的产品文档。
|
int |
hashCode() |
MaterialField |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFieldName(String fieldName) |
void |
setFieldValue(List<String> fieldValue) |
String |
toJson()
Convert an instance of MaterialField to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public MaterialField fieldName(String fieldName)
@Nullable public String getFieldName()
public void setFieldName(String fieldName)
public MaterialField fieldValue(List<String> fieldValue)
public MaterialField addFieldValueItem(String fieldValueItem)
@Nullable public List<String> getFieldValue()
public MaterialField putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to MaterialFieldpublic static MaterialField fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to MaterialFieldpublic String toJson()
Copyright © 2024. All rights reserved.