class APIV1_BackendAnonymousCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport ping = expose_cmds(cmds.ping) organization_bootstrap = expose_cmds(cmds.organization_bootstrap)
class APIV1_BackendAdministrationCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport organization_create = expose_cmds(cmds.organization_create) organization_stats = expose_cmds(cmds.apiv1_organization_stats) organization_status = expose_cmds(cmds.apiv1_organization_status) organization_update = expose_cmds(cmds.apiv1_organization_update) ping = expose_cmds(cmds.ping)
class APIV1_BackendAnonymousCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport for cmd_name in APIV1_ANONYMOUS_CMDS: vars()[cmd_name] = expose_cmds(cmd_name, apiv1=True)
class BackendAdministrationCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport for cmd_name in ADMINISTRATION_CMDS: vars()[cmd_name] = expose_cmds(cmd_name)
class BackendInvitedCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport for cmd_name in INVITED_CMDS: vars()[cmd_name] = expose_cmds(cmd_name)
class APIV1_BackendAnonymousCmds: def __init__(self, addr, acquire_transport): self.addr = addr self.acquire_transport = acquire_transport user_claim = expose_cmds(cmds.user_claim) user_get_invitation_creator = expose_cmds(cmds.user_get_invitation_creator) device_claim = expose_cmds(cmds.device_claim) device_get_invitation_creator = expose_cmds( cmds.device_get_invitation_creator) organization_bootstrap = expose_cmds(cmds.organization_bootstrap) ping = expose_cmds(cmds.ping)