subscriptions

package
v0.0.0-...-ad17228 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemReauthorizeRequestBuilder

ItemReauthorizeRequestBuilder provides operations to call the reauthorize method.

func NewItemReauthorizeRequestBuilder

NewItemReauthorizeRequestBuilder instantiates a new ReauthorizeRequestBuilder and sets the default values.

func NewItemReauthorizeRequestBuilderInternal

func NewItemReauthorizeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReauthorizeRequestBuilder

NewItemReauthorizeRequestBuilderInternal instantiates a new ReauthorizeRequestBuilder and sets the default values.

func (*ItemReauthorizeRequestBuilder) Post

Post reauthorize a subscription when you receive a **reauthorizationRequired** challenge. Find more info here

func (*ItemReauthorizeRequestBuilder) ToPostRequestInformation

ToPostRequestInformation reauthorize a subscription when you receive a **reauthorizationRequired** challenge.

type ItemReauthorizeRequestBuilderPostRequestConfiguration

type ItemReauthorizeRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

ItemReauthorizeRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SubscriptionItemRequestBuilder

SubscriptionItemRequestBuilder provides operations to manage the collection of subscription entities.

func NewSubscriptionItemRequestBuilder

NewSubscriptionItemRequestBuilder instantiates a new SubscriptionItemRequestBuilder and sets the default values.

func NewSubscriptionItemRequestBuilderInternal

func NewSubscriptionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SubscriptionItemRequestBuilder

NewSubscriptionItemRequestBuilderInternal instantiates a new SubscriptionItemRequestBuilder and sets the default values.

func (*SubscriptionItemRequestBuilder) Delete

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

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

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

Reauthorize provides operations to call the reauthorize method.

func (*SubscriptionItemRequestBuilder) ToDeleteRequestInformation

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

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

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

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

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

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

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

SubscriptionsRequestBuilder provides operations to manage the collection of subscription entities.

func NewSubscriptionsRequestBuilder

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

func (m *SubscriptionsRequestBuilder) BySubscriptionId(subscriptionId string) *SubscriptionItemRequestBuilder

BySubscriptionId provides operations to manage the collection of subscription entities.

func (*SubscriptionsRequestBuilder) Get

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

Post subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. Find more info here

func (*SubscriptionsRequestBuilder) ToGetRequestInformation

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

ToPostRequestInformation subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources.

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL