The watcher.api.controllers.v1.types Module¶
-
class
watcher.api.controllers.v1.types.BooleanType[source]¶ Bases:
wsme.types.UserTypeA simple boolean type.
-
basetype¶ alias of
unicode
-
-
class
watcher.api.controllers.v1.types.JsonPatchType(**kw)[source]¶ Bases:
wsme.types.BaseA complex type that represents a single json-patch operation.
-
static
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.
-
static
-
class
watcher.api.controllers.v1.types.JsonType[source]¶ Bases:
wsme.types.UserTypeA simple JSON type.
-
basetype¶ alias of
unicode
-
-
class
watcher.api.controllers.v1.types.MultiType(*types)[source]¶ Bases:
wsme.types.UserTypeA 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.
-
class
watcher.api.controllers.v1.types.NameType[source]¶ Bases:
wsme.types.UserTypeA simple logical name type.
-
basetype¶ alias of
unicode
-