None
Bases: oslo_versionedobjects.fields.BooleanField
None
Bases: oslo_versionedobjects.fields.DateTimeField
None
Bases: oslo_versionedobjects.fields.EnumField
None
Bases: oslo_versionedobjects.fields.FieldType
FlexibleDict.
coerce
(obj, attr, value)¶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.
:param:obj: The VersionedObject on which an attribute is being set :param:attr: The name of the attribute being set :param:value: The value being set :returns: A properly-typed value
None
Bases: oslo_versionedobjects.fields.AutoTypedField
None
Bases: oslo_versionedobjects.fields.IntegerField
None
Bases: oslo_versionedobjects.fields.ListOfObjectsField
None
Bases: oslo_versionedobjects.fields.ListOfStringsField
None
Bases: oslo_versionedobjects.fields.FieldType
MACAddress.
coerce
(obj, attr, value)¶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.
:param:obj: The VersionedObject on which an attribute is being set :param:attr: The name of the attribute being set :param:value: The value being set :returns: A properly-typed value
None
Bases: oslo_versionedobjects.fields.AutoTypedField
None
Bases: oslo_versionedobjects.fields.Enum
None
Bases: oslo_versionedobjects.fields.BaseEnumField
None
Bases: oslo_versionedobjects.fields.Enum
None
Bases: oslo_versionedobjects.fields.BaseEnumField
None
Bases: oslo_versionedobjects.fields.ObjectField
None
Bases: oslo_versionedobjects.fields.String
StringAcceptsCallable.
coerce
(obj, attr, value)¶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.
:param:obj: The VersionedObject on which an attribute is being set :param:attr: The name of the attribute being set :param:value: The value being set :returns: A properly-typed value
None
Bases: oslo_versionedobjects.fields.StringField
None
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
None
Bases: oslo_versionedobjects.fields.UUIDField
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.