mopen

package
v0.0.0-...-dd20015 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canvas

type Canvas struct {
	Id           int    `json:"Id" xml:"Id"`
	DeviceName   string `json:"DeviceName" xml:"DeviceName"`
	Url          string `json:"Url" xml:"Url"`
	PageId       int    `json:"PageId" xml:"PageId"`
	SessionId    string `json:"SessionId" xml:"SessionId"`
	CreateTime   string `json:"CreateTime" xml:"CreateTime"`
	LastModified string `json:"LastModified" xml:"LastModified"`
	Status       int    `json:"Status" xml:"Status"`
	Attribute    string `json:"Attribute" xml:"Attribute"`
}

Canvas is a nested struct in mopen response

type CanvasList

type CanvasList struct {
	Canvas []Canvas `json:"Canvas" xml:"Canvas"`
}

CanvasList is a nested struct in mopen response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) MoPenAddGroupMember

func (client *Client) MoPenAddGroupMember(request *MoPenAddGroupMemberRequest) (response *MoPenAddGroupMemberResponse, err error)

MoPenAddGroupMember invokes the mopen.MoPenAddGroupMember API synchronously api document: https://help.aliyun.com/api/mopen/mopenaddgroupmember.html

func (*Client) MoPenAddGroupMemberWithCallback

func (client *Client) MoPenAddGroupMemberWithCallback(request *MoPenAddGroupMemberRequest, callback func(response *MoPenAddGroupMemberResponse, err error)) <-chan int

MoPenAddGroupMemberWithCallback invokes the mopen.MoPenAddGroupMember API asynchronously api document: https://help.aliyun.com/api/mopen/mopenaddgroupmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenAddGroupMemberWithChan

func (client *Client) MoPenAddGroupMemberWithChan(request *MoPenAddGroupMemberRequest) (<-chan *MoPenAddGroupMemberResponse, <-chan error)

MoPenAddGroupMemberWithChan invokes the mopen.MoPenAddGroupMember API asynchronously api document: https://help.aliyun.com/api/mopen/mopenaddgroupmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenBindIsv

func (client *Client) MoPenBindIsv(request *MoPenBindIsvRequest) (response *MoPenBindIsvResponse, err error)

MoPenBindIsv invokes the mopen.MoPenBindIsv API synchronously api document: https://help.aliyun.com/api/mopen/mopenbindisv.html

func (*Client) MoPenBindIsvWithCallback

func (client *Client) MoPenBindIsvWithCallback(request *MoPenBindIsvRequest, callback func(response *MoPenBindIsvResponse, err error)) <-chan int

MoPenBindIsvWithCallback invokes the mopen.MoPenBindIsv API asynchronously api document: https://help.aliyun.com/api/mopen/mopenbindisv.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenBindIsvWithChan

func (client *Client) MoPenBindIsvWithChan(request *MoPenBindIsvRequest) (<-chan *MoPenBindIsvResponse, <-chan error)

MoPenBindIsvWithChan invokes the mopen.MoPenBindIsv API asynchronously api document: https://help.aliyun.com/api/mopen/mopenbindisv.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenCreateDevice

func (client *Client) MoPenCreateDevice(request *MoPenCreateDeviceRequest) (response *MoPenCreateDeviceResponse, err error)

MoPenCreateDevice invokes the mopen.MoPenCreateDevice API synchronously api document: https://help.aliyun.com/api/mopen/mopencreatedevice.html

func (*Client) MoPenCreateDeviceWithCallback

func (client *Client) MoPenCreateDeviceWithCallback(request *MoPenCreateDeviceRequest, callback func(response *MoPenCreateDeviceResponse, err error)) <-chan int

MoPenCreateDeviceWithCallback invokes the mopen.MoPenCreateDevice API asynchronously api document: https://help.aliyun.com/api/mopen/mopencreatedevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenCreateDeviceWithChan

