Documentation ¶
Index ¶
- type ItemReauthorizeRequestBuilder
- type ItemReauthorizeRequestBuilderPostRequestConfiguration
- type SubscriptionItemRequestBuilder
- func (m *SubscriptionItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *SubscriptionItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SubscriptionItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *SubscriptionItemRequestBuilder) Reauthorize() *ItemReauthorizeRequestBuilder
- func (m *SubscriptionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- type SubscriptionItemRequestBuilderDeleteRequestConfiguration
- type SubscriptionItemRequestBuilderGetQueryParameters
- type SubscriptionItemRequestBuilderGetRequestConfiguration
- type SubscriptionItemRequestBuilderPatchRequestConfiguration
- type SubscriptionsRequestBuilder
- func (m *SubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string) *SubscriptionItemRequestBuilder
- func (m *SubscriptionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SubscriptionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- type SubscriptionsRequestBuilderGetQueryParameters
- type SubscriptionsRequestBuilderGetRequestConfiguration
- type SubscriptionsRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemReauthorizeRequestBuilder ¶ added in v0.49.0
type ItemReauthorizeRequestBuilder struct {
}ItemReauthorizeRequestBuilder provides operations to call the reauthorize method.
func NewItemReauthorizeRequestBuilder ¶ added in v0.49.0
func NewItemReauthorizeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReauthorizeRequestBuilder
NewItemReauthorizeRequestBuilder instantiates a new ReauthorizeRequestBuilder and sets the default values.
func NewItemReauthorizeRequestBuilderInternal ¶ added in v0.49.0
func NewItemReauthorizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReauthorizeRequestBuilder
NewItemReauthorizeRequestBuilderInternal instantiates a new ReauthorizeRequestBuilder and sets the default values.
func (*ItemReauthorizeRequestBuilder) Post ¶ added in v0.49.0
func (m *ItemReauthorizeRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemReauthorizeRequestBuilderPostRequestConfiguration) error
Post invoke action reauthorize
func (*ItemReauthorizeRequestBuilder) ToPostRequestInformation ¶ added in v0.51.0
func (m *ItemReauthorizeRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemReauthorizeRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation invoke action reauthorize
type ItemReauthorizeRequestBuilderPostRequestConfiguration ¶ added in v0.49.0
type ItemReauthorizeRequestBuilderPostRequestConfiguration struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }Headers *
ItemReauthorizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionItemRequestBuilder ¶ added in v0.49.0
type SubscriptionItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
SubscriptionItemRequestBuilder provides operations to manage the collection of subscription entities.
func NewSubscriptionItemRequestBuilder ¶ added in v0.49.0
func NewSubscriptionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionItemRequestBuilder
NewSubscriptionItemRequestBuilder instantiates a new SubscriptionItemRequestBuilder and sets the default values.
func NewSubscriptionItemRequestBuilderInternal ¶ added in v0.49.0
func NewSubscriptionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionItemRequestBuilder
NewSubscriptionItemRequestBuilderInternal instantiates a new SubscriptionItemRequestBuilder and sets the default values.
func (*SubscriptionItemRequestBuilder) Delete ¶ added in v0.49.0
func (m *SubscriptionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderDeleteRequestConfiguration) error
Delete delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. Find more info here
func (*SubscriptionItemRequestBuilder) Get ¶ added in v0.49.0
func (m *SubscriptionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderGetRequestConfiguration) (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. Find more info here
func (*SubscriptionItemRequestBuilder) Patch ¶ added in v0.49.0
func (m *SubscriptionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionItemRequestBuilderPatchRequestConfiguration) (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. Find more info here
func (*SubscriptionItemRequestBuilder) Reauthorize ¶ added in v0.49.0
func (m *SubscriptionItemRequestBuilder) Reauthorize() *ItemReauthorizeRequestBuilder
Reauthorize provides operations to call the reauthorize method.
func (*SubscriptionItemRequestBuilder) ToDeleteRequestInformation ¶ added in v0.51.0
func (m *SubscriptionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.
func (*SubscriptionItemRequestBuilder) ToGetRequestInformation ¶ added in v0.51.0
func (m *SubscriptionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation 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 (*SubscriptionItemRequestBuilder) ToPatchRequestInformation ¶ added in v0.51.0
func (m *SubscriptionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation 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.
type SubscriptionItemRequestBuilderDeleteRequestConfiguration ¶ added in v0.49.0
type SubscriptionItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SubscriptionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionItemRequestBuilderGetQueryParameters ¶ added in v0.49.0
type SubscriptionItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` }
SubscriptionItemRequestBuilderGetQueryParameters 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 SubscriptionItemRequestBuilderGetRequestConfiguration ¶ added in v0.49.0
type SubscriptionItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *SubscriptionItemRequestBuilderGetQueryParameters }
SubscriptionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionItemRequestBuilderPatchRequestConfiguration ¶ added in v0.49.0
type SubscriptionItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SubscriptionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SubscriptionsRequestBuilder ¶
type SubscriptionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
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) BySubscriptionId ¶ added in v0.63.0
func (m *SubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string) *SubscriptionItemRequestBuilder
BySubscriptionId provides operations to manage the collection of subscription entities.
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. Find more info here
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. Find more info here
func (*SubscriptionsRequestBuilder) ToGetRequestInformation ¶ added in v0.51.0
func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubscriptionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation 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) ToPostRequestInformation ¶ added in v0.51.0
func (m *SubscriptionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Subscriptionable, requestConfiguration *SubscriptionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation 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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // 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 *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
SubscriptionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.