Documentation
¶
Index ¶
- type SchemaExtensionsCountRequestBuilder
- type SchemaExtensionsCountRequestBuilderGetRequestConfiguration
- type SchemaExtensionsRequestBuilder
- func (m *SchemaExtensionsRequestBuilder) Count() *SchemaExtensionsCountRequestBuilder
- func (m *SchemaExtensionsRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) CreatePostRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsRequestBuilder) Post(ctx context.Context, ...) (...)
- type SchemaExtensionsRequestBuilderGetQueryParameters
- type SchemaExtensionsRequestBuilderGetRequestConfiguration
- type SchemaExtensionsRequestBuilderPostRequestConfiguration
- type SchemaExtensionsSchemaExtensionItemRequestBuilder
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreatePatchRequestInformation(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- type SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration
- type SchemaExtensionsSchemaExtensionItemRequestBuilderGetQueryParameters
- type SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration
- type SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaExtensionsCountRequestBuilder ¶ added in v0.48.0
type SchemaExtensionsCountRequestBuilder struct {
// contains filtered or unexported fields
}
SchemaExtensionsCountRequestBuilder provides operations to count the resources in the collection.
func NewSchemaExtensionsCountRequestBuilder ¶ added in v0.48.0
func NewSchemaExtensionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsCountRequestBuilder
NewSchemaExtensionsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values.
func NewSchemaExtensionsCountRequestBuilderInternal ¶ added in v0.48.0
func NewSchemaExtensionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsCountRequestBuilder
NewSchemaExtensionsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values.
func (*SchemaExtensionsCountRequestBuilder) CreateGetRequestInformation ¶ added in v0.48.0
func (m *SchemaExtensionsCountRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionsCountRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation get the number of the resource
func (*SchemaExtensionsCountRequestBuilder) Get ¶ added in v0.48.0
func (m *SchemaExtensionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionsCountRequestBuilderGetRequestConfiguration) (*int32, error)
Get get the number of the resource
type SchemaExtensionsCountRequestBuilderGetRequestConfiguration ¶ added in v0.48.0
type SchemaExtensionsCountRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SchemaExtensionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsRequestBuilder ¶
type SchemaExtensionsRequestBuilder struct {
// contains filtered or unexported fields
}
SchemaExtensionsRequestBuilder provides operations to manage the collection of schemaExtension entities.
func NewSchemaExtensionsRequestBuilder ¶
func NewSchemaExtensionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsRequestBuilder
NewSchemaExtensionsRequestBuilder instantiates a new SchemaExtensionsRequestBuilder and sets the default values.
func NewSchemaExtensionsRequestBuilderInternal ¶
func NewSchemaExtensionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsRequestBuilder
NewSchemaExtensionsRequestBuilderInternal instantiates a new SchemaExtensionsRequestBuilder and sets the default values.
func (*SchemaExtensionsRequestBuilder) Count ¶ added in v0.13.0
func (m *SchemaExtensionsRequestBuilder) Count() *SchemaExtensionsCountRequestBuilder
Count provides operations to count the resources in the collection.
func (*SchemaExtensionsRequestBuilder) CreateGetRequestInformation ¶
func (m *SchemaExtensionsRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation get a list of schemaExtension objects in your tenant. The schema extensions can be `InDevelopment`, `Available`, or `Deprecated` and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as `Available`.+ Created by other developers from other tenants and marked as `Available`. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission.
func (*SchemaExtensionsRequestBuilder) CreatePostRequestInformation ¶
func (m *SchemaExtensionsRequestBuilder) CreatePostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group.
func (*SchemaExtensionsRequestBuilder) Get ¶
func (m *SchemaExtensionsRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionsRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionCollectionResponseable, error)
Get get a list of schemaExtension objects in your tenant. The schema extensions can be `InDevelopment`, `Available`, or `Deprecated` and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as `Available`.+ Created by other developers from other tenants and marked as `Available`. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission.
func (*SchemaExtensionsRequestBuilder) Post ¶
func (m *SchemaExtensionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Post create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group.
type SchemaExtensionsRequestBuilderGetQueryParameters ¶
type SchemaExtensionsRequestBuilderGetQueryParameters 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"`
}
SchemaExtensionsRequestBuilderGetQueryParameters get a list of schemaExtension objects in your tenant. The schema extensions can be `InDevelopment`, `Available`, or `Deprecated` and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as `Available`.+ Created by other developers from other tenants and marked as `Available`. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission.
type SchemaExtensionsRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type SchemaExtensionsRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *SchemaExtensionsRequestBuilderGetQueryParameters
}
SchemaExtensionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type SchemaExtensionsRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SchemaExtensionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsSchemaExtensionItemRequestBuilder ¶ added in v0.48.0
type SchemaExtensionsSchemaExtensionItemRequestBuilder struct {
// contains filtered or unexported fields
}
SchemaExtensionsSchemaExtensionItemRequestBuilder provides operations to manage the collection of schemaExtension entities.
func NewSchemaExtensionsSchemaExtensionItemRequestBuilder ¶ added in v0.48.0
func NewSchemaExtensionsSchemaExtensionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsSchemaExtensionItemRequestBuilder
NewSchemaExtensionsSchemaExtensionItemRequestBuilder instantiates a new SchemaExtensionItemRequestBuilder and sets the default values.
func NewSchemaExtensionsSchemaExtensionItemRequestBuilderInternal ¶ added in v0.48.0
func NewSchemaExtensionsSchemaExtensionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SchemaExtensionsSchemaExtensionItemRequestBuilder
NewSchemaExtensionsSchemaExtensionItemRequestBuilderInternal instantiates a new SchemaExtensionItemRequestBuilder and sets the default values.
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateDeleteRequestInformation ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateDeleteRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateDeleteRequestInformation delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the `InDevelopment` state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition.
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateGetRequestInformation ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation get schemaExtension
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) CreatePatchRequestInformation ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) CreatePatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePatchRequestInformation update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the `InDevelopment` or `Available` status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the **targetTypes** property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the **owner** property of the extension is set to the **appId** of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the **owner** property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a **schemaExtension** resource, include the **owner** property in the PATCH request body. For more information, see the Extensions section in Known issues with Microsoft Graph.
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) Delete ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration) error
Delete delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the `InDevelopment` state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition.
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) Get ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Get get schemaExtension
func (*SchemaExtensionsSchemaExtensionItemRequestBuilder) Patch ¶ added in v0.48.0
func (m *SchemaExtensionsSchemaExtensionItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, requestConfiguration *SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SchemaExtensionable, error)
Patch update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the `InDevelopment` or `Available` status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the **targetTypes** property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the **owner** property of the extension is set to the **appId** of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the **owner** property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a **schemaExtension** resource, include the **owner** property in the PATCH request body. For more information, see the Extensions section in Known issues with Microsoft Graph.
type SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration ¶ added in v0.48.0
type SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SchemaExtensionsSchemaExtensionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsSchemaExtensionItemRequestBuilderGetQueryParameters ¶ added in v0.48.0
type SchemaExtensionsSchemaExtensionItemRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
// Select properties to be returned
Select []string `uriparametername:"%24select"`
}
SchemaExtensionsSchemaExtensionItemRequestBuilderGetQueryParameters get schemaExtension
type SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration ¶ added in v0.48.0
type SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *SchemaExtensionsSchemaExtensionItemRequestBuilderGetQueryParameters
}
SchemaExtensionsSchemaExtensionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration ¶ added in v0.48.0
type SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
SchemaExtensionsSchemaExtensionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.