authoring

package
Version: v68.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 11 Imported by: 329

Documentation

Overview

Package authoring implements the Azure ARM Authoring service API version 2.0.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AppVersionSettingObject

type AppVersionSettingObject struct {
	// Name - The application version setting name.
	Name *string `json:"name,omitempty"`
	// Value - The application version setting value.
	Value *string `json:"value,omitempty"`
}

AppVersionSettingObject object model of an application version setting.

type ApplicationCreateObject

type ApplicationCreateObject struct {
	// Culture - The culture for the new application. It is the language that your app understands and speaks. E.g.: "en-us". Note: the culture cannot be changed after the app is created.
	Culture *string `json:"culture,omitempty"`
	// Domain - The domain for the new application. Optional. E.g.: Comics.
	Domain *string `json:"domain,omitempty"`
	// Description - Description of the new application. Optional.
	Description *string `json:"description,omitempty"`
	// InitialVersionID - The initial version ID. Optional. Default value is: "0.1"
	InitialVersionID *string `json:"initialVersionId,omitempty"`
	// UsageScenario - Defines the scenario for the new application. Optional. E.g.: IoT.
	UsageScenario *string `json:"usageScenario,omitempty"`
	// Name - The name for the new application.
	Name *string `json:"name,omitempty"`
}

ApplicationCreateObject properties for creating a new LUIS Application

type ApplicationInfoResponse

type ApplicationInfoResponse struct {
	autorest.Response `json:"-"`
	// ID - The ID (GUID) of the application.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - The name of the application.
	Name *string `json:"name,omitempty"`
	// Description - The description of the application.
	Description *string `json:"description,omitempty"`
	// Culture - The culture of the application. For example, "en-us".
	Culture *string `json:"culture,omitempty"`
	// UsageScenario - Defines the scenario for the new application. Optional. For example, IoT.
	UsageScenario *string `json:"usageScenario,omitempty"`
	// Domain - The domain for the new application. Optional. For example, Comics.
	Domain *string `json:"domain,omitempty"`
	// VersionsCount - Amount of model versions within the application.
	VersionsCount *int32 `json:"versionsCount,omitempty"`
	// CreatedDateTime - The version's creation timestamp.
	CreatedDateTime *string `json:"createdDateTime,omitempty"`
	// Endpoints - The Runtime endpoint URL for this model version.
	Endpoints interface{} `json:"endpoints,omitempty"`
	// EndpointHitsCount - Number of calls made to this endpoint.
	EndpointHitsCount *int32 `json:"endpointHitsCount,omitempty"`
	// ActiveVersion - The version ID currently marked as active.
	ActiveVersion *string `json:"activeVersion,omitempty"`
}

ApplicationInfoResponse response containing the Application Info.

type ApplicationPublishObject

type ApplicationPublishObject struct {
	// VersionID - The version ID to publish.
	VersionID *string `json:"versionId,omitempty"`
	// IsStaging - Indicates if the staging slot should be used, instead of the Production one.
	IsStaging *bool `json:"isStaging,omitempty"`
}

ApplicationPublishObject object model for publishing a specific application version.

type ApplicationSettingUpdateObject

type ApplicationSettingUpdateObject struct {
	// IsPublic - Setting your application as public allows other people to use your application's endpoint using their own keys.
	IsPublic *bool `json:"public,omitempty"`
}

ApplicationSettingUpdateObject object model for updating an application's settings.

type ApplicationSettings

type ApplicationSettings struct {
	autorest.Response `json:"-"`
	// ID - The application ID.
	ID *uuid.UUID `json:"id,omitempty"`
	// IsPublic - Setting your application as public allows other people to use your application's endpoint using their own keys for billing purposes.
	IsPublic *bool `json:"public,omitempty"`
}

ApplicationSettings the application settings.

type ApplicationUpdateObject

type ApplicationUpdateObject struct {
	// Name - The application's new name.
	Name *string `json:"name,omitempty"`
	// Description - The application's new description.
	Description *string `json:"description,omitempty"`
}

ApplicationUpdateObject object model for updating the name or description of an application.

type AppsClient

type AppsClient struct {
	BaseClient
}

AppsClient is the client for the Apps methods of the Authoring service.

func NewAppsClient

func NewAppsClient(endpoint string) AppsClient

NewAppsClient creates an instance of the AppsClient client.

func (AppsClient) Add

func (client AppsClient) Add(ctx context.Context, applicationCreateObject ApplicationCreateObject) (result UUID, err error)

Add creates a new LUIS app. Parameters: applicationCreateObject - an application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.

func (AppsClient) AddCustomPrebuiltDomain

func (client AppsClient) AddCustomPrebuiltDomain(ctx context.Context, prebuiltDomainCreateObject PrebuiltDomainCreateObject) (result UUID, err error)

AddCustomPrebuiltDomain adds a prebuilt domain along with its intent and entity models as a new application. Parameters: prebuiltDomainCreateObject - a prebuilt domain create object containing the name and culture of the domain.

func (AppsClient) AddCustomPrebuiltDomainPreparer

func (client AppsClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, prebuiltDomainCreateObject PrebuiltDomainCreateObject) (*http.Request, error)

AddCustomPrebuiltDomainPreparer prepares the AddCustomPrebuiltDomain request.

func (AppsClient) AddCustomPrebuiltDomainResponder

func (client AppsClient) AddCustomPrebuiltDomainResponder(resp *http.Response) (result UUID, err error)

AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always closes the http.Response Body.

func (AppsClient) AddCustomPrebuiltDomainSender

func (client AppsClient) AddCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error)

AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.

func (AppsClient) AddPreparer

func (client AppsClient) AddPreparer(ctx context.Context, applicationCreateObject ApplicationCreateObject) (*http.Request, error)

AddPreparer prepares the Add request.

func (AppsClient) AddResponder

