public final class RestAttributeSpec extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
format
Format - must be one of
ValueFormat IDs
recognizable by the REST resource. |
String |
id
Universal attribute ID
|
Map |
params
(Optional) Arbitrary parameters, interpreted by the attribute provider (any JSON)
|
| Constructor and Description |
|---|
RestAttributeSpec() |
| Modifier and Type | Method and Description |
|---|---|
static RestAttributeSpec |
fromModel(AttributeSpec<?> spec) |
String |
toString() |
public String id
public Map params
public String format
ValueFormat IDs
recognizable by the REST resource. (Custom value formats are not supported.)public static RestAttributeSpec fromModel(AttributeSpec<?> spec)
Copyright © 2018 ALM Works. All Rights Reserved.