oauth2permissiongrants

package
v1.55.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDeltaGetResponseFromDiscriminatorValue added in v1.20.0

CreateDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateDeltaResponseFromDiscriminatorValue added in v0.49.0

CreateDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type CountRequestBuilder added in v0.49.0

CountRequestBuilder provides operations to count the resources in the collection.

func NewCountRequestBuilder added in v0.49.0

NewCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values.

func NewCountRequestBuilderInternal added in v0.49.0

func NewCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CountRequestBuilder

NewCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values.

func (*CountRequestBuilder) Get added in v0.49.0

Get get the number of the resource returns a *int32 when successful returns a ODataError error when the service returns a 4XX or 5XX status code

func (*CountRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation get the number of the resource returns a *RequestInformation when successful

func (*CountRequestBuilder) WithUrl added in v1.18.0

func (m *CountRequestBuilder) WithUrl(rawUrl string) *CountRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *CountRequestBuilder when successful

type CountRequestBuilderGetQueryParameters added in v0.53.0

type CountRequestBuilderGetQueryParameters struct {
	// Filter items by property values
	Filter *string `uriparametername:"%24filter"`
	// Search items by search phrases
	Search *string `uriparametername:"%24search"`
}

CountRequestBuilderGetQueryParameters get the number of the resource

type CountRequestBuilderGetRequestConfiguration added in v0.49.0

type CountRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *CountRequestBuilderGetQueryParameters
}

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

type DeltaGetResponse added in v1.20.0

func NewDeltaGetResponse added in v1.20.0

func NewDeltaGetResponse() *DeltaGetResponse

NewDeltaGetResponse instantiates a new DeltaGetResponse and sets the default values.

func (*DeltaGetResponse) GetFieldDeserializers added in v1.20.0

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*DeltaGetResponse) GetValue added in v1.20.0

GetValue gets the value property value. The value property returns a []OAuth2PermissionGrantable when successful

func (*DeltaGetResponse) Serialize added in v1.20.0

Serialize serializes information the current object

func (*DeltaGetResponse) SetValue added in v1.20.0

SetValue sets the value property value. The value property

type DeltaRequestBuilder added in v0.49.0

DeltaRequestBuilder provides operations to call the delta method.

func NewDeltaRequestBuilder added in v0.49.0

NewDeltaRequestBuilder instantiates a new DeltaRequestBuilder and sets the default values.

func NewDeltaRequestBuilderInternal added in v0.49.0

func NewDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DeltaRequestBuilder

NewDeltaRequestBuilderInternal instantiates a new DeltaRequestBuilder and sets the default values.

func (*DeltaRequestBuilder) Get added in v0.49.0

Get get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. returns a DeltaResponseable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*DeltaRequestBuilder) GetAsDeltaGetResponse added in v1.20.0

func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration) (DeltaGetResponseable, error)

GetAsDeltaGetResponse get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. returns a DeltaGetResponseable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*DeltaRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. returns a *RequestInformation when successful

func (*DeltaRequestBuilder) WithUrl added in v1.18.0

func (m *DeltaRequestBuilder) WithUrl(rawUrl string) *DeltaRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *DeltaRequestBuilder when successful

type DeltaRequestBuilderGetQueryParameters added in v0.49.0

type DeltaRequestBuilderGetQueryParameters struct {
	// Include count of items
	Count *bool `uriparametername:"%24count"`
	// Expand related entities
	Expand []string `uriparametername:"%24expand"`
	// Filter items by property values
	Filter *string `uriparametername:"%24filter"`
	// Order items by property values
	Orderby []string `uriparametername:"%24orderby"`
	// Search items by search phrases
	Search *string `uriparametername:"%24search"`
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
	// Skip the first n items
	Skip *int32 `uriparametername:"%24skip"`
	// Show only the first n items
	Top *int32 `uriparametername:"%24top"`
}

DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted oauth2permissiongrant objects without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.

type DeltaRequestBuilderGetRequestConfiguration added in v0.49.0

type DeltaRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *DeltaRequestBuilderGetQueryParameters
}

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

type DeltaResponse deprecated added in v0.49.0

type DeltaResponse struct {
	DeltaGetResponse
}

Deprecated: This class is obsolete. Use DeltaGetResponseable instead.

func NewDeltaResponse added in v0.49.0

func NewDeltaResponse() *DeltaResponse

NewDeltaResponse instantiates a new DeltaResponse and sets the default values.

type DeltaResponseable deprecated added in v0.49.0

Deprecated: This class is obsolete. Use DeltaGetResponseable instead.

type OAuth2PermissionGrantItemRequestBuilder added in v0.49.0

type OAuth2PermissionGrantItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

OAuth2PermissionGrantItemRequestBuilder provides operations to manage the collection of oAuth2PermissionGrant entities.

func NewOAuth2PermissionGrantItemRequestBuilder added in v0.49.0

NewOAuth2PermissionGrantItemRequestBuilder instantiates a new OAuth2PermissionGrantItemRequestBuilder and sets the default values.

func NewOAuth2PermissionGrantItemRequestBuilderInternal added in v0.49.0

func NewOAuth2PermissionGrantItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OAuth2PermissionGrantItemRequestBuilder

NewOAuth2PermissionGrantItemRequestBuilderInternal instantiates a new OAuth2PermissionGrantItemRequestBuilder and sets the default values.

func (*OAuth2PermissionGrantItemRequestBuilder) Delete added in v0.49.0

Delete delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*OAuth2PermissionGrantItemRequestBuilder) Get added in v0.49.0

Get retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. returns a OAuth2PermissionGrantable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*OAuth2PermissionGrantItemRequestBuilder) Patch added in v0.49.0

Patch update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. returns a OAuth2PermissionGrantable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*OAuth2PermissionGrantItemRequestBuilder) ToDeleteRequestInformation added in v0.51.0

ToDeleteRequestInformation delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. returns a *RequestInformation when successful

func (*OAuth2PermissionGrantItemRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. returns a *RequestInformation when successful

func (*OAuth2PermissionGrantItemRequestBuilder) ToPatchRequestInformation added in v0.51.0

ToPatchRequestInformation update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. returns a *RequestInformation when successful

func (*OAuth2PermissionGrantItemRequestBuilder) WithUrl added in v1.18.0

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *OAuth2PermissionGrantItemRequestBuilder when successful

type OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration added in v0.49.0

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

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

type OAuth2PermissionGrantItemRequestBuilderGetQueryParameters added in v0.49.0

type OAuth2PermissionGrantItemRequestBuilderGetQueryParameters struct {
	// Expand related entities
	Expand []string `uriparametername:"%24expand"`
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
}

OAuth2PermissionGrantItemRequestBuilderGetQueryParameters retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user.

type OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration added in v0.49.0

type OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *OAuth2PermissionGrantItemRequestBuilderGetQueryParameters
}

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

type OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration added in v0.49.0

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

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

type Oauth2PermissionGrantsRequestBuilder

type Oauth2PermissionGrantsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

Oauth2PermissionGrantsRequestBuilder provides operations to manage the collection of oAuth2PermissionGrant entities.

func NewOauth2PermissionGrantsRequestBuilder

NewOauth2PermissionGrantsRequestBuilder instantiates a new Oauth2PermissionGrantsRequestBuilder and sets the default values.

func NewOauth2PermissionGrantsRequestBuilderInternal

func NewOauth2PermissionGrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Oauth2PermissionGrantsRequestBuilder

NewOauth2PermissionGrantsRequestBuilderInternal instantiates a new Oauth2PermissionGrantsRequestBuilder and sets the default values.

func (*Oauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId added in v0.63.0

func (m *Oauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId(oAuth2PermissionGrantId string) *OAuth2PermissionGrantItemRequestBuilder

ByOAuth2PermissionGrantId provides operations to manage the collection of oAuth2PermissionGrant entities. returns a *OAuth2PermissionGrantItemRequestBuilder when successful

func (*Oauth2PermissionGrantsRequestBuilder) Count added in v0.13.0

Count provides operations to count the resources in the collection. returns a *CountRequestBuilder when successful

func (*Oauth2PermissionGrantsRequestBuilder) Delta

Delta provides operations to call the delta method. returns a *DeltaRequestBuilder when successful

func (*Oauth2PermissionGrantsRequestBuilder) Get

Get retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. returns a OAuth2PermissionGrantCollectionResponseable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*Oauth2PermissionGrantsRequestBuilder) Post

Post create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. returns a OAuth2PermissionGrantable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*Oauth2PermissionGrantsRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. returns a *RequestInformation when successful

func (*Oauth2PermissionGrantsRequestBuilder) ToPostRequestInformation added in v0.51.0

ToPostRequestInformation create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. returns a *RequestInformation when successful

func (*Oauth2PermissionGrantsRequestBuilder) WithUrl added in v1.18.0

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *Oauth2PermissionGrantsRequestBuilder when successful

type Oauth2PermissionGrantsRequestBuilderGetQueryParameters

type Oauth2PermissionGrantsRequestBuilderGetQueryParameters struct {
	// Include count of items
	Count *bool `uriparametername:"%24count"`
	// Expand related entities
	Expand []string `uriparametername:"%24expand"`
	// Filter items by property values
	Filter *string `uriparametername:"%24filter"`
	// Order items by property values
	Orderby []string `uriparametername:"%24orderby"`
	// Search items by search phrases
	Search *string `uriparametername:"%24search"`
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
	// Skip the first n items
	Skip *int32 `uriparametername:"%24skip"`
	// Show only the first n items
	Top *int32 `uriparametername:"%24top"`
}

Oauth2PermissionGrantsRequestBuilderGetQueryParameters retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users.

type Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration added in v0.22.0

type Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *Oauth2PermissionGrantsRequestBuilderGetQueryParameters
}

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

type Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration added in v0.22.0

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

Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration 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