None
Bases: wsme.types.UserType
A simple boolean type.
None
¶alias of builtins.str
BooleanType.
frombasetype
(value)¶BooleanType.
validate
(value)¶None
Bases: wsme.types.UserType
A simple int value or cron syntax type
None
alias of builtins.str
IntervalOrCron.
frombasetype
(value)¶IntervalOrCron.
validate
(value)¶None
Bases: wsme.types.Base
A complex type that represents a single json-patch operation.
JsonPatchType.
internal_attrs
()¶Returns a list of internal attributes.
Internal attributes can’t be added, replaced or removed. This method may be overwritten by derived class.
JsonPatchType.
mandatory_attrs
()¶Returns a list of mandatory attributes.
Mandatory attributes can’t be removed from the document. This method should be overwritten by derived class.
JsonPatchType.
validate
(patch)¶None
Bases: wsme.types.UserType
A simple JSON type.
None
alias of builtins.str
JsonType.
frombasetype
(value)¶JsonType.
validate
(value)¶None
Bases: wsme.types.UserType
A complex type that represents one or more types.
Used for validating that a value is an instance of one of the types.
Param types: | Variable-length list of types. |
---|
MultiType.
validate
(value)¶None
Bases: wsme.types.UserType
A simple logical name type.
None
alias of builtins.str
NameType.
frombasetype
(value)¶NameType.
validate
(value)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.