public class Attribute extends AbstractResponse<Attribute>
optimisticData, responseData| Constructor and Description |
|---|
Attribute() |
Attribute(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeCode()
The unique identifier for an attribute code.
|
List<AttributeOption> |
getAttributeOptions()
Attribute options list.
|
String |
getAttributeType()
The data type of the attribute
|
String |
getEntityType()
The type of entity that defines the attribute
|
String |
getGraphQlTypeName() |
String |
getInputType()
The frontend input type of the attribute
|
Attribute |
setAttributeCode(String arg) |
Attribute |
setAttributeOptions(List<AttributeOption> arg) |
Attribute |
setAttributeType(String arg) |
Attribute |
setEntityType(String arg) |
Attribute |
setInputType(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Attribute()
public Attribute(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getAttributeCode()
public List<AttributeOption> getAttributeOptions()
public Attribute setAttributeOptions(List<AttributeOption> arg)
public String getAttributeType()
public String getEntityType()
public String getInputType()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Attribute>Copyright © 2022 Adobe. All rights reserved.