watcher.api.controllers.v1.types
Module¶watcher.api.controllers.v1.types.
BooleanType
[source]¶Bases: wsme.types.UserType
A simple boolean type.
basetype
¶alias of __builtin__.unicode
watcher.api.controllers.v1.types.
IntervalOrCron
[source]¶Bases: wsme.types.UserType
A simple int value or cron syntax type
basetype
¶alias of __builtin__.unicode
watcher.api.controllers.v1.types.
JsonPatchType
(**kw)[source]¶Bases: wsme.types.Base
A complex type that represents a single json-patch operation.
internal_attrs
()[source]¶Returns a list of internal attributes.
Internal attributes can’t be added, replaced or removed. This method may be overwritten by derived class.
watcher.api.controllers.v1.types.
JsonType
[source]¶Bases: wsme.types.UserType
A simple JSON type.
basetype
¶alias of __builtin__.unicode
watcher.api.controllers.v1.types.
MultiType
(*types)[source]¶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.
Parameters: | types – Variable-length list of types. |
---|
watcher.api.controllers.v1.types.
NameType
[source]¶Bases: wsme.types.UserType
A simple logical name type.
basetype
¶alias of __builtin__.unicode
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.