Bases: oslo_versionedobjects.fields.BooleanField
Bases: oslo_versionedobjects.fields.DateTimeField
Bases: oslo_versionedobjects.fields.EnumField
Bases: oslo_versionedobjects.fields.FieldType
This is called to coerce (if possible) a value on assignment.
This method should convert the value given into the designated type, or throw an exception if this is not possible.
The VersionedObject on which an attribute is being set
The name of the attribute being set
The value being set
A properly-typed value
Bases: oslo_versionedobjects.fields.AutoTypedField
Bases: oslo_versionedobjects.fields.IntegerField
Bases: oslo_versionedobjects.fields.AutoTypedField
Bases: oslo_versionedobjects.fields.ListOfObjectsField
Bases: oslo_versionedobjects.fields.ListOfStringsField
Bases: oslo_versionedobjects.fields.FieldType
This is called to coerce (if possible) a value on assignment.
This method should convert the value given into the designated type, or throw an exception if this is not possible.
The VersionedObject on which an attribute is being set
The name of the attribute being set
The value being set
A properly-typed value
Bases: oslo_versionedobjects.fields.AutoTypedField
Bases: oslo_versionedobjects.fields.Enum
Bases: oslo_versionedobjects.fields.BaseEnumField
Bases: oslo_versionedobjects.fields.Enum
Bases: oslo_versionedobjects.fields.BaseEnumField
Bases: oslo_versionedobjects.fields.ObjectField
Bases: oslo_versionedobjects.fields.String
This is called to coerce (if possible) a value on assignment.
This method should convert the value given into the designated type, or throw an exception if this is not possible.
The VersionedObject on which an attribute is being set
The name of the attribute being set
The value being set
A properly-typed value
Bases: oslo_versionedobjects.fields.StringField
Bases: oslo_versionedobjects.fields.StringField
Custom StringField object that allows for functions as default
In some cases we need to allow for dynamic defaults based on configuration options, this StringField object allows for a function to be passed as a default, and will only process it at the point the field is coerced
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.