Documentation ¶
Index ¶
- type CompanySubscriptionOperationPredicate
- type CreateSubscriptionOperationOptions
- type CreateSubscriptionOperationResponse
- type DeleteSubscriptionOperationOptions
- type DeleteSubscriptionOperationResponse
- type GetSubscriptionOperationOptions
- type GetSubscriptionOperationResponse
- type GetSubscriptionsCountOperationOptions
- type GetSubscriptionsCountOperationResponse
- type ListSubscriptionsCompleteResult
- type ListSubscriptionsCustomPager
- type ListSubscriptionsOperationOptions
- type ListSubscriptionsOperationResponse
- type SubscriptionClient
- func (c SubscriptionClient) CreateSubscription(ctx context.Context, input stable.CompanySubscription, ...) (result CreateSubscriptionOperationResponse, err error)
- func (c SubscriptionClient) DeleteSubscription(ctx context.Context, id stable.DirectorySubscriptionId, ...) (result DeleteSubscriptionOperationResponse, err error)
- func (c SubscriptionClient) GetSubscription(ctx context.Context, id stable.DirectorySubscriptionId, ...) (result GetSubscriptionOperationResponse, err error)
- func (c SubscriptionClient) GetSubscriptionsCount(ctx context.Context, options GetSubscriptionsCountOperationOptions) (result GetSubscriptionsCountOperationResponse, err error)
- func (c SubscriptionClient) ListSubscriptions(ctx context.Context, options ListSubscriptionsOperationOptions) (result ListSubscriptionsOperationResponse, err error)
- func (c SubscriptionClient) ListSubscriptionsComplete(ctx context.Context, options ListSubscriptionsOperationOptions) (ListSubscriptionsCompleteResult, error)
- func (c SubscriptionClient) ListSubscriptionsCompleteMatchingPredicate(ctx context.Context, options ListSubscriptionsOperationOptions, ...) (result ListSubscriptionsCompleteResult, err error)
- func (c SubscriptionClient) UpdateSubscription(ctx context.Context, id stable.DirectorySubscriptionId, ...) (result UpdateSubscriptionOperationResponse, err error)
- type UpdateSubscriptionOperationOptions
- type UpdateSubscriptionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanySubscriptionOperationPredicate ¶
type CompanySubscriptionOperationPredicate struct { }
func (CompanySubscriptionOperationPredicate) Matches ¶
func (p CompanySubscriptionOperationPredicate) Matches(input stable.CompanySubscription) bool
type CreateSubscriptionOperationOptions ¶
type CreateSubscriptionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSubscriptionOperationOptions ¶
func DefaultCreateSubscriptionOperationOptions() CreateSubscriptionOperationOptions
func (CreateSubscriptionOperationOptions) ToHeaders ¶
func (o CreateSubscriptionOperationOptions) ToHeaders() *client.Headers
func (CreateSubscriptionOperationOptions) ToOData ¶
func (o CreateSubscriptionOperationOptions) ToOData() *odata.Query
func (CreateSubscriptionOperationOptions) ToQuery ¶
func (o CreateSubscriptionOperationOptions) ToQuery() *client.QueryParams
type DeleteSubscriptionOperationOptions ¶
type DeleteSubscriptionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSubscriptionOperationOptions ¶
func DefaultDeleteSubscriptionOperationOptions() DeleteSubscriptionOperationOptions
func (DeleteSubscriptionOperationOptions) ToHeaders ¶
func (o DeleteSubscriptionOperationOptions) ToHeaders() *client.Headers
func (DeleteSubscriptionOperationOptions) ToOData ¶
func (o DeleteSubscriptionOperationOptions) ToOData() *odata.Query
func (DeleteSubscriptionOperationOptions) ToQuery ¶
func (o DeleteSubscriptionOperationOptions) ToQuery() *client.QueryParams
type GetSubscriptionOperationOptions ¶
type GetSubscriptionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSubscriptionOperationOptions ¶
func DefaultGetSubscriptionOperationOptions() GetSubscriptionOperationOptions
func (GetSubscriptionOperationOptions) ToHeaders ¶
func (o GetSubscriptionOperationOptions) ToHeaders() *client.Headers
func (GetSubscriptionOperationOptions) ToOData ¶
func (o GetSubscriptionOperationOptions) ToOData() *odata.Query
func (GetSubscriptionOperationOptions) ToQuery ¶
func (o GetSubscriptionOperationOptions) ToQuery() *client.QueryParams
type GetSubscriptionsCountOperationOptions ¶
type GetSubscriptionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSubscriptionsCountOperationOptions ¶
func DefaultGetSubscriptionsCountOperationOptions() GetSubscriptionsCountOperationOptions
func (GetSubscriptionsCountOperationOptions) ToHeaders ¶
func (o GetSubscriptionsCountOperationOptions) ToHeaders() *client.Headers
func (GetSubscriptionsCountOperationOptions) ToOData ¶
func (o GetSubscriptionsCountOperationOptions) ToOData() *odata.Query
func (GetSubscriptionsCountOperationOptions) ToQuery ¶
func (o GetSubscriptionsCountOperationOptions) ToQuery() *client.QueryParams
type ListSubscriptionsCompleteResult ¶
type ListSubscriptionsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.CompanySubscription }
type ListSubscriptionsCustomPager ¶
func (*ListSubscriptionsCustomPager) NextPageLink ¶
func (p *ListSubscriptionsCustomPager) NextPageLink() *odata.Link
type ListSubscriptionsOperationOptions ¶
type ListSubscriptionsOperationOptions 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 DefaultListSubscriptionsOperationOptions ¶
func DefaultListSubscriptionsOperationOptions() ListSubscriptionsOperationOptions
func (ListSubscriptionsOperationOptions) ToHeaders ¶
func (o ListSubscriptionsOperationOptions) ToHeaders() *client.Headers
func (ListSubscriptionsOperationOptions) ToOData ¶
func (o ListSubscriptionsOperationOptions) ToOData() *odata.Query
func (ListSubscriptionsOperationOptions) ToQuery ¶
func (o ListSubscriptionsOperationOptions) ToQuery() *client.QueryParams
type SubscriptionClient ¶
func NewSubscriptionClientWithBaseURI ¶
func NewSubscriptionClientWithBaseURI(sdkApi sdkEnv.Api) (*SubscriptionClient, error)
func (SubscriptionClient) CreateSubscription ¶
func (c SubscriptionClient) CreateSubscription(ctx context.Context, input stable.CompanySubscription, options CreateSubscriptionOperationOptions) (result CreateSubscriptionOperationResponse, err error)
CreateSubscription - Create new navigation property to subscriptions for directory
func (SubscriptionClient) DeleteSubscription ¶
func (c SubscriptionClient) DeleteSubscription(ctx context.Context, id stable.DirectorySubscriptionId, options DeleteSubscriptionOperationOptions) (result DeleteSubscriptionOperationResponse, err error)
DeleteSubscription - Delete navigation property subscriptions for directory
func (SubscriptionClient) GetSubscription ¶
func (c SubscriptionClient) GetSubscription(ctx context.Context, id stable.DirectorySubscriptionId, options GetSubscriptionOperationOptions) (result GetSubscriptionOperationResponse, err error)
GetSubscription - Get companySubscription. Get a specific commercial subscription that an organization acquired.
func (SubscriptionClient) GetSubscriptionsCount ¶
func (c SubscriptionClient) GetSubscriptionsCount(ctx context.Context, options GetSubscriptionsCountOperationOptions) (result GetSubscriptionsCountOperationResponse, err error)
GetSubscriptionsCount - Get the number of the resource
func (SubscriptionClient) ListSubscriptions ¶
func (c SubscriptionClient) ListSubscriptions(ctx context.Context, options ListSubscriptionsOperationOptions) (result ListSubscriptionsOperationResponse, err error)
ListSubscriptions - List subscriptions. Get the list of commercial subscriptions that an organization acquired.
func (SubscriptionClient) ListSubscriptionsComplete ¶
func (c SubscriptionClient) ListSubscriptionsComplete(ctx context.Context, options ListSubscriptionsOperationOptions) (ListSubscriptionsCompleteResult, error)
ListSubscriptionsComplete retrieves all the results into a single object
func (SubscriptionClient) ListSubscriptionsCompleteMatchingPredicate ¶
func (c SubscriptionClient) ListSubscriptionsCompleteMatchingPredicate(ctx context.Context, options ListSubscriptionsOperationOptions, predicate CompanySubscriptionOperationPredicate) (result ListSubscriptionsCompleteResult, err error)
ListSubscriptionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubscriptionClient) UpdateSubscription ¶
func (c SubscriptionClient) UpdateSubscription(ctx context.Context, id stable.DirectorySubscriptionId, input stable.CompanySubscription, options UpdateSubscriptionOperationOptions) (result UpdateSubscriptionOperationResponse, err error)
UpdateSubscription - Update the navigation property subscriptions in directory
type UpdateSubscriptionOperationOptions ¶
type UpdateSubscriptionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSubscriptionOperationOptions ¶
func DefaultUpdateSubscriptionOperationOptions() UpdateSubscriptionOperationOptions
func (UpdateSubscriptionOperationOptions) ToHeaders ¶
func (o UpdateSubscriptionOperationOptions) ToHeaders() *client.Headers
func (UpdateSubscriptionOperationOptions) ToOData ¶
func (o UpdateSubscriptionOperationOptions) ToOData() *odata.Query
func (UpdateSubscriptionOperationOptions) ToQuery ¶
func (o UpdateSubscriptionOperationOptions) ToQuery() *client.QueryParams