Documentation ¶
Index ¶
- type CreateDeviceOperationOptions
- type CreateDeviceOperationResponse
- type DeleteDeviceOperationOptions
- type DeleteDeviceOperationResponse
- type DeviceClient
- func (c DeviceClient) CreateDevice(ctx context.Context, input beta.Device, options CreateDeviceOperationOptions) (result CreateDeviceOperationResponse, err error)
- func (c DeviceClient) DeleteDevice(ctx context.Context, id beta.MeDeviceId, options DeleteDeviceOperationOptions) (result DeleteDeviceOperationResponse, err error)
- func (c DeviceClient) GetDevice(ctx context.Context, id beta.MeDeviceId, options GetDeviceOperationOptions) (result GetDeviceOperationResponse, err error)
- func (c DeviceClient) GetDevicesCount(ctx context.Context, options GetDevicesCountOperationOptions) (result GetDevicesCountOperationResponse, err error)
- func (c DeviceClient) ListDevices(ctx context.Context, options ListDevicesOperationOptions) (result ListDevicesOperationResponse, err error)
- func (c DeviceClient) ListDevicesComplete(ctx context.Context, options ListDevicesOperationOptions) (ListDevicesCompleteResult, error)
- func (c DeviceClient) ListDevicesCompleteMatchingPredicate(ctx context.Context, options ListDevicesOperationOptions, ...) (result ListDevicesCompleteResult, err error)
- func (c DeviceClient) UpdateDevice(ctx context.Context, id beta.MeDeviceId, input beta.Device, ...) (result UpdateDeviceOperationResponse, err error)
- type DeviceOperationPredicate
- type GetDeviceOperationOptions
- type GetDeviceOperationResponse
- type GetDevicesCountOperationOptions
- type GetDevicesCountOperationResponse
- type ListDevicesCompleteResult
- type ListDevicesCustomPager
- type ListDevicesOperationOptions
- type ListDevicesOperationResponse
- type UpdateDeviceOperationOptions
- type UpdateDeviceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeviceOperationOptions ¶
type CreateDeviceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDeviceOperationOptions ¶
func DefaultCreateDeviceOperationOptions() CreateDeviceOperationOptions
func (CreateDeviceOperationOptions) ToHeaders ¶
func (o CreateDeviceOperationOptions) ToHeaders() *client.Headers
func (CreateDeviceOperationOptions) ToOData ¶
func (o CreateDeviceOperationOptions) ToOData() *odata.Query
func (CreateDeviceOperationOptions) ToQuery ¶
func (o CreateDeviceOperationOptions) ToQuery() *client.QueryParams
type DeleteDeviceOperationOptions ¶
type DeleteDeviceOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDeviceOperationOptions ¶
func DefaultDeleteDeviceOperationOptions() DeleteDeviceOperationOptions
func (DeleteDeviceOperationOptions) ToHeaders ¶
func (o DeleteDeviceOperationOptions) ToHeaders() *client.Headers
func (DeleteDeviceOperationOptions) ToOData ¶
func (o DeleteDeviceOperationOptions) ToOData() *odata.Query
func (DeleteDeviceOperationOptions) ToQuery ¶
func (o DeleteDeviceOperationOptions) ToQuery() *client.QueryParams
type DeviceClient ¶
func NewDeviceClientWithBaseURI ¶
func NewDeviceClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceClient, error)
func (DeviceClient) CreateDevice ¶
func (c DeviceClient) CreateDevice(ctx context.Context, input beta.Device, options CreateDeviceOperationOptions) (result CreateDeviceOperationResponse, err error)
CreateDevice - Create new navigation property to devices for me
func (DeviceClient) DeleteDevice ¶
func (c DeviceClient) DeleteDevice(ctx context.Context, id beta.MeDeviceId, options DeleteDeviceOperationOptions) (result DeleteDeviceOperationResponse, err error)
DeleteDevice - Delete navigation property devices for me
func (DeviceClient) GetDevice ¶
func (c DeviceClient) GetDevice(ctx context.Context, id beta.MeDeviceId, options GetDeviceOperationOptions) (result GetDeviceOperationResponse, err error)
GetDevice - Get devices from me
func (DeviceClient) GetDevicesCount ¶
func (c DeviceClient) GetDevicesCount(ctx context.Context, options GetDevicesCountOperationOptions) (result GetDevicesCountOperationResponse, err error)
GetDevicesCount - Get the number of the resource
func (DeviceClient) ListDevices ¶
func (c DeviceClient) ListDevices(ctx context.Context, options ListDevicesOperationOptions) (result ListDevicesOperationResponse, err error)
ListDevices - Get devices from me
func (DeviceClient) ListDevicesComplete ¶
func (c DeviceClient) ListDevicesComplete(ctx context.Context, options ListDevicesOperationOptions) (ListDevicesCompleteResult, error)
ListDevicesComplete retrieves all the results into a single object
func (DeviceClient) ListDevicesCompleteMatchingPredicate ¶
func (c DeviceClient) ListDevicesCompleteMatchingPredicate(ctx context.Context, options ListDevicesOperationOptions, predicate DeviceOperationPredicate) (result ListDevicesCompleteResult, err error)
ListDevicesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeviceClient) UpdateDevice ¶
func (c DeviceClient) UpdateDevice(ctx context.Context, id beta.MeDeviceId, input beta.Device, options UpdateDeviceOperationOptions) (result UpdateDeviceOperationResponse, err error)
UpdateDevice - Update the navigation property devices in me
type DeviceOperationPredicate ¶
type DeviceOperationPredicate struct { }
type GetDeviceOperationOptions ¶
type GetDeviceOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDeviceOperationOptions ¶
func DefaultGetDeviceOperationOptions() GetDeviceOperationOptions
func (GetDeviceOperationOptions) ToHeaders ¶
func (o GetDeviceOperationOptions) ToHeaders() *client.Headers
func (GetDeviceOperationOptions) ToOData ¶
func (o GetDeviceOperationOptions) ToOData() *odata.Query
func (GetDeviceOperationOptions) ToQuery ¶
func (o GetDeviceOperationOptions) ToQuery() *client.QueryParams
type GetDevicesCountOperationOptions ¶
type GetDevicesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDevicesCountOperationOptions ¶
func DefaultGetDevicesCountOperationOptions() GetDevicesCountOperationOptions
func (GetDevicesCountOperationOptions) ToHeaders ¶
func (o GetDevicesCountOperationOptions) ToHeaders() *client.Headers
func (GetDevicesCountOperationOptions) ToOData ¶
func (o GetDevicesCountOperationOptions) ToOData() *odata.Query
func (GetDevicesCountOperationOptions) ToQuery ¶
func (o GetDevicesCountOperationOptions) ToQuery() *client.QueryParams
type ListDevicesCustomPager ¶
func (*ListDevicesCustomPager) NextPageLink ¶
func (p *ListDevicesCustomPager) NextPageLink() *odata.Link
type ListDevicesOperationOptions ¶
type ListDevicesOperationOptions 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 DefaultListDevicesOperationOptions ¶
func DefaultListDevicesOperationOptions() ListDevicesOperationOptions
func (ListDevicesOperationOptions) ToHeaders ¶
func (o ListDevicesOperationOptions) ToHeaders() *client.Headers
func (ListDevicesOperationOptions) ToOData ¶
func (o ListDevicesOperationOptions) ToOData() *odata.Query
func (ListDevicesOperationOptions) ToQuery ¶
func (o ListDevicesOperationOptions) ToQuery() *client.QueryParams
type UpdateDeviceOperationOptions ¶
type UpdateDeviceOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDeviceOperationOptions ¶
func DefaultUpdateDeviceOperationOptions() UpdateDeviceOperationOptions
func (UpdateDeviceOperationOptions) ToHeaders ¶
func (o UpdateDeviceOperationOptions) ToHeaders() *client.Headers
func (UpdateDeviceOperationOptions) ToOData ¶
func (o UpdateDeviceOperationOptions) ToOData() *odata.Query
func (UpdateDeviceOperationOptions) ToQuery ¶
func (o UpdateDeviceOperationOptions) ToQuery() *client.QueryParams
Click to show internal directories.
Click to hide internal directories.