func (client AppsClient) AddResponder(resp *http.Response) (result UUID, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (AppsClient) AddSender

func (client AppsClient) AddSender(req *http.Request) (*http.Response, error)

AddSender sends the Add request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Delete

func (client AppsClient) Delete(ctx context.Context, appID uuid.UUID, force *bool) (result OperationStatus, err error)

Delete deletes an application. Parameters: appID - the application ID. force - a flag to indicate whether to force an operation.

func (AppsClient) DeletePreparer

func (client AppsClient) DeletePreparer(ctx context.Context, appID uuid.UUID, force *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AppsClient) DeleteResponder

func (client AppsClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AppsClient) DeleteSender

func (client AppsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AppsClient) DownloadQueryLogs

func (client AppsClient) DownloadQueryLogs(ctx context.Context, appID uuid.UUID) (result ReadCloser, err error)

DownloadQueryLogs gets the logs of the past month's endpoint queries for the application. Parameters: appID - the application ID.

func (AppsClient) DownloadQueryLogsPreparer

func (client AppsClient) DownloadQueryLogsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

DownloadQueryLogsPreparer prepares the DownloadQueryLogs request.

func (AppsClient) DownloadQueryLogsResponder

func (client AppsClient) DownloadQueryLogsResponder(resp *http.Response) (result ReadCloser, err error)

DownloadQueryLogsResponder handles the response to the DownloadQueryLogs request. The method always closes the http.Response Body.

func (AppsClient) DownloadQueryLogsSender

func (client AppsClient) DownloadQueryLogsSender(req *http.Request) (*http.Response, error)

DownloadQueryLogsSender sends the DownloadQueryLogs request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Get

func (client AppsClient) Get(ctx context.Context, appID uuid.UUID) (result ApplicationInfoResponse, err error)

Get gets the application info. Parameters: appID - the application ID.

func (AppsClient) GetPreparer

func (client AppsClient) GetPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

GetPreparer prepares the Get request.

func (AppsClient) GetPublishSettings

func (client AppsClient) GetPublishSettings(ctx context.Context, appID uuid.UUID) (result PublishSettings, err error)

GetPublishSettings get the application publish settings including 'UseAllTrainingData'. Parameters: appID - the application ID.

func (AppsClient) GetPublishSettingsPreparer

func (client AppsClient) GetPublishSettingsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

GetPublishSettingsPreparer prepares the GetPublishSettings request.

func (AppsClient) GetPublishSettingsResponder

func (client AppsClient) GetPublishSettingsResponder(resp *http.Response) (result PublishSettings, err error)

GetPublishSettingsResponder handles the response to the GetPublishSettings request. The method always closes the http.Response Body.

func (AppsClient) GetPublishSettingsSender

func (client AppsClient) GetPublishSettingsSender(req *http.Request) (*http.Response, error)

GetPublishSettingsSender sends the GetPublishSettings request. The method will close the http.Response Body if it receives an error.

func (AppsClient) GetResponder

func (client AppsClient) GetResponder(resp *http.Response) (result ApplicationInfoResponse, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AppsClient) GetSender

func (client AppsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AppsClient) GetSettings

func (client AppsClient) GetSettings(ctx context.Context, appID uuid.UUID) (result ApplicationSettings, err error)

GetSettings get the application settings including 'UseAllTrainingData'. Parameters: appID - the application ID.

func (AppsClient) GetSettingsPreparer

func (client AppsClient) GetSettingsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

GetSettingsPreparer prepares the GetSettings request.

func (AppsClient) GetSettingsResponder

func (client AppsClient) GetSettingsResponder(resp *http.Response) (result ApplicationSettings, err error)

GetSettingsResponder handles the response to the GetSettings request. The method always closes the http.Response Body.

func (AppsClient) GetSettingsSender

func (client AppsClient) GetSettingsSender(req *http.Request) (*http.Response, error)

GetSettingsSender sends the GetSettings request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Import

func (client AppsClient) Import(ctx context.Context, luisApp LuisApp, appName string) (result UUID, err error)

Import imports an application to LUIS, the application's structure is included in the request body. Parameters: luisApp - a LUIS application structure. appName - the application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.

func (AppsClient) ImportPreparer

func (client AppsClient) ImportPreparer(ctx context.Context, luisApp LuisApp, appName string) (*http.Request, error)

ImportPreparer prepares the Import request.

func (AppsClient) ImportResponder

func (client AppsClient) ImportResponder(resp *http.Response) (result UUID, err error)

ImportResponder handles the response to the Import request. The method always closes the http.Response Body.

func (AppsClient) ImportSender

func (client AppsClient) ImportSender(req *http.Request) (*http.Response, error)

ImportSender sends the Import request. The method will close the http.Response Body if it receives an error.

func (AppsClient) List

func (client AppsClient) List(ctx context.Context, skip *int32, take *int32) (result ListApplicationInfoResponse, err error)

List lists all of the user's applications. Parameters: skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (AppsClient) ListAvailableCustomPrebuiltDomains

func (client AppsClient) ListAvailableCustomPrebuiltDomains(ctx context.Context) (result ListPrebuiltDomain, err error)

ListAvailableCustomPrebuiltDomains gets all the available custom prebuilt domains for all cultures.

func (AppsClient) ListAvailableCustomPrebuiltDomainsForCulture

func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCulture(ctx context.Context, culture string) (result ListPrebuiltDomain, err error)

ListAvailableCustomPrebuiltDomainsForCulture gets all the available prebuilt domains for a specific culture. Parameters: culture - culture.

func (AppsClient) ListAvailableCustomPrebuiltDomainsForCulturePreparer

func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCulturePreparer(ctx context.Context, culture string) (*http.Request, error)

ListAvailableCustomPrebuiltDomainsForCulturePreparer prepares the ListAvailableCustomPrebuiltDomainsForCulture request.

func (AppsClient) ListAvailableCustomPrebuiltDomainsForCultureResponder

func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCultureResponder(resp *http.Response) (result ListPrebuiltDomain, err error)

ListAvailableCustomPrebuiltDomainsForCultureResponder handles the response to the ListAvailableCustomPrebuiltDomainsForCulture request. The method always closes the http.Response Body.

func (AppsClient) ListAvailableCustomPrebuiltDomainsForCultureSender

func (client AppsClient) ListAvailableCustomPrebuiltDomainsForCultureSender(req *http.Request) (*http.Response, error)

ListAvailableCustomPrebuiltDomainsForCultureSender sends the ListAvailableCustomPrebuiltDomainsForCulture request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListAvailableCustomPrebuiltDomainsPreparer

func (client AppsClient) ListAvailableCustomPrebuiltDomainsPreparer(ctx context.Context) (*http.Request, error)

ListAvailableCustomPrebuiltDomainsPreparer prepares the ListAvailableCustomPrebuiltDomains request.

func (AppsClient) ListAvailableCustomPrebuiltDomainsResponder

func (client AppsClient) ListAvailableCustomPrebuiltDomainsResponder(resp *http.Response) (result ListPrebuiltDomain, err error)

ListAvailableCustomPrebuiltDomainsResponder handles the response to the ListAvailableCustomPrebuiltDomains request. The method always closes the http.Response Body.

func (AppsClient) ListAvailableCustomPrebuiltDomainsSender

func (client AppsClient) ListAvailableCustomPrebuiltDomainsSender(req *http.Request) (*http.Response, error)

ListAvailableCustomPrebuiltDomainsSender sends the ListAvailableCustomPrebuiltDomains request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListCortanaEndpoints

func (client AppsClient) ListCortanaEndpoints(ctx context.Context) (result PersonalAssistantsResponse, err error)

ListCortanaEndpoints gets the endpoint URLs for the prebuilt Cortana applications.

func (AppsClient) ListCortanaEndpointsPreparer

func (client AppsClient) ListCortanaEndpointsPreparer(ctx context.Context) (*http.Request, error)

ListCortanaEndpointsPreparer prepares the ListCortanaEndpoints request.

func (AppsClient) ListCortanaEndpointsResponder

func (client AppsClient) ListCortanaEndpointsResponder(resp *http.Response) (result PersonalAssistantsResponse, err error)

ListCortanaEndpointsResponder handles the response to the ListCortanaEndpoints request. The method always closes the http.Response Body.

func (AppsClient) ListCortanaEndpointsSender

func (client AppsClient) ListCortanaEndpointsSender(req *http.Request) (*http.Response, error)

ListCortanaEndpointsSender sends the ListCortanaEndpoints request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListDomains

func (client AppsClient) ListDomains(ctx context.Context) (result ListString, err error)

ListDomains gets the available application domains.

func (AppsClient) ListDomainsPreparer

func (client AppsClient) ListDomainsPreparer(ctx context.Context) (*http.Request, error)

ListDomainsPreparer prepares the ListDomains request.

func (AppsClient) ListDomainsResponder

func (client AppsClient) ListDomainsResponder(resp *http.Response) (result ListString, err error)

ListDomainsResponder handles the response to the ListDomains request. The method always closes the http.Response Body.

func (AppsClient) ListDomainsSender

func (client AppsClient) ListDomainsSender(req *http.Request) (*http.Response, error)

ListDomainsSender sends the ListDomains request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListEndpoints

func (client AppsClient) ListEndpoints(ctx context.Context, appID uuid.UUID) (result SetString, err error)

ListEndpoints returns the available endpoint deployment regions and URLs. Parameters: appID - the application ID.

func (AppsClient) ListEndpointsPreparer

func (client AppsClient) ListEndpointsPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

ListEndpointsPreparer prepares the ListEndpoints request.

func (AppsClient) ListEndpointsResponder

func (client AppsClient) ListEndpointsResponder(resp *http.Response) (result SetString, err error)

ListEndpointsResponder handles the response to the ListEndpoints request. The method always closes the http.Response Body.

func (AppsClient) ListEndpointsSender

func (client AppsClient) ListEndpointsSender(req *http.Request) (*http.Response, error)

ListEndpointsSender sends the ListEndpoints request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListPreparer

func (client AppsClient) ListPreparer(ctx context.Context, skip *int32, take *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (AppsClient) ListResponder

func (client AppsClient) ListResponder(resp *http.Response) (result ListApplicationInfoResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AppsClient) ListSender

func (client AppsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListSupportedCultures

func (client AppsClient) ListSupportedCultures(ctx context.Context) (result ListAvailableCulture, err error)

ListSupportedCultures gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.

func (AppsClient) ListSupportedCulturesPreparer

func (client AppsClient) ListSupportedCulturesPreparer(ctx context.Context) (*http.Request, error)

ListSupportedCulturesPreparer prepares the ListSupportedCultures request.

func (AppsClient) ListSupportedCulturesResponder

func (client AppsClient) ListSupportedCulturesResponder(resp *http.Response) (result ListAvailableCulture, err error)

ListSupportedCulturesResponder handles the response to the ListSupportedCultures request. The method always closes the http.Response Body.

func (AppsClient) ListSupportedCulturesSender

func (client AppsClient) ListSupportedCulturesSender(req *http.Request) (*http.Response, error)

ListSupportedCulturesSender sends the ListSupportedCultures request. The method will close the http.Response Body if it receives an error.

func (AppsClient) ListUsageScenarios

func (client AppsClient) ListUsageScenarios(ctx context.Context) (result ListString, err error)

ListUsageScenarios gets the application available usage scenarios.

func (AppsClient) ListUsageScenariosPreparer

func (client AppsClient) ListUsageScenariosPreparer(ctx context.Context) (*http.Request, error)

ListUsageScenariosPreparer prepares the ListUsageScenarios request.

func (AppsClient) ListUsageScenariosResponder

func (client AppsClient) ListUsageScenariosResponder(resp *http.Response) (result ListString, err error)

ListUsageScenariosResponder handles the response to the ListUsageScenarios request. The method always closes the http.Response Body.

func (AppsClient) ListUsageScenariosSender

func (client AppsClient) ListUsageScenariosSender(req *http.Request) (*http.Response, error)

ListUsageScenariosSender sends the ListUsageScenarios request. The method will close the http.Response Body if it receives an error.

func (AppsClient) PackagePublishedApplicationAsGzip

func (client AppsClient) PackagePublishedApplicationAsGzip(ctx context.Context, appID uuid.UUID, slotName string) (result ReadCloser, err error)

PackagePublishedApplicationAsGzip packages a published LUIS application as a GZip file to be used in the LUIS container. Parameters: appID - the application ID. slotName - the publishing slot name.

func (AppsClient) PackagePublishedApplicationAsGzipPreparer

func (client AppsClient) PackagePublishedApplicationAsGzipPreparer(ctx context.Context, appID uuid.UUID, slotName string) (*http.Request, error)

PackagePublishedApplicationAsGzipPreparer prepares the PackagePublishedApplicationAsGzip request.

func (AppsClient) PackagePublishedApplicationAsGzipResponder

func (client AppsClient) PackagePublishedApplicationAsGzipResponder(resp *http.Response) (result ReadCloser, err error)

PackagePublishedApplicationAsGzipResponder handles the response to the PackagePublishedApplicationAsGzip request. The method always closes the http.Response Body.

func (AppsClient) PackagePublishedApplicationAsGzipSender

func (client AppsClient) PackagePublishedApplicationAsGzipSender(req *http.Request) (*http.Response, error)

PackagePublishedApplicationAsGzipSender sends the PackagePublishedApplicationAsGzip request. The method will close the http.Response Body if it receives an error.

func (AppsClient) PackageTrainedApplicationAsGzip

func (client AppsClient) PackageTrainedApplicationAsGzip(ctx context.Context, appID uuid.UUID, versionID string) (result ReadCloser, err error)

PackageTrainedApplicationAsGzip packages trained LUIS application as GZip file to be used in the LUIS container. Parameters: appID - the application ID. versionID - the version ID.

func (AppsClient) PackageTrainedApplicationAsGzipPreparer

func (client AppsClient) PackageTrainedApplicationAsGzipPreparer(ctx context.Context, appID uuid.UUID, versionID string) (*http.Request, error)

PackageTrainedApplicationAsGzipPreparer prepares the PackageTrainedApplicationAsGzip request.

func (AppsClient) PackageTrainedApplicationAsGzipResponder

func (client AppsClient) PackageTrainedApplicationAsGzipResponder(resp *http.Response) (result ReadCloser, err error)

PackageTrainedApplicationAsGzipResponder handles the response to the PackageTrainedApplicationAsGzip request. The method always closes the http.Response Body.

func (AppsClient) PackageTrainedApplicationAsGzipSender

func (client AppsClient) PackageTrainedApplicationAsGzipSender(req *http.Request) (*http.Response, error)

PackageTrainedApplicationAsGzipSender sends the PackageTrainedApplicationAsGzip request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Publish

func (client AppsClient) Publish(ctx context.Context, appID uuid.UUID, applicationPublishObject ApplicationPublishObject) (result ProductionOrStagingEndpointInfo, err error)

Publish publishes a specific version of the application. Parameters: appID - the application ID. applicationPublishObject - the application publish object. The region is the target region that the application is published to.

func (AppsClient) PublishPreparer

func (client AppsClient) PublishPreparer(ctx context.Context, appID uuid.UUID, applicationPublishObject ApplicationPublishObject) (*http.Request, error)

PublishPreparer prepares the Publish request.

func (AppsClient) PublishResponder

func (client AppsClient) PublishResponder(resp *http.Response) (result ProductionOrStagingEndpointInfo, err error)

PublishResponder handles the response to the Publish request. The method always closes the http.Response Body.

func (AppsClient) PublishSender

func (client AppsClient) PublishSender(req *http.Request) (*http.Response, error)

PublishSender sends the Publish request. The method will close the http.Response Body if it receives an error.

func (AppsClient) Update

func (client AppsClient) Update(ctx context.Context, appID uuid.UUID, applicationUpdateObject ApplicationUpdateObject) (result OperationStatus, err error)

Update updates the name or description of the application. Parameters: appID - the application ID. applicationUpdateObject - a model containing Name and Description of the application.

func (AppsClient) UpdatePreparer

func (client AppsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, applicationUpdateObject ApplicationUpdateObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AppsClient) UpdatePublishSettings

func (client AppsClient) UpdatePublishSettings(ctx context.Context, appID uuid.UUID, publishSettingUpdateObject PublishSettingUpdateObject) (result OperationStatus, err error)

UpdatePublishSettings updates the application publish settings including 'UseAllTrainingData'. Parameters: appID - the application ID. publishSettingUpdateObject - an object containing the new publish application settings.

func (AppsClient) UpdatePublishSettingsPreparer

func (client AppsClient) UpdatePublishSettingsPreparer(ctx context.Context, appID uuid.UUID, publishSettingUpdateObject PublishSettingUpdateObject) (*http.Request, error)

UpdatePublishSettingsPreparer prepares the UpdatePublishSettings request.

func (AppsClient) UpdatePublishSettingsResponder

func (client AppsClient) UpdatePublishSettingsResponder(resp *http.Response) (result OperationStatus, err error)

UpdatePublishSettingsResponder handles the response to the UpdatePublishSettings request. The method always closes the http.Response Body.

func (AppsClient) UpdatePublishSettingsSender

func (client AppsClient) UpdatePublishSettingsSender(req *http.Request) (*http.Response, error)

UpdatePublishSettingsSender sends the UpdatePublishSettings request. The method will close the http.Response Body if it receives an error.

func (AppsClient) UpdateResponder

func (client AppsClient) UpdateResponder(resp *http.Response) (result OperationStatus, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AppsClient) UpdateSender

func (client AppsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

func (AppsClient) UpdateSettings

func (client AppsClient) UpdateSettings(ctx context.Context, appID uuid.UUID, applicationSettingUpdateObject ApplicationSettingUpdateObject) (result OperationStatus, err error)

UpdateSettings updates the application settings including 'UseAllTrainingData'. Parameters: appID - the application ID. applicationSettingUpdateObject - an object containing the new application settings.

func (AppsClient) UpdateSettingsPreparer

func (client AppsClient) UpdateSettingsPreparer(ctx context.Context, appID uuid.UUID, applicationSettingUpdateObject ApplicationSettingUpdateObject) (*http.Request, error)

UpdateSettingsPreparer prepares the UpdateSettings request.

func (AppsClient) UpdateSettingsResponder

func (client AppsClient) UpdateSettingsResponder(resp *http.Response) (result OperationStatus, err error)

UpdateSettingsResponder handles the response to the UpdateSettings request. The method always closes the http.Response Body.

func (AppsClient) UpdateSettingsSender

func (client AppsClient) UpdateSettingsSender(req *http.Request) (*http.Response, error)

UpdateSettingsSender sends the UpdateSettings request. The method will close the http.Response Body if it receives an error.

type AvailableCulture

type AvailableCulture struct {
	// Name - The language name.
	Name *string `json:"name,omitempty"`
	// Code - The ISO value for the language.
	Code *string `json:"code,omitempty"`
}

AvailableCulture available culture for using in a new application.

type AvailablePrebuiltEntityModel

type AvailablePrebuiltEntityModel struct {
	// Name - The entity name.
	Name *string `json:"name,omitempty"`
	// Description - The entity description and usage information.
	Description *string `json:"description,omitempty"`
	// Examples - Usage examples.
	Examples *string `json:"examples,omitempty"`
}

AvailablePrebuiltEntityModel available Prebuilt entity model for using in an application.

type AzureAccountInfoObject

type AzureAccountInfoObject struct {
	// AzureSubscriptionID - The id for the Azure subscription.
	AzureSubscriptionID *string `json:"azureSubscriptionId,omitempty"`
	// ResourceGroup - The Azure resource group name.
	ResourceGroup *string `json:"resourceGroup,omitempty"`
	// AccountName - The Azure account name.
	AccountName *string `json:"accountName,omitempty"`
}

AzureAccountInfoObject defines the Azure account information object.

type AzureAccountsClient

type AzureAccountsClient struct {
	BaseClient
}

AzureAccountsClient is the client for the AzureAccounts methods of the Authoring service.

func NewAzureAccountsClient

func NewAzureAccountsClient(endpoint string) AzureAccountsClient

NewAzureAccountsClient creates an instance of the AzureAccountsClient client.

func (AzureAccountsClient) AssignToApp

func (client AzureAccountsClient) AssignToApp(ctx context.Context, appID uuid.UUID, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)

AssignToApp assigns an Azure account to the application. Parameters: appID - the application ID. azureAccountInfoObject - the Azure account information object.

func (AzureAccountsClient) AssignToAppPreparer

func (client AzureAccountsClient) AssignToAppPreparer(ctx context.Context, appID uuid.UUID, azureAccountInfoObject *AzureAccountInfoObject) (*http.Request, error)

AssignToAppPreparer prepares the AssignToApp request.

func (AzureAccountsClient) AssignToAppResponder

func (client AzureAccountsClient) AssignToAppResponder(resp *http.Response) (result OperationStatus, err error)

AssignToAppResponder handles the response to the AssignToApp request. The method always closes the http.Response Body.

func (AzureAccountsClient) AssignToAppSender

func (client AzureAccountsClient) AssignToAppSender(req *http.Request) (*http.Response, error)

AssignToAppSender sends the AssignToApp request. The method will close the http.Response Body if it receives an error.

func (AzureAccountsClient) GetAssigned

func (client AzureAccountsClient) GetAssigned(ctx context.Context, appID uuid.UUID) (result ListAzureAccountInfoObject, err error)

GetAssigned gets the LUIS Azure accounts assigned to the application for the user using his ARM token. Parameters: appID - the application ID.

func (AzureAccountsClient) GetAssignedPreparer

func (client AzureAccountsClient) GetAssignedPreparer(ctx context.Context, appID uuid.UUID) (*http.Request, error)

GetAssignedPreparer prepares the GetAssigned request.

func (AzureAccountsClient) GetAssignedResponder

func (client AzureAccountsClient) GetAssignedResponder(resp *http.Response) (result ListAzureAccountInfoObject, err error)

GetAssignedResponder handles the response to the GetAssigned request. The method always closes the http.Response Body.

func (AzureAccountsClient) GetAssignedSender

func (client AzureAccountsClient) GetAssignedSender(req *http.Request) (*http.Response, error)

GetAssignedSender sends the GetAssigned request. The method will close the http.Response Body if it receives an error.

func (AzureAccountsClient) ListUserLUISAccounts

func (client AzureAccountsClient) ListUserLUISAccounts(ctx context.Context) (result ListAzureAccountInfoObject, err error)

ListUserLUISAccounts gets the LUIS Azure accounts for the user using his ARM token.

func (AzureAccountsClient) ListUserLUISAccountsPreparer

func (client AzureAccountsClient) ListUserLUISAccountsPreparer(ctx context.Context) (*http.Request, error)

ListUserLUISAccountsPreparer prepares the ListUserLUISAccounts request.

func (AzureAccountsClient) ListUserLUISAccountsResponder

func (client AzureAccountsClient) ListUserLUISAccountsResponder(resp *http.Response) (result ListAzureAccountInfoObject, err error)

ListUserLUISAccountsResponder handles the response to the ListUserLUISAccounts request. The method always closes the http.Response Body.

func (AzureAccountsClient) ListUserLUISAccountsSender

func (client AzureAccountsClient) ListUserLUISAccountsSender(req *http.Request) (*http.Response, error)

ListUserLUISAccountsSender sends the ListUserLUISAccounts request. The method will close the http.Response Body if it receives an error.

func (AzureAccountsClient) RemoveFromApp

func (client AzureAccountsClient) RemoveFromApp(ctx context.Context, appID uuid.UUID, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)

RemoveFromApp removes assigned Azure account from the application. Parameters: appID - the application ID. azureAccountInfoObject - the Azure account information object.

func (AzureAccountsClient) RemoveFromAppPreparer

func (client AzureAccountsClient) RemoveFromAppPreparer(ctx context.Context, appID uuid.UUID, azureAccountInfoObject *AzureAccountInfoObject) (*http.Request, error)

RemoveFromAppPreparer prepares the RemoveFromApp request.

func (AzureAccountsClient) RemoveFromAppResponder

func (client AzureAccountsClient) RemoveFromAppResponder(resp *http.Response) (result OperationStatus, err error)

RemoveFromAppResponder handles the response to the RemoveFromApp request. The method always closes the http.Response Body.

func (AzureAccountsClient) RemoveFromAppSender

func (client AzureAccountsClient) RemoveFromAppSender(req *http.Request) (*http.Response, error)

RemoveFromAppSender sends the RemoveFromApp request. The method will close the http.Response Body if it receives an error.

type BaseClient

type BaseClient struct {
	autorest.Client
	Endpoint string
}

BaseClient is the base client for Authoring.

func New

func New(endpoint string) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(endpoint string) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type BatchLabelExample

type BatchLabelExample struct {
	Value    *LabelExampleResponse `json:"value,omitempty"`
	HasError *bool                 `json:"hasError,omitempty"`
	Error    *OperationStatus      `json:"error,omitempty"`
}

BatchLabelExample response when adding a batch of labeled example utterances.

type ChildEntity

type ChildEntity struct {
	// ID - The ID (GUID) belonging to a child entity.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - The name of a child entity.
	Name *string `json:"name,omitempty"`
}

ChildEntity the base child entity type.

type ClosedList

type ClosedList struct {
	// Name - Name of the list entity.
	Name *string `json:"name,omitempty"`
	// SubLists - Sublists for the list entity.
	SubLists *[]SubClosedList `json:"subLists,omitempty"`
	Roles    *[]string        `json:"roles,omitempty"`
}

ClosedList exported Model - A list entity.

type ClosedListEntityExtractor

type ClosedListEntityExtractor struct {
	autorest.Response `json:"-"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType4EntityExtractor', 'ReadableType4HierarchicalEntityExtractor', 'ReadableType4HierarchicalChildEntityExtractor', 'ReadableType4CompositeEntityExtractor', 'ReadableType4ListEntityExtractor', 'ReadableType4PrebuiltEntityExtractor', 'ReadableType4IntentClassifier', 'ReadableType4PatternAnyEntityExtractor', 'ReadableType4ClosedListEntityExtractor', 'ReadableType4RegexEntityExtractor'
	ReadableType ReadableType4 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// SubLists - List of sublists.
	SubLists *[]SubClosedListResponse `json:"subLists,omitempty"`
}

ClosedListEntityExtractor list Entity Extractor.

type ClosedListModelCreateObject

type ClosedListModelCreateObject struct {
	// SubLists - Sublists for the feature.
	SubLists *[]WordListObject `json:"subLists,omitempty"`
	// Name - Name of the list entity.
	Name *string `json:"name,omitempty"`
}

ClosedListModelCreateObject object model for creating a list entity.

type ClosedListModelPatchObject

type ClosedListModelPatchObject struct {
	// SubLists - Sublists to add.
	SubLists *[]WordListObject `json:"subLists,omitempty"`
}

ClosedListModelPatchObject object model for adding a batch of sublists to an existing list entity.

type ClosedListModelUpdateObject

type ClosedListModelUpdateObject struct {
	// SubLists - The new sublists for the feature.
	SubLists *[]WordListObject `json:"subLists,omitempty"`
	// Name - The new name of the list entity.
	Name *string `json:"name,omitempty"`
}

ClosedListModelUpdateObject object model for updating a list entity.

type CollaboratorsArray

type CollaboratorsArray struct {
	// Emails - The email address of the users.
	Emails *[]string `json:"emails,omitempty"`
}

CollaboratorsArray ...

type CompositeChildModelCreateObject

type CompositeChildModelCreateObject struct {
	Name *string `json:"name,omitempty"`
}

CompositeChildModelCreateObject ...

type CompositeEntityExtractor

type CompositeEntityExtractor struct {
	autorest.Response `json:"-"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType3EntityExtractor', 'ReadableType3HierarchicalEntityExtractor', 'ReadableType3HierarchicalChildEntityExtractor', 'ReadableType3CompositeEntityExtractor', 'ReadableType3ListEntityExtractor', 'ReadableType3PrebuiltEntityExtractor', 'ReadableType3IntentClassifier', 'ReadableType3PatternAnyEntityExtractor', 'ReadableType3ClosedListEntityExtractor', 'ReadableType3RegexEntityExtractor'
	ReadableType ReadableType3 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// Children - List of child entities.
	Children *[]ChildEntity `json:"children,omitempty"`
}

CompositeEntityExtractor a Composite Entity Extractor.

type CompositeEntityModel

type CompositeEntityModel struct {
	// Children - Child entities.
	Children *[]string `json:"children,omitempty"`
	// Name - Entity name.
	Name *string `json:"name,omitempty"`
}

CompositeEntityModel a composite entity extractor.

type CustomPrebuiltModel

type CustomPrebuiltModel struct {
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType7EntityExtractor', 'ReadableType7HierarchicalEntityExtractor', 'ReadableType7HierarchicalChildEntityExtractor', 'ReadableType7CompositeEntityExtractor', 'ReadableType7ListEntityExtractor', 'ReadableType7PrebuiltEntityExtractor', 'ReadableType7IntentClassifier', 'ReadableType7PatternAnyEntityExtractor', 'ReadableType7ClosedListEntityExtractor', 'ReadableType7RegexEntityExtractor'
	ReadableType ReadableType7 `json:"readableType,omitempty"`
	// CustomPrebuiltDomainName - The domain name.
	CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"`
	// CustomPrebuiltModelName - The intent name or entity name.
	CustomPrebuiltModelName *string       `json:"customPrebuiltModelName,omitempty"`
	Roles                   *[]EntityRole `json:"roles,omitempty"`
}

CustomPrebuiltModel a Custom Prebuilt model.

type EndpointInfo

type EndpointInfo struct {
	// VersionID - The version ID to publish.
	VersionID *string `json:"versionId,omitempty"`
	// IsStaging - Indicates if the staging slot should be used, instead of the Production one.
	IsStaging *bool `json:"isStaging,omitempty"`
	// EndpointURL - The Runtime endpoint URL for this model version.
	EndpointURL *string `json:"endpointUrl,omitempty"`
	// Region - The target region that the application is published to.
	Region *string `json:"region,omitempty"`
	// AssignedEndpointKey - The endpoint key.
	AssignedEndpointKey *string `json:"assignedEndpointKey,omitempty"`
	// EndpointRegion - The endpoint's region.
	EndpointRegion *string `json:"endpointRegion,omitempty"`
	// FailedRegions - Regions where publishing failed.
	FailedRegions *string `json:"failedRegions,omitempty"`
	// PublishedDateTime - Timestamp when was last published.
	PublishedDateTime *string `json:"publishedDateTime,omitempty"`
}

EndpointInfo the base class "ProductionOrStagingEndpointInfo" inherits from.

type EnqueueTrainingResponse

type EnqueueTrainingResponse struct {
	autorest.Response `json:"-"`
	// StatusID - The train request status ID.
	StatusID *int32 `json:"statusId,omitempty"`
	// Status - Possible values include: 'StatusQueued', 'StatusInProgress', 'StatusUpToDate', 'StatusFail', 'StatusSuccess'
	Status Status `json:"status,omitempty"`
}

EnqueueTrainingResponse response model when requesting to train the model.

type EntitiesSuggestionExample

type EntitiesSuggestionExample struct {
	// Text - The utterance. For example, "What's the weather like in seattle?"
	Text *string `json:"text,omitempty"`
	// TokenizedText - The utterance tokenized.
	TokenizedText *[]string `json:"tokenizedText,omitempty"`
	// IntentPredictions - Predicted/suggested intents.
	IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"`
	// EntityPredictions - Predicted/suggested entities.
	EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"`
}

EntitiesSuggestionExample predicted/suggested entity.

type EntityExtractor

type EntityExtractor struct {
	autorest.Response `json:"-"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType8EntityExtractor', 'ReadableType8HierarchicalEntityExtractor', 'ReadableType8HierarchicalChildEntityExtractor', 'ReadableType8CompositeEntityExtractor', 'ReadableType8ListEntityExtractor', 'ReadableType8PrebuiltEntityExtractor', 'ReadableType8IntentClassifier', 'ReadableType8PatternAnyEntityExtractor', 'ReadableType8ClosedListEntityExtractor', 'ReadableType8RegexEntityExtractor'
	ReadableType ReadableType8 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// CustomPrebuiltDomainName - The domain name.
	CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"`
	// CustomPrebuiltModelName - The intent name or entity name.
	CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"`
}

EntityExtractor entity Extractor.

type EntityLabel

type EntityLabel struct {
	// EntityName - The entity type.
	EntityName *string `json:"entityName,omitempty"`
	// StartTokenIndex - The index within the utterance where the extracted entity starts.
	StartTokenIndex *int32 `json:"startTokenIndex,omitempty"`
	// EndTokenIndex - The index within the utterance where the extracted entity ends.
	EndTokenIndex *int32 `json:"endTokenIndex,omitempty"`
	// Role - The role of the entity within the utterance.
	Role *string `json:"role,omitempty"`
	// RoleID - The role Id.
	RoleID *string `json:"roleId,omitempty"`
}

EntityLabel defines the entity type and position of the extracted entity within the example.

type EntityLabelObject

type EntityLabelObject struct {
	// EntityName - The entity type.
	EntityName *string `json:"entityName,omitempty"`
	// StartCharIndex - The index within the utterance where the extracted entity starts.
	StartCharIndex *int32 `json:"startCharIndex,omitempty"`
	// EndCharIndex - The index within the utterance where the extracted entity ends.
	EndCharIndex *int32 `json:"endCharIndex,omitempty"`
	// Role - The role of the entity within the utterance.
	Role *string `json:"role,omitempty"`
}

EntityLabelObject defines the entity type and position of the extracted entity within the example.

type EntityModelInfo

type EntityModelInfo struct {
	Roles *[]EntityRole `json:"roles,omitempty"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableTypeEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor'
	ReadableType ReadableType `json:"readableType,omitempty"`
}

EntityModelInfo an Entity Extractor model info.

type EntityPrediction

type EntityPrediction struct {
	// EntityName - The entity's name
	EntityName *string `json:"entityName,omitempty"`
	// StartTokenIndex - The index within the utterance where the extracted entity starts.
	StartTokenIndex *int32 `json:"startTokenIndex,omitempty"`
	// EndTokenIndex - The index within the utterance where the extracted entity ends.
	EndTokenIndex *int32 `json:"endTokenIndex,omitempty"`
	// Phrase - The actual token(s) that comprise the entity.
	Phrase *string `json:"phrase,omitempty"`
}

EntityPrediction a suggested entity.

type EntityRole

type EntityRole struct {
	autorest.Response `json:"-"`
	// ID - The entity role ID.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - The entity role name.
	Name *string `json:"name,omitempty"`
}

EntityRole entity extractor role

type EntityRoleCreateObject

type EntityRoleCreateObject struct {
	// Name - The entity role name.
	Name *string `json:"name,omitempty"`
}

EntityRoleCreateObject object model for creating an entity role.

type EntityRoleUpdateObject

type EntityRoleUpdateObject struct {
	// Name - The entity role name.
	Name *string `json:"name,omitempty"`
}

EntityRoleUpdateObject object model for updating an entity role.

type ErrorResponse

type ErrorResponse struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	ErrorType            *string                `json:"errorType,omitempty"`
}

ErrorResponse error response when invoking an operation on the API.

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

func (*ErrorResponse) UnmarshalJSON

func (er *ErrorResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ErrorResponse struct.

type ExampleLabelObject

type ExampleLabelObject struct {
	// Text - The example utterance.
	Text *string `json:"text,omitempty"`
	// EntityLabels - The identified entities within the example utterance.
	EntityLabels *[]EntityLabelObject `json:"entityLabels,omitempty"`
	// IntentName - The identified intent representing the example utterance.
	IntentName *string `json:"intentName,omitempty"`
}

ExampleLabelObject a labeled example utterance.

type ExamplesClient

type ExamplesClient struct {
	BaseClient
}

ExamplesClient is the client for the Examples methods of the Authoring service.

func NewExamplesClient

func NewExamplesClient(endpoint string) ExamplesClient

NewExamplesClient creates an instance of the ExamplesClient client.

func (ExamplesClient) Add

func (client ExamplesClient) Add(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObject ExampleLabelObject) (result LabelExampleResponse, err error)

Add adds a labeled example utterance in a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleLabelObject - a labeled example utterance with the expected intent and entities.

func (ExamplesClient) AddPreparer

func (client ExamplesClient) AddPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObject ExampleLabelObject) (*http.Request, error)

AddPreparer prepares the Add request.

func (ExamplesClient) AddResponder

func (client ExamplesClient) AddResponder(resp *http.Response) (result LabelExampleResponse, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (ExamplesClient) AddSender

func (client ExamplesClient) AddSender(req *http.Request) (*http.Response, error)

AddSender sends the Add request. The method will close the http.Response Body if it receives an error.

func (ExamplesClient) Batch

func (client ExamplesClient) Batch(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObjectArray []ExampleLabelObject) (result ListBatchLabelExample, err error)

Batch adds a batch of labeled example utterances to a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleLabelObjectArray - array of example utterances.

func (ExamplesClient) BatchPreparer

func (client ExamplesClient) BatchPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObjectArray []ExampleLabelObject) (*http.Request, error)

BatchPreparer prepares the Batch request.

func (ExamplesClient) BatchResponder

func (client ExamplesClient) BatchResponder(resp *http.Response) (result ListBatchLabelExample, err error)

BatchResponder handles the response to the Batch request. The method always closes the http.Response Body.

func (ExamplesClient) BatchSender

func (client ExamplesClient) BatchSender(req *http.Request) (*http.Response, error)

BatchSender sends the Batch request. The method will close the http.Response Body if it receives an error.

func (ExamplesClient) Delete

func (client ExamplesClient) Delete(ctx context.Context, appID uuid.UUID, versionID string, exampleID int32) (result OperationStatus, err error)

Delete deletes the labeled example utterances with the specified ID from a version of the application. Parameters: appID - the application ID. versionID - the version ID. exampleID - the example ID.

func (ExamplesClient) DeletePreparer

func (client ExamplesClient) DeletePreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleID int32) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExamplesClient) DeleteResponder

func (client ExamplesClient) DeleteResponder(resp *http.Response) (result OperationStatus, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExamplesClient) DeleteSender

func (client ExamplesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExamplesClient) List

func (client ExamplesClient) List(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListLabeledUtterance, err error)

List returns example utterances to be reviewed from a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (ExamplesClient) ListPreparer

func (client ExamplesClient) ListPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (ExamplesClient) ListResponder

func (client ExamplesClient) ListResponder(resp *http.Response) (result ListLabeledUtterance, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExamplesClient) ListSender

func (client ExamplesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExplicitListItem

type ExplicitListItem struct {
	autorest.Response `json:"-"`
	// ID - The explicit list item ID.
	ID *int64 `json:"id,omitempty"`
	// ExplicitListItem - The explicit list item value.
	ExplicitListItem *string `json:"explicitListItem,omitempty"`
}

ExplicitListItem explicit (exception) list item

type ExplicitListItemCreateObject

type ExplicitListItemCreateObject struct {
	// ExplicitListItem - The explicit list item.
	ExplicitListItem *string `json:"explicitListItem,omitempty"`
}

ExplicitListItemCreateObject object model for creating an explicit (exception) list item.

type ExplicitListItemUpdateObject

type ExplicitListItemUpdateObject struct {
	// ExplicitListItem - The explicit list item.
	ExplicitListItem *string `json:"explicitListItem,omitempty"`
}

ExplicitListItemUpdateObject model object for updating an explicit (exception) list item.

type FeatureInfoObject

type FeatureInfoObject struct {
	// ID - A six-digit ID used for Features.
	ID *int32 `json:"id,omitempty"`
	// Name - The name of the Feature.
	Name *string `json:"name,omitempty"`
	// IsActive - Indicates if the feature is enabled.
	IsActive *bool `json:"isActive,omitempty"`
}

FeatureInfoObject the base class Features-related response objects inherit from.

type FeaturesClient

type FeaturesClient struct {
	BaseClient
}

FeaturesClient is the client for the Features methods of the Authoring service.

func NewFeaturesClient

func NewFeaturesClient(endpoint string) FeaturesClient

NewFeaturesClient creates an instance of the FeaturesClient client.

func (FeaturesClient) AddPhraseList

func (client FeaturesClient) AddPhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistCreateObject PhraselistCreateObject) (result Int32, err error)

AddPhraseList creates a new phraselist feature in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistCreateObject - a Phraselist object containing Name, comma-separated Phrases and the isExchangeable boolean. Default value for isExchangeable is true.

func (FeaturesClient) AddPhraseListPreparer

func (client FeaturesClient) AddPhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistCreateObject PhraselistCreateObject) (*http.Request, error)

AddPhraseListPreparer prepares the AddPhraseList request.

func (FeaturesClient) AddPhraseListResponder

func (client FeaturesClient) AddPhraseListResponder(resp *http.Response) (result Int32, err error)

AddPhraseListResponder handles the response to the AddPhraseList request. The method always closes the http.Response Body.

func (FeaturesClient) AddPhraseListSender

func (client FeaturesClient) AddPhraseListSender(req *http.Request) (*http.Response, error)

AddPhraseListSender sends the AddPhraseList request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) DeletePhraseList

func (client FeaturesClient) DeletePhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (result OperationStatus, err error)

DeletePhraseList deletes a phraselist feature from a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be deleted.

func (FeaturesClient) DeletePhraseListPreparer

func (client FeaturesClient) DeletePhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (*http.Request, error)

DeletePhraseListPreparer prepares the DeletePhraseList request.

func (FeaturesClient) DeletePhraseListResponder

func (client FeaturesClient) DeletePhraseListResponder(resp *http.Response) (result OperationStatus, err error)

DeletePhraseListResponder handles the response to the DeletePhraseList request. The method always closes the http.Response Body.

func (FeaturesClient) DeletePhraseListSender

func (client FeaturesClient) DeletePhraseListSender(req *http.Request) (*http.Response, error)

DeletePhraseListSender sends the DeletePhraseList request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) GetPhraseList

func (client FeaturesClient) GetPhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (result PhraseListFeatureInfo, err error)

GetPhraseList gets phraselist feature info in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be retrieved.

func (FeaturesClient) GetPhraseListPreparer

func (client FeaturesClient) GetPhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32) (*http.Request, error)

GetPhraseListPreparer prepares the GetPhraseList request.

func (FeaturesClient) GetPhraseListResponder

func (client FeaturesClient) GetPhraseListResponder(resp *http.Response) (result PhraseListFeatureInfo, err error)

GetPhraseListResponder handles the response to the GetPhraseList request. The method always closes the http.Response Body.

func (FeaturesClient) GetPhraseListSender

func (client FeaturesClient) GetPhraseListSender(req *http.Request) (*http.Response, error)

GetPhraseListSender sends the GetPhraseList request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) List

func (client FeaturesClient) List(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result FeaturesResponseObject, err error)

List gets all the extraction phraselist and pattern features in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (FeaturesClient) ListApplicationVersionPatternFeatures

func (client FeaturesClient) ListApplicationVersionPatternFeatures(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListPatternFeatureInfo, err error)

ListApplicationVersionPatternFeatures [DEPRECATED NOTICE: This operation will soon be removed] Gets all the pattern features. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (FeaturesClient) ListApplicationVersionPatternFeaturesPreparer

func (client FeaturesClient) ListApplicationVersionPatternFeaturesPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)

ListApplicationVersionPatternFeaturesPreparer prepares the ListApplicationVersionPatternFeatures request.

func (FeaturesClient) ListApplicationVersionPatternFeaturesResponder

func (client FeaturesClient) ListApplicationVersionPatternFeaturesResponder(resp *http.Response) (result ListPatternFeatureInfo, err error)

ListApplicationVersionPatternFeaturesResponder handles the response to the ListApplicationVersionPatternFeatures request. The method always closes the http.Response Body.

func (FeaturesClient) ListApplicationVersionPatternFeaturesSender

func (client FeaturesClient) ListApplicationVersionPatternFeaturesSender(req *http.Request) (*http.Response, error)

ListApplicationVersionPatternFeaturesSender sends the ListApplicationVersionPatternFeatures request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) ListPhraseLists

func (client FeaturesClient) ListPhraseLists(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListPhraseListFeatureInfo, err error)

ListPhraseLists gets all the phraselist features in a version of the application. Parameters: appID - the application ID. versionID - the version ID. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (FeaturesClient) ListPhraseListsPreparer

func (client FeaturesClient) ListPhraseListsPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)

ListPhraseListsPreparer prepares the ListPhraseLists request.

func (FeaturesClient) ListPhraseListsResponder

func (client FeaturesClient) ListPhraseListsResponder(resp *http.Response) (result ListPhraseListFeatureInfo, err error)

ListPhraseListsResponder handles the response to the ListPhraseLists request. The method always closes the http.Response Body.

func (FeaturesClient) ListPhraseListsSender

func (client FeaturesClient) ListPhraseListsSender(req *http.Request) (*http.Response, error)

ListPhraseListsSender sends the ListPhraseLists request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) ListPreparer

func (client FeaturesClient) ListPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (FeaturesClient) ListResponder

func (client FeaturesClient) ListResponder(resp *http.Response) (result FeaturesResponseObject, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (FeaturesClient) ListSender

func (client FeaturesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (FeaturesClient) UpdatePhraseList

func (client FeaturesClient) UpdatePhraseList(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32, phraselistUpdateObject *PhraselistUpdateObject) (result OperationStatus, err error)

UpdatePhraseList updates the phrases, the state and the name of the phraselist feature in a version of the application. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be updated. phraselistUpdateObject - the new values for: - Just a boolean called IsActive, in which case the status of the feature will be changed. - Name, Pattern, Mode, and a boolean called IsActive to update the feature.

func (FeaturesClient) UpdatePhraseListPreparer

func (client FeaturesClient) UpdatePhraseListPreparer(ctx context.Context, appID uuid.UUID, versionID string, phraselistID int32, phraselistUpdateObject *PhraselistUpdateObject) (*http.Request, error)

UpdatePhraseListPreparer prepares the UpdatePhraseList request.

func (FeaturesClient) UpdatePhraseListResponder

func (client FeaturesClient) UpdatePhraseListResponder(resp *http.Response) (result OperationStatus, err error)

UpdatePhraseListResponder handles the response to the UpdatePhraseList request. The method always closes the http.Response Body.

func (FeaturesClient) UpdatePhraseListSender

func (client FeaturesClient) UpdatePhraseListSender(req *http.Request) (*http.Response, error)

UpdatePhraseListSender sends the UpdatePhraseList request. The method will close the http.Response Body if it receives an error.

type FeaturesResponseObject

type FeaturesResponseObject struct {
	autorest.Response  `json:"-"`
	PhraselistFeatures *[]PhraseListFeatureInfo `json:"phraselistFeatures,omitempty"`
	PatternFeatures    *[]PatternFeatureInfo    `json:"patternFeatures,omitempty"`
}

FeaturesResponseObject model Features, including Patterns and Phraselists.

type HierarchicalChildEntity

type HierarchicalChildEntity struct {
	autorest.Response `json:"-"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType6EntityExtractor', 'ReadableType6HierarchicalEntityExtractor', 'ReadableType6HierarchicalChildEntityExtractor', 'ReadableType6CompositeEntityExtractor', 'ReadableType6ListEntityExtractor', 'ReadableType6PrebuiltEntityExtractor', 'ReadableType6IntentClassifier', 'ReadableType6PatternAnyEntityExtractor', 'ReadableType6ClosedListEntityExtractor', 'ReadableType6RegexEntityExtractor'
	ReadableType ReadableType6 `json:"readableType,omitempty"`
	// ID - The ID (GUID) belonging to a child entity.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - The name of a child entity.
	Name *string `json:"name,omitempty"`
}

HierarchicalChildEntity a Hierarchical Child Entity.

type HierarchicalChildModelCreateObject

type HierarchicalChildModelCreateObject struct {
	Name *string `json:"name,omitempty"`
}

HierarchicalChildModelCreateObject ...

type HierarchicalChildModelUpdateObject

type HierarchicalChildModelUpdateObject struct {
	Name *string `json:"name,omitempty"`
}

HierarchicalChildModelUpdateObject ...

type HierarchicalEntityExtractor

type HierarchicalEntityExtractor struct {
	autorest.Response `json:"-"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType2EntityExtractor', 'ReadableType2HierarchicalEntityExtractor', 'ReadableType2HierarchicalChildEntityExtractor', 'ReadableType2CompositeEntityExtractor', 'ReadableType2ListEntityExtractor', 'ReadableType2PrebuiltEntityExtractor', 'ReadableType2IntentClassifier', 'ReadableType2PatternAnyEntityExtractor', 'ReadableType2ClosedListEntityExtractor', 'ReadableType2RegexEntityExtractor'
	ReadableType ReadableType2 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// Children - List of child entities.
	Children *[]ChildEntity `json:"children,omitempty"`
}

HierarchicalEntityExtractor hierarchical Entity Extractor.

type HierarchicalEntityModel

type HierarchicalEntityModel struct {
	// Children - Child entities.
	Children *[]string `json:"children,omitempty"`
	// Name - Entity name.
	Name *string `json:"name,omitempty"`
}

HierarchicalEntityModel a hierarchical entity extractor.

type HierarchicalModel

type HierarchicalModel struct {
	Name     *string               `json:"name,omitempty"`
	Children *[]string             `json:"children,omitempty"`
	Inherits *PrebuiltDomainObject `json:"inherits,omitempty"`
	Roles    *[]string             `json:"roles,omitempty"`
}

HierarchicalModel ...

type Int32

type Int32 struct {
	autorest.Response `json:"-"`
	Value             *int32 `json:"value,omitempty"`
}

Int32 ...

type Int64

type Int64 struct {
	autorest.Response `json:"-"`
	Value             *int64 `json:"value,omitempty"`
}

Int64 ...

type IntentClassifier

type IntentClassifier struct {
	autorest.Response `json:"-"`
	// CustomPrebuiltDomainName - The domain name.
	CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"`
	// CustomPrebuiltModelName - The intent name or entity name.
	CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableTypeEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor'
	ReadableType ReadableType `json:"readableType,omitempty"`
}

IntentClassifier intent Classifier.

type IntentPrediction

type IntentPrediction struct {
	// Name - The intent's name
	Name *string `json:"name,omitempty"`
	// Score - The intent's score, based on the prediction model.
	Score *float64 `json:"score,omitempty"`
}

IntentPrediction a suggested intent.

type IntentsSuggestionExample

type IntentsSuggestionExample struct {
	// Text - The utterance. For example, "What's the weather like in seattle?"
	Text *string `json:"text,omitempty"`
	// TokenizedText - The tokenized utterance.
	TokenizedText *[]string `json:"tokenizedText,omitempty"`
	// IntentPredictions - Predicted/suggested intents.
	IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"`
	// EntityPredictions - Predicted/suggested entities.
	EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"`
}

IntentsSuggestionExample predicted/suggested intent.

type JSONEntity

type JSONEntity struct {
	// StartPos - The index within the utterance where the extracted entity starts.
	StartPos *int32 `json:"startPos,omitempty"`
	// EndPos - The index within the utterance where the extracted entity ends.
	EndPos *int32 `json:"endPos,omitempty"`
	// Entity - The entity name.
	Entity *string `json:"entity,omitempty"`
	// Role - The role of the entity within the utterance.
	Role *string `json:"role,omitempty"`
}

JSONEntity exported Model - Extracted Entity from utterance.

type JSONModelFeature

type JSONModelFeature struct {
	// Activated - Indicates if the feature is enabled.
	Activated *bool `json:"activated,omitempty"`
	// Name - The Phraselist name.
	Name *string `json:"name,omitempty"`
	// Words - List of comma-separated phrases that represent the Phraselist.
	Words *string `json:"words,omitempty"`
	// Mode - An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t.  Default value is true.
	Mode *bool `json:"mode,omitempty"`
}

JSONModelFeature exported Model - Phraselist Model Feature.

type JSONRegexFeature

type JSONRegexFeature struct {
	// Pattern - The Regular Expression to match.
	Pattern *string `json:"pattern,omitempty"`
	// Activated - Indicates if the Pattern feature is enabled.
	Activated *bool `json:"activated,omitempty"`
	// Name - Name of the feature.
	Name *string `json:"name,omitempty"`
}

JSONRegexFeature exported Model - A Pattern feature.

type JSONUtterance

type JSONUtterance struct {
	// Text - The utterance.
	Text *string `json:"text,omitempty"`
	// Intent - The matched intent.
	Intent *string `json:"intent,omitempty"`
	// Entities - The matched entities.
	Entities *[]JSONEntity `json:"entities,omitempty"`
}

JSONUtterance exported Model - Utterance that was used to train the model.

type LabelExampleResponse

type LabelExampleResponse struct {
	autorest.Response `json:"-"`
	// UtteranceText - The example utterance.
	UtteranceText *string `json:"UtteranceText,omitempty"`
	// ExampleID - The newly created sample ID.
	ExampleID *int32 `json:"ExampleId,omitempty"`
}

LabelExampleResponse response when adding a labeled example utterance.

type LabelTextObject

type LabelTextObject struct {
	// ID - The ID of the Label.
	ID *int32 `json:"id,omitempty"`
	// Text - The text of the label.
	Text *string `json:"text,omitempty"`
}

LabelTextObject an object containing the example utterance's text.

type LabeledUtterance

type LabeledUtterance struct {
	// ID - ID of Labeled Utterance.
	ID *int32 `json:"id,omitempty"`
	// Text - The utterance. For example, "What's the weather like in seattle?"
	Text *string `json:"text,omitempty"`
	// TokenizedText - The utterance tokenized.
	TokenizedText *[]string `json:"tokenizedText,omitempty"`
	// IntentLabel - The intent matching the example.
	IntentLabel *string `json:"intentLabel,omitempty"`
	// EntityLabels - The entities matching the example.
	EntityLabels *[]EntityLabel `json:"entityLabels,omitempty"`
	// IntentPredictions - List of suggested intents.
	IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"`
	// EntityPredictions - List of suggested entities.
	EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"`
}

LabeledUtterance a prediction and label pair of an example.

type ListAppVersionSettingObject

type ListAppVersionSettingObject struct {
	autorest.Response `json:"-"`
	Value             *[]AppVersionSettingObject `json:"value,omitempty"`
}

ListAppVersionSettingObject ...

type ListApplicationInfoResponse

type ListApplicationInfoResponse struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationInfoResponse `json:"value,omitempty"`
}

ListApplicationInfoResponse ...

type ListAvailableCulture

type ListAvailableCulture struct {
	autorest.Response `json:"-"`
	Value             *[]AvailableCulture `json:"value,omitempty"`
}

ListAvailableCulture ...

type ListAvailablePrebuiltEntityModel

type ListAvailablePrebuiltEntityModel struct {
	autorest.Response `json:"-"`
	Value             *[]AvailablePrebuiltEntityModel `json:"value,omitempty"`
}

ListAvailablePrebuiltEntityModel ...

type ListAzureAccountInfoObject

type ListAzureAccountInfoObject struct {
	autorest.Response `json:"-"`
	Value             *[]AzureAccountInfoObject `json:"value,omitempty"`
}

ListAzureAccountInfoObject ...

type ListBatchLabelExample

type ListBatchLabelExample struct {
	autorest.Response `json:"-"`
	Value             *[]BatchLabelExample `json:"value,omitempty"`
}

ListBatchLabelExample ...

type ListClosedListEntityExtractor

type ListClosedListEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]ClosedListEntityExtractor `json:"value,omitempty"`
}

ListClosedListEntityExtractor ...

type ListCompositeEntityExtractor

type ListCompositeEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]CompositeEntityExtractor `json:"value,omitempty"`
}

