Role is the interface for working with Roles over the AppDaemon query RPC.

Generated

From ts-rpcdb.ts.tmpl

Hierarchy

  • Roles

Constructors

Properties

Methods

Constructors

Properties

The client to use for RPC calls.

connID: string

The connection ID to use for RPC calls.

Methods

  • Deletes the Role with the given ID.

    Parameters

    • id: string

      The name of the role.

    Returns Promise<void>

  • Returns the Role with the given ID.

    Parameters

    • id: string

      The name of the role.

    Returns Promise<Role>

    The Role with the given ID.

  • Returns the Roles with the given nodeid.

    Parameters

    • nodeid: string

      The ID of the node

    Returns Promise<Role[]>

    Any Roles found with the given nodeid.

  • Puts the given Role.

    Parameters

    • obj: Role

      The Role to put into the mesh storage.

    Returns Promise<void>

Generated using TypeDoc