digitaltwinsapi

package
Version: v53.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 3 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAPI

type ClientAPI interface {
	Add(ctx context.Context, ID string, twin interface{}, ifNoneMatch string) (result digitaltwins.SetObject, err error)
	AddRelationship(ctx context.Context, ID string, relationshipID string, relationship *interface{}, ifNoneMatch string) (result digitaltwins.SetObject, err error)
	Delete(ctx context.Context, ID string, ifMatch string) (result autorest.Response, err error)
	DeleteRelationship(ctx context.Context, ID string, relationshipID string, ifMatch string) (result autorest.Response, err error)
	GetByID(ctx context.Context, ID string) (result digitaltwins.SetObject, err error)
	GetComponent(ctx context.Context, ID string, componentPath string) (result digitaltwins.SetObject, err error)
	GetRelationshipByID(ctx context.Context, ID string, relationshipID string) (result digitaltwins.SetObject, err error)
	ListIncomingRelationships(ctx context.Context, ID string) (result digitaltwins.IncomingRelationshipCollectionPage, err error)
	ListIncomingRelationshipsComplete(ctx context.Context, ID string) (result digitaltwins.IncomingRelationshipCollectionIterator, err error)
	ListRelationships(ctx context.Context, ID string, relationshipName string) (result digitaltwins.RelationshipCollectionPage, err error)
	ListRelationshipsComplete(ctx context.Context, ID string, relationshipName string) (result digitaltwins.RelationshipCollectionIterator, err error)
	SendComponentTelemetry(ctx context.Context, ID string, componentPath string, telemetry interface{}, dtID string, dtTimestamp string) (result autorest.Response, err error)
	SendTelemetry(ctx context.Context, ID string, telemetry interface{}, dtID string, dtTimestamp string) (result autorest.Response, err error)
	Update(ctx context.Context, ID string, patchDocument []interface{}, ifMatch string) (result autorest.Response, err error)
	UpdateComponent(ctx context.Context, ID string, componentPath string, patchDocument []interface{}, ifMatch string) (result autorest.Response, err error)
	UpdateRelationship(ctx context.Context, ID string, relationshipID string, patchDocument []interface{}, ifMatch string) (result autorest.Response, err error)
}

ClientAPI contains the set of methods on the Client type.

type EventRoutesClientAPI

type EventRoutesClientAPI interface {
	Add(ctx context.Context, ID string, eventRoute *digitaltwins.EventRoute) (result autorest.Response, err error)
	Delete(ctx context.Context, ID string) (result autorest.Response, err error)
	GetByID(ctx context.Context, ID string) (result digitaltwins.EventRoute, err error)
	List(ctx context.Context, maxItemCount *int32) (result digitaltwins.EventRouteCollectionPage, err error)
	ListComplete(ctx context.Context, maxItemCount *int32) (result digitaltwins.EventRouteCollectionIterator, err error)
}

EventRoutesClientAPI contains the set of methods on the EventRoutesClient type.

type ModelsClientAPI

type ModelsClientAPI interface {
	Add(ctx context.Context, models []interface{}) (result digitaltwins.ListModelData, err error)
	Delete(ctx context.Context, ID string) (result autorest.Response, err error)
	GetByID(ctx context.Context, ID string, includeModelDefinition *bool) (result digitaltwins.ModelData, err error)
	List(ctx context.Context, dependenciesFor []string, includeModelDefinition *bool, maxItemCount *int32) (result digitaltwins.PagedModelDataCollectionPage, err error)
	ListComplete(ctx context.Context, dependenciesFor []string, includeModelDefinition *bool, maxItemCount *int32) (result digitaltwins.PagedModelDataCollectionIterator, err error)
	Update(ctx context.Context, ID string, updateModel []interface{}) (result autorest.Response, err error)
}

ModelsClientAPI contains the set of methods on the ModelsClient type.

type QueryClientAPI

type QueryClientAPI interface {
	QueryTwins(ctx context.Context, querySpecification digitaltwins.QuerySpecification) (result digitaltwins.QueryResult, err error)
}

QueryClientAPI contains the set of methods on the QueryClient type.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL