class documentation
Basic resource types.
| Class Method | to |
Convert a type name string to an enum value. |
| Constant | AEID |
oneM2M AE ID. The stem either starts with "S" or "C". It can have different scopes. |
| Constant | CSEID |
oneM2M CSE ID. Must start with a single "/" character. |
| Constant | ID |
oneM2M ID. |
| Constant | IDCSR |
oneM2M ID in only CSE-relative format. |
| Constant | SPID |
oneM2M Service Provider ID. Must start with two "/" characters. |
| Class Variable | abs |
Absolute or relative timestamp. |
| Class Variable | adict |
Anonymous dictionary. |
| Class Variable | any |
Any type. |
| Class Variable | any |
Any URI. |
| Class Variable | base64 |
Base64 encoded data. |
| Class Variable | boolean |
Boolean. |
| Class Variable | complex |
Complex type. |
| Class Variable | dict |
Dictionary or sub-structure. |
| Class Variable | duration |
Duration. |
| Class Variable | enum |
Enumeration. |
| Class Variable | float |
Float. |
| Class Variable | geo |
GeoJSON coordinate. |
| Class Variable | iccid |
ICCID alphanumerical representation. |
| Class Variable | imsi |
IMSI compliant numerical representation. |
| Class Variable | integer |
Integer. |
| Class Variable | ipv4 |
IPv4 address. |
| Class Variable | ipv6 |
IPv6 address. |
| Class Variable | json |
JSON like structure, list, or allowed data types. |
| Class Variable | list |
List. |
| Class Variable | list |
Not empty list. |
| Class Variable | ncname |
XML NCName. |
| Class Variable | non |
Non-negative integer. |
| Class Variable | positive |
Positive integer. |
| Class Variable | schedule |
Schedule entry. |
| Class Variable | string |
String. |
| Class Variable | timestamp |
Timestamp. |
| Class Variable | token |
XML token. |
| Class Variable | unsigned |
Unsigned integer. |
| Class Variable | unsigned |
Unsigned long. |
| Class Variable | void |
Void. |
Inherited from ACMEIntEnum:
| Class Method | has |
Check whether the enum type has an entry with either the given int value or string name. |
| Method | __int__ |
Get the integer value of an enum. |
| Method | __repr__ |
Stringify an enum. |
| Method | __str__ |
Stringify an enum. |
overrides
acme.helpers.ACMEIntEnum.ACMEIntEnum.toConvert a type name string to an enum value.
| Parameters | |
name:str | tuple[ | String or a Tuple of strings with names. |
insensitive:bool | None | Whether to handle the type case-insensitive. |
| Returns | |
BasicType | Enum value. |
AEID =
¶
oneM2M AE ID. The stem either starts with "S" or "C". It can have different scopes.
| Value |
|