Documentation ¶
Index ¶
- type BatchCheckDeviceNamesRequest
- type BatchCheckDeviceNamesResponse
- type BatchGetDeviceStateRequest
- type BatchGetDeviceStateResponse
- type BatchRegisterDeviceRequest
- type BatchRegisterDeviceResponse
- type BatchRegisterDeviceWithApplyIdRequest
- type BatchRegisterDeviceWithApplyIdResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) BatchCheckDeviceNames(request *BatchCheckDeviceNamesRequest) (response *BatchCheckDeviceNamesResponse, err error)
- func (client *Client) BatchGetDeviceState(request *BatchGetDeviceStateRequest) (response *BatchGetDeviceStateResponse, err error)
- func (client *Client) BatchRegisterDevice(request *BatchRegisterDeviceRequest) (response *BatchRegisterDeviceResponse, err error)
- func (client *Client) BatchRegisterDeviceWithApplyId(request *BatchRegisterDeviceWithApplyIdRequest) (response *BatchRegisterDeviceWithApplyIdResponse, err error)
- func (client *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (client *Client) DisableThing(request *DisableThingRequest) (response *DisableThingResponse, err error)
- func (client *Client) EnableThing(request *EnableThingRequest) (response *EnableThingResponse, err error)
- func (client *Client) GetDeviceStatus(request *GetDeviceStatusRequest) (response *GetDeviceStatusResponse, err error)
- func (client *Client) QueryBatchRegisterDeviceStatus(request *QueryBatchRegisterDeviceStatusRequest) (response *QueryBatchRegisterDeviceStatusResponse, err error)
- func (client *Client) QueryDevice(request *QueryDeviceRequest) (response *QueryDeviceResponse, err error)
- func (client *Client) QueryDeviceDetail(request *QueryDeviceDetailRequest) (response *QueryDeviceDetailResponse, err error)
- func (client *Client) QueryDeviceProp(request *QueryDevicePropRequest) (response *QueryDevicePropResponse, err error)
- func (client *Client) QueryPageByApplyId(request *QueryPageByApplyIdRequest) (response *QueryPageByApplyIdResponse, err error)
- func (client *Client) RegisterDevice(request *RegisterDeviceRequest) (response *RegisterDeviceResponse, err error)
- func (client *Client) SetDeviceProperty(request *SetDevicePropertyRequest) (response *SetDevicePropertyResponse, err error)
- func (client *Client) SetDevicesProperty(request *SetDevicesPropertyRequest) (response *SetDevicesPropertyResponse, err error)
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DisableThingRequest
- type DisableThingResponse
- type EnableThingRequest
- type EnableThingResponse
- type GetDeviceStatusRequest
- type GetDeviceStatusResponse
- type QueryBatchRegisterDeviceStatusRequest
- type QueryBatchRegisterDeviceStatusResponse
- type QueryDeviceDetailRequest
- type QueryDeviceDetailResponse
- type QueryDevicePropRequest
- type QueryDevicePropResponse
- type QueryDeviceRequest
- type QueryDeviceResponse
- type QueryPageByApplyIdRequest
- type QueryPageByApplyIdResponse
- type RegisterDeviceRequest
- type RegisterDeviceResponse
- type SetDevicePropertyRequest
- type SetDevicePropertyResponse
- type SetDevicesPropertyRequest
- type SetDevicesPropertyResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCheckDeviceNamesRequest ¶
type BatchCheckDeviceNamesRequest struct { *requests.RpcRequest ProductKey string `position:"Query" name:"ProductKey"` }
BatchCheckDeviceNamesRequest is the request struct for api BatchCheckDeviceNames
func CreateBatchCheckDeviceNamesRequest ¶
func CreateBatchCheckDeviceNamesRequest() (request *BatchCheckDeviceNamesRequest)
CreateBatchCheckDeviceNamesRequest creates a request to invoke BatchCheckDeviceNames request
func (*BatchCheckDeviceNamesRequest) SetDeviceNames ¶
func (request *BatchCheckDeviceNamesRequest) SetDeviceNames(deviceNames []string)
SetDeviceName is the request struct for set device name
type BatchCheckDeviceNamesResponse ¶
type BatchCheckDeviceNamesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BatchCheckDeviceNamesResponse is the response struct for api BatchCheckDeviceNames
func CreateBatchCheckDeviceNamesResponse ¶
func CreateBatchCheckDeviceNamesResponse() (response *BatchCheckDeviceNamesResponse)
CreateBatchCheckDeviceNamesResponse creates a response to parse from BatchCheckDeviceNames response
type BatchGetDeviceStateRequest ¶
type BatchGetDeviceStateRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` }
BatchGetDeviceStateRequest is the request struct for api BatchGetDeviceState
func CreateBatchGetDeviceStateRequest ¶
func CreateBatchGetDeviceStateRequest() (request *BatchGetDeviceStateRequest)
CreateBatchGetDeviceStateRequest creates a request to invoke BatchGetDeviceState request
func (*BatchGetDeviceStateRequest) SetDeviceName ¶
func (request *BatchGetDeviceStateRequest) SetDeviceName(deviceName []string)
SetDeviceName is the request struct for set device name
type BatchGetDeviceStateResponse ¶
type BatchGetDeviceStateResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BatchGetDeviceStateResponse is the response struct for api BatchGetDeviceState
func CreateBatchGetDeviceStateResponse ¶
func CreateBatchGetDeviceStateResponse() (response *BatchGetDeviceStateResponse)
CreateBatchGetDeviceStateResponse creates a response to parse from BatchGetDeviceState response
type BatchRegisterDeviceRequest ¶
type BatchRegisterDeviceRequest struct { *requests.RpcRequest ProductKey string `position:"Query" name:"ProductKey"` Count requests.Integer `position:"Query" name:"Count"` }
BatchRegisterDeviceRequest is the request struct for api BatchRegisterDevice
func CreateBatchRegisterDeviceRequest ¶
func CreateBatchRegisterDeviceRequest() (request *BatchRegisterDeviceRequest)
CreateBatchRegisterDeviceRequest creates a request to invoke BatchRegisterDevice request
type BatchRegisterDeviceResponse ¶
type BatchRegisterDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BatchRegisterDeviceResponse is the response struct for api BatchRegisterDevice
func CreateBatchRegisterDeviceResponse ¶
func CreateBatchRegisterDeviceResponse() (response *BatchRegisterDeviceResponse)
CreateBatchRegisterDeviceResponse creates a response to parse from BatchRegisterDevice response
type BatchRegisterDeviceWithApplyIdRequest ¶
type BatchRegisterDeviceWithApplyIdRequest struct { *requests.RpcRequest ProductKey string `position:"Query" name:"ProductKey"` ApplyId requests.Integer `position:"Query" name:"ApplyId"` }
BatchRegisterDeviceWithApplyIdRequest is the request struct for api BatchRegisterDeviceWithApplyId
func CreateBatchRegisterDeviceWithApplyIdRequest ¶
func CreateBatchRegisterDeviceWithApplyIdRequest() (request *BatchRegisterDeviceWithApplyIdRequest)
CreateBatchRegisterDeviceWithApplyIdRequest creates a request to invoke BatchRegisterDeviceWithApplyId request
type BatchRegisterDeviceWithApplyIdResponse ¶
type BatchRegisterDeviceWithApplyIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BatchRegisterDeviceWithApplyIdResponse is the response struct for api BatchRegisterDeviceWithApplyId
func CreateBatchRegisterDeviceWithApplyIdResponse ¶
func CreateBatchRegisterDeviceWithApplyIdResponse() (response *BatchRegisterDeviceWithApplyIdResponse)
CreateBatchRegisterDeviceWithApplyIdResponse creates a response to parse from BatchRegisterDeviceWithApplyId response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html
func (*Client) BatchCheckDeviceNames ¶
func (client *Client) BatchCheckDeviceNames(request *BatchCheckDeviceNamesRequest) (response *BatchCheckDeviceNamesResponse, err error)
BatchCheckDeviceNames invokes the iot.BatchCheckDeviceNames API synchronously api document: https://help.aliyun.com/document_detail/69482.html
func (*Client) BatchGetDeviceState ¶
func (client *Client) BatchGetDeviceState(request *BatchGetDeviceStateRequest) (response *BatchGetDeviceStateResponse, err error)
BatchGetDeviceState invokes the iot.BatchGetDeviceState API synchronously api document: https://help.aliyun.com/document_detail/69906.html
func (*Client) BatchRegisterDevice ¶
func (client *Client) BatchRegisterDevice(request *BatchRegisterDeviceRequest) (response *BatchRegisterDeviceResponse, err error)
BatchRegisterDevice invokes the iot.BatchRegisterDevice API synchronously api document: https://help.aliyun.com/document_detail/69473.html
func (*Client) BatchRegisterDeviceWithApplyId ¶
func (client *Client) BatchRegisterDeviceWithApplyId(request *BatchRegisterDeviceWithApplyIdRequest) (response *BatchRegisterDeviceWithApplyIdResponse, err error)
BatchRegisterDeviceWithApplyId invokes the iot.BatchRegisterDeviceWithApplyId API synchronously api document: https://help.aliyun.com/document_detail/69514.html
func (*Client) DeleteDevice ¶
func (client *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
DeleteDevice invokes the iot.DeleteDevice API synchronously api document: https://help.aliyun.com/document_detail/69281.html
func (*Client) DisableThing ¶
func (client *Client) DisableThing(request *DisableThingRequest) (response *DisableThingResponse, err error)
DisableThing invokes the iot.DisableThing API synchronously api document: https://help.aliyun.com/document_detail/69602.html
func (*Client) EnableThing ¶
func (client *Client) EnableThing(request *EnableThingRequest) (response *EnableThingResponse, err error)
EnableThing invokes the iot.EnableThing API synchronously api document: https://help.aliyun.com/document_detail/69603.html
func (*Client) GetDeviceStatus ¶
func (client *Client) GetDeviceStatus(request *GetDeviceStatusRequest) (response *GetDeviceStatusResponse, err error)
GetDeviceStatus invokes the iot.GetDeviceStatus API synchronously api document: https://help.aliyun.com/document_detail/69617.html
func (*Client) QueryBatchRegisterDeviceStatus ¶
func (client *Client) QueryBatchRegisterDeviceStatus(request *QueryBatchRegisterDeviceStatusRequest) (response *QueryBatchRegisterDeviceStatusResponse, err error)
QueryBatchRegisterDeviceStatus invokes the iot.QueryBatchRegisterDeviceStatus API synchronously api document: https://help.aliyun.com/document_detail/69483.html
func (*Client) QueryDevice ¶
func (client *Client) QueryDevice(request *QueryDeviceRequest) (response *QueryDeviceResponse, err error)
QueryDevice invokes the iot.QueryDevice API synchronously api document: https://help.aliyun.com/document_detail/69905.html
func (*Client) QueryDeviceDetail ¶
func (client *Client) QueryDeviceDetail(request *QueryDeviceDetailRequest) (response *QueryDeviceDetailResponse, err error)
QueryDeviceDetail invokes the iot.QueryDeviceDetail API synchronously api document: https://help.aliyun.com/document_detail/69594.html
func (*Client) QueryDeviceProp ¶
func (client *Client) QueryDeviceProp(request *QueryDevicePropRequest) (response *QueryDevicePropResponse, err error)
QueryDeviceProp invokes the iot.QueryDeviceProp API synchronously api document: https://help.aliyun.com/document_detail/69633.html
func (*Client) QueryPageByApplyId ¶
func (client *Client) QueryPageByApplyId(request *QueryPageByApplyIdRequest) (response *QueryPageByApplyIdResponse, err error)
QueryPageByApplyId invokes the iot.QueryPageByApplyId API synchronously api document: https://help.aliyun.com/document_detail/69518.html
func (*Client) RegisterDevice ¶
func (client *Client) RegisterDevice(request *RegisterDeviceRequest) (response *RegisterDeviceResponse, err error)
RegisterDevice invokes the iot.RegisterDevice API synchronously api document: https://help.aliyun.com/document_detail/69470.html
func (*Client) SetDeviceProperty ¶
func (client *Client) SetDeviceProperty(request *SetDevicePropertyRequest) (response *SetDevicePropertyResponse, err error)
SetDeviceProperty invokes the iot.SetDeviceProperty API synchronously api document: https://help.aliyun.com/document_detail/69579.html
func (*Client) SetDevicesProperty ¶
func (client *Client) SetDevicesProperty(request *SetDevicesPropertyRequest) (response *SetDevicesPropertyResponse, err error)
SetDevicesProperty invokes the iot.SetDevicesProperty API synchronously api document: https://help.aliyun.com/document_detail/96243.html
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
DeleteDeviceRequest is the request struct for api DeleteDevice
func CreateDeleteDeviceRequest ¶
func CreateDeleteDeviceRequest() (request *DeleteDeviceRequest)
CreateDeleteDeviceRequest creates a request to invoke DeleteDevice request
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteDeviceResponse is the response struct for api DeleteDevice
func CreateDeleteDeviceResponse ¶
func CreateDeleteDeviceResponse() (response *DeleteDeviceResponse)
CreateDeleteDeviceResponse creates a response to parse from DeleteDevice response
type DisableThingRequest ¶
type DisableThingRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
DisableThingRequest is the request struct for api DisableThing
func CreateDisableThingRequest ¶
func CreateDisableThingRequest() (request *DisableThingRequest)
CreateDisableThingRequest creates a request to invoke DisableThing request
type DisableThingResponse ¶
type DisableThingResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DisableThingResponse is the response struct for api DisableThing
func CreateDisableThingResponse ¶
func CreateDisableThingResponse() (response *DisableThingResponse)
CreateDisableThingResponse creates a response to parse from DisableThing response
type EnableThingRequest ¶
type EnableThingRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
EnableThingRequest is the request struct for api EnableThing
func CreateEnableThingRequest ¶
func CreateEnableThingRequest() (request *EnableThingRequest)
CreateEnableThingRequest creates a request to invoke EnableThing request
type EnableThingResponse ¶
type EnableThingResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
EnableThingResponse is the response struct for api EnableThing
func CreateEnableThingResponse ¶
func CreateEnableThingResponse() (response *EnableThingResponse)
CreateEnableThingResponse creates a response to parse from EnableThing response
type GetDeviceStatusRequest ¶
type GetDeviceStatusRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
GetDeviceStatusRequest is the request struct for api GetDeviceStatus
func CreateGetDeviceStatusRequest ¶
func CreateGetDeviceStatusRequest() (request *GetDeviceStatusRequest)
CreateGetDeviceStatusRequest creates a request to invoke GetDeviceStatus request
type GetDeviceStatusResponse ¶
type GetDeviceStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
GetDeviceStatusResponse is the response struct for api GetDeviceStatus
func CreateGetDeviceStatusResponse ¶
func CreateGetDeviceStatusResponse() (response *GetDeviceStatusResponse)
CreateGetDeviceStatusResponse creates a response to parse from GetDeviceStatus response
type QueryBatchRegisterDeviceStatusRequest ¶
type QueryBatchRegisterDeviceStatusRequest struct { *requests.RpcRequest ProductKey string `position:"Query" name:"ProductKey"` ApplyId requests.Integer `position:"Query" name:"ApplyId"` }
QueryBatchRegisterDeviceStatusRequest is the request struct for api QueryBatchRegisterDeviceStatus
func CreateQueryBatchRegisterDeviceStatusRequest ¶
func CreateQueryBatchRegisterDeviceStatusRequest() (request *QueryBatchRegisterDeviceStatusRequest)
CreateQueryBatchRegisterDeviceStatusRequest creates a request to invoke QueryBatchRegisterDeviceStatus request
type QueryBatchRegisterDeviceStatusResponse ¶
type QueryBatchRegisterDeviceStatusResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
QueryBatchRegisterDeviceStatusResponse is the response struct for api QueryBatchRegisterDeviceStatus
func CreateQueryBatchRegisterDeviceStatusResponse ¶
func CreateQueryBatchRegisterDeviceStatusResponse() (response *QueryBatchRegisterDeviceStatusResponse)
CreateQueryBatchRegisterDeviceStatusResponse creates a response to parse from QueryBatchRegisterDeviceStatus response
type QueryDeviceDetailRequest ¶
type QueryDeviceDetailRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
QueryDeviceDetailRequest is the request struct for api QueryDeviceDetail
func CreateQueryDeviceDetailRequest ¶
func CreateQueryDeviceDetailRequest() (request *QueryDeviceDetailRequest)
CreateQueryDeviceDetailRequest creates a request to invoke QueryDeviceDetail request
type QueryDeviceDetailResponse ¶
type QueryDeviceDetailResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
QueryDeviceDetailResponse is the response struct for api QueryDeviceDetail
func CreateQueryDeviceDetailResponse ¶
func CreateQueryDeviceDetailResponse() (response *QueryDeviceDetailResponse)
CreateQueryDeviceDetailResponse creates a response to parse from QueryDeviceDetail response
type QueryDevicePropRequest ¶
type QueryDevicePropRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
QueryDevicePropRequest is the request struct for api QueryDeviceProp
func CreateQueryDevicePropRequest ¶
func CreateQueryDevicePropRequest() (request *QueryDevicePropRequest)
CreateQueryDevicePropRequest creates a request to invoke QueryDeviceProp request
type QueryDevicePropResponse ¶
type QueryDevicePropResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
QueryDevicePropResponse is the response struct for api QueryDeviceProp
func CreateQueryDevicePropResponse ¶
func CreateQueryDevicePropResponse() (response *QueryDevicePropResponse)
CreateQueryDevicePropResponse creates a response to parse from QueryDeviceProp response
type QueryDeviceRequest ¶
type QueryDeviceRequest struct { *requests.RpcRequest PageSize requests.Integer `position:"Query" name:"PageSize"` CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` ProductKey string `position:"Query" name:"ProductKey"` }
QueryDeviceRequest is the request struct for api QueryDevice
func CreateQueryDeviceRequest ¶
func CreateQueryDeviceRequest() (request *QueryDeviceRequest)
CreateQueryDeviceRequest creates a request to invoke QueryDevice request
type QueryDeviceResponse ¶
type QueryDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
QueryDeviceResponse is the response struct for api QueryDevice
func CreateQueryDeviceResponse ¶
func CreateQueryDeviceResponse() (response *QueryDeviceResponse)
CreateQueryDeviceResponse creates a response to parse from QueryDevice response
type QueryPageByApplyIdRequest ¶
type QueryPageByApplyIdRequest struct { *requests.RpcRequest PageSize requests.Integer `position:"Query" name:"PageSize"` CurrentPage requests.Integer `position:"Query" name:"CurrentPage"` ApplyId int64 `position:"Query" name:"ApplyId"` }
QueryPageByApplyIdRequest is the request struct for api QueryPageByApplyId
func CreateQueryPageByApplyIdRequest ¶
func CreateQueryPageByApplyIdRequest() (request *QueryPageByApplyIdRequest)
CreateQueryPageByApplyIdRequest creates a request to invoke QueryPageByApplyId request
type QueryPageByApplyIdResponse ¶
type QueryPageByApplyIdResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
QueryPageByApplyIdResponse is the response struct for api QueryPageByApplyId
func CreateQueryPageByApplyIdResponse ¶
func CreateQueryPageByApplyIdResponse() (response *QueryPageByApplyIdResponse)
CreateQueryPageByApplyIdResponse creates a response to parse from QueryPageByApplyId response
type RegisterDeviceRequest ¶
type RegisterDeviceRequest struct { *requests.RpcRequest ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` }
RegisterDeviceRequest is the request struct for api RegisterDevice
func CreateRegisterDeviceRequest ¶
func CreateRegisterDeviceRequest() (request *RegisterDeviceRequest)
CreateRegisterDeviceRequest creates a request to invoke RegisterDevice request
type RegisterDeviceResponse ¶
type RegisterDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RegisterDeviceResponse is the response struct for api RegisterDevice
func CreateRegisterDeviceResponse ¶
func CreateRegisterDeviceResponse() (response *RegisterDeviceResponse)
CreateRegisterDeviceResponse creates a response to parse from RegisterDevice response
type SetDevicePropertyRequest ¶
type SetDevicePropertyRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` DeviceName string `position:"Query" name:"DeviceName"` Items string `position:"Query" name:"Items"` }
SetDevicePropertyRequest is the request struct for api SetDeviceProperty
func CreateSetDevicePropertyRequest ¶
func CreateSetDevicePropertyRequest() (request *SetDevicePropertyRequest)
CreateSetDevicePropertyRequest creates a request to invoke SetDeviceProperty request
type SetDevicePropertyResponse ¶
type SetDevicePropertyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
SetDevicePropertyResponse is the response struct for api SetDeviceProperty
func CreateSetDevicePropertyResponse ¶
func CreateSetDevicePropertyResponse() (response *SetDevicePropertyResponse)
CreateSetDevicePropertyResponse creates a response to parse from SetDeviceProperty response
type SetDevicesPropertyRequest ¶
type SetDevicesPropertyRequest struct { *requests.RpcRequest IotId string `position:"Query" name:"IotId"` ProductKey string `position:"Query" name:"ProductKey"` Items string `position:"Query" name:"Items"` }
SetDevicesPropertyRequest is the request struct for api SetDeviceProperty
func CreateSetDevicesPropertyRequest ¶
func CreateSetDevicesPropertyRequest() (request *SetDevicesPropertyRequest)
CreateSetDevicesPropertyRequest creates a request to invokeSetDeviceProperty request
func (*SetDevicesPropertyRequest) SetDeviceNames ¶
func (request *SetDevicesPropertyRequest) SetDeviceNames(deviceNames []string)
SetDeviceNames is the request struct for set device names
type SetDevicesPropertyResponse ¶
type SetDevicesPropertyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
SetDevicesPropertyResponse is the response struct for api SetDeviceProperty
func CreateSetDevicesPropertyResponse ¶
func CreateSetDevicesPropertyResponse() (response *SetDevicesPropertyResponse)
CreateSetDevicesPropertyResponse creates a response to parse from SetDeviceProperty response
Source Files ¶
- batch_check_device_names.go
- batch_get_device_state.go
- batch_register_device.go
- batch_register_device_with_applyid.go
- client.go
- delete_device.go
- disable_thing.go
- enable_thing.go
- get_device_status.go
- query_batch_register_device_status.go
- query_device.go
- query_device_detail.go
- query_device_prop.go
- query_page_by_applyid.go
- register_device.go
- set_device_property.go
- set_devices_property.go