4.7.5.1. Data classes

Base classes for data types.

class axonius_api_client.data.BaseEnum(value)[source]

Bases: enum.Enum

Base class for enums.

class axonius_api_client.data.BaseData[source]

Bases: object

Base class for dataclasses.

to_dict()[source]

Get this dataclass object as a dictionary.

Return type

dict

replace(**kwargs)[source]

Pass.

Return type

axonius_api_client.data.BaseData

static _human_key(key)[source]

Pass.

classmethod get_fields()[source]

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

__init__()

Initialize self. See help(type(self)) for accurate signature.

class axonius_api_client.data.PropsData(raw)[source]

Bases: axonius_api_client.data.BaseData

Pass.

Parameters

raw (dict) –

raw: dict
__str__()[source]

Pass.

__repr__()[source]

Pass.

to_str_properties()[source]

Pass.

Return type

typing.List[str]

to_dict(dt_obj=False)[source]

Pass.

Parameters

dt_obj (bool) –

Return type

dict

__init__(raw)

Initialize self. See help(type(self)) for accurate signature.

Parameters

raw (dict) –

static _human_key(key)

Pass.

classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

replace(**kwargs)

Pass.

Return type

axonius_api_client.data.BaseData