func (client *Client) MoPenCreateDeviceWithChan(request *MoPenCreateDeviceRequest) (<-chan *MoPenCreateDeviceResponse, <-chan error)

MoPenCreateDeviceWithChan invokes the mopen.MoPenCreateDevice API asynchronously api document: https://help.aliyun.com/api/mopen/mopencreatedevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDeleteGroup

func (client *Client) MoPenDeleteGroup(request *MoPenDeleteGroupRequest) (response *MoPenDeleteGroupResponse, err error)

MoPenDeleteGroup invokes the mopen.MoPenDeleteGroup API synchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroup.html

func (*Client) MoPenDeleteGroupMember

func (client *Client) MoPenDeleteGroupMember(request *MoPenDeleteGroupMemberRequest) (response *MoPenDeleteGroupMemberResponse, err error)

MoPenDeleteGroupMember invokes the mopen.MoPenDeleteGroupMember API synchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroupmember.html

func (*Client) MoPenDeleteGroupMemberWithCallback

func (client *Client) MoPenDeleteGroupMemberWithCallback(request *MoPenDeleteGroupMemberRequest, callback func(response *MoPenDeleteGroupMemberResponse, err error)) <-chan int

MoPenDeleteGroupMemberWithCallback invokes the mopen.MoPenDeleteGroupMember API asynchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroupmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDeleteGroupMemberWithChan

func (client *Client) MoPenDeleteGroupMemberWithChan(request *MoPenDeleteGroupMemberRequest) (<-chan *MoPenDeleteGroupMemberResponse, <-chan error)

MoPenDeleteGroupMemberWithChan invokes the mopen.MoPenDeleteGroupMember API asynchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroupmember.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDeleteGroupWithCallback

func (client *Client) MoPenDeleteGroupWithCallback(request *MoPenDeleteGroupRequest, callback func(response *MoPenDeleteGroupResponse, err error)) <-chan int

MoPenDeleteGroupWithCallback invokes the mopen.MoPenDeleteGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDeleteGroupWithChan

func (client *Client) MoPenDeleteGroupWithChan(request *MoPenDeleteGroupRequest) (<-chan *MoPenDeleteGroupResponse, <-chan error)

MoPenDeleteGroupWithChan invokes the mopen.MoPenDeleteGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopendeletegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDoRecognize

func (client *Client) MoPenDoRecognize(request *MoPenDoRecognizeRequest) (response *MoPenDoRecognizeResponse, err error)

MoPenDoRecognize invokes the mopen.MoPenDoRecognize API synchronously api document: https://help.aliyun.com/api/mopen/mopendorecognize.html

func (*Client) MoPenDoRecognizeWithCallback

func (client *Client) MoPenDoRecognizeWithCallback(request *MoPenDoRecognizeRequest, callback func(response *MoPenDoRecognizeResponse, err error)) <-chan int

MoPenDoRecognizeWithCallback invokes the mopen.MoPenDoRecognize API asynchronously api document: https://help.aliyun.com/api/mopen/mopendorecognize.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenDoRecognizeWithChan

func (client *Client) MoPenDoRecognizeWithChan(request *MoPenDoRecognizeRequest) (<-chan *MoPenDoRecognizeResponse, <-chan error)

MoPenDoRecognizeWithChan invokes the mopen.MoPenDoRecognize API asynchronously api document: https://help.aliyun.com/api/mopen/mopendorecognize.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenFindGroup

func (client *Client) MoPenFindGroup(request *MoPenFindGroupRequest) (response *MoPenFindGroupResponse, err error)

MoPenFindGroup invokes the mopen.MoPenFindGroup API synchronously api document: https://help.aliyun.com/api/mopen/mopenfindgroup.html

func (*Client) MoPenFindGroupWithCallback

func (client *Client) MoPenFindGroupWithCallback(request *MoPenFindGroupRequest, callback func(response *MoPenFindGroupResponse, err error)) <-chan int

MoPenFindGroupWithCallback invokes the mopen.MoPenFindGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopenfindgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenFindGroupWithChan

func (client *Client) MoPenFindGroupWithChan(request *MoPenFindGroupRequest) (<-chan *MoPenFindGroupResponse, <-chan error)

MoPenFindGroupWithChan invokes the mopen.MoPenFindGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopenfindgroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenQueryCanvas

func (client *Client) MoPenQueryCanvas(request *MoPenQueryCanvasRequest) (response *MoPenQueryCanvasResponse, err error)

MoPenQueryCanvas invokes the mopen.MoPenQueryCanvas API synchronously api document: https://help.aliyun.com/api/mopen/mopenquerycanvas.html

func (*Client) MoPenQueryCanvasWithCallback

func (client *Client) MoPenQueryCanvasWithCallback(request *MoPenQueryCanvasRequest, callback func(response *MoPenQueryCanvasResponse, err error)) <-chan int

MoPenQueryCanvasWithCallback invokes the mopen.MoPenQueryCanvas API asynchronously api document: https://help.aliyun.com/api/mopen/mopenquerycanvas.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenQueryCanvasWithChan

func (client *Client) MoPenQueryCanvasWithChan(request *MoPenQueryCanvasRequest) (<-chan *MoPenQueryCanvasResponse, <-chan error)

MoPenQueryCanvasWithChan invokes the mopen.MoPenQueryCanvas API asynchronously api document: https://help.aliyun.com/api/mopen/mopenquerycanvas.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenSendMqttMessage

func (client *Client) MoPenSendMqttMessage(request *MoPenSendMqttMessageRequest) (response *MoPenSendMqttMessageResponse, err error)

MoPenSendMqttMessage invokes the mopen.MoPenSendMqttMessage API synchronously api document: https://help.aliyun.com/api/mopen/mopensendmqttmessage.html

func (*Client) MoPenSendMqttMessageWithCallback

func (client *Client) MoPenSendMqttMessageWithCallback(request *MoPenSendMqttMessageRequest, callback func(response *MoPenSendMqttMessageResponse, err error)) <-chan int

MoPenSendMqttMessageWithCallback invokes the mopen.MoPenSendMqttMessage API asynchronously api document: https://help.aliyun.com/api/mopen/mopensendmqttmessage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MoPenSendMqttMessageWithChan

func (client *Client) MoPenSendMqttMessageWithChan(request *MoPenSendMqttMessageRequest) (<-chan *MoPenSendMqttMessageResponse, <-chan error)

MoPenSendMqttMessageWithChan invokes the mopen.MoPenSendMqttMessage API asynchronously api document: https://help.aliyun.com/api/mopen/mopensendmqttmessage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MopenCreateGroup

func (client *Client) MopenCreateGroup(request *MopenCreateGroupRequest) (response *MopenCreateGroupResponse, err error)

MopenCreateGroup invokes the mopen.MopenCreateGroup API synchronously api document: https://help.aliyun.com/api/mopen/mopencreategroup.html

func (*Client) MopenCreateGroupWithCallback

func (client *Client) MopenCreateGroupWithCallback(request *MopenCreateGroupRequest, callback func(response *MopenCreateGroupResponse, err error)) <-chan int

MopenCreateGroupWithCallback invokes the mopen.MopenCreateGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopencreategroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MopenCreateGroupWithChan

func (client *Client) MopenCreateGroupWithChan(request *MopenCreateGroupRequest) (<-chan *MopenCreateGroupResponse, <-chan error)

MopenCreateGroupWithChan invokes the mopen.MopenCreateGroup API asynchronously api document: https://help.aliyun.com/api/mopen/mopencreategroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type Data

type Data struct {
	DeviceName   string   `json:"DeviceName" xml:"DeviceName"`
	Product      string   `json:"Product" xml:"Product"`
	Result       string   `json:"Result" xml:"Result"`
	DeviceSecret string   `json:"DeviceSecret" xml:"DeviceSecret"`
	CanvasId     int      `json:"CanvasId" xml:"CanvasId"`
	Creator      string   `json:"Creator" xml:"Creator"`
	GroupId      string   `json:"GroupId" xml:"GroupId"`
	ResultType   string   `json:"ResultType" xml:"ResultType"`
	CanvasList   []Canvas `json:"CanvasList" xml:"CanvasList"`
}

