Skip to content

Decoder type

Decoder type resource for payload decoder definitions.

SyncDecoderTypes

SyncDecoderTypes(client: SyncClient)

Bases: BaseResource['SyncClient']

Decoder types resource for device payload decoders.

Methods:

  • get

    Retrieve a decoder type by its ID.

  • get_all

    List all available decoder types.

get

Retrieve a decoder type by its ID.

Parameters:

  • decoder_id

    (str) –

    The unique identifier of the decoder type.

Returns:

  • DecoderTypeInstance ( DecoderTypeInstance ) –

    The decoder type instance matching the given ID.

get_all

get_all() -> list[DecoderTypeInstance]

List all available decoder types.

Returns:

AsyncDecoderTypes

AsyncDecoderTypes(client: AsyncClient)

Bases: BaseResource['AsyncClient']

Async decoder types resource for device payload decoders.

Methods:

  • get

    Retrieve a decoder type by its ID.

  • get_all

    List all available decoder types.

get async

Retrieve a decoder type by its ID.

Parameters:

  • decoder_id

    (str) –

    The unique identifier of the decoder type.

Returns:

  • DecoderTypeInstance ( DecoderTypeInstance ) –

    The decoder type instance matching the given ID.

get_all async

get_all() -> list[DecoderTypeInstance]

List all available decoder types.

Returns:

Request and response types: Decoder type models.