wotpy.wot.enums¶
Classes that contain various enumerations.
Classes
DataType |
Defines the types that values can take. |
DefaultThingEvent |
Enumeration for the default events that are supported on all ExposedThings. |
DiscoveryMethod |
Enumeration of discovery types. |
InteractionTypes |
Enumeration of interaction types. |
SecuritySchemeType |
Defines the supported security schemes. |
TDChangeMethod |
This attribute tells what operation has been applied to the TD: addition, removal or change. |
TDChangeType |
Represents the change type, whether has it been applied on properties, Actions or Events. |
-
class
wotpy.wot.enums.
DataType
¶ Bases:
wotpy.utils.enums.EnumListMixin
Defines the types that values can take.
-
ARRAY
= 'array'¶
-
BOOLEAN
= 'boolean'¶
-
INTEGER
= 'integer'¶
-
NULL
= 'null'¶
-
NUMBER
= 'number'¶
-
OBJECT
= 'object'¶
-
STRING
= 'string'¶
-
-
class
wotpy.wot.enums.
DefaultThingEvent
¶ Bases:
wotpy.utils.enums.EnumListMixin
Enumeration for the default events that are supported on all ExposedThings.
-
ACTION_INVOCATION
= 'actioninvocation'¶
-
DESCRIPTION_CHANGE
= 'descriptionchange'¶
-
PROPERTY_CHANGE
= 'propertychange'¶
-
-
class
wotpy.wot.enums.
DiscoveryMethod
¶ Bases:
wotpy.utils.enums.EnumListMixin
Enumeration of discovery types.
-
ANY
= 'any'¶
-
DIRECTORY
= 'directory'¶
-
LOCAL
= 'local'¶
-
MULTICAST
= 'multicast'¶
-
-
class
wotpy.wot.enums.
InteractionTypes
¶ Bases:
wotpy.utils.enums.EnumListMixin
Enumeration of interaction types.
-
ACTION
= 'Action'¶
-
EVENT
= 'Event'¶
-
PROPERTY
= 'Property'¶
-
-
class
wotpy.wot.enums.
SecuritySchemeType
¶ Bases:
wotpy.utils.enums.EnumListMixin
Defines the supported security schemes.
-
APIKEY
= 'apikey'¶
-
BASIC
= 'basic'¶
-
BEARER
= 'bearer'¶
-
CERT
= 'cert'¶
-
DIGEST
= 'digest'¶
-
NOSEC
= 'nosec'¶
-
OAUTH2
= 'oauth2'¶
-
POP
= 'pop'¶
-
PSK
= 'psk'¶
-
PUBLIC
= 'public'¶
-
-
class
wotpy.wot.enums.
TDChangeMethod
¶ Bases:
wotpy.utils.enums.EnumListMixin
This attribute tells what operation has been applied to the TD: addition, removal or change.
-
ADD
= 'add'¶
-
CHANGE
= 'change'¶
-
REMOVE
= 'remove'¶
-
-
class
wotpy.wot.enums.
TDChangeType
¶ Bases:
wotpy.utils.enums.EnumListMixin
Represents the change type, whether has it been applied on properties, Actions or Events.
-
ACTION
= 'action'¶
-
EVENT
= 'event'¶
-
PROPERTY
= 'property'¶
-