Documentation ¶
Index ¶
- type AssignIntentOperationOptions
- type AssignIntentOperationResponse
- type AssignIntentRequest
- type CreateIntentCopyOperationOptions
- type CreateIntentCopyOperationResponse
- type CreateIntentCopyRequest
- type CreateIntentMigrateToTemplateOperationOptions
- type CreateIntentMigrateToTemplateOperationResponse
- type CreateIntentMigrateToTemplateRequest
- type CreateIntentOperationOptions
- type CreateIntentOperationResponse
- type DeleteIntentOperationOptions
- type DeleteIntentOperationResponse
- type DeviceManagementIntentOperationPredicate
- type GetIntentOperationOptions
- type GetIntentOperationResponse
- type GetIntentsCountOperationOptions
- type GetIntentsCountOperationResponse
- type IntentClient
- func (c IntentClient) AssignIntent(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result AssignIntentOperationResponse, err error)
- func (c IntentClient) CreateIntent(ctx context.Context, input beta.DeviceManagementIntent, ...) (result CreateIntentOperationResponse, err error)
- func (c IntentClient) CreateIntentCopy(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result CreateIntentCopyOperationResponse, err error)
- func (c IntentClient) CreateIntentMigrateToTemplate(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result CreateIntentMigrateToTemplateOperationResponse, err error)
- func (c IntentClient) DeleteIntent(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result DeleteIntentOperationResponse, err error)
- func (c IntentClient) GetIntent(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result GetIntentOperationResponse, err error)
- func (c IntentClient) GetIntentsCount(ctx context.Context, options GetIntentsCountOperationOptions) (result GetIntentsCountOperationResponse, err error)
- func (c IntentClient) ListIntents(ctx context.Context, options ListIntentsOperationOptions) (result ListIntentsOperationResponse, err error)
- func (c IntentClient) ListIntentsComplete(ctx context.Context, options ListIntentsOperationOptions) (ListIntentsCompleteResult, error)
- func (c IntentClient) ListIntentsCompleteMatchingPredicate(ctx context.Context, options ListIntentsOperationOptions, ...) (result ListIntentsCompleteResult, err error)
- func (c IntentClient) UpdateIntent(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result UpdateIntentOperationResponse, err error)
- func (c IntentClient) UpdateIntentSettings(ctx context.Context, id beta.DeviceManagementIntentId, ...) (result UpdateIntentSettingsOperationResponse, err error)
- type ListIntentsCompleteResult
- type ListIntentsCustomPager
- type ListIntentsOperationOptions
- type ListIntentsOperationResponse
- type UpdateIntentOperationOptions
- type UpdateIntentOperationResponse
- type UpdateIntentSettingsOperationOptions
- type UpdateIntentSettingsOperationResponse
- type UpdateIntentSettingsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignIntentOperationOptions ¶
type AssignIntentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAssignIntentOperationOptions ¶
func DefaultAssignIntentOperationOptions() AssignIntentOperationOptions
func (AssignIntentOperationOptions) ToHeaders ¶
func (o AssignIntentOperationOptions) ToHeaders() *client.Headers
func (AssignIntentOperationOptions) ToOData ¶
func (o AssignIntentOperationOptions) ToOData() *odata.Query
func (AssignIntentOperationOptions) ToQuery ¶
func (o AssignIntentOperationOptions) ToQuery() *client.QueryParams
type AssignIntentRequest ¶
type AssignIntentRequest struct {
Assignments *[]beta.DeviceManagementIntentAssignment `json:"assignments,omitempty"`
}
type CreateIntentCopyOperationOptions ¶
type CreateIntentCopyOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateIntentCopyOperationOptions ¶
func DefaultCreateIntentCopyOperationOptions() CreateIntentCopyOperationOptions
func (CreateIntentCopyOperationOptions) ToHeaders ¶
func (o CreateIntentCopyOperationOptions) ToHeaders() *client.Headers
func (CreateIntentCopyOperationOptions) ToOData ¶
func (o CreateIntentCopyOperationOptions) ToOData() *odata.Query
func (CreateIntentCopyOperationOptions) ToQuery ¶
func (o CreateIntentCopyOperationOptions) ToQuery() *client.QueryParams
type CreateIntentCopyRequest ¶
type CreateIntentMigrateToTemplateOperationOptions ¶
type CreateIntentMigrateToTemplateOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateIntentMigrateToTemplateOperationOptions ¶
func DefaultCreateIntentMigrateToTemplateOperationOptions() CreateIntentMigrateToTemplateOperationOptions
func (CreateIntentMigrateToTemplateOperationOptions) ToHeaders ¶
func (o CreateIntentMigrateToTemplateOperationOptions) ToHeaders() *client.Headers
func (CreateIntentMigrateToTemplateOperationOptions) ToOData ¶
func (o CreateIntentMigrateToTemplateOperationOptions) ToOData() *odata.Query
func (CreateIntentMigrateToTemplateOperationOptions) ToQuery ¶
func (o CreateIntentMigrateToTemplateOperationOptions) ToQuery() *client.QueryParams
type CreateIntentOperationOptions ¶
type CreateIntentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateIntentOperationOptions ¶
func DefaultCreateIntentOperationOptions() CreateIntentOperationOptions
func (CreateIntentOperationOptions) ToHeaders ¶
func (o CreateIntentOperationOptions) ToHeaders() *client.Headers
func (CreateIntentOperationOptions) ToOData ¶
func (o CreateIntentOperationOptions) ToOData() *odata.Query
func (CreateIntentOperationOptions) ToQuery ¶
func (o CreateIntentOperationOptions) ToQuery() *client.QueryParams
type DeleteIntentOperationOptions ¶
type DeleteIntentOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteIntentOperationOptions ¶
func DefaultDeleteIntentOperationOptions() DeleteIntentOperationOptions
func (DeleteIntentOperationOptions) ToHeaders ¶
func (o DeleteIntentOperationOptions) ToHeaders() *client.Headers
func (DeleteIntentOperationOptions) ToOData ¶
func (o DeleteIntentOperationOptions) ToOData() *odata.Query
func (DeleteIntentOperationOptions) ToQuery ¶
func (o DeleteIntentOperationOptions) ToQuery() *client.QueryParams
type DeviceManagementIntentOperationPredicate ¶
type DeviceManagementIntentOperationPredicate struct { }
func (DeviceManagementIntentOperationPredicate) Matches ¶
func (p DeviceManagementIntentOperationPredicate) Matches(input beta.DeviceManagementIntent) bool
type GetIntentOperationOptions ¶
type GetIntentOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetIntentOperationOptions ¶
func DefaultGetIntentOperationOptions() GetIntentOperationOptions
func (GetIntentOperationOptions) ToHeaders ¶
func (o GetIntentOperationOptions) ToHeaders() *client.Headers
func (GetIntentOperationOptions) ToOData ¶
func (o GetIntentOperationOptions) ToOData() *odata.Query
func (GetIntentOperationOptions) ToQuery ¶
func (o GetIntentOperationOptions) ToQuery() *client.QueryParams
type GetIntentsCountOperationOptions ¶
type GetIntentsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetIntentsCountOperationOptions ¶
func DefaultGetIntentsCountOperationOptions() GetIntentsCountOperationOptions
func (GetIntentsCountOperationOptions) ToHeaders ¶
func (o GetIntentsCountOperationOptions) ToHeaders() *client.Headers
func (GetIntentsCountOperationOptions) ToOData ¶
func (o GetIntentsCountOperationOptions) ToOData() *odata.Query
func (GetIntentsCountOperationOptions) ToQuery ¶
func (o GetIntentsCountOperationOptions) ToQuery() *client.QueryParams
type IntentClient ¶
func NewIntentClientWithBaseURI ¶
func NewIntentClientWithBaseURI(sdkApi sdkEnv.Api) (*IntentClient, error)
func (IntentClient) AssignIntent ¶
func (c IntentClient) AssignIntent(ctx context.Context, id beta.DeviceManagementIntentId, input AssignIntentRequest, options AssignIntentOperationOptions) (result AssignIntentOperationResponse, err error)
AssignIntent - Invoke action assign
func (IntentClient) CreateIntent ¶
func (c IntentClient) CreateIntent(ctx context.Context, input beta.DeviceManagementIntent, options CreateIntentOperationOptions) (result CreateIntentOperationResponse, err error)
CreateIntent - Create new navigation property to intents for deviceManagement
func (IntentClient) CreateIntentCopy ¶
func (c IntentClient) CreateIntentCopy(ctx context.Context, id beta.DeviceManagementIntentId, input CreateIntentCopyRequest, options CreateIntentCopyOperationOptions) (result CreateIntentCopyOperationResponse, err error)
CreateIntentCopy - Invoke action createCopy
func (IntentClient) CreateIntentMigrateToTemplate ¶
func (c IntentClient) CreateIntentMigrateToTemplate(ctx context.Context, id beta.DeviceManagementIntentId, input CreateIntentMigrateToTemplateRequest, options CreateIntentMigrateToTemplateOperationOptions) (result CreateIntentMigrateToTemplateOperationResponse, err error)
CreateIntentMigrateToTemplate - Invoke action migrateToTemplate
func (IntentClient) DeleteIntent ¶
func (c IntentClient) DeleteIntent(ctx context.Context, id beta.DeviceManagementIntentId, options DeleteIntentOperationOptions) (result DeleteIntentOperationResponse, err error)
DeleteIntent - Delete navigation property intents for deviceManagement
func (IntentClient) GetIntent ¶
func (c IntentClient) GetIntent(ctx context.Context, id beta.DeviceManagementIntentId, options GetIntentOperationOptions) (result GetIntentOperationResponse, err error)
GetIntent - Get intents from deviceManagement. The device management intents
func (IntentClient) GetIntentsCount ¶
func (c IntentClient) GetIntentsCount(ctx context.Context, options GetIntentsCountOperationOptions) (result GetIntentsCountOperationResponse, err error)
GetIntentsCount - Get the number of the resource
func (IntentClient) ListIntents ¶
func (c IntentClient) ListIntents(ctx context.Context, options ListIntentsOperationOptions) (result ListIntentsOperationResponse, err error)
ListIntents - Get intents from deviceManagement. The device management intents
func (IntentClient) ListIntentsComplete ¶
func (c IntentClient) ListIntentsComplete(ctx context.Context, options ListIntentsOperationOptions) (ListIntentsCompleteResult, error)
ListIntentsComplete retrieves all the results into a single object
func (IntentClient) ListIntentsCompleteMatchingPredicate ¶
func (c IntentClient) ListIntentsCompleteMatchingPredicate(ctx context.Context, options ListIntentsOperationOptions, predicate DeviceManagementIntentOperationPredicate) (result ListIntentsCompleteResult, err error)
ListIntentsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IntentClient) UpdateIntent ¶
func (c IntentClient) UpdateIntent(ctx context.Context, id beta.DeviceManagementIntentId, input beta.DeviceManagementIntent, options UpdateIntentOperationOptions) (result UpdateIntentOperationResponse, err error)
UpdateIntent - Update the navigation property intents in deviceManagement
func (IntentClient) UpdateIntentSettings ¶
func (c IntentClient) UpdateIntentSettings(ctx context.Context, id beta.DeviceManagementIntentId, input UpdateIntentSettingsRequest, options UpdateIntentSettingsOperationOptions) (result UpdateIntentSettingsOperationResponse, err error)
UpdateIntentSettings - Invoke action updateSettings
type ListIntentsCompleteResult ¶
type ListIntentsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DeviceManagementIntent }
type ListIntentsCustomPager ¶
func (*ListIntentsCustomPager) NextPageLink ¶
func (p *ListIntentsCustomPager) NextPageLink() *odata.Link
type ListIntentsOperationOptions ¶
type ListIntentsOperationOptions 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 DefaultListIntentsOperationOptions ¶
func DefaultListIntentsOperationOptions() ListIntentsOperationOptions
func (ListIntentsOperationOptions) ToHeaders ¶
func (o ListIntentsOperationOptions) ToHeaders() *client.Headers
func (ListIntentsOperationOptions) ToOData ¶
func (o ListIntentsOperationOptions) ToOData() *odata.Query
func (ListIntentsOperationOptions) ToQuery ¶
func (o ListIntentsOperationOptions) ToQuery() *client.QueryParams
type UpdateIntentOperationOptions ¶
type UpdateIntentOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateIntentOperationOptions ¶
func DefaultUpdateIntentOperationOptions() UpdateIntentOperationOptions
func (UpdateIntentOperationOptions) ToHeaders ¶
func (o UpdateIntentOperationOptions) ToHeaders() *client.Headers
func (UpdateIntentOperationOptions) ToOData ¶
func (o UpdateIntentOperationOptions) ToOData() *odata.Query
func (UpdateIntentOperationOptions) ToQuery ¶
func (o UpdateIntentOperationOptions) ToQuery() *client.QueryParams
type UpdateIntentSettingsOperationOptions ¶
type UpdateIntentSettingsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateIntentSettingsOperationOptions ¶
func DefaultUpdateIntentSettingsOperationOptions() UpdateIntentSettingsOperationOptions
func (UpdateIntentSettingsOperationOptions) ToHeaders ¶
func (o UpdateIntentSettingsOperationOptions) ToHeaders() *client.Headers
func (UpdateIntentSettingsOperationOptions) ToOData ¶
func (o UpdateIntentSettingsOperationOptions) ToOData() *odata.Query
func (UpdateIntentSettingsOperationOptions) ToQuery ¶
func (o UpdateIntentSettingsOperationOptions) ToQuery() *client.QueryParams
type UpdateIntentSettingsRequest ¶
type UpdateIntentSettingsRequest struct {
Settings *[]beta.DeviceManagementSettingInstance `json:"settings,omitempty"`
}
Source Files ¶
- client.go
- method_assignintent.go
- method_createintent.go
- method_createintentcopy.go
- method_createintentmigratetotemplate.go
- method_deleteintent.go
- method_getintent.go
- method_getintentscount.go
- method_listintents.go
- method_updateintent.go
- method_updateintentsettings.go
- model_assignintentrequest.go
- model_createintentcopyrequest.go
- model_createintentmigratetotemplaterequest.go
- model_updateintentsettingsrequest.go
- predicates.go
- version.go