Documentation
¶
Index ¶
- type SubscriptionsItemReauthorizeRequestBuilder
- type SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration
- type SubscriptionsRequestBuilder
- func (m *SubscriptionsRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) CreatePostRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) Post(ctx context.Context, ...) (...)
- type SubscriptionsRequestBuilderGetQueryParameters
- type SubscriptionsRequestBuilderGetRequestConfiguration
- type SubscriptionsRequestBuilderPostRequestConfiguration
- type SubscriptionsSubscriptionItemRequestBuilder
- func (m *SubscriptionsSubscriptionItemRequestBuilder) CreateDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsSubscriptionItemRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsSubscriptionItemRequestBuilder) CreatePatchRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsSubscriptionItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *SubscriptionsSubscriptionItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SubscriptionsSubscriptionItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *SubscriptionsSubscriptionItemRequestBuilder) Reauthorize() *SubscriptionsItemReauthorizeRequestBuilder
- type SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration
- type SubscriptionsSubscriptionItemRequestBuilderGetQueryParameters
- type SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration
- type SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionsItemReauthorizeRequestBuilder ¶ added in v0.48.0
type SubscriptionsItemReauthorizeRequestBuilder struct {
// contains filtered or unexported fields
}
SubscriptionsItemReauthorizeRequestBuilder provides operations to call the reauthorize method.
func NewSubscriptionsItemReauthorizeRequestBuilder ¶ added in v0.48.0
func NewSubscriptionsItemReauthorizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsItemReauthorizeRequestBuilder
NewSubscriptionsItemReauthorizeRequestBuilder instantiates a new ReauthorizeRequestBuilder and sets the default values.
func NewSubscriptionsItemReauthorizeRequestBuilderInternal ¶ added in v0.48.0
func NewSubscriptionsItemReauthorizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsItemReauthorizeRequestBuilder
NewSubscriptionsItemReauthorizeRequestBuilderInternal instantiates a new ReauthorizeRequestBuilder and sets the default values.
func (*SubscriptionsItemReauthorizeRequestBuilder) CreatePostRequestInformation ¶ added in v0.48.0
func (m *SubscriptionsItemReauthorizeRequestBuilder) CreatePostRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation invoke action reauthorize
func (*SubscriptionsItemReauthorizeRequestBuilder) Post ¶ added in v0.48.0
func (m *SubscriptionsItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration) error
Post invoke action reauthorize
type SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration ¶ added in v0.48.0
type SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration struct {
Headers map[string]string
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SubscriptionsItemReauthorizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsRequestBuilder ¶
type SubscriptionsRequestBuilder struct {
// contains filtered or unexported fields
}
SubscriptionsRequestBuilder provides operations to manage the collection of subscription entities.
func NewSubscriptionsRequestBuilder ¶
func NewSubscriptionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsRequestBuilder
NewSubscriptionsRequestBuilder instantiates a new SubscriptionsRequestBuilder and sets the default values.
func NewSubscriptionsRequestBuilderInternal ¶
func NewSubscriptionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsRequestBuilder
NewSubscriptionsRequestBuilderInternal instantiates a new SubscriptionsRequestBuilder and sets the default values.
func (*SubscriptionsRequestBuilder) CreateGetRequestInformation ¶
func (m *SubscriptionsRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.
func (*SubscriptionsRequestBuilder) CreatePostRequestInformation ¶
func (m *SubscriptionsRequestBuilder) CreatePostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Some resources support the option to include encrypted resource data in change notifications. These resources include chatMessage, contact, event, message, and presence. For more information, see Set up change notifications that include resource data and Change notifications for Outlook resources in Microsoft Graph.
func (*SubscriptionsRequestBuilder) Get ¶
func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SubscriptionCollectionResponseable, error)
Get retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.
func (*SubscriptionsRequestBuilder) Post ¶
func (m *SubscriptionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionsRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, error)
Post subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Some resources support the option to include encrypted resource data in change notifications. These resources include chatMessage, contact, event, message, and presence. For more information, see Set up change notifications that include resource data and Change notifications for Outlook resources in Microsoft Graph.
type SubscriptionsRequestBuilderGetQueryParameters ¶
type SubscriptionsRequestBuilderGetQueryParameters struct {
// Search items by search phrases
Search *string `uriparametername:"%24search"`
// Select properties to be returned
Select []string `uriparametername:"%24select"`
}
SubscriptionsRequestBuilderGetQueryParameters retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.
type SubscriptionsRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type SubscriptionsRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *SubscriptionsRequestBuilderGetQueryParameters
}
SubscriptionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type SubscriptionsRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SubscriptionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsSubscriptionItemRequestBuilder ¶ added in v0.48.0
type SubscriptionsSubscriptionItemRequestBuilder struct {
// contains filtered or unexported fields
}
SubscriptionsSubscriptionItemRequestBuilder provides operations to manage the collection of subscription entities.
func NewSubscriptionsSubscriptionItemRequestBuilder ¶ added in v0.48.0
func NewSubscriptionsSubscriptionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsSubscriptionItemRequestBuilder
NewSubscriptionsSubscriptionItemRequestBuilder instantiates a new SubscriptionItemRequestBuilder and sets the default values.
func NewSubscriptionsSubscriptionItemRequestBuilderInternal ¶ added in v0.48.0
func NewSubscriptionsSubscriptionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionsSubscriptionItemRequestBuilder
NewSubscriptionsSubscriptionItemRequestBuilderInternal instantiates a new SubscriptionItemRequestBuilder and sets the default values.
func (*SubscriptionsSubscriptionItemRequestBuilder) CreateDeleteRequestInformation ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) CreateDeleteRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateDeleteRequestInformation delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.
func (*SubscriptionsSubscriptionItemRequestBuilder) CreateGetRequestInformation ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.
func (*SubscriptionsSubscriptionItemRequestBuilder) CreatePatchRequestInformation ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) CreatePatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePatchRequestInformation renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type.
func (*SubscriptionsSubscriptionItemRequestBuilder) Delete ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration) error
Delete delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.
func (*SubscriptionsSubscriptionItemRequestBuilder) Get ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, error)
Get retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.
func (*SubscriptionsSubscriptionItemRequestBuilder) Patch ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, error)
Patch renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type.
func (*SubscriptionsSubscriptionItemRequestBuilder) Reauthorize ¶ added in v0.48.0
func (m *SubscriptionsSubscriptionItemRequestBuilder) Reauthorize() *SubscriptionsItemReauthorizeRequestBuilder
Reauthorize provides operations to call the reauthorize method.
type SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration ¶ added in v0.48.0
type SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SubscriptionsSubscriptionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsSubscriptionItemRequestBuilderGetQueryParameters ¶ added in v0.48.0
type SubscriptionsSubscriptionItemRequestBuilderGetQueryParameters struct {
// Select properties to be returned
Select []string `uriparametername:"%24select"`
}
SubscriptionsSubscriptionItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.
type SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration ¶ added in v0.48.0
type SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *SubscriptionsSubscriptionItemRequestBuilderGetQueryParameters
}
SubscriptionsSubscriptionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration ¶ added in v0.48.0
type SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SubscriptionsSubscriptionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.