Application Programming Interface Guide > Web Services Operations > Recurring Element Structures > Attribute Definitions Element
 
Attribute Definitions Element
The attributeDefs element contains a list of attribute definitions, each of which has the following format:
attributeDef (optional):
name: Name of the attribute. In some contexts, includes a full path name.
type: Attribute type; for example, LIST, BOOLEAN, INTEGER, STRING, or PASSWORD_STRING.
updateRule: Whether the attribute is READ_ONLY or READ_WRITE.
annotation (optional): Text notes about the attribute.
required (optional): A BOOLEAN indicating whether or not the attribute must be present.
defaultValue (optional): Value if none is explicitly set; for example, TRUE or expr$1 or 100.
pattern (optional): Template to use for strings, passwords, and so on.
minValue (optional): Minimum allowed value for the attribute.
maxValue (optional): Maximum allowed value for the attribute.
allowedValues (optional): List of allowed values:
item: A member of a list of allowed values.
suggestedValues (optional): List of suggested values:
item: A member of a list of suggested values.
displayName (optional): Text string to display in connection with this attribute.
unitName (optional)
parentName (optional): Required unless this is the root attribute definition.
visible (optional): Whether or not the attribute is visible in the UI.
editorHint (optional)
dependencyExpression (optional)