Data is a nested struct in mopen response

type MoPenAddGroupMemberRequest

type MoPenAddGroupMemberRequest struct {
	*requests.RpcRequest
	GroupId    string `position:"Body" name:"GroupId"`
	DeviceName string `position:"Body" name:"DeviceName"`
}

MoPenAddGroupMemberRequest is the request struct for api MoPenAddGroupMember

func CreateMoPenAddGroupMemberRequest

func CreateMoPenAddGroupMemberRequest() (request *MoPenAddGroupMemberRequest)

CreateMoPenAddGroupMemberRequest creates a request to invoke MoPenAddGroupMember API

type MoPenAddGroupMemberResponse

type MoPenAddGroupMemberResponse struct {
	*responses.BaseResponse
	Success     bool   `json:"Success" xml:"Success"`
	Code        string `json:"Code" xml:"Code"`
	Description string `json:"Description" xml:"Description"`
	Message     string `json:"Message" xml:"Message"`
}

MoPenAddGroupMemberResponse is the response struct for api MoPenAddGroupMember

func CreateMoPenAddGroupMemberResponse

func CreateMoPenAddGroupMemberResponse() (response *MoPenAddGroupMemberResponse)

CreateMoPenAddGroupMemberResponse creates a response to parse from MoPenAddGroupMember response

type MoPenBindIsvRequest

type MoPenBindIsvRequest struct {
	*requests.RpcRequest
	OrderKey   string `position:"Body" name:"OrderKey"`
	DeviceName string `position:"Body" name:"DeviceName"`
}

MoPenBindIsvRequest is the request struct for api MoPenBindIsv

func CreateMoPenBindIsvRequest

func CreateMoPenBindIsvRequest() (request *MoPenBindIsvRequest)

CreateMoPenBindIsvRequest creates a request to invoke MoPenBindIsv API

type MoPenBindIsvResponse

type MoPenBindIsvResponse struct {
	*responses.BaseResponse
	Code        bool   `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
}

MoPenBindIsvResponse is the response struct for api MoPenBindIsv

func CreateMoPenBindIsvResponse

func CreateMoPenBindIsvResponse() (response *MoPenBindIsvResponse)

CreateMoPenBindIsvResponse creates a response to parse from MoPenBindIsv response

type MoPenCreateDeviceRequest

type MoPenCreateDeviceRequest struct {
	*requests.RpcRequest
	DeviceName string           `position:"Body" name:"DeviceName"`
	DeviceType requests.Integer `position:"Body" name:"DeviceType"`
}

MoPenCreateDeviceRequest is the request struct for api MoPenCreateDevice

func CreateMoPenCreateDeviceRequest

func CreateMoPenCreateDeviceRequest() (request *MoPenCreateDeviceRequest)

CreateMoPenCreateDeviceRequest creates a request to invoke MoPenCreateDevice API

type MoPenCreateDeviceResponse

type MoPenCreateDeviceResponse struct {
	*responses.BaseResponse
	Code        bool   `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Data        Data   `json:"Data" xml:"Data"`
}

MoPenCreateDeviceResponse is the response struct for api MoPenCreateDevice

func CreateMoPenCreateDeviceResponse

func CreateMoPenCreateDeviceResponse() (response *MoPenCreateDeviceResponse)

CreateMoPenCreateDeviceResponse creates a response to parse from MoPenCreateDevice response

type MoPenDeleteGroupMemberRequest

type MoPenDeleteGroupMemberRequest struct {
	*requests.RpcRequest
	GroupId    requests.Integer `position:"Body" name:"GroupId"`
	DeviceName string           `position:"Body" name:"DeviceName"`
}