ListCompositeEntityExtractor ...

type ListCustomPrebuiltModel

type ListCustomPrebuiltModel struct {
	autorest.Response `json:"-"`
	Value             *[]CustomPrebuiltModel `json:"value,omitempty"`
}

ListCustomPrebuiltModel ...

type ListEntitiesSuggestionExample

type ListEntitiesSuggestionExample struct {
	autorest.Response `json:"-"`
	Value             *[]EntitiesSuggestionExample `json:"value,omitempty"`
}

ListEntitiesSuggestionExample ...

type ListEntityExtractor

type ListEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]EntityExtractor `json:"value,omitempty"`
}

ListEntityExtractor ...

type ListEntityRole

type ListEntityRole struct {
	autorest.Response `json:"-"`
	Value             *[]EntityRole `json:"value,omitempty"`
}

ListEntityRole ...

type ListExplicitListItem

type ListExplicitListItem struct {
	autorest.Response `json:"-"`
	Value             *[]ExplicitListItem `json:"value,omitempty"`
}

ListExplicitListItem ...

type ListHierarchicalEntityExtractor

type ListHierarchicalEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]HierarchicalEntityExtractor `json:"value,omitempty"`
}

ListHierarchicalEntityExtractor ...

type ListIntentClassifier

type ListIntentClassifier struct {
	autorest.Response `json:"-"`
	Value             *[]IntentClassifier `json:"value,omitempty"`
}

