class documentation
class AttributePolicy:
Attribute policy for a single resource attribute.
| Method | select |
Return the n-th attributes in the dataclass. |
| Class Variable | announcement |
Whether the attribute is announced. |
| Class Variable | cardinality |
Cardinality of the attribute. |
| Class Variable | choice |
Whether this attribute is part of a choice. |
| Class Variable | ctype |
Definition name for a complex type attribute. |
| Class Variable | etype |
Name of the enum type (if the attribute is of type enum). |
| Class Variable | evalues |
Dict of enum values and interpretations. |
| Class Variable | fname |
Name of the definition file. |
| Class Variable | lname |
Long name of the attribute. |
| Class Variable | l |
Mandatory size of a list. |
| Class Variable | ltype |
Sub-type of a list as writen in the definition. |
| Class Variable | l |
Sub-type of a list as writen in the definition. |
| Class Variable | namespace |
Namespace of the attribute. |
| Class Variable | optional |
Optionality of the attribute for create requests. |
| Class Variable | optional |
Optionality of the attribute for discovery requests. |
| Class Variable | optional |
Optionality of the attribute for update requests. |
| Class Variable | ptype |
Implementation type of the enum values. |
| Class Variable | rtypes |
List of resource types that this attribute is valid for. |
| Class Variable | sname |
Short name of the attribute. |
| Class Variable | type |
Type of the attribute. |
| Class Variable | type |
The type as written in the definition. |
| Class Variable | type |
Type name of the attribute. |