package
1.0.0
Repository: https://github.com/moikot/smartthings-go.git
Documentation: pkg.go.dev

# Functions

New creates a new devices API client.
NewCreateDeviceEventsBadRequest creates a CreateDeviceEventsBadRequest with default headers values.
NewCreateDeviceEventsDefault creates a CreateDeviceEventsDefault with default headers values.
NewCreateDeviceEventsForbidden creates a CreateDeviceEventsForbidden with default headers values.
NewCreateDeviceEventsOK creates a CreateDeviceEventsOK with default headers values.
NewCreateDeviceEventsParams creates a new CreateDeviceEventsParams object with the default values initialized.
NewCreateDeviceEventsParamsWithContext creates a new CreateDeviceEventsParams object with the default values initialized, and the ability to set a context for a request.
NewCreateDeviceEventsParamsWithHTTPClient creates a new CreateDeviceEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewCreateDeviceEventsParamsWithTimeout creates a new CreateDeviceEventsParams object with the default values initialized, and the ability to set a timeout on a request.
NewCreateDeviceEventsTooManyRequests creates a CreateDeviceEventsTooManyRequests with default headers values.
NewCreateDeviceEventsUnauthorized creates a CreateDeviceEventsUnauthorized with default headers values.
NewCreateDeviceEventsUnprocessableEntity creates a CreateDeviceEventsUnprocessableEntity with default headers values.
NewDeleteDeviceBadRequest creates a DeleteDeviceBadRequest with default headers values.
NewDeleteDeviceDefault creates a DeleteDeviceDefault with default headers values.
NewDeleteDeviceForbidden creates a DeleteDeviceForbidden with default headers values.
NewDeleteDeviceOK creates a DeleteDeviceOK with default headers values.
NewDeleteDeviceParams creates a new DeleteDeviceParams object with the default values initialized.
NewDeleteDeviceParamsWithContext creates a new DeleteDeviceParams object with the default values initialized, and the ability to set a context for a request.
NewDeleteDeviceParamsWithHTTPClient creates a new DeleteDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewDeleteDeviceParamsWithTimeout creates a new DeleteDeviceParams object with the default values initialized, and the ability to set a timeout on a request.
NewDeleteDeviceTooManyRequests creates a DeleteDeviceTooManyRequests with default headers values.
NewDeleteDeviceUnauthorized creates a DeleteDeviceUnauthorized with default headers values.
NewExecuteDeviceCommandsBadRequest creates a ExecuteDeviceCommandsBadRequest with default headers values.
NewExecuteDeviceCommandsDefault creates a ExecuteDeviceCommandsDefault with default headers values.
NewExecuteDeviceCommandsForbidden creates a ExecuteDeviceCommandsForbidden with default headers values.
NewExecuteDeviceCommandsOK creates a ExecuteDeviceCommandsOK with default headers values.
NewExecuteDeviceCommandsParams creates a new ExecuteDeviceCommandsParams object with the default values initialized.
NewExecuteDeviceCommandsParamsWithContext creates a new ExecuteDeviceCommandsParams object with the default values initialized, and the ability to set a context for a request.
NewExecuteDeviceCommandsParamsWithHTTPClient creates a new ExecuteDeviceCommandsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewExecuteDeviceCommandsParamsWithTimeout creates a new ExecuteDeviceCommandsParams object with the default values initialized, and the ability to set a timeout on a request.
NewExecuteDeviceCommandsTooManyRequests creates a ExecuteDeviceCommandsTooManyRequests with default headers values.
NewExecuteDeviceCommandsUnauthorized creates a ExecuteDeviceCommandsUnauthorized with default headers values.
NewExecuteDeviceCommandsUnprocessableEntity creates a ExecuteDeviceCommandsUnprocessableEntity with default headers values.
NewGetDeviceBadRequest creates a GetDeviceBadRequest with default headers values.
NewGetDeviceComponentStatusBadRequest creates a GetDeviceComponentStatusBadRequest with default headers values.
NewGetDeviceComponentStatusDefault creates a GetDeviceComponentStatusDefault with default headers values.
NewGetDeviceComponentStatusForbidden creates a GetDeviceComponentStatusForbidden with default headers values.
NewGetDeviceComponentStatusOK creates a GetDeviceComponentStatusOK with default headers values.
NewGetDeviceComponentStatusParams creates a new GetDeviceComponentStatusParams object with the default values initialized.
NewGetDeviceComponentStatusParamsWithContext creates a new GetDeviceComponentStatusParams object with the default values initialized, and the ability to set a context for a request.
NewGetDeviceComponentStatusParamsWithHTTPClient creates a new GetDeviceComponentStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetDeviceComponentStatusParamsWithTimeout creates a new GetDeviceComponentStatusParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetDeviceComponentStatusTooManyRequests creates a GetDeviceComponentStatusTooManyRequests with default headers values.
NewGetDeviceComponentStatusUnauthorized creates a GetDeviceComponentStatusUnauthorized with default headers values.
NewGetDeviceDefault creates a GetDeviceDefault with default headers values.
NewGetDeviceForbidden creates a GetDeviceForbidden with default headers values.
NewGetDeviceOK creates a GetDeviceOK with default headers values.
NewGetDeviceParams creates a new GetDeviceParams object with the default values initialized.
NewGetDeviceParamsWithContext creates a new GetDeviceParams object with the default values initialized, and the ability to set a context for a request.
NewGetDeviceParamsWithHTTPClient creates a new GetDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetDeviceParamsWithTimeout creates a new GetDeviceParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetDevicesBadRequest creates a GetDevicesBadRequest with default headers values.
NewGetDevicesDefault creates a GetDevicesDefault with default headers values.
NewGetDevicesForbidden creates a GetDevicesForbidden with default headers values.
NewGetDevicesOK creates a GetDevicesOK with default headers values.
NewGetDevicesParams creates a new GetDevicesParams object with the default values initialized.
NewGetDevicesParamsWithContext creates a new GetDevicesParams object with the default values initialized, and the ability to set a context for a request.
NewGetDevicesParamsWithHTTPClient creates a new GetDevicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetDevicesParamsWithTimeout creates a new GetDevicesParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetDeviceStatusBadRequest creates a GetDeviceStatusBadRequest with default headers values.
NewGetDeviceStatusByCapabilityBadRequest creates a GetDeviceStatusByCapabilityBadRequest with default headers values.
NewGetDeviceStatusByCapabilityDefault creates a GetDeviceStatusByCapabilityDefault with default headers values.
NewGetDeviceStatusByCapabilityForbidden creates a GetDeviceStatusByCapabilityForbidden with default headers values.
NewGetDeviceStatusByCapabilityOK creates a GetDeviceStatusByCapabilityOK with default headers values.
NewGetDeviceStatusByCapabilityParams creates a new GetDeviceStatusByCapabilityParams object with the default values initialized.
NewGetDeviceStatusByCapabilityParamsWithContext creates a new GetDeviceStatusByCapabilityParams object with the default values initialized, and the ability to set a context for a request.
NewGetDeviceStatusByCapabilityParamsWithHTTPClient creates a new GetDeviceStatusByCapabilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetDeviceStatusByCapabilityParamsWithTimeout creates a new GetDeviceStatusByCapabilityParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetDeviceStatusByCapabilityTooManyRequests creates a GetDeviceStatusByCapabilityTooManyRequests with default headers values.
NewGetDeviceStatusByCapabilityUnauthorized creates a GetDeviceStatusByCapabilityUnauthorized with default headers values.
NewGetDeviceStatusDefault creates a GetDeviceStatusDefault with default headers values.
NewGetDeviceStatusForbidden creates a GetDeviceStatusForbidden with default headers values.
NewGetDeviceStatusOK creates a GetDeviceStatusOK with default headers values.
NewGetDeviceStatusParams creates a new GetDeviceStatusParams object with the default values initialized.
NewGetDeviceStatusParamsWithContext creates a new GetDeviceStatusParams object with the default values initialized, and the ability to set a context for a request.
NewGetDeviceStatusParamsWithHTTPClient creates a new GetDeviceStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewGetDeviceStatusParamsWithTimeout creates a new GetDeviceStatusParams object with the default values initialized, and the ability to set a timeout on a request.
NewGetDeviceStatusTooManyRequests creates a GetDeviceStatusTooManyRequests with default headers values.
NewGetDeviceStatusUnauthorized creates a GetDeviceStatusUnauthorized with default headers values.
NewGetDevicesTooManyRequests creates a GetDevicesTooManyRequests with default headers values.
NewGetDevicesUnauthorized creates a GetDevicesUnauthorized with default headers values.
NewGetDeviceTooManyRequests creates a GetDeviceTooManyRequests with default headers values.
NewGetDeviceUnauthorized creates a GetDeviceUnauthorized with default headers values.
NewInstallDeviceBadRequest creates a InstallDeviceBadRequest with default headers values.
NewInstallDeviceDefault creates a InstallDeviceDefault with default headers values.
NewInstallDeviceForbidden creates a InstallDeviceForbidden with default headers values.
NewInstallDeviceOK creates a InstallDeviceOK with default headers values.
NewInstallDeviceParams creates a new InstallDeviceParams object with the default values initialized.
NewInstallDeviceParamsWithContext creates a new InstallDeviceParams object with the default values initialized, and the ability to set a context for a request.
NewInstallDeviceParamsWithHTTPClient creates a new InstallDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewInstallDeviceParamsWithTimeout creates a new InstallDeviceParams object with the default values initialized, and the ability to set a timeout on a request.
NewInstallDeviceTooManyRequests creates a InstallDeviceTooManyRequests with default headers values.
NewInstallDeviceUnauthorized creates a InstallDeviceUnauthorized with default headers values.
NewInstallDeviceUnprocessableEntity creates a InstallDeviceUnprocessableEntity with default headers values.
NewUpdateDeviceBadRequest creates a UpdateDeviceBadRequest with default headers values.
NewUpdateDeviceDefault creates a UpdateDeviceDefault with default headers values.
NewUpdateDeviceForbidden creates a UpdateDeviceForbidden with default headers values.
NewUpdateDeviceOK creates a UpdateDeviceOK with default headers values.
NewUpdateDeviceParams creates a new UpdateDeviceParams object with the default values initialized.
NewUpdateDeviceParamsWithContext creates a new UpdateDeviceParams object with the default values initialized, and the ability to set a context for a request.
NewUpdateDeviceParamsWithHTTPClient creates a new UpdateDeviceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request.
NewUpdateDeviceParamsWithTimeout creates a new UpdateDeviceParams object with the default values initialized, and the ability to set a timeout on a request.
NewUpdateDeviceTooManyRequests creates a UpdateDeviceTooManyRequests with default headers values.
NewUpdateDeviceUnauthorized creates a UpdateDeviceUnauthorized with default headers values.
NewUpdateDeviceUnprocessableEntity creates a UpdateDeviceUnprocessableEntity with default headers values.

