Versions in this module Expand all Collapse all v2 v2.1.1 Dec 9, 2025 v2.0.0 Jun 18, 2023 Changes in this version + const API_ACTION + const API_ACTION_NODE + const API_BACKUP_DELETE + const API_BACKUP_LIST + const API_DATA_REPOSITORY_DELETE + const API_DATA_REPOSITORY_LIST + const API_FIELD_DELETE + const API_FIELD_LIST + const API_FIRMWARE_DELETE + const API_FIRMWARE_LIST + const API_FORWARD_PAYLOAD_DELETE + const API_FORWARD_PAYLOAD_LIST + const API_GATEWAY_DELETE + const API_GATEWAY_DISABLE + const API_GATEWAY_ENABLE + const API_GATEWAY_LIST + const API_GATEWAY_RELOAD + const API_HANDLER_DELETE + const API_HANDLER_DISABLE + const API_HANDLER_ENABLE + const API_HANDLER_LIST + const API_LOGIN + const API_NODE_DELETE + const API_NODE_LIST + const API_SCHEDULE_DELETE + const API_SCHEDULE_DISABLE + const API_SCHEDULE_ENABLE + const API_SCHEDULE_LIST + const API_SOURCE_DELETE + const API_SOURCE_LIST + const API_STATUS + const API_TASK_DELETE + const API_TASK_DISABLE + const API_TASK_ENABLE + const API_TASK_LIST + const API_VERSION + const API_VIRTUAL_ASSISTANT_DELETE + const API_VIRTUAL_ASSISTANT_DISABLE + const API_VIRTUAL_ASSISTANT_ENABLE + const API_VIRTUAL_ASSISTANT_LIST + const API_VIRTUAL_ASSISTANT_RELOAD + const API_VIRTUAL_DEVICE_DELETE + const API_VIRTUAL_DEVICE_DISABLE + const API_VIRTUAL_DEVICE_ENABLE + const API_VIRTUAL_DEVICE_LIST + type Client struct + Insecure bool + ServerAddress string + Timeout string + Token string + func NewClient(serverAddress string, token string, insecure bool) *Client + func (c *Client) DeleteBackup(items ...string) error + func (c *Client) DeleteDataRepository(nodes ...string) error + func (c *Client) DeleteField(nodes ...string) error + func (c *Client) DeleteFirmware(nodes ...string) error + func (c *Client) DeleteForwardPayload(items ...string) error + func (c *Client) DeleteGateway(items ...string) error + func (c *Client) DeleteHandler(items ...string) error + func (c *Client) DeleteNode(nodes ...string) error + func (c *Client) DeleteSchedule(items ...string) error + func (c *Client) DeleteSource(nodes ...string) error + func (c *Client) DeleteTask(items ...string) error + func (c *Client) DeleteVirtualAssistant(items ...string) error + func (c *Client) DeleteVirtualDevice(items ...string) error + func (c *Client) DisableGateway(items ...string) error + func (c *Client) DisableHandler(items ...string) error + func (c *Client) DisableSchedule(items ...string) error + func (c *Client) DisableTask(items ...string) error + func (c *Client) DisableVirtualAssistant(items ...string) error + func (c *Client) DisableVirtualDevice(items ...string) error + func (c *Client) EnableGateway(items ...string) error + func (c *Client) EnableHandler(items ...string) error + func (c *Client) EnableSchedule(items ...string) error + func (c *Client) EnableTask(items ...string) error + func (c *Client) EnableVirtualAssistant(items ...string) error + func (c *Client) EnableVirtualDevice(items ...string) error + func (c *Client) ExecuteAction(actions []webHandlerTY.ActionConfig) error + func (c *Client) ExecuteNodeAction(action string, nodeIDs []string) error + func (c *Client) GetServerVersion() (*version.Version, error) + func (c *Client) ListBackup(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListDataRepository(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListField(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListFirmware(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListForwardPayload(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListGateway(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListHandler(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListNode(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListSchedule(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListSource(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListTask(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListVirtualAssistant(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) ListVirtualDevice(queryParams map[string]interface{}) (*storageTY.Result, error) + func (c *Client) Login(username, password, token, expiresIn string) (*handlerTY.JwtTokenResponse, error) + func (c *Client) ReloadGateway(items ...string) error + func (c *Client) ReloadVirtualAssistant(items ...string) error