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 absRelTimestamp Absolute or relative timestamp.
Class Variable adict Anonymous dictionary.
Class Variable any Any type.
Class Variable anyURI 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 geoJsonCoordinate GeoJSON coordinate.
Class Variable iccid ICCID alphanumerical representation.
Class Variable imsi IMSI compliant numerical representation.
Class Variable integer Integer.
Class Variable ipv4Address IPv4 address.
Class Variable ipv6Address IPv6 address.
Class Variable jsonLike JSON like structure, list, or allowed data types.
Class Variable list List.
Class Variable listNE Not empty list.
Class Variable ncname XML NCName.
Class Variable nonNegInteger Non-negative integer.
Class Variable positiveInteger Positive integer.
Class Variable schedule Schedule entry.
Class Variable string String.
Class Variable timestamp Timestamp.
Class Variable token XML token.
Class Variable unsignedInt Unsigned integer.
Class Variable unsignedLong 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.
@classmethod
def to(cls, name: str | tuple[str], insensitive: bool | None = True) -> BasicType:

Convert a type name string to an enum value.

Parameters
name:str | tuple[str]String or a Tuple of strings with names.
insensitive:bool | NoneWhether to handle the type case-insensitive.
Returns
BasicTypeEnum value.
AEID =

oneM2M AE ID. The stem either starts with "S" or "C". It can have different scopes.

Value
auto()
CSEID =

oneM2M CSE ID. Must start with a single "/" character.

Value
auto()
ID =

oneM2M ID.

Value
auto()
IDCSR =

oneM2M ID in only CSE-relative format.

Value
auto()
SPID =

oneM2M Service Provider ID. Must start with two "/" characters.

Value
auto()
absRelTimestamp =

Absolute or relative timestamp.

adict =

Anonymous dictionary.

any =

Any type.

anyURI =

Any URI.

base64 =

Base64 encoded data.

boolean =

Boolean.

complex =

Complex type.

dict =

Dictionary or sub-structure.

duration =

Duration.

enum =

Enumeration.

float =

Float.

geoJsonCoordinate =

GeoJSON coordinate.

iccid =

ICCID alphanumerical representation.

imsi =

IMSI compliant numerical representation.

integer =

Integer.

ipv4Address =

IPv4 address.

ipv6Address =

IPv6 address.

jsonLike =

JSON like structure, list, or allowed data types.

list =

List.

listNE =

Not empty list.

ncname =

XML NCName.

nonNegInteger =

Non-negative integer.

positiveInteger =

Positive integer.

schedule =

Schedule entry.

string =

String.

timestamp =

Timestamp.

token =

XML token.

unsignedInt =

Unsigned integer.

unsignedLong =

Unsigned long.

void =

Void.