Documentation ¶
Index ¶
- type CreateUsageRightOperationOptions
- type CreateUsageRightOperationResponse
- type DeleteUsageRightOperationOptions
- type DeleteUsageRightOperationResponse
- type GetUsageRightOperationOptions
- type GetUsageRightOperationResponse
- type GetUsageRightsCountOperationOptions
- type GetUsageRightsCountOperationResponse
- type ListUsageRightsCompleteResult
- type ListUsageRightsCustomPager
- type ListUsageRightsOperationOptions
- type ListUsageRightsOperationResponse
- type UpdateUsageRightOperationOptions
- type UpdateUsageRightOperationResponse
- type UsageRightClient
- func (c UsageRightClient) CreateUsageRight(ctx context.Context, input beta.UsageRight, ...) (result CreateUsageRightOperationResponse, err error)
- func (c UsageRightClient) DeleteUsageRight(ctx context.Context, id beta.MeUsageRightId, ...) (result DeleteUsageRightOperationResponse, err error)
- func (c UsageRightClient) GetUsageRight(ctx context.Context, id beta.MeUsageRightId, ...) (result GetUsageRightOperationResponse, err error)
- func (c UsageRightClient) GetUsageRightsCount(ctx context.Context, options GetUsageRightsCountOperationOptions) (result GetUsageRightsCountOperationResponse, err error)
- func (c UsageRightClient) ListUsageRights(ctx context.Context, options ListUsageRightsOperationOptions) (result ListUsageRightsOperationResponse, err error)
- func (c UsageRightClient) ListUsageRightsComplete(ctx context.Context, options ListUsageRightsOperationOptions) (ListUsageRightsCompleteResult, error)
- func (c UsageRightClient) ListUsageRightsCompleteMatchingPredicate(ctx context.Context, options ListUsageRightsOperationOptions, ...) (result ListUsageRightsCompleteResult, err error)
- func (c UsageRightClient) UpdateUsageRight(ctx context.Context, id beta.MeUsageRightId, input beta.UsageRight, ...) (result UpdateUsageRightOperationResponse, err error)
- type UsageRightOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUsageRightOperationOptions ¶
type CreateUsageRightOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateUsageRightOperationOptions ¶
func DefaultCreateUsageRightOperationOptions() CreateUsageRightOperationOptions
func (CreateUsageRightOperationOptions) ToHeaders ¶
func (o CreateUsageRightOperationOptions) ToHeaders() *client.Headers
func (CreateUsageRightOperationOptions) ToOData ¶
func (o CreateUsageRightOperationOptions) ToOData() *odata.Query
func (CreateUsageRightOperationOptions) ToQuery ¶
func (o CreateUsageRightOperationOptions) ToQuery() *client.QueryParams
type DeleteUsageRightOperationOptions ¶
type DeleteUsageRightOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteUsageRightOperationOptions ¶
func DefaultDeleteUsageRightOperationOptions() DeleteUsageRightOperationOptions
func (DeleteUsageRightOperationOptions) ToHeaders ¶
func (o DeleteUsageRightOperationOptions) ToHeaders() *client.Headers
func (DeleteUsageRightOperationOptions) ToOData ¶
func (o DeleteUsageRightOperationOptions) ToOData() *odata.Query
func (DeleteUsageRightOperationOptions) ToQuery ¶
func (o DeleteUsageRightOperationOptions) ToQuery() *client.QueryParams
type GetUsageRightOperationOptions ¶
type GetUsageRightOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetUsageRightOperationOptions ¶
func DefaultGetUsageRightOperationOptions() GetUsageRightOperationOptions
func (GetUsageRightOperationOptions) ToHeaders ¶
func (o GetUsageRightOperationOptions) ToHeaders() *client.Headers
func (GetUsageRightOperationOptions) ToOData ¶
func (o GetUsageRightOperationOptions) ToOData() *odata.Query
func (GetUsageRightOperationOptions) ToQuery ¶
func (o GetUsageRightOperationOptions) ToQuery() *client.QueryParams
type GetUsageRightsCountOperationOptions ¶
type GetUsageRightsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetUsageRightsCountOperationOptions ¶
func DefaultGetUsageRightsCountOperationOptions() GetUsageRightsCountOperationOptions
func (GetUsageRightsCountOperationOptions) ToHeaders ¶
func (o GetUsageRightsCountOperationOptions) ToHeaders() *client.Headers
func (GetUsageRightsCountOperationOptions) ToOData ¶
func (o GetUsageRightsCountOperationOptions) ToOData() *odata.Query
func (GetUsageRightsCountOperationOptions) ToQuery ¶
func (o GetUsageRightsCountOperationOptions) ToQuery() *client.QueryParams
type ListUsageRightsCompleteResult ¶
type ListUsageRightsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.UsageRight }
type ListUsageRightsCustomPager ¶
func (*ListUsageRightsCustomPager) NextPageLink ¶
func (p *ListUsageRightsCustomPager) NextPageLink() *odata.Link
type ListUsageRightsOperationOptions ¶
type ListUsageRightsOperationOptions 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 DefaultListUsageRightsOperationOptions ¶
func DefaultListUsageRightsOperationOptions() ListUsageRightsOperationOptions
func (ListUsageRightsOperationOptions) ToHeaders ¶
func (o ListUsageRightsOperationOptions) ToHeaders() *client.Headers
func (ListUsageRightsOperationOptions) ToOData ¶
func (o ListUsageRightsOperationOptions) ToOData() *odata.Query
func (ListUsageRightsOperationOptions) ToQuery ¶
func (o ListUsageRightsOperationOptions) ToQuery() *client.QueryParams
type UpdateUsageRightOperationOptions ¶
type UpdateUsageRightOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateUsageRightOperationOptions ¶
func DefaultUpdateUsageRightOperationOptions() UpdateUsageRightOperationOptions
func (UpdateUsageRightOperationOptions) ToHeaders ¶
func (o UpdateUsageRightOperationOptions) ToHeaders() *client.Headers
func (UpdateUsageRightOperationOptions) ToOData ¶
func (o UpdateUsageRightOperationOptions) ToOData() *odata.Query
func (UpdateUsageRightOperationOptions) ToQuery ¶
func (o UpdateUsageRightOperationOptions) ToQuery() *client.QueryParams
type UsageRightClient ¶
func NewUsageRightClientWithBaseURI ¶
func NewUsageRightClientWithBaseURI(sdkApi sdkEnv.Api) (*UsageRightClient, error)
func (UsageRightClient) CreateUsageRight ¶
func (c UsageRightClient) CreateUsageRight(ctx context.Context, input beta.UsageRight, options CreateUsageRightOperationOptions) (result CreateUsageRightOperationResponse, err error)
CreateUsageRight - Create new navigation property to usageRights for me
func (UsageRightClient) DeleteUsageRight ¶
func (c UsageRightClient) DeleteUsageRight(ctx context.Context, id beta.MeUsageRightId, options DeleteUsageRightOperationOptions) (result DeleteUsageRightOperationResponse, err error)
DeleteUsageRight - Delete navigation property usageRights for me
func (UsageRightClient) GetUsageRight ¶
func (c UsageRightClient) GetUsageRight(ctx context.Context, id beta.MeUsageRightId, options GetUsageRightOperationOptions) (result GetUsageRightOperationResponse, err error)
GetUsageRight - Get usageRights from me. Represents the usage rights a user has been granted.
func (UsageRightClient) GetUsageRightsCount ¶
func (c UsageRightClient) GetUsageRightsCount(ctx context.Context, options GetUsageRightsCountOperationOptions) (result GetUsageRightsCountOperationResponse, err error)
GetUsageRightsCount - Get the number of the resource
func (UsageRightClient) ListUsageRights ¶
func (c UsageRightClient) ListUsageRights(ctx context.Context, options ListUsageRightsOperationOptions) (result ListUsageRightsOperationResponse, err error)
ListUsageRights - Get usageRights from me. Represents the usage rights a user has been granted.
func (UsageRightClient) ListUsageRightsComplete ¶
func (c UsageRightClient) ListUsageRightsComplete(ctx context.Context, options ListUsageRightsOperationOptions) (ListUsageRightsCompleteResult, error)
ListUsageRightsComplete retrieves all the results into a single object
func (UsageRightClient) ListUsageRightsCompleteMatchingPredicate ¶
func (c UsageRightClient) ListUsageRightsCompleteMatchingPredicate(ctx context.Context, options ListUsageRightsOperationOptions, predicate UsageRightOperationPredicate) (result ListUsageRightsCompleteResult, err error)
ListUsageRightsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (UsageRightClient) UpdateUsageRight ¶
func (c UsageRightClient) UpdateUsageRight(ctx context.Context, id beta.MeUsageRightId, input beta.UsageRight, options UpdateUsageRightOperationOptions) (result UpdateUsageRightOperationResponse, err error)
UpdateUsageRight - Update the navigation property usageRights in me
type UsageRightOperationPredicate ¶
type UsageRightOperationPredicate struct { }
func (UsageRightOperationPredicate) Matches ¶
func (p UsageRightOperationPredicate) Matches(input beta.UsageRight) bool
Click to show internal directories.
Click to hide internal directories.