Documentation ¶
Index ¶
- type CreateDeviceUsageRightOperationOptions
- type CreateDeviceUsageRightOperationResponse
- type DeleteDeviceUsageRightOperationOptions
- type DeleteDeviceUsageRightOperationResponse
- type DeviceUsageRightClient
- func (c DeviceUsageRightClient) CreateDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceId, input beta.UsageRight, ...) (result CreateDeviceUsageRightOperationResponse, err error)
- func (c DeviceUsageRightClient) DeleteDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, ...) (result DeleteDeviceUsageRightOperationResponse, err error)
- func (c DeviceUsageRightClient) GetDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, ...) (result GetDeviceUsageRightOperationResponse, err error)
- func (c DeviceUsageRightClient) GetDeviceUsageRightsCount(ctx context.Context, id beta.UserIdDeviceId, ...) (result GetDeviceUsageRightsCountOperationResponse, err error)
- func (c DeviceUsageRightClient) ListDeviceUsageRights(ctx context.Context, id beta.UserIdDeviceId, ...) (result ListDeviceUsageRightsOperationResponse, err error)
- func (c DeviceUsageRightClient) ListDeviceUsageRightsComplete(ctx context.Context, id beta.UserIdDeviceId, ...) (ListDeviceUsageRightsCompleteResult, error)
- func (c DeviceUsageRightClient) ListDeviceUsageRightsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDeviceId, ...) (result ListDeviceUsageRightsCompleteResult, err error)
- func (c DeviceUsageRightClient) UpdateDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, input beta.UsageRight, ...) (result UpdateDeviceUsageRightOperationResponse, err error)
- type GetDeviceUsageRightOperationOptions
- type GetDeviceUsageRightOperationResponse
- type GetDeviceUsageRightsCountOperationOptions
- type GetDeviceUsageRightsCountOperationResponse
- type ListDeviceUsageRightsCompleteResult
- type ListDeviceUsageRightsCustomPager
- type ListDeviceUsageRightsOperationOptions
- type ListDeviceUsageRightsOperationResponse
- type UpdateDeviceUsageRightOperationOptions
- type UpdateDeviceUsageRightOperationResponse
- type UsageRightOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeviceUsageRightOperationOptions ¶
type CreateDeviceUsageRightOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDeviceUsageRightOperationOptions ¶
func DefaultCreateDeviceUsageRightOperationOptions() CreateDeviceUsageRightOperationOptions
func (CreateDeviceUsageRightOperationOptions) ToHeaders ¶
func (o CreateDeviceUsageRightOperationOptions) ToHeaders() *client.Headers
func (CreateDeviceUsageRightOperationOptions) ToOData ¶
func (o CreateDeviceUsageRightOperationOptions) ToOData() *odata.Query
func (CreateDeviceUsageRightOperationOptions) ToQuery ¶
func (o CreateDeviceUsageRightOperationOptions) ToQuery() *client.QueryParams
type DeleteDeviceUsageRightOperationOptions ¶
type DeleteDeviceUsageRightOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDeviceUsageRightOperationOptions ¶
func DefaultDeleteDeviceUsageRightOperationOptions() DeleteDeviceUsageRightOperationOptions
func (DeleteDeviceUsageRightOperationOptions) ToHeaders ¶
func (o DeleteDeviceUsageRightOperationOptions) ToHeaders() *client.Headers
func (DeleteDeviceUsageRightOperationOptions) ToOData ¶
func (o DeleteDeviceUsageRightOperationOptions) ToOData() *odata.Query
func (DeleteDeviceUsageRightOperationOptions) ToQuery ¶
func (o DeleteDeviceUsageRightOperationOptions) ToQuery() *client.QueryParams
type DeviceUsageRightClient ¶
func NewDeviceUsageRightClientWithBaseURI ¶
func NewDeviceUsageRightClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceUsageRightClient, error)
func (DeviceUsageRightClient) CreateDeviceUsageRight ¶
func (c DeviceUsageRightClient) CreateDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceId, input beta.UsageRight, options CreateDeviceUsageRightOperationOptions) (result CreateDeviceUsageRightOperationResponse, err error)
CreateDeviceUsageRight - Create new navigation property to usageRights for users
func (DeviceUsageRightClient) DeleteDeviceUsageRight ¶
func (c DeviceUsageRightClient) DeleteDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, options DeleteDeviceUsageRightOperationOptions) (result DeleteDeviceUsageRightOperationResponse, err error)
DeleteDeviceUsageRight - Delete navigation property usageRights for users
func (DeviceUsageRightClient) GetDeviceUsageRight ¶
func (c DeviceUsageRightClient) GetDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, options GetDeviceUsageRightOperationOptions) (result GetDeviceUsageRightOperationResponse, err error)
GetDeviceUsageRight - Get usageRights from users. Represents the usage rights a device has been granted.
func (DeviceUsageRightClient) GetDeviceUsageRightsCount ¶
func (c DeviceUsageRightClient) GetDeviceUsageRightsCount(ctx context.Context, id beta.UserIdDeviceId, options GetDeviceUsageRightsCountOperationOptions) (result GetDeviceUsageRightsCountOperationResponse, err error)
GetDeviceUsageRightsCount - Get the number of the resource
func (DeviceUsageRightClient) ListDeviceUsageRights ¶
func (c DeviceUsageRightClient) ListDeviceUsageRights(ctx context.Context, id beta.UserIdDeviceId, options ListDeviceUsageRightsOperationOptions) (result ListDeviceUsageRightsOperationResponse, err error)
ListDeviceUsageRights - Get usageRights from users. Represents the usage rights a device has been granted.
func (DeviceUsageRightClient) ListDeviceUsageRightsComplete ¶
func (c DeviceUsageRightClient) ListDeviceUsageRightsComplete(ctx context.Context, id beta.UserIdDeviceId, options ListDeviceUsageRightsOperationOptions) (ListDeviceUsageRightsCompleteResult, error)
ListDeviceUsageRightsComplete retrieves all the results into a single object
func (DeviceUsageRightClient) ListDeviceUsageRightsCompleteMatchingPredicate ¶
func (c DeviceUsageRightClient) ListDeviceUsageRightsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDeviceId, options ListDeviceUsageRightsOperationOptions, predicate UsageRightOperationPredicate) (result ListDeviceUsageRightsCompleteResult, err error)
ListDeviceUsageRightsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeviceUsageRightClient) UpdateDeviceUsageRight ¶
func (c DeviceUsageRightClient) UpdateDeviceUsageRight(ctx context.Context, id beta.UserIdDeviceIdUsageRightId, input beta.UsageRight, options UpdateDeviceUsageRightOperationOptions) (result UpdateDeviceUsageRightOperationResponse, err error)
UpdateDeviceUsageRight - Update the navigation property usageRights in users
type GetDeviceUsageRightOperationOptions ¶
type GetDeviceUsageRightOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDeviceUsageRightOperationOptions ¶
func DefaultGetDeviceUsageRightOperationOptions() GetDeviceUsageRightOperationOptions
func (GetDeviceUsageRightOperationOptions) ToHeaders ¶
func (o GetDeviceUsageRightOperationOptions) ToHeaders() *client.Headers
func (GetDeviceUsageRightOperationOptions) ToOData ¶
func (o GetDeviceUsageRightOperationOptions) ToOData() *odata.Query
func (GetDeviceUsageRightOperationOptions) ToQuery ¶
func (o GetDeviceUsageRightOperationOptions) ToQuery() *client.QueryParams
type GetDeviceUsageRightsCountOperationOptions ¶
type GetDeviceUsageRightsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDeviceUsageRightsCountOperationOptions ¶
func DefaultGetDeviceUsageRightsCountOperationOptions() GetDeviceUsageRightsCountOperationOptions
func (GetDeviceUsageRightsCountOperationOptions) ToHeaders ¶
func (o GetDeviceUsageRightsCountOperationOptions) ToHeaders() *client.Headers
func (GetDeviceUsageRightsCountOperationOptions) ToOData ¶
func (o GetDeviceUsageRightsCountOperationOptions) ToOData() *odata.Query
func (GetDeviceUsageRightsCountOperationOptions) ToQuery ¶
func (o GetDeviceUsageRightsCountOperationOptions) ToQuery() *client.QueryParams
type ListDeviceUsageRightsCompleteResult ¶
type ListDeviceUsageRightsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.UsageRight }
type ListDeviceUsageRightsCustomPager ¶
func (*ListDeviceUsageRightsCustomPager) NextPageLink ¶
func (p *ListDeviceUsageRightsCustomPager) NextPageLink() *odata.Link
type ListDeviceUsageRightsOperationOptions ¶
type ListDeviceUsageRightsOperationOptions 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 DefaultListDeviceUsageRightsOperationOptions ¶
func DefaultListDeviceUsageRightsOperationOptions() ListDeviceUsageRightsOperationOptions
func (ListDeviceUsageRightsOperationOptions) ToHeaders ¶
func (o ListDeviceUsageRightsOperationOptions) ToHeaders() *client.Headers
func (ListDeviceUsageRightsOperationOptions) ToOData ¶
func (o ListDeviceUsageRightsOperationOptions) ToOData() *odata.Query
func (ListDeviceUsageRightsOperationOptions) ToQuery ¶
func (o ListDeviceUsageRightsOperationOptions) ToQuery() *client.QueryParams
type UpdateDeviceUsageRightOperationOptions ¶
type UpdateDeviceUsageRightOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDeviceUsageRightOperationOptions ¶
func DefaultUpdateDeviceUsageRightOperationOptions() UpdateDeviceUsageRightOperationOptions
func (UpdateDeviceUsageRightOperationOptions) ToHeaders ¶
func (o UpdateDeviceUsageRightOperationOptions) ToHeaders() *client.Headers
func (UpdateDeviceUsageRightOperationOptions) ToOData ¶
func (o UpdateDeviceUsageRightOperationOptions) ToOData() *odata.Query
func (UpdateDeviceUsageRightOperationOptions) ToQuery ¶
func (o UpdateDeviceUsageRightOperationOptions) ToQuery() *client.QueryParams
type UsageRightOperationPredicate ¶
type UsageRightOperationPredicate struct { }
func (UsageRightOperationPredicate) Matches ¶
func (p UsageRightOperationPredicate) Matches(input beta.UsageRight) bool