Class RestAttributeSpec
Object
RestAttributeSpec
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSpec<?>fromRest(RestAttributeSpec spec) static List<AttributeSpec<?>>fromRestCollection(Collection<? extends RestAttributeSpec> source) static AttributeSpec<?>static RestAttributeSpectoRest(AttributeSpec<?> spec) toString() 
- 
Field Details
- 
id
Universal attribute ID - 
params
(Optional) Arbitrary parameters, interpreted by the attribute provider (any JSON) - 
format
Format - must be one ofValueFormatIDs recognizable by the REST resource. (Custom value formats are not supported.) 
 - 
 - 
Constructor Details
- 
RestAttributeSpec
public RestAttributeSpec() 
 - 
 - 
Method Details
- 
fromRest
 - 
fromRestNotNull
@NotNull public static AttributeSpec<?> fromRestNotNull(@NotNull RestAttributeSpec spec) throws IllegalArgumentException - Throws:
 IllegalArgumentException
 - 
toRest
 - 
fromRestCollection
@NotNull public static List<AttributeSpec<?>> fromRestCollection(@Nullable Collection<? extends RestAttributeSpec> source)  - 
toString
 
 -