MoPenDeleteGroupMemberRequest is the request struct for api MoPenDeleteGroupMember

func CreateMoPenDeleteGroupMemberRequest

func CreateMoPenDeleteGroupMemberRequest() (request *MoPenDeleteGroupMemberRequest)

CreateMoPenDeleteGroupMemberRequest creates a request to invoke MoPenDeleteGroupMember API

type MoPenDeleteGroupMemberResponse

type MoPenDeleteGroupMemberResponse struct {
	*responses.BaseResponse
	Code        string `json:"Code" xml:"Code"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Message     string `json:"Message" xml:"Message"`
}

MoPenDeleteGroupMemberResponse is the response struct for api MoPenDeleteGroupMember

func CreateMoPenDeleteGroupMemberResponse

func CreateMoPenDeleteGroupMemberResponse() (response *MoPenDeleteGroupMemberResponse)

CreateMoPenDeleteGroupMemberResponse creates a response to parse from MoPenDeleteGroupMember response

type MoPenDeleteGroupRequest

type MoPenDeleteGroupRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
}

MoPenDeleteGroupRequest is the request struct for api MoPenDeleteGroup

func CreateMoPenDeleteGroupRequest

func CreateMoPenDeleteGroupRequest() (request *MoPenDeleteGroupRequest)

CreateMoPenDeleteGroupRequest creates a request to invoke MoPenDeleteGroup API

type MoPenDeleteGroupResponse

type MoPenDeleteGroupResponse struct {
	*responses.BaseResponse
	Success     bool   `json:"Success" xml:"Success"`
	Code        string `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Description string `json:"Description" xml:"Description"`
}

MoPenDeleteGroupResponse is the response struct for api MoPenDeleteGroup

func CreateMoPenDeleteGroupResponse

func CreateMoPenDeleteGroupResponse() (response *MoPenDeleteGroupResponse)

CreateMoPenDeleteGroupResponse creates a response to parse from MoPenDeleteGroup response

type MoPenDoRecognizeRequest

type MoPenDoRecognizeRequest struct {
	*requests.RpcRequest
	CanvasId   requests.Integer `position:"Body" name:"CanvasId"`
	EndY       requests.Integer `position:"Body" name:"EndY"`
	EndX       requests.Integer `position:"Body" name:"EndX"`
	JsonConf   string           `position:"Body" name:"JsonConf"`
	ExportType string           `position:"Body" name:"ExportType"`
	StartY     requests.Integer `position:"Body" name:"StartY"`
	StartX     requests.Integer `position:"Body" name:"StartX"`
}

MoPenDoRecognizeRequest is the request struct for api MoPenDoRecognize

func CreateMoPenDoRecognizeRequest

func CreateMoPenDoRecognizeRequest() (request *MoPenDoRecognizeRequest)

CreateMoPenDoRecognizeRequest creates a request to invoke MoPenDoRecognize API

type MoPenDoRecognizeResponse

type MoPenDoRecognizeResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	Code        string `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Data        Data   `json:"Data" xml:"Data"`
}

MoPenDoRecognizeResponse is the response struct for api MoPenDoRecognize

func CreateMoPenDoRecognizeResponse

func CreateMoPenDoRecognizeResponse() (response *MoPenDoRecognizeResponse)

CreateMoPenDoRecognizeResponse creates a response to parse from MoPenDoRecognize response

type MoPenFindGroupRequest

type MoPenFindGroupRequest struct {
	*requests.RpcRequest
	Creator string `position:"Body" name:"Creator"`
}

MoPenFindGroupRequest is the request struct for api MoPenFindGroup

func CreateMoPenFindGroupRequest

func CreateMoPenFindGroupRequest() (request *MoPenFindGroupRequest)

CreateMoPenFindGroupRequest creates a request to invoke MoPenFindGroup API

type MoPenFindGroupResponse

type MoPenFindGroupResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	Code        int    `json:"Code" xml:"Code"`
	Success     string `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Message     string `json:"Message" xml:"Message"`
	Data        Data   `json:"Data" xml:"Data"`
}