# Structs

Client for devices API */.
CreateDeviceEventsBadRequest handles this case with default header values.
CreateDeviceEventsDefault handles this case with default header values.
CreateDeviceEventsForbidden handles this case with default header values.
CreateDeviceEventsOK handles this case with default header values.
CreateDeviceEventsParams contains all the parameters to send to the API endpoint for the create device events operation typically these are written to a http.Request */.
CreateDeviceEventsReader is a Reader for the CreateDeviceEvents structure.
CreateDeviceEventsTooManyRequests handles this case with default header values.
CreateDeviceEventsUnauthorized handles this case with default header values.
CreateDeviceEventsUnprocessableEntity handles this case with default header values.
DeleteDeviceBadRequest handles this case with default header values.
DeleteDeviceDefault handles this case with default header values.
DeleteDeviceForbidden handles this case with default header values.
DeleteDeviceOK handles this case with default header values.
DeleteDeviceParams contains all the parameters to send to the API endpoint for the delete device operation typically these are written to a http.Request */.
DeleteDeviceReader is a Reader for the DeleteDevice structure.
DeleteDeviceTooManyRequests handles this case with default header values.
DeleteDeviceUnauthorized handles this case with default header values.
ExecuteDeviceCommandsBadRequest handles this case with default header values.
ExecuteDeviceCommandsDefault handles this case with default header values.
ExecuteDeviceCommandsForbidden handles this case with default header values.
ExecuteDeviceCommandsOK handles this case with default header values.
ExecuteDeviceCommandsParams contains all the parameters to send to the API endpoint for the execute device commands operation typically these are written to a http.Request */.
ExecuteDeviceCommandsReader is a Reader for the ExecuteDeviceCommands structure.
ExecuteDeviceCommandsTooManyRequests handles this case with default header values.
ExecuteDeviceCommandsUnauthorized handles this case with default header values.
ExecuteDeviceCommandsUnprocessableEntity handles this case with default header values.
GetDeviceBadRequest handles this case with default header values.
GetDeviceComponentStatusBadRequest handles this case with default header values.
GetDeviceComponentStatusDefault handles this case with default header values.
GetDeviceComponentStatusForbidden handles this case with default header values.
GetDeviceComponentStatusOK handles this case with default header values.
GetDeviceComponentStatusParams contains all the parameters to send to the API endpoint for the get device component status operation typically these are written to a http.Request */.
GetDeviceComponentStatusReader is a Reader for the GetDeviceComponentStatus structure.
GetDeviceComponentStatusTooManyRequests handles this case with default header values.
GetDeviceComponentStatusUnauthorized handles this case with default header values.
GetDeviceDefault handles this case with default header values.
GetDeviceForbidden handles this case with default header values.
GetDeviceOK handles this case with default header values.
GetDeviceParams contains all the parameters to send to the API endpoint for the get device operation typically these are written to a http.Request */.
GetDeviceReader is a Reader for the GetDevice structure.
GetDevicesBadRequest handles this case with default header values.
GetDevicesDefault handles this case with default header values.
GetDevicesForbidden handles this case with default header values.
GetDevicesOK handles this case with default header values.
GetDevicesParams contains all the parameters to send to the API endpoint for the get devices operation typically these are written to a http.Request */.
GetDevicesReader is a Reader for the GetDevices structure.
GetDeviceStatusBadRequest handles this case with default header values.
GetDeviceStatusByCapabilityBadRequest handles this case with default header values.
GetDeviceStatusByCapabilityDefault handles this case with default header values.
GetDeviceStatusByCapabilityForbidden handles this case with default header values.
GetDeviceStatusByCapabilityOK handles this case with default header values.
GetDeviceStatusByCapabilityParams contains all the parameters to send to the API endpoint for the get device status by capability operation typically these are written to a http.Request */.
GetDeviceStatusByCapabilityReader is a Reader for the GetDeviceStatusByCapability structure.
GetDeviceStatusByCapabilityTooManyRequests handles this case with default header values.
GetDeviceStatusByCapabilityUnauthorized handles this case with default header values.
GetDeviceStatusDefault handles this case with default header values.
GetDeviceStatusForbidden handles this case with default header values.
GetDeviceStatusOK handles this case with default header values.
GetDeviceStatusParams contains all the parameters to send to the API endpoint for the get device status operation typically these are written to a http.Request */.
GetDeviceStatusReader is a Reader for the GetDeviceStatus structure.
GetDeviceStatusTooManyRequests handles this case with default header values.
GetDeviceStatusUnauthorized handles this case with default header values.
GetDevicesTooManyRequests handles this case with default header values.
GetDevicesUnauthorized handles this case with default header values.
GetDeviceTooManyRequests handles this case with default header values.
GetDeviceUnauthorized handles this case with default header values.
InstallDeviceBadRequest handles this case with default header values.
InstallDeviceDefault handles this case with default header values.
InstallDeviceForbidden handles this case with default header values.
InstallDeviceOK handles this case with default header values.
InstallDeviceParams contains all the parameters to send to the API endpoint for the install device operation typically these are written to a http.Request */.
InstallDeviceReader is a Reader for the InstallDevice structure.
InstallDeviceTooManyRequests handles this case with default header values.
InstallDeviceUnauthorized handles this case with default header values.
InstallDeviceUnprocessableEntity handles this case with default header values.
UpdateDeviceBadRequest handles this case with default header values.
UpdateDeviceDefault handles this case with default header values.
UpdateDeviceForbidden handles this case with default header values.
UpdateDeviceOK handles this case with default header values.
UpdateDeviceParams contains all the parameters to send to the API endpoint for the update device operation typically these are written to a http.Request */.
UpdateDeviceReader is a Reader for the UpdateDevice structure.
UpdateDeviceTooManyRequests handles this case with default header values.
UpdateDeviceUnauthorized handles this case with default header values.
UpdateDeviceUnprocessableEntity handles this case with default header values.

# Interfaces

ClientService is the interface for Client methods.