ListIntentClassifier ...

type ListIntentsSuggestionExample

type ListIntentsSuggestionExample struct {
	autorest.Response `json:"-"`
	Value             *[]IntentsSuggestionExample `json:"value,omitempty"`
}

ListIntentsSuggestionExample ...

type ListLabelTextObject

type ListLabelTextObject struct {
	autorest.Response `json:"-"`
	Value             *[]LabelTextObject `json:"value,omitempty"`
}

ListLabelTextObject ...

type ListLabeledUtterance

type ListLabeledUtterance struct {
	autorest.Response `json:"-"`
	Value             *[]LabeledUtterance `json:"value,omitempty"`
}

ListLabeledUtterance ...

type ListModelInfoResponse

type ListModelInfoResponse struct {
	autorest.Response `json:"-"`
	Value             *[]ModelInfoResponse `json:"value,omitempty"`
}

ListModelInfoResponse ...

type ListModelTrainingInfo

type ListModelTrainingInfo struct {
	autorest.Response `json:"-"`
	Value             *[]ModelTrainingInfo `json:"value,omitempty"`
}

ListModelTrainingInfo ...

type ListPatternAnyEntityExtractor

type ListPatternAnyEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]PatternAnyEntityExtractor `json:"value,omitempty"`
}

ListPatternAnyEntityExtractor ...