MoPenFindGroupResponse is the response struct for api MoPenFindGroup

func CreateMoPenFindGroupResponse

func CreateMoPenFindGroupResponse() (response *MoPenFindGroupResponse)

CreateMoPenFindGroupResponse creates a response to parse from MoPenFindGroup response

type MoPenQueryCanvasRequest

type MoPenQueryCanvasRequest struct {
	*requests.RpcRequest
	DeviceName string           `position:"Body" name:"DeviceName"`
	SessionId  string           `position:"Body" name:"SessionId"`
	PageId     requests.Integer `position:"Body" name:"PageId"`
	Status     requests.Integer `position:"Body" name:"Status"`
}

MoPenQueryCanvasRequest is the request struct for api MoPenQueryCanvas

func CreateMoPenQueryCanvasRequest

func CreateMoPenQueryCanvasRequest() (request *MoPenQueryCanvasRequest)

CreateMoPenQueryCanvasRequest creates a request to invoke MoPenQueryCanvas API

type MoPenQueryCanvasResponse

type MoPenQueryCanvasResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	Code        string `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Data        Data   `json:"Data" xml:"Data"`
}

MoPenQueryCanvasResponse is the response struct for api MoPenQueryCanvas

func CreateMoPenQueryCanvasResponse

func CreateMoPenQueryCanvasResponse() (response *MoPenQueryCanvasResponse)

CreateMoPenQueryCanvasResponse creates a response to parse from MoPenQueryCanvas response

type MoPenSendMqttMessageRequest

type MoPenSendMqttMessageRequest struct {
	*requests.RpcRequest
	Payload    string `position:"Body" name:"Payload"`
	DeviceName string `position:"Body" name:"DeviceName"`
}

MoPenSendMqttMessageRequest is the request struct for api MoPenSendMqttMessage

func CreateMoPenSendMqttMessageRequest

func CreateMoPenSendMqttMessageRequest() (request *MoPenSendMqttMessageRequest)

CreateMoPenSendMqttMessageRequest creates a request to invoke MoPenSendMqttMessage API

type MoPenSendMqttMessageResponse

type MoPenSendMqttMessageResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	Code        string `json:"Code" xml:"Code"`
	Message     string `json:"Message" xml:"Message"`
	Success     bool   `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
}

MoPenSendMqttMessageResponse is the response struct for api MoPenSendMqttMessage

func CreateMoPenSendMqttMessageResponse

func CreateMoPenSendMqttMessageResponse() (response *MoPenSendMqttMessageResponse)

CreateMoPenSendMqttMessageResponse creates a response to parse from MoPenSendMqttMessage response

type MopenCreateGroupRequest

type MopenCreateGroupRequest struct {
	*requests.RpcRequest
	Creator string `position:"Body" name:"Creator"`
}

MopenCreateGroupRequest is the request struct for api MopenCreateGroup

func CreateMopenCreateGroupRequest

func CreateMopenCreateGroupRequest() (request *MopenCreateGroupRequest)

CreateMopenCreateGroupRequest creates a request to invoke MopenCreateGroup API

type MopenCreateGroupResponse

type MopenCreateGroupResponse struct {
	*responses.BaseResponse
	Code        int    `json:"Code" xml:"Code"`
	Success     string `json:"Success" xml:"Success"`
	Description string `json:"Description" xml:"Description"`
	Message     string `json:"Message" xml:"Message"`
	ResqusetId  string `json:"ResqusetId" xml:"ResqusetId"`
	Data        Data   `json:"Data" xml:"Data"`
}

MopenCreateGroupResponse is the response struct for api MopenCreateGroup

func CreateMopenCreateGroupResponse

func CreateMopenCreateGroupResponse() (response *MopenCreateGroupResponse)

CreateMopenCreateGroupResponse creates a response to parse from MopenCreateGroup response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL