Documentation ¶
Index ¶
- type CommandOperationPredicate
- type CreateDeviceCommandOperationOptions
- type CreateDeviceCommandOperationResponse
- type DeleteDeviceCommandOperationOptions
- type DeleteDeviceCommandOperationResponse
- type DeviceCommandClient
- func (c DeviceCommandClient) CreateDeviceCommand(ctx context.Context, id beta.MeDeviceId, input beta.Command, ...) (result CreateDeviceCommandOperationResponse, err error)
- func (c DeviceCommandClient) DeleteDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, ...) (result DeleteDeviceCommandOperationResponse, err error)
- func (c DeviceCommandClient) GetDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, ...) (result GetDeviceCommandOperationResponse, err error)
- func (c DeviceCommandClient) GetDeviceCommandsCount(ctx context.Context, id beta.MeDeviceId, ...) (result GetDeviceCommandsCountOperationResponse, err error)
- func (c DeviceCommandClient) ListDeviceCommands(ctx context.Context, id beta.MeDeviceId, ...) (result ListDeviceCommandsOperationResponse, err error)
- func (c DeviceCommandClient) ListDeviceCommandsComplete(ctx context.Context, id beta.MeDeviceId, ...) (ListDeviceCommandsCompleteResult, error)
- func (c DeviceCommandClient) ListDeviceCommandsCompleteMatchingPredicate(ctx context.Context, id beta.MeDeviceId, ...) (result ListDeviceCommandsCompleteResult, err error)
- func (c DeviceCommandClient) UpdateDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, input beta.Command, ...) (result UpdateDeviceCommandOperationResponse, err error)
- type GetDeviceCommandOperationOptions
- type GetDeviceCommandOperationResponse
- type GetDeviceCommandsCountOperationOptions
- type GetDeviceCommandsCountOperationResponse
- type ListDeviceCommandsCompleteResult
- type ListDeviceCommandsCustomPager
- type ListDeviceCommandsOperationOptions
- type ListDeviceCommandsOperationResponse
- type UpdateDeviceCommandOperationOptions
- type UpdateDeviceCommandOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandOperationPredicate ¶
type CommandOperationPredicate struct { }
type CreateDeviceCommandOperationOptions ¶
type CreateDeviceCommandOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDeviceCommandOperationOptions ¶
func DefaultCreateDeviceCommandOperationOptions() CreateDeviceCommandOperationOptions
func (CreateDeviceCommandOperationOptions) ToHeaders ¶
func (o CreateDeviceCommandOperationOptions) ToHeaders() *client.Headers
func (CreateDeviceCommandOperationOptions) ToOData ¶
func (o CreateDeviceCommandOperationOptions) ToOData() *odata.Query
func (CreateDeviceCommandOperationOptions) ToQuery ¶
func (o CreateDeviceCommandOperationOptions) ToQuery() *client.QueryParams
type DeleteDeviceCommandOperationOptions ¶
type DeleteDeviceCommandOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDeviceCommandOperationOptions ¶
func DefaultDeleteDeviceCommandOperationOptions() DeleteDeviceCommandOperationOptions
func (DeleteDeviceCommandOperationOptions) ToHeaders ¶
func (o DeleteDeviceCommandOperationOptions) ToHeaders() *client.Headers
func (DeleteDeviceCommandOperationOptions) ToOData ¶
func (o DeleteDeviceCommandOperationOptions) ToOData() *odata.Query
func (DeleteDeviceCommandOperationOptions) ToQuery ¶
func (o DeleteDeviceCommandOperationOptions) ToQuery() *client.QueryParams
type DeviceCommandClient ¶
func NewDeviceCommandClientWithBaseURI ¶
func NewDeviceCommandClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceCommandClient, error)
func (DeviceCommandClient) CreateDeviceCommand ¶
func (c DeviceCommandClient) CreateDeviceCommand(ctx context.Context, id beta.MeDeviceId, input beta.Command, options CreateDeviceCommandOperationOptions) (result CreateDeviceCommandOperationResponse, err error)
CreateDeviceCommand - Create new navigation property to commands for me
func (DeviceCommandClient) DeleteDeviceCommand ¶
func (c DeviceCommandClient) DeleteDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, options DeleteDeviceCommandOperationOptions) (result DeleteDeviceCommandOperationResponse, err error)
DeleteDeviceCommand - Delete navigation property commands for me
func (DeviceCommandClient) GetDeviceCommand ¶
func (c DeviceCommandClient) GetDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, options GetDeviceCommandOperationOptions) (result GetDeviceCommandOperationResponse, err error)
GetDeviceCommand - Get commands from me. Set of commands sent to this device.
func (DeviceCommandClient) GetDeviceCommandsCount ¶
func (c DeviceCommandClient) GetDeviceCommandsCount(ctx context.Context, id beta.MeDeviceId, options GetDeviceCommandsCountOperationOptions) (result GetDeviceCommandsCountOperationResponse, err error)
GetDeviceCommandsCount - Get the number of the resource
func (DeviceCommandClient) ListDeviceCommands ¶
func (c DeviceCommandClient) ListDeviceCommands(ctx context.Context, id beta.MeDeviceId, options ListDeviceCommandsOperationOptions) (result ListDeviceCommandsOperationResponse, err error)
ListDeviceCommands - Get commands from me. Set of commands sent to this device.
func (DeviceCommandClient) ListDeviceCommandsComplete ¶
func (c DeviceCommandClient) ListDeviceCommandsComplete(ctx context.Context, id beta.MeDeviceId, options ListDeviceCommandsOperationOptions) (ListDeviceCommandsCompleteResult, error)
ListDeviceCommandsComplete retrieves all the results into a single object
func (DeviceCommandClient) ListDeviceCommandsCompleteMatchingPredicate ¶
func (c DeviceCommandClient) ListDeviceCommandsCompleteMatchingPredicate(ctx context.Context, id beta.MeDeviceId, options ListDeviceCommandsOperationOptions, predicate CommandOperationPredicate) (result ListDeviceCommandsCompleteResult, err error)
ListDeviceCommandsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeviceCommandClient) UpdateDeviceCommand ¶
func (c DeviceCommandClient) UpdateDeviceCommand(ctx context.Context, id beta.MeDeviceIdCommandId, input beta.Command, options UpdateDeviceCommandOperationOptions) (result UpdateDeviceCommandOperationResponse, err error)
UpdateDeviceCommand - Update the navigation property commands in me
type GetDeviceCommandOperationOptions ¶
type GetDeviceCommandOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDeviceCommandOperationOptions ¶
func DefaultGetDeviceCommandOperationOptions() GetDeviceCommandOperationOptions
func (GetDeviceCommandOperationOptions) ToHeaders ¶
func (o GetDeviceCommandOperationOptions) ToHeaders() *client.Headers
func (GetDeviceCommandOperationOptions) ToOData ¶
func (o GetDeviceCommandOperationOptions) ToOData() *odata.Query
func (GetDeviceCommandOperationOptions) ToQuery ¶
func (o GetDeviceCommandOperationOptions) ToQuery() *client.QueryParams
type GetDeviceCommandsCountOperationOptions ¶
type GetDeviceCommandsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDeviceCommandsCountOperationOptions ¶
func DefaultGetDeviceCommandsCountOperationOptions() GetDeviceCommandsCountOperationOptions
func (GetDeviceCommandsCountOperationOptions) ToHeaders ¶
func (o GetDeviceCommandsCountOperationOptions) ToHeaders() *client.Headers
func (GetDeviceCommandsCountOperationOptions) ToOData ¶
func (o GetDeviceCommandsCountOperationOptions) ToOData() *odata.Query
func (GetDeviceCommandsCountOperationOptions) ToQuery ¶
func (o GetDeviceCommandsCountOperationOptions) ToQuery() *client.QueryParams
type ListDeviceCommandsCustomPager ¶
func (*ListDeviceCommandsCustomPager) NextPageLink ¶
func (p *ListDeviceCommandsCustomPager) NextPageLink() *odata.Link
type ListDeviceCommandsOperationOptions ¶
type ListDeviceCommandsOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListDeviceCommandsOperationOptions ¶
func DefaultListDeviceCommandsOperationOptions() ListDeviceCommandsOperationOptions
func (ListDeviceCommandsOperationOptions) ToHeaders ¶
func (o ListDeviceCommandsOperationOptions) ToHeaders() *client.Headers
func (ListDeviceCommandsOperationOptions) ToOData ¶
func (o ListDeviceCommandsOperationOptions) ToOData() *odata.Query
func (ListDeviceCommandsOperationOptions) ToQuery ¶
func (o ListDeviceCommandsOperationOptions) ToQuery() *client.QueryParams
type UpdateDeviceCommandOperationOptions ¶
type UpdateDeviceCommandOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDeviceCommandOperationOptions ¶
func DefaultUpdateDeviceCommandOperationOptions() UpdateDeviceCommandOperationOptions
func (UpdateDeviceCommandOperationOptions) ToHeaders ¶
func (o UpdateDeviceCommandOperationOptions) ToHeaders() *client.Headers
func (UpdateDeviceCommandOperationOptions) ToOData ¶
func (o UpdateDeviceCommandOperationOptions) ToOData() *odata.Query
func (UpdateDeviceCommandOperationOptions) ToQuery ¶
func (o UpdateDeviceCommandOperationOptions) ToQuery() *client.QueryParams
Click to show internal directories.
Click to hide internal directories.