module documentation

Base class for all oneM2M resource types.

Class Resource Base class for all oneM2M resource types,
Function addToInternalAttributes Add a name to the names of internal attributes.
Function isInternalAttribute Check whether an attribute is an internal attribute.
Variable internalAttributes List of internal attributes and which do not belong to the oneM2M resource attributes
def addToInternalAttributes(name: str):

Add a name to the names of internal attributes.

name is only added if it is not already present.

Parameters
name:strAttribute name to add.
def isInternalAttribute(name: str) -> bool:

Check whether an attribute is an internal attribute.

Parameters
name:strAttribute name to check.
Returns
boolTrue if the attribute is an internal attribute.
internalAttributes =

List of internal attributes and which do not belong to the oneM2M resource attributes