type ListPatternFeatureInfo

type ListPatternFeatureInfo struct {
	autorest.Response `json:"-"`
	Value             *[]PatternFeatureInfo `json:"value,omitempty"`
}

ListPatternFeatureInfo ...

type ListPatternRuleInfo

type ListPatternRuleInfo struct {
	autorest.Response `json:"-"`
	Value             *[]PatternRuleInfo `json:"value,omitempty"`
}

ListPatternRuleInfo ...

type ListPhraseListFeatureInfo

type ListPhraseListFeatureInfo struct {
	autorest.Response `json:"-"`
	Value             *[]PhraseListFeatureInfo `json:"value,omitempty"`
}

ListPhraseListFeatureInfo ...

type ListPrebuiltDomain

type ListPrebuiltDomain struct {
	autorest.Response `json:"-"`
	Value             *[]PrebuiltDomain `json:"value,omitempty"`
}

ListPrebuiltDomain ...

type ListPrebuiltEntityExtractor

type ListPrebuiltEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]PrebuiltEntityExtractor `json:"value,omitempty"`
}

ListPrebuiltEntityExtractor ...

type ListRegexEntityExtractor

type ListRegexEntityExtractor struct {
	autorest.Response `json:"-"`
	Value             *[]RegexEntityExtractor `json:"value,omitempty"`
}

ListRegexEntityExtractor ...

type ListString

type ListString struct {
	autorest.Response `json:"-"`
	Value             *[]string `json:"value,omitempty"`
}

ListString ...

type ListUUID

type ListUUID struct {
	autorest.Response `json:"-"`
	Value             *[]uuid.UUID `json:"value,omitempty"`
}

ListUUID ...

type ListVersionInfo

type ListVersionInfo struct {
	autorest.Response `json:"-"`
	Value             *[]VersionInfo `json:"value,omitempty"`
}

ListVersionInfo ...

type LuisApp

type LuisApp struct {
	autorest.Response `json:"-"`
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Name - The name of the application.
	Name *string `json:"name,omitempty"`
	// VersionID - The version ID of the application that was exported.
	VersionID *string `json:"versionId,omitempty"`
	// Desc - The description of the application.
	Desc *string `json:"desc,omitempty"`
	// Culture - The culture of the application. E.g.: en-us.
	Culture *string `json:"culture,omitempty"`
	// Intents - List of intents.
	Intents *[]HierarchicalModel `json:"intents,omitempty"`
	// Entities - List of entities.
	Entities *[]HierarchicalModel `json:"entities,omitempty"`
	// ClosedLists - List of list entities.
	ClosedLists *[]ClosedList `json:"closedLists,omitempty"`
	// Composites - List of composite entities.
	Composites *[]HierarchicalModel `json:"composites,omitempty"`
	// PatternAnyEntities - List of Pattern.Any entities.
	PatternAnyEntities *[]PatternAny `json:"patternAnyEntities,omitempty"`
	// RegexEntities - List of regular expression entities.
	RegexEntities *[]RegexEntity `json:"regex_entities,omitempty"`
	// PrebuiltEntities - List of prebuilt entities.
	PrebuiltEntities *[]PrebuiltEntity `json:"prebuiltEntities,omitempty"`
	// RegexFeatures - List of pattern features.
	RegexFeatures *[]JSONRegexFeature `json:"regex_features,omitempty"`
	// ModelFeatures - List of model features.
	ModelFeatures *[]JSONModelFeature `json:"model_features,omitempty"`
	// Patterns - List of patterns.
	Patterns *[]PatternRule `json:"patterns,omitempty"`
	// Utterances - List of example utterances.
	Utterances *[]JSONUtterance `json:"utterances,omitempty"`
}

LuisApp exported Model - An exported LUIS Application.

func (LuisApp) MarshalJSON

func (la LuisApp) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LuisApp.

func (*LuisApp) UnmarshalJSON

func (la *LuisApp) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LuisApp struct.

type ModelClient

type ModelClient struct {
	BaseClient
}

ModelClient is the client for the Model methods of the Authoring service.

func NewModelClient

func NewModelClient(endpoint string) ModelClient

NewModelClient creates an instance of the ModelClient client.

func (ModelClient) AddClosedList

func (client ModelClient) AddClosedList(ctx context.Context, appID uuid.UUID, versionID string, closedListModelCreateObject ClosedListModelCreateObject) (result UUID, err error)

AddClosedList adds a list entity model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. closedListModelCreateObject - a model containing the name and words for the new list entity extractor.

func (ModelClient) AddClosedListPreparer

func (client ModelClient) AddClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, closedListModelCreateObject ClosedListModelCreateObject) (*http.Request, error)

AddClosedListPreparer prepares the AddClosedList request.

func (ModelClient) AddClosedListResponder

func (client ModelClient) AddClosedListResponder(resp *http.Response) (result UUID, err error)

AddClosedListResponder handles the response to the AddClosedList request. The method always closes the http.Response Body.

func (ModelClient) AddClosedListSender

func (client ModelClient) AddClosedListSender(req *http.Request) (*http.Response, error)

AddClosedListSender sends the AddClosedList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddCompositeEntity

func (client ModelClient) AddCompositeEntity(ctx context.Context, appID uuid.UUID, versionID string, compositeModelCreateObject CompositeEntityModel) (result UUID, err error)

AddCompositeEntity adds a composite entity extractor to a version of the application. Parameters: appID - the application ID. versionID - the version ID. compositeModelCreateObject - a model containing the name and children of the new entity extractor.

func (ModelClient) AddCompositeEntityChild

func (client ModelClient) AddCompositeEntityChild(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, compositeChildModelCreateObject CompositeChildModelCreateObject) (result UUID, err error)

AddCompositeEntityChild creates a single child in an existing composite entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. compositeChildModelCreateObject - a model object containing the name of the new composite child model.

func (ModelClient) AddCompositeEntityChildPreparer

func (client ModelClient) AddCompositeEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, compositeChildModelCreateObject CompositeChildModelCreateObject) (*http.Request, error)

AddCompositeEntityChildPreparer prepares the AddCompositeEntityChild request.

func (ModelClient) AddCompositeEntityChildResponder

func (client ModelClient) AddCompositeEntityChildResponder(resp *http.Response) (result UUID, err error)

AddCompositeEntityChildResponder handles the response to the AddCompositeEntityChild request. The method always closes the http.Response Body.

func (ModelClient) AddCompositeEntityChildSender

func (client ModelClient) AddCompositeEntityChildSender(req *http.Request) (*http.Response, error)

AddCompositeEntityChildSender sends the AddCompositeEntityChild request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddCompositeEntityPreparer

func (client ModelClient) AddCompositeEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, compositeModelCreateObject CompositeEntityModel) (*http.Request, error)

AddCompositeEntityPreparer prepares the AddCompositeEntity request.

func (ModelClient) AddCompositeEntityResponder

func (client ModelClient) AddCompositeEntityResponder(resp *http.Response) (result UUID, err error)

AddCompositeEntityResponder handles the response to the AddCompositeEntity request. The method always closes the http.Response Body.

func (ModelClient) AddCompositeEntitySender

func (client ModelClient) AddCompositeEntitySender(req *http.Request) (*http.Response, error)

AddCompositeEntitySender sends the AddCompositeEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddCustomPrebuiltDomain

func (client ModelClient) AddCustomPrebuiltDomain(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainObject PrebuiltDomainCreateBaseObject) (result ListUUID, err error)

AddCustomPrebuiltDomain adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainObject - a prebuilt domain create object containing the name of the domain.

func (ModelClient) AddCustomPrebuiltDomainPreparer

func (client ModelClient) AddCustomPrebuiltDomainPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainObject PrebuiltDomainCreateBaseObject) (*http.Request, error)

AddCustomPrebuiltDomainPreparer prepares the AddCustomPrebuiltDomain request.

func (ModelClient) AddCustomPrebuiltDomainResponder

func (client ModelClient) AddCustomPrebuiltDomainResponder(resp *http.Response) (result ListUUID, err error)

AddCustomPrebuiltDomainResponder handles the response to the AddCustomPrebuiltDomain request. The method always closes the http.Response Body.

func (ModelClient) AddCustomPrebuiltDomainSender

func (client ModelClient) AddCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error)

AddCustomPrebuiltDomainSender sends the AddCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddCustomPrebuiltEntity

func (client ModelClient) AddCustomPrebuiltEntity(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (result UUID, err error)

AddCustomPrebuiltEntity adds a prebuilt entity model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.

func (ModelClient) AddCustomPrebuiltEntityPreparer

func (client ModelClient) AddCustomPrebuiltEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (*http.Request, error)

AddCustomPrebuiltEntityPreparer prepares the AddCustomPrebuiltEntity request.

func (ModelClient) AddCustomPrebuiltEntityResponder

func (client ModelClient) AddCustomPrebuiltEntityResponder(resp *http.Response) (result UUID, err error)

AddCustomPrebuiltEntityResponder handles the response to the AddCustomPrebuiltEntity request. The method always closes the http.Response Body.

func (ModelClient) AddCustomPrebuiltEntitySender

func (client ModelClient) AddCustomPrebuiltEntitySender(req *http.Request) (*http.Response, error)

AddCustomPrebuiltEntitySender sends the AddCustomPrebuiltEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddCustomPrebuiltIntent

func (client ModelClient) AddCustomPrebuiltIntent(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (result UUID, err error)

AddCustomPrebuiltIntent adds a customizable prebuilt intent model to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.

func (ModelClient) AddCustomPrebuiltIntentPreparer

func (client ModelClient) AddCustomPrebuiltIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltDomainModelCreateObject PrebuiltDomainModelCreateObject) (*http.Request, error)

AddCustomPrebuiltIntentPreparer prepares the AddCustomPrebuiltIntent request.

func (ModelClient) AddCustomPrebuiltIntentResponder

func (client ModelClient) AddCustomPrebuiltIntentResponder(resp *http.Response) (result UUID, err error)

AddCustomPrebuiltIntentResponder handles the response to the AddCustomPrebuiltIntent request. The method always closes the http.Response Body.

func (ModelClient) AddCustomPrebuiltIntentSender

func (client ModelClient) AddCustomPrebuiltIntentSender(req *http.Request) (*http.Response, error)

AddCustomPrebuiltIntentSender sends the AddCustomPrebuiltIntent request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddEntity

func (client ModelClient) AddEntity(ctx context.Context, appID uuid.UUID, versionID string, modelCreateObject ModelCreateObject) (result UUID, err error)

AddEntity adds a simple entity extractor to a version of the application. Parameters: appID - the application ID. versionID - the version ID. modelCreateObject - a model object containing the name for the new simple entity extractor.

func (ModelClient) AddEntityPreparer

func (client ModelClient) AddEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, modelCreateObject ModelCreateObject) (*http.Request, error)

AddEntityPreparer prepares the AddEntity request.

func (ModelClient) AddEntityResponder

func (client ModelClient) AddEntityResponder(resp *http.Response) (result UUID, err error)

AddEntityResponder handles the response to the AddEntity request. The method always closes the http.Response Body.

func (ModelClient) AddEntitySender

func (client ModelClient) AddEntitySender(req *http.Request) (*http.Response, error)

AddEntitySender sends the AddEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddExplicitListItem

func (client ModelClient) AddExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, item ExplicitListItemCreateObject) (result Int32, err error)

AddExplicitListItem sends the add explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity extractor ID. item - the new explicit list item.

func (ModelClient) AddExplicitListItemPreparer

func (client ModelClient) AddExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, item ExplicitListItemCreateObject) (*http.Request, error)

AddExplicitListItemPreparer prepares the AddExplicitListItem request.

func (ModelClient) AddExplicitListItemResponder

func (client ModelClient) AddExplicitListItemResponder(resp *http.Response) (result Int32, err error)

AddExplicitListItemResponder handles the response to the AddExplicitListItem request. The method always closes the http.Response Body.

func (ModelClient) AddExplicitListItemSender

func (client ModelClient) AddExplicitListItemSender(req *http.Request) (*http.Response, error)

AddExplicitListItemSender sends the AddExplicitListItem request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddHierarchicalEntity

func (client ModelClient) AddHierarchicalEntity(ctx context.Context, appID uuid.UUID, versionID string, hierarchicalModelCreateObject HierarchicalEntityModel) (result UUID, err error)

AddHierarchicalEntity adds a hierarchical entity extractor to a version of the application. Parameters: appID - the application ID. versionID - the version ID. hierarchicalModelCreateObject - a model containing the name and children of the new entity extractor.

func (ModelClient) AddHierarchicalEntityChild

func (client ModelClient) AddHierarchicalEntityChild(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hierarchicalChildModelCreateObject HierarchicalChildModelCreateObject) (result UUID, err error)

AddHierarchicalEntityChild creates a single child in an existing hierarchical entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hierarchicalChildModelCreateObject - a model object containing the name of the new hierarchical child model.

func (ModelClient) AddHierarchicalEntityChildPreparer

func (client ModelClient) AddHierarchicalEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hierarchicalChildModelCreateObject HierarchicalChildModelCreateObject) (*http.Request, error)

AddHierarchicalEntityChildPreparer prepares the AddHierarchicalEntityChild request.

func (ModelClient) AddHierarchicalEntityChildResponder

func (client ModelClient) AddHierarchicalEntityChildResponder(resp *http.Response) (result UUID, err error)

AddHierarchicalEntityChildResponder handles the response to the AddHierarchicalEntityChild request. The method always closes the http.Response Body.

func (ModelClient) AddHierarchicalEntityChildSender

func (client ModelClient) AddHierarchicalEntityChildSender(req *http.Request) (*http.Response, error)

AddHierarchicalEntityChildSender sends the AddHierarchicalEntityChild request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddHierarchicalEntityPreparer

func (client ModelClient) AddHierarchicalEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, hierarchicalModelCreateObject HierarchicalEntityModel) (*http.Request, error)

AddHierarchicalEntityPreparer prepares the AddHierarchicalEntity request.

func (ModelClient) AddHierarchicalEntityResponder

func (client ModelClient) AddHierarchicalEntityResponder(resp *http.Response) (result UUID, err error)

AddHierarchicalEntityResponder handles the response to the AddHierarchicalEntity request. The method always closes the http.Response Body.

func (ModelClient) AddHierarchicalEntitySender

func (client ModelClient) AddHierarchicalEntitySender(req *http.Request) (*http.Response, error)

AddHierarchicalEntitySender sends the AddHierarchicalEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddIntent

func (client ModelClient) AddIntent(ctx context.Context, appID uuid.UUID, versionID string, intentCreateObject ModelCreateObject) (result UUID, err error)

AddIntent adds an intent to a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentCreateObject - a model object containing the name of the new intent.

func (ModelClient) AddIntentPreparer

func (client ModelClient) AddIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentCreateObject ModelCreateObject) (*http.Request, error)

AddIntentPreparer prepares the AddIntent request.

func (ModelClient) AddIntentResponder

func (client ModelClient) AddIntentResponder(resp *http.Response) (result UUID, err error)

AddIntentResponder handles the response to the AddIntent request. The method always closes the http.Response Body.

func (ModelClient) AddIntentSender

func (client ModelClient) AddIntentSender(req *http.Request) (*http.Response, error)

AddIntentSender sends the AddIntent request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddPrebuilt

func (client ModelClient) AddPrebuilt(ctx context.Context, appID uuid.UUID, versionID string, prebuiltExtractorNames []string) (result ListPrebuiltEntityExtractor, err error)

AddPrebuilt adds a list of prebuilt entities to a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltExtractorNames - an array of prebuilt entity extractor names.

func (ModelClient) AddPrebuiltPreparer

func (client ModelClient) AddPrebuiltPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltExtractorNames []string) (*http.Request, error)

AddPrebuiltPreparer prepares the AddPrebuilt request.

func (ModelClient) AddPrebuiltResponder

func (client ModelClient) AddPrebuiltResponder(resp *http.Response) (result ListPrebuiltEntityExtractor, err error)

AddPrebuiltResponder handles the response to the AddPrebuilt request. The method always closes the http.Response Body.

func (ModelClient) AddPrebuiltSender

func (client ModelClient) AddPrebuiltSender(req *http.Request) (*http.Response, error)

AddPrebuiltSender sends the AddPrebuilt request. The method will close the http.Response Body if it receives an error.

func (ModelClient) AddSubList

func (client ModelClient) AddSubList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, wordListCreateObject WordListObject) (result Int64, err error)

AddSubList adds a sublist to an existing list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity extractor ID. wordListCreateObject - words list.

func (ModelClient) AddSubListPreparer

func (client ModelClient) AddSubListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, wordListCreateObject WordListObject) (*http.Request, error)

AddSubListPreparer prepares the AddSubList request.

func (ModelClient) AddSubListResponder

func (client ModelClient) AddSubListResponder(resp *http.Response) (result Int64, err error)

AddSubListResponder handles the response to the AddSubList request. The method always closes the http.Response Body.

func (ModelClient) AddSubListSender

func (client ModelClient) AddSubListSender(req *http.Request) (*http.Response, error)

AddSubListSender sends the AddSubList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateClosedListEntityRole

func (client ModelClient) CreateClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateClosedListEntityRole sends the create closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateClosedListEntityRolePreparer

func (client ModelClient) CreateClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateClosedListEntityRolePreparer prepares the CreateClosedListEntityRole request.

func (ModelClient) CreateClosedListEntityRoleResponder

func (client ModelClient) CreateClosedListEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateClosedListEntityRoleResponder handles the response to the CreateClosedListEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateClosedListEntityRoleSender

func (client ModelClient) CreateClosedListEntityRoleSender(req *http.Request) (*http.Response, error)

CreateClosedListEntityRoleSender sends the CreateClosedListEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateCompositeEntityRole

func (client ModelClient) CreateCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateCompositeEntityRole sends the create composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateCompositeEntityRolePreparer

func (client ModelClient) CreateCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateCompositeEntityRolePreparer prepares the CreateCompositeEntityRole request.

func (ModelClient) CreateCompositeEntityRoleResponder

func (client ModelClient) CreateCompositeEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateCompositeEntityRoleResponder handles the response to the CreateCompositeEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateCompositeEntityRoleSender

func (client ModelClient) CreateCompositeEntityRoleSender(req *http.Request) (*http.Response, error)

CreateCompositeEntityRoleSender sends the CreateCompositeEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateCustomPrebuiltEntityRole

func (client ModelClient) CreateCustomPrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateCustomPrebuiltEntityRole sends the create custom prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateCustomPrebuiltEntityRolePreparer

func (client ModelClient) CreateCustomPrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateCustomPrebuiltEntityRolePreparer prepares the CreateCustomPrebuiltEntityRole request.

func (ModelClient) CreateCustomPrebuiltEntityRoleResponder

func (client ModelClient) CreateCustomPrebuiltEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateCustomPrebuiltEntityRoleResponder handles the response to the CreateCustomPrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateCustomPrebuiltEntityRoleSender

func (client ModelClient) CreateCustomPrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)

CreateCustomPrebuiltEntityRoleSender sends the CreateCustomPrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateEntityRole

func (client ModelClient) CreateEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateEntityRole sends the create entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateEntityRolePreparer

func (client ModelClient) CreateEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateEntityRolePreparer prepares the CreateEntityRole request.

func (ModelClient) CreateEntityRoleResponder

func (client ModelClient) CreateEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateEntityRoleResponder handles the response to the CreateEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateEntityRoleSender

func (client ModelClient) CreateEntityRoleSender(req *http.Request) (*http.Response, error)

CreateEntityRoleSender sends the CreateEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateHierarchicalEntityRole

func (client ModelClient) CreateHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateHierarchicalEntityRole sends the create hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateHierarchicalEntityRolePreparer

func (client ModelClient) CreateHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateHierarchicalEntityRolePreparer prepares the CreateHierarchicalEntityRole request.

func (ModelClient) CreateHierarchicalEntityRoleResponder

func (client ModelClient) CreateHierarchicalEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateHierarchicalEntityRoleResponder handles the response to the CreateHierarchicalEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateHierarchicalEntityRoleSender

func (client ModelClient) CreateHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error)

CreateHierarchicalEntityRoleSender sends the CreateHierarchicalEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreatePatternAnyEntityModel

func (client ModelClient) CreatePatternAnyEntityModel(ctx context.Context, appID uuid.UUID, versionID string, extractorCreateObject PatternAnyModelCreateObject) (result UUID, err error)

CreatePatternAnyEntityModel sends the create pattern any entity model request. Parameters: appID - the application ID. versionID - the version ID. extractorCreateObject - a model object containing the name and explicit list for the new Pattern.Any entity extractor.

func (ModelClient) CreatePatternAnyEntityModelPreparer

func (client ModelClient) CreatePatternAnyEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, extractorCreateObject PatternAnyModelCreateObject) (*http.Request, error)

CreatePatternAnyEntityModelPreparer prepares the CreatePatternAnyEntityModel request.

func (ModelClient) CreatePatternAnyEntityModelResponder

func (client ModelClient) CreatePatternAnyEntityModelResponder(resp *http.Response) (result UUID, err error)

CreatePatternAnyEntityModelResponder handles the response to the CreatePatternAnyEntityModel request. The method always closes the http.Response Body.

func (ModelClient) CreatePatternAnyEntityModelSender

func (client ModelClient) CreatePatternAnyEntityModelSender(req *http.Request) (*http.Response, error)

CreatePatternAnyEntityModelSender sends the CreatePatternAnyEntityModel request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreatePatternAnyEntityRole

func (client ModelClient) CreatePatternAnyEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreatePatternAnyEntityRole sends the create pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreatePatternAnyEntityRolePreparer

func (client ModelClient) CreatePatternAnyEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreatePatternAnyEntityRolePreparer prepares the CreatePatternAnyEntityRole request.

func (ModelClient) CreatePatternAnyEntityRoleResponder

func (client ModelClient) CreatePatternAnyEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreatePatternAnyEntityRoleResponder handles the response to the CreatePatternAnyEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreatePatternAnyEntityRoleSender

func (client ModelClient) CreatePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error)

CreatePatternAnyEntityRoleSender sends the CreatePatternAnyEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreatePrebuiltEntityRole

func (client ModelClient) CreatePrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreatePrebuiltEntityRole sends the create prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreatePrebuiltEntityRolePreparer

func (client ModelClient) CreatePrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreatePrebuiltEntityRolePreparer prepares the CreatePrebuiltEntityRole request.

func (ModelClient) CreatePrebuiltEntityRoleResponder

func (client ModelClient) CreatePrebuiltEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreatePrebuiltEntityRoleResponder handles the response to the CreatePrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreatePrebuiltEntityRoleSender

func (client ModelClient) CreatePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)

CreatePrebuiltEntityRoleSender sends the CreatePrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateRegexEntityModel

func (client ModelClient) CreateRegexEntityModel(ctx context.Context, appID uuid.UUID, versionID string, regexEntityExtractorCreateObj RegexModelCreateObject) (result UUID, err error)

CreateRegexEntityModel sends the create regex entity model request. Parameters: appID - the application ID. versionID - the version ID. regexEntityExtractorCreateObj - a model object containing the name and regex pattern for the new regular expression entity extractor.

func (ModelClient) CreateRegexEntityModelPreparer

func (client ModelClient) CreateRegexEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, regexEntityExtractorCreateObj RegexModelCreateObject) (*http.Request, error)

CreateRegexEntityModelPreparer prepares the CreateRegexEntityModel request.

func (ModelClient) CreateRegexEntityModelResponder

func (client ModelClient) CreateRegexEntityModelResponder(resp *http.Response) (result UUID, err error)

CreateRegexEntityModelResponder handles the response to the CreateRegexEntityModel request. The method always closes the http.Response Body.

func (ModelClient) CreateRegexEntityModelSender

func (client ModelClient) CreateRegexEntityModelSender(req *http.Request) (*http.Response, error)

