wotpy.wot.enums
Classes that contain various enumerations.
Classes
|
Defines the types that values can take. |
Enumeration for the default events that are supported on all ExposedThings. |
|
Enumeration of discovery types. |
|
Enumeration of interaction types. |
|
Defines the supported security schemes. |
|
This attribute tells what operation has been applied to the TD: addition, removal or change. |
|
Represents the change type, whether has it been applied on properties, Actions or Events. |
- class wotpy.wot.enums.DataType
Bases:
EnumListMixinDefines 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:
EnumListMixinEnumeration 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:
EnumListMixinEnumeration of discovery types.
- ANY = 'any'
- DIRECTORY = 'directory'
- LOCAL = 'local'
- class wotpy.wot.enums.InteractionTypes
Bases:
EnumListMixinEnumeration of interaction types.
- ACTION = 'Action'
- EVENT = 'Event'
- PROPERTY = 'Property'
- class wotpy.wot.enums.SecuritySchemeType
Bases:
EnumListMixinDefines the supported security schemes.
- APIKEY = 'apikey'
- AUTO = 'auto'
- BASIC = 'basic'
- BEARER = 'bearer'
- COMBO = 'combo'
- DIGEST = 'digest'
- NOSEC = 'nosec'
- OAUTH2 = 'oauth2'
- OIDC4VP = 'oidc4vp'
- PSK = 'psk'
- class wotpy.wot.enums.TDChangeMethod
Bases:
EnumListMixinThis 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:
EnumListMixinRepresents the change type, whether has it been applied on properties, Actions or Events.
- ACTION = 'action'
- EVENT = 'event'
- PROPERTY = 'property'