schemaextension

package
v0.20241209.1115630 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSchemaExtensionOperationOptions

type CreateSchemaExtensionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateSchemaExtensionOperationOptions

func DefaultCreateSchemaExtensionOperationOptions() CreateSchemaExtensionOperationOptions

func (CreateSchemaExtensionOperationOptions) ToHeaders

func (CreateSchemaExtensionOperationOptions) ToOData

func (CreateSchemaExtensionOperationOptions) ToQuery

type CreateSchemaExtensionOperationResponse

type CreateSchemaExtensionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.SchemaExtension
}

type DeleteSchemaExtensionOperationOptions

type DeleteSchemaExtensionOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteSchemaExtensionOperationOptions

func DefaultDeleteSchemaExtensionOperationOptions() DeleteSchemaExtensionOperationOptions

func (DeleteSchemaExtensionOperationOptions) ToHeaders

func (DeleteSchemaExtensionOperationOptions) ToOData

func (DeleteSchemaExtensionOperationOptions) ToQuery

type DeleteSchemaExtensionOperationResponse

type DeleteSchemaExtensionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetSchemaExtensionOperationOptions

type GetSchemaExtensionOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetSchemaExtensionOperationOptions

func DefaultGetSchemaExtensionOperationOptions() GetSchemaExtensionOperationOptions

func (GetSchemaExtensionOperationOptions) ToHeaders

func (GetSchemaExtensionOperationOptions) ToOData

func (GetSchemaExtensionOperationOptions) ToQuery

type GetSchemaExtensionOperationResponse

type GetSchemaExtensionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.SchemaExtension
}

type GetsCountOperationOptions

type GetsCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetsCountOperationOptions

func DefaultGetsCountOperationOptions() GetsCountOperationOptions

func (GetsCountOperationOptions) ToHeaders

func (o GetsCountOperationOptions) ToHeaders() *client.Headers

func (GetsCountOperationOptions) ToOData

func (o GetsCountOperationOptions) ToOData() *odata.Query

func (GetsCountOperationOptions) ToQuery

type GetsCountOperationResponse

type GetsCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListSchemaExtensionsCompleteResult

type ListSchemaExtensionsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.SchemaExtension
}

type ListSchemaExtensionsCustomPager

type ListSchemaExtensionsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListSchemaExtensionsCustomPager) NextPageLink() *odata.Link

type ListSchemaExtensionsOperationOptions

type ListSchemaExtensionsOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func DefaultListSchemaExtensionsOperationOptions

func DefaultListSchemaExtensionsOperationOptions() ListSchemaExtensionsOperationOptions

func (ListSchemaExtensionsOperationOptions) ToHeaders

func (ListSchemaExtensionsOperationOptions) ToOData

func (ListSchemaExtensionsOperationOptions) ToQuery

type ListSchemaExtensionsOperationResponse

type ListSchemaExtensionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.SchemaExtension
}

type SchemaExtensionClient

type SchemaExtensionClient struct {
	Client *msgraph.Client
}

func NewSchemaExtensionClientWithBaseURI

func NewSchemaExtensionClientWithBaseURI(sdkApi sdkEnv.Api) (*SchemaExtensionClient, error)

func (SchemaExtensionClient) CreateSchemaExtension

CreateSchemaExtension - Create schemaExtension. 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 (SchemaExtensionClient) DeleteSchemaExtension

DeleteSchemaExtension - Delete schemaExtension. 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 (SchemaExtensionClient) GetSchemaExtension

GetSchemaExtension - Get schemaExtension

func (SchemaExtensionClient) GetsCount

GetsCount - Get the number of the resource

func (SchemaExtensionClient) ListSchemaExtensions

ListSchemaExtensions - List schemaExtensions. Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions

func (SchemaExtensionClient) ListSchemaExtensionsComplete

ListSchemaExtensionsComplete retrieves all the results into a single object

func (SchemaExtensionClient) ListSchemaExtensionsCompleteMatchingPredicate

func (c SchemaExtensionClient) ListSchemaExtensionsCompleteMatchingPredicate(ctx context.Context, options ListSchemaExtensionsOperationOptions, predicate SchemaExtensionOperationPredicate) (result ListSchemaExtensionsCompleteResult, err error)

ListSchemaExtensionsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SchemaExtensionClient) UpdateSchemaExtension

UpdateSchemaExtension - Update schemaExtension. 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.

type SchemaExtensionOperationPredicate

type SchemaExtensionOperationPredicate struct {
}

func (SchemaExtensionOperationPredicate) Matches

type UpdateSchemaExtensionOperationOptions

type UpdateSchemaExtensionOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateSchemaExtensionOperationOptions

func DefaultUpdateSchemaExtensionOperationOptions() UpdateSchemaExtensionOperationOptions

func (UpdateSchemaExtensionOperationOptions) ToHeaders

func (UpdateSchemaExtensionOperationOptions) ToOData

func (UpdateSchemaExtensionOperationOptions) ToQuery

type UpdateSchemaExtensionOperationResponse

type UpdateSchemaExtensionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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