CreateRegexEntityModelSender sends the CreateRegexEntityModel request. The method will close the http.Response Body if it receives an error.

func (ModelClient) CreateRegexEntityRole

func (client ModelClient) CreateRegexEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (result UUID, err error)

CreateRegexEntityRole sends the create regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity model ID. entityRoleCreateObject - an entity role object containing the name of role.

func (ModelClient) CreateRegexEntityRolePreparer

func (client ModelClient) CreateRegexEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, entityRoleCreateObject EntityRoleCreateObject) (*http.Request, error)

CreateRegexEntityRolePreparer prepares the CreateRegexEntityRole request.

func (ModelClient) CreateRegexEntityRoleResponder

func (client ModelClient) CreateRegexEntityRoleResponder(resp *http.Response) (result UUID, err error)

CreateRegexEntityRoleResponder handles the response to the CreateRegexEntityRole request. The method always closes the http.Response Body.

func (ModelClient) CreateRegexEntityRoleSender

func (client ModelClient) CreateRegexEntityRoleSender(req *http.Request) (*http.Response, error)

CreateRegexEntityRoleSender sends the CreateRegexEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteClosedList

func (client ModelClient) DeleteClosedList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (result OperationStatus, err error)

DeleteClosedList deletes a list entity model from a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity model ID.

func (ModelClient) DeleteClosedListEntityRole

func (client ModelClient) DeleteClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteClosedListEntityRole sends the delete closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeleteClosedListEntityRolePreparer

func (client ModelClient) DeleteClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteClosedListEntityRolePreparer prepares the DeleteClosedListEntityRole request.

func (ModelClient) DeleteClosedListEntityRoleResponder

func (client ModelClient) DeleteClosedListEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteClosedListEntityRoleResponder handles the response to the DeleteClosedListEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteClosedListEntityRoleSender

func (client ModelClient) DeleteClosedListEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteClosedListEntityRoleSender sends the DeleteClosedListEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteClosedListPreparer

func (client ModelClient) DeleteClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (*http.Request, error)

DeleteClosedListPreparer prepares the DeleteClosedList request.

func (ModelClient) DeleteClosedListResponder

func (client ModelClient) DeleteClosedListResponder(resp *http.Response) (result OperationStatus, err error)

DeleteClosedListResponder handles the response to the DeleteClosedList request. The method always closes the http.Response Body.

func (ModelClient) DeleteClosedListSender

func (client ModelClient) DeleteClosedListSender(req *http.Request) (*http.Response, error)

DeleteClosedListSender sends the DeleteClosedList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteCompositeEntity

func (client ModelClient) DeleteCompositeEntity(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (result OperationStatus, err error)

DeleteCompositeEntity deletes a composite entity from a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.

func (ModelClient) DeleteCompositeEntityChild

func (client ModelClient) DeleteCompositeEntityChild(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, cChildID uuid.UUID) (result OperationStatus, err error)

DeleteCompositeEntityChild deletes a composite entity extractor child from a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. cChildID - the hierarchical entity extractor child ID.

func (ModelClient) DeleteCompositeEntityChildPreparer

func (client ModelClient) DeleteCompositeEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, cChildID uuid.UUID) (*http.Request, error)

DeleteCompositeEntityChildPreparer prepares the DeleteCompositeEntityChild request.

func (ModelClient) DeleteCompositeEntityChildResponder

func (client ModelClient) DeleteCompositeEntityChildResponder(resp *http.Response) (result OperationStatus, err error)

DeleteCompositeEntityChildResponder handles the response to the DeleteCompositeEntityChild request. The method always closes the http.Response Body.

func (ModelClient) DeleteCompositeEntityChildSender

func (client ModelClient) DeleteCompositeEntityChildSender(req *http.Request) (*http.Response, error)

DeleteCompositeEntityChildSender sends the DeleteCompositeEntityChild request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteCompositeEntityPreparer

func (client ModelClient) DeleteCompositeEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (*http.Request, error)

DeleteCompositeEntityPreparer prepares the DeleteCompositeEntity request.

func (ModelClient) DeleteCompositeEntityResponder

func (client ModelClient) DeleteCompositeEntityResponder(resp *http.Response) (result OperationStatus, err error)

DeleteCompositeEntityResponder handles the response to the DeleteCompositeEntity request. The method always closes the http.Response Body.

func (ModelClient) DeleteCompositeEntityRole

func (client ModelClient) DeleteCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteCompositeEntityRole sends the delete composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. roleID - the entity role Id.

func (ModelClient) DeleteCompositeEntityRolePreparer

func (client ModelClient) DeleteCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteCompositeEntityRolePreparer prepares the DeleteCompositeEntityRole request.

func (ModelClient) DeleteCompositeEntityRoleResponder

func (client ModelClient) DeleteCompositeEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteCompositeEntityRoleResponder handles the response to the DeleteCompositeEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteCompositeEntityRoleSender

func (client ModelClient) DeleteCompositeEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteCompositeEntityRoleSender sends the DeleteCompositeEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteCompositeEntitySender

func (client ModelClient) DeleteCompositeEntitySender(req *http.Request) (*http.Response, error)

DeleteCompositeEntitySender sends the DeleteCompositeEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteCustomEntityRole

func (client ModelClient) DeleteCustomEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteCustomEntityRole sends the delete custom entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeleteCustomEntityRolePreparer

func (client ModelClient) DeleteCustomEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteCustomEntityRolePreparer prepares the DeleteCustomEntityRole request.

func (ModelClient) DeleteCustomEntityRoleResponder

func (client ModelClient) DeleteCustomEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteCustomEntityRoleResponder handles the response to the DeleteCustomEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteCustomEntityRoleSender

func (client ModelClient) DeleteCustomEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteCustomEntityRoleSender sends the DeleteCustomEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteCustomPrebuiltDomain

func (client ModelClient) DeleteCustomPrebuiltDomain(ctx context.Context, appID uuid.UUID, versionID string, domainName string) (result OperationStatus, err error)

DeleteCustomPrebuiltDomain deletes a prebuilt domain's models in a version of the application. Parameters: appID - the application ID. versionID - the version ID. domainName - domain name.

func (ModelClient) DeleteCustomPrebuiltDomainPreparer

func (client ModelClient) DeleteCustomPrebuiltDomainPreparer(ctx context.Context, appID uuid.UUID, versionID string, domainName string) (*http.Request, error)

DeleteCustomPrebuiltDomainPreparer prepares the DeleteCustomPrebuiltDomain request.

func (ModelClient) DeleteCustomPrebuiltDomainResponder

func (client ModelClient) DeleteCustomPrebuiltDomainResponder(resp *http.Response) (result OperationStatus, err error)

DeleteCustomPrebuiltDomainResponder handles the response to the DeleteCustomPrebuiltDomain request. The method always closes the http.Response Body.

func (ModelClient) DeleteCustomPrebuiltDomainSender

func (client ModelClient) DeleteCustomPrebuiltDomainSender(req *http.Request) (*http.Response, error)

DeleteCustomPrebuiltDomainSender sends the DeleteCustomPrebuiltDomain request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteEntity

func (client ModelClient) DeleteEntity(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result OperationStatus, err error)

DeleteEntity deletes an entity from a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.

func (ModelClient) DeleteEntityPreparer

func (client ModelClient) DeleteEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)

DeleteEntityPreparer prepares the DeleteEntity request.

func (ModelClient) DeleteEntityResponder

func (client ModelClient) DeleteEntityResponder(resp *http.Response) (result OperationStatus, err error)

DeleteEntityResponder handles the response to the DeleteEntity request. The method always closes the http.Response Body.

func (ModelClient) DeleteEntityRole

func (client ModelClient) DeleteEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteEntityRole sends the delete entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeleteEntityRolePreparer

func (client ModelClient) DeleteEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteEntityRolePreparer prepares the DeleteEntityRole request.

func (ModelClient) DeleteEntityRoleResponder

func (client ModelClient) DeleteEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteEntityRoleResponder handles the response to the DeleteEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteEntityRoleSender

func (client ModelClient) DeleteEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteEntityRoleSender sends the DeleteEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteEntitySender

func (client ModelClient) DeleteEntitySender(req *http.Request) (*http.Response, error)

DeleteEntitySender sends the DeleteEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteExplicitListItem

func (client ModelClient) DeleteExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (result OperationStatus, err error)

DeleteExplicitListItem sends the delete explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the pattern.any entity id. itemID - the explicit list item which will be deleted.

func (ModelClient) DeleteExplicitListItemPreparer

func (client ModelClient) DeleteExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (*http.Request, error)

DeleteExplicitListItemPreparer prepares the DeleteExplicitListItem request.

func (ModelClient) DeleteExplicitListItemResponder

func (client ModelClient) DeleteExplicitListItemResponder(resp *http.Response) (result OperationStatus, err error)

DeleteExplicitListItemResponder handles the response to the DeleteExplicitListItem request. The method always closes the http.Response Body.

func (ModelClient) DeleteExplicitListItemSender

func (client ModelClient) DeleteExplicitListItemSender(req *http.Request) (*http.Response, error)

DeleteExplicitListItemSender sends the DeleteExplicitListItem request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteHierarchicalEntity

func (client ModelClient) DeleteHierarchicalEntity(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (result OperationStatus, err error)

DeleteHierarchicalEntity deletes a hierarchical entity from a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.

func (ModelClient) DeleteHierarchicalEntityChild

func (client ModelClient) DeleteHierarchicalEntityChild(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (result OperationStatus, err error)

DeleteHierarchicalEntityChild deletes a hierarchical entity extractor child in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hChildID - the hierarchical entity extractor child ID.

func (ModelClient) DeleteHierarchicalEntityChildPreparer

func (client ModelClient) DeleteHierarchicalEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (*http.Request, error)

DeleteHierarchicalEntityChildPreparer prepares the DeleteHierarchicalEntityChild request.

func (ModelClient) DeleteHierarchicalEntityChildResponder

func (client ModelClient) DeleteHierarchicalEntityChildResponder(resp *http.Response) (result OperationStatus, err error)

DeleteHierarchicalEntityChildResponder handles the response to the DeleteHierarchicalEntityChild request. The method always closes the http.Response Body.

func (ModelClient) DeleteHierarchicalEntityChildSender

func (client ModelClient) DeleteHierarchicalEntityChildSender(req *http.Request) (*http.Response, error)

DeleteHierarchicalEntityChildSender sends the DeleteHierarchicalEntityChild request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteHierarchicalEntityPreparer

func (client ModelClient) DeleteHierarchicalEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (*http.Request, error)

DeleteHierarchicalEntityPreparer prepares the DeleteHierarchicalEntity request.

func (ModelClient) DeleteHierarchicalEntityResponder

func (client ModelClient) DeleteHierarchicalEntityResponder(resp *http.Response) (result OperationStatus, err error)

DeleteHierarchicalEntityResponder handles the response to the DeleteHierarchicalEntity request. The method always closes the http.Response Body.

func (ModelClient) DeleteHierarchicalEntityRole

func (client ModelClient) DeleteHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteHierarchicalEntityRole sends the delete hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. roleID - the entity role Id.

func (ModelClient) DeleteHierarchicalEntityRolePreparer

func (client ModelClient) DeleteHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteHierarchicalEntityRolePreparer prepares the DeleteHierarchicalEntityRole request.

func (ModelClient) DeleteHierarchicalEntityRoleResponder

func (client ModelClient) DeleteHierarchicalEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteHierarchicalEntityRoleResponder handles the response to the DeleteHierarchicalEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteHierarchicalEntityRoleSender

func (client ModelClient) DeleteHierarchicalEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteHierarchicalEntityRoleSender sends the DeleteHierarchicalEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteHierarchicalEntitySender

func (client ModelClient) DeleteHierarchicalEntitySender(req *http.Request) (*http.Response, error)

DeleteHierarchicalEntitySender sends the DeleteHierarchicalEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteIntent

func (client ModelClient) DeleteIntent(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, deleteUtterances *bool) (result OperationStatus, err error)

DeleteIntent deletes an intent from a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. deleteUtterances - if true, deletes the intent's example utterances. If false, moves the example utterances to the None intent. The default value is false.

func (ModelClient) DeleteIntentPreparer

func (client ModelClient) DeleteIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, deleteUtterances *bool) (*http.Request, error)

DeleteIntentPreparer prepares the DeleteIntent request.

func (ModelClient) DeleteIntentResponder

func (client ModelClient) DeleteIntentResponder(resp *http.Response) (result OperationStatus, err error)

DeleteIntentResponder handles the response to the DeleteIntent request. The method always closes the http.Response Body.

func (ModelClient) DeleteIntentSender

func (client ModelClient) DeleteIntentSender(req *http.Request) (*http.Response, error)

DeleteIntentSender sends the DeleteIntent request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeletePatternAnyEntityModel

func (client ModelClient) DeletePatternAnyEntityModel(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result OperationStatus, err error)

DeletePatternAnyEntityModel sends the delete pattern any entity model request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity extractor ID.

func (ModelClient) DeletePatternAnyEntityModelPreparer

func (client ModelClient) DeletePatternAnyEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)

DeletePatternAnyEntityModelPreparer prepares the DeletePatternAnyEntityModel request.

func (ModelClient) DeletePatternAnyEntityModelResponder

func (client ModelClient) DeletePatternAnyEntityModelResponder(resp *http.Response) (result OperationStatus, err error)

DeletePatternAnyEntityModelResponder handles the response to the DeletePatternAnyEntityModel request. The method always closes the http.Response Body.

func (ModelClient) DeletePatternAnyEntityModelSender

func (client ModelClient) DeletePatternAnyEntityModelSender(req *http.Request) (*http.Response, error)

DeletePatternAnyEntityModelSender sends the DeletePatternAnyEntityModel request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeletePatternAnyEntityRole

func (client ModelClient) DeletePatternAnyEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeletePatternAnyEntityRole sends the delete pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeletePatternAnyEntityRolePreparer

func (client ModelClient) DeletePatternAnyEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeletePatternAnyEntityRolePreparer prepares the DeletePatternAnyEntityRole request.

func (ModelClient) DeletePatternAnyEntityRoleResponder

func (client ModelClient) DeletePatternAnyEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeletePatternAnyEntityRoleResponder handles the response to the DeletePatternAnyEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeletePatternAnyEntityRoleSender

func (client ModelClient) DeletePatternAnyEntityRoleSender(req *http.Request) (*http.Response, error)

DeletePatternAnyEntityRoleSender sends the DeletePatternAnyEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeletePrebuilt

