Documentation ¶
Index ¶
- func CreateDeltaGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateDeltaResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CountRequestBuilder
- type CountRequestBuilderGetQueryParameters
- type CountRequestBuilderGetRequestConfiguration
- type DeltaGetResponse
- type DeltaGetResponseable
- type DeltaRequestBuilder
- func (m *DeltaRequestBuilder) Get(ctx context.Context, ...) (DeltaResponseable, error)
- func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, ...) (DeltaGetResponseable, error)
- func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *DeltaRequestBuilder) WithUrl(rawUrl string) *DeltaRequestBuilder
- type DeltaRequestBuilderGetQueryParameters
- type DeltaRequestBuilderGetRequestConfiguration
- type DeltaResponsedeprecated
- type DeltaResponseabledeprecated
- type OAuth2PermissionGrantItemRequestBuilder
- func (m *OAuth2PermissionGrantItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *OAuth2PermissionGrantItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *OAuth2PermissionGrantItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *OAuth2PermissionGrantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *OAuth2PermissionGrantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *OAuth2PermissionGrantItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *OAuth2PermissionGrantItemRequestBuilder) WithUrl(rawUrl string) *OAuth2PermissionGrantItemRequestBuilder
- type OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration
- type OAuth2PermissionGrantItemRequestBuilderGetQueryParameters
- type OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration
- type OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration
- type Oauth2PermissionGrantsRequestBuilder
- func (m *Oauth2PermissionGrantsRequestBuilder) ByOAuth2PermissionGrantId(oAuth2PermissionGrantId string) *OAuth2PermissionGrantItemRequestBuilder
- func (m *Oauth2PermissionGrantsRequestBuilder) Count() *CountRequestBuilder
- func (m *Oauth2PermissionGrantsRequestBuilder) Delta() *DeltaRequestBuilder
- func (m *Oauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *Oauth2PermissionGrantsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *Oauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *Oauth2PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *Oauth2PermissionGrantsRequestBuilder) WithUrl(rawUrl string) *Oauth2PermissionGrantsRequestBuilder
- type Oauth2PermissionGrantsRequestBuilderGetQueryParameters
- type Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration
- type Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeltaGetResponseFromDiscriminatorValue ¶ added in v1.20.0
func CreateDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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
func CreateDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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
type CountRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
CountRequestBuilder provides operations to count the resources in the collection.
func NewCountRequestBuilder ¶ added in v0.49.0
func NewCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CountRequestBuilder
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
func (m *CountRequestBuilder) Get(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration) (*int32, error)
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
func (m *CountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CountRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
type DeltaGetResponse struct {
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse
}
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
func (m *DeltaGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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
func (m *DeltaGetResponse) GetValue() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable
GetValue gets the value property value. The value property returns a []OAuth2PermissionGrantable when successful
func (*DeltaGetResponse) Serialize ¶ added in v1.20.0
func (m *DeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*DeltaGetResponse) SetValue ¶ added in v1.20.0
func (m *DeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable)
SetValue sets the value property value. The value property
type DeltaGetResponseable ¶ added in v1.20.0
type DeltaGetResponseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValue() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable) }
type DeltaRequestBuilder ¶ added in v0.49.0
type DeltaRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
DeltaRequestBuilder provides operations to call the delta method.
func NewDeltaRequestBuilder ¶ added in v0.49.0
func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DeltaRequestBuilder
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
func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration) (DeltaResponseable, error)
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
func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
type DeltaResponseable interface { DeltaGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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
func NewOAuth2PermissionGrantItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OAuth2PermissionGrantItemRequestBuilder
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
func (m *OAuth2PermissionGrantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration) error
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
func (m *OAuth2PermissionGrantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, error)
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
func (m *OAuth2PermissionGrantItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, error)
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
func (m *OAuth2PermissionGrantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
func (m *OAuth2PermissionGrantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
func (m *OAuth2PermissionGrantItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, requestConfiguration *OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
func (m *OAuth2PermissionGrantItemRequestBuilder) WithUrl(rawUrl string) *OAuth2PermissionGrantItemRequestBuilder
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 ¶
func NewOauth2PermissionGrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *Oauth2PermissionGrantsRequestBuilder
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
func (m *Oauth2PermissionGrantsRequestBuilder) Count() *CountRequestBuilder
Count provides operations to count the resources in the collection. returns a *CountRequestBuilder when successful
func (*Oauth2PermissionGrantsRequestBuilder) Delta ¶
func (m *Oauth2PermissionGrantsRequestBuilder) Delta() *DeltaRequestBuilder
Delta provides operations to call the delta method. returns a *DeltaRequestBuilder when successful
func (*Oauth2PermissionGrantsRequestBuilder) Get ¶
func (m *Oauth2PermissionGrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantCollectionResponseable, error)
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 ¶
func (m *Oauth2PermissionGrantsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, requestConfiguration *Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, error)
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
func (m *Oauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
func (m *Oauth2PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.OAuth2PermissionGrantable, requestConfiguration *Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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
func (m *Oauth2PermissionGrantsRequestBuilder) WithUrl(rawUrl string) *Oauth2PermissionGrantsRequestBuilder
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.