func (client ModelClient) DeletePrebuilt(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (result OperationStatus, err error)

DeletePrebuilt deletes a prebuilt entity extractor from a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltID - the prebuilt entity extractor ID.

func (ModelClient) DeletePrebuiltEntityRole

func (client ModelClient) DeletePrebuiltEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeletePrebuiltEntityRole sends the delete prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeletePrebuiltEntityRolePreparer

func (client ModelClient) DeletePrebuiltEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeletePrebuiltEntityRolePreparer prepares the DeletePrebuiltEntityRole request.

func (ModelClient) DeletePrebuiltEntityRoleResponder

func (client ModelClient) DeletePrebuiltEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeletePrebuiltEntityRoleResponder handles the response to the DeletePrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeletePrebuiltEntityRoleSender

func (client ModelClient) DeletePrebuiltEntityRoleSender(req *http.Request) (*http.Response, error)

DeletePrebuiltEntityRoleSender sends the DeletePrebuiltEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeletePrebuiltPreparer

func (client ModelClient) DeletePrebuiltPreparer(ctx context.Context, appID uuid.UUID, versionID string, prebuiltID uuid.UUID) (*http.Request, error)

DeletePrebuiltPreparer prepares the DeletePrebuilt request.

func (ModelClient) DeletePrebuiltResponder

func (client ModelClient) DeletePrebuiltResponder(resp *http.Response) (result OperationStatus, err error)

DeletePrebuiltResponder handles the response to the DeletePrebuilt request. The method always closes the http.Response Body.

func (ModelClient) DeletePrebuiltSender

func (client ModelClient) DeletePrebuiltSender(req *http.Request) (*http.Response, error)

DeletePrebuiltSender sends the DeletePrebuilt request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteRegexEntityModel

func (client ModelClient) DeleteRegexEntityModel(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (result OperationStatus, err error)

DeleteRegexEntityModel sends the delete regex entity model request. Parameters: appID - the application ID. versionID - the version ID. regexEntityID - the regular expression entity extractor ID.

func (ModelClient) DeleteRegexEntityModelPreparer

func (client ModelClient) DeleteRegexEntityModelPreparer(ctx context.Context, appID uuid.UUID, versionID string, regexEntityID uuid.UUID) (*http.Request, error)

DeleteRegexEntityModelPreparer prepares the DeleteRegexEntityModel request.

func (ModelClient) DeleteRegexEntityModelResponder

func (client ModelClient) DeleteRegexEntityModelResponder(resp *http.Response) (result OperationStatus, err error)

DeleteRegexEntityModelResponder handles the response to the DeleteRegexEntityModel request. The method always closes the http.Response Body.

func (ModelClient) DeleteRegexEntityModelSender

func (client ModelClient) DeleteRegexEntityModelSender(req *http.Request) (*http.Response, error)

DeleteRegexEntityModelSender sends the DeleteRegexEntityModel request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteRegexEntityRole

func (client ModelClient) DeleteRegexEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result OperationStatus, err error)

DeleteRegexEntityRole sends the delete regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role Id.

func (ModelClient) DeleteRegexEntityRolePreparer

func (client ModelClient) DeleteRegexEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

DeleteRegexEntityRolePreparer prepares the DeleteRegexEntityRole request.

func (ModelClient) DeleteRegexEntityRoleResponder

func (client ModelClient) DeleteRegexEntityRoleResponder(resp *http.Response) (result OperationStatus, err error)

DeleteRegexEntityRoleResponder handles the response to the DeleteRegexEntityRole request. The method always closes the http.Response Body.

func (ModelClient) DeleteRegexEntityRoleSender

func (client ModelClient) DeleteRegexEntityRoleSender(req *http.Request) (*http.Response, error)

DeleteRegexEntityRoleSender sends the DeleteRegexEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) DeleteSubList

func (client ModelClient) DeleteSubList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, subListID int64) (result OperationStatus, err error)

DeleteSubList deletes a sublist of a specific list entity model from a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity extractor ID. subListID - the sublist ID.

func (ModelClient) DeleteSubListPreparer

func (client ModelClient) DeleteSubListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID, subListID int64) (*http.Request, error)

DeleteSubListPreparer prepares the DeleteSubList request.

func (ModelClient) DeleteSubListResponder

func (client ModelClient) DeleteSubListResponder(resp *http.Response) (result OperationStatus, err error)

DeleteSubListResponder handles the response to the DeleteSubList request. The method always closes the http.Response Body.

func (ModelClient) DeleteSubListSender

func (client ModelClient) DeleteSubListSender(req *http.Request) (*http.Response, error)

DeleteSubListSender sends the DeleteSubList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) ExamplesMethod

func (client ModelClient) ExamplesMethod(ctx context.Context, appID uuid.UUID, versionID string, modelID string, skip *int32, take *int32) (result ListLabelTextObject, err error)

ExamplesMethod gets the example utterances for the given intent or entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. modelID - the ID (GUID) of the model. skip - the number of entries to skip. Default value is 0. take - the number of entries to return. Maximum page size is 500. Default is 100.

func (ModelClient) ExamplesMethodPreparer

func (client ModelClient) ExamplesMethodPreparer(ctx context.Context, appID uuid.UUID, versionID string, modelID string, skip *int32, take *int32) (*http.Request, error)

ExamplesMethodPreparer prepares the ExamplesMethod request.

func (ModelClient) ExamplesMethodResponder

func (client ModelClient) ExamplesMethodResponder(resp *http.Response) (result ListLabelTextObject, err error)

ExamplesMethodResponder handles the response to the ExamplesMethod request. The method always closes the http.Response Body.

func (ModelClient) ExamplesMethodSender

func (client ModelClient) ExamplesMethodSender(req *http.Request) (*http.Response, error)

ExamplesMethodSender sends the ExamplesMethod request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetClosedList

func (client ModelClient) GetClosedList(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (result ClosedListEntityExtractor, err error)

GetClosedList gets information about a list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list model ID.

func (ModelClient) GetClosedListEntityRole

func (client ModelClient) GetClosedListEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)

GetClosedListEntityRole sends the get closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.

func (ModelClient) GetClosedListEntityRolePreparer

func (client ModelClient) GetClosedListEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

GetClosedListEntityRolePreparer prepares the GetClosedListEntityRole request.

func (ModelClient) GetClosedListEntityRoleResponder

func (client ModelClient) GetClosedListEntityRoleResponder(resp *http.Response) (result EntityRole, err error)

GetClosedListEntityRoleResponder handles the response to the GetClosedListEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetClosedListEntityRoleSender

func (client ModelClient) GetClosedListEntityRoleSender(req *http.Request) (*http.Response, error)

GetClosedListEntityRoleSender sends the GetClosedListEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetClosedListPreparer

func (client ModelClient) GetClosedListPreparer(ctx context.Context, appID uuid.UUID, versionID string, clEntityID uuid.UUID) (*http.Request, error)

GetClosedListPreparer prepares the GetClosedList request.

func (ModelClient) GetClosedListResponder

func (client ModelClient) GetClosedListResponder(resp *http.Response) (result ClosedListEntityExtractor, err error)

GetClosedListResponder handles the response to the GetClosedList request. The method always closes the http.Response Body.

func (ModelClient) GetClosedListSender

func (client ModelClient) GetClosedListSender(req *http.Request) (*http.Response, error)

GetClosedListSender sends the GetClosedList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetCompositeEntity

func (client ModelClient) GetCompositeEntity(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (result CompositeEntityExtractor, err error)

GetCompositeEntity gets information about a composite entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.

func (ModelClient) GetCompositeEntityPreparer

func (client ModelClient) GetCompositeEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID) (*http.Request, error)

GetCompositeEntityPreparer prepares the GetCompositeEntity request.

func (ModelClient) GetCompositeEntityResponder

func (client ModelClient) GetCompositeEntityResponder(resp *http.Response) (result CompositeEntityExtractor, err error)

GetCompositeEntityResponder handles the response to the GetCompositeEntity request. The method always closes the http.Response Body.

func (ModelClient) GetCompositeEntityRole

func (client ModelClient) GetCompositeEntityRole(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)

GetCompositeEntityRole sends the get composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. roleID - entity role ID.

func (ModelClient) GetCompositeEntityRolePreparer

func (client ModelClient) GetCompositeEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, cEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

GetCompositeEntityRolePreparer prepares the GetCompositeEntityRole request.

func (ModelClient) GetCompositeEntityRoleResponder

func (client ModelClient) GetCompositeEntityRoleResponder(resp *http.Response) (result EntityRole, err error)

GetCompositeEntityRoleResponder handles the response to the GetCompositeEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetCompositeEntityRoleSender

func (client ModelClient) GetCompositeEntityRoleSender(req *http.Request) (*http.Response, error)

GetCompositeEntityRoleSender sends the GetCompositeEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetCompositeEntitySender

func (client ModelClient) GetCompositeEntitySender(req *http.Request) (*http.Response, error)

GetCompositeEntitySender sends the GetCompositeEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetCustomEntityRole

func (client ModelClient) GetCustomEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)

GetCustomEntityRole sends the get custom entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.

func (ModelClient) GetCustomEntityRolePreparer

func (client ModelClient) GetCustomEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

GetCustomEntityRolePreparer prepares the GetCustomEntityRole request.

func (ModelClient) GetCustomEntityRoleResponder

func (client ModelClient) GetCustomEntityRoleResponder(resp *http.Response) (result EntityRole, err error)

GetCustomEntityRoleResponder handles the response to the GetCustomEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetCustomEntityRoleSender

func (client ModelClient) GetCustomEntityRoleSender(req *http.Request) (*http.Response, error)

GetCustomEntityRoleSender sends the GetCustomEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetEntity

func (client ModelClient) GetEntity(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result EntityExtractor, err error)

GetEntity gets information about an entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.

func (ModelClient) GetEntityPreparer

func (client ModelClient) GetEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)

GetEntityPreparer prepares the GetEntity request.

func (ModelClient) GetEntityResponder

func (client ModelClient) GetEntityResponder(resp *http.Response) (result EntityExtractor, err error)

GetEntityResponder handles the response to the GetEntity request. The method always closes the http.Response Body.

func (ModelClient) GetEntityRole

func (client ModelClient) GetEntityRole(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)

GetEntityRole sends the get entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity ID. roleID - entity role ID.

func (ModelClient) GetEntityRolePreparer

func (client ModelClient) GetEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

GetEntityRolePreparer prepares the GetEntityRole request.

func (ModelClient) GetEntityRoleResponder

func (client ModelClient) GetEntityRoleResponder(resp *http.Response) (result EntityRole, err error)

GetEntityRoleResponder handles the response to the GetEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetEntityRoleSender

func (client ModelClient) GetEntityRoleSender(req *http.Request) (*http.Response, error)

GetEntityRoleSender sends the GetEntityRole request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetEntitySender

func (client ModelClient) GetEntitySender(req *http.Request) (*http.Response, error)

GetEntitySender sends the GetEntity request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetExplicitList

func (client ModelClient) GetExplicitList(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (result ListExplicitListItem, err error)

GetExplicitList sends the get explicit list request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity id.

func (ModelClient) GetExplicitListItem

func (client ModelClient) GetExplicitListItem(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (result ExplicitListItem, err error)

GetExplicitListItem sends the get explicit list item request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity Id. itemID - the explicit list item Id.

func (ModelClient) GetExplicitListItemPreparer

func (client ModelClient) GetExplicitListItemPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, itemID int64) (*http.Request, error)

GetExplicitListItemPreparer prepares the GetExplicitListItem request.

func (ModelClient) GetExplicitListItemResponder

func (client ModelClient) GetExplicitListItemResponder(resp *http.Response) (result ExplicitListItem, err error)

GetExplicitListItemResponder handles the response to the GetExplicitListItem request. The method always closes the http.Response Body.

func (ModelClient) GetExplicitListItemSender

func (client ModelClient) GetExplicitListItemSender(req *http.Request) (*http.Response, error)

GetExplicitListItemSender sends the GetExplicitListItem request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetExplicitListPreparer

func (client ModelClient) GetExplicitListPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID) (*http.Request, error)

GetExplicitListPreparer prepares the GetExplicitList request.

func (ModelClient) GetExplicitListResponder

func (client ModelClient) GetExplicitListResponder(resp *http.Response) (result ListExplicitListItem, err error)

GetExplicitListResponder handles the response to the GetExplicitList request. The method always closes the http.Response Body.

func (ModelClient) GetExplicitListSender

func (client ModelClient) GetExplicitListSender(req *http.Request) (*http.Response, error)

GetExplicitListSender sends the GetExplicitList request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetHierarchicalEntity

func (client ModelClient) GetHierarchicalEntity(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (result HierarchicalEntityExtractor, err error)

GetHierarchicalEntity gets information about a hierarchical entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.

func (ModelClient) GetHierarchicalEntityChild

func (client ModelClient) GetHierarchicalEntityChild(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (result HierarchicalChildEntity, err error)

GetHierarchicalEntityChild gets information about the child's model contained in an hierarchical entity child model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hChildID - the hierarchical entity extractor child ID.

func (ModelClient) GetHierarchicalEntityChildPreparer

func (client ModelClient) GetHierarchicalEntityChildPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, hChildID uuid.UUID) (*http.Request, error)

GetHierarchicalEntityChildPreparer prepares the GetHierarchicalEntityChild request.

func (ModelClient) GetHierarchicalEntityChildResponder

func (client ModelClient) GetHierarchicalEntityChildResponder(resp *http.Response) (result HierarchicalChildEntity, err error)

GetHierarchicalEntityChildResponder handles the response to the GetHierarchicalEntityChild request. The method always closes the http.Response Body.

func (ModelClient) GetHierarchicalEntityChildSender

func (client ModelClient) GetHierarchicalEntityChildSender(req *http.Request) (*http.Response, error)

GetHierarchicalEntityChildSender sends the GetHierarchicalEntityChild request. The method will close the http.Response Body if it receives an error.

func (ModelClient) GetHierarchicalEntityPreparer

func (client ModelClient) GetHierarchicalEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID) (*http.Request, error)

GetHierarchicalEntityPreparer prepares the GetHierarchicalEntity request.

func (ModelClient) GetHierarchicalEntityResponder

func (client ModelClient) GetHierarchicalEntityResponder(resp *http.Response) (result HierarchicalEntityExtractor, err error)

GetHierarchicalEntityResponder handles the response to the GetHierarchicalEntity request. The method always closes the http.Response Body.

func (ModelClient) GetHierarchicalEntityRole

func (client ModelClient) GetHierarchicalEntityRole(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (result EntityRole, err error)

GetHierarchicalEntityRole sends the get hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. roleID - entity role ID.

func (ModelClient) GetHierarchicalEntityRolePreparer

func (client ModelClient) GetHierarchicalEntityRolePreparer(ctx context.Context, appID uuid.UUID, versionID string, hEntityID uuid.UUID, roleID uuid.UUID) (*http.Request, error)

GetHierarchicalEntityRolePreparer prepares the GetHierarchicalEntityRole request.