authoring

package
v66.0.0-wiz+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package authoring implements the Azure ARM Authoring service API version 3.0-preview.

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) ImportLuFormat

func (client AppsClient) ImportLuFormat(ctx context.Context, luisAppLu string, appName string) (result UUID, err error)

ImportLuFormat imports an application to LUIS, the application's structure is included in the request body. Parameters: luisAppLu - 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) ImportLuFormatPreparer

func (client AppsClient) ImportLuFormatPreparer(ctx context.Context, luisAppLu string, appName string) (*http.Request, error)

ImportLuFormatPreparer prepares the ImportLuFormat request.

func (AppsClient) ImportLuFormatResponder

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

ImportLuFormatResponder handles the response to the ImportLuFormat request. The method always closes the http.Response Body.

func (AppsClient) ImportLuFormatSender

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

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

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) ImportV2App

func (client AppsClient) ImportV2App(ctx context.Context, luisAppV2 LuisAppV2, appName string) (result UUID, err error)

ImportV2App imports an application to LUIS, the application's structure is included in the request body. Parameters: luisAppV2 - 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) ImportV2AppPreparer

func (client AppsClient) ImportV2AppPreparer(ctx context.Context, luisAppV2 LuisAppV2, appName string) (*http.Request, error)

ImportV2AppPreparer prepares the ImportV2App request.

func (AppsClient) ImportV2AppResponder

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

ImportV2AppResponder handles the response to the ImportV2App request. The method always closes the http.Response Body.

func (AppsClient) ImportV2AppSender

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

ImportV2AppSender sends the ImportV2App 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, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)

AssignToApp assigns an Azure account to the application. Parameters: appID - the application ID. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information. azureAccountInfoObject - the Azure account information object.

func (AzureAccountsClient) AssignToAppPreparer

func (client AzureAccountsClient) AssignToAppPreparer(ctx context.Context, appID uuid.UUID, armToken string, 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, armToken string) (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. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information.

func (AzureAccountsClient) GetAssignedPreparer

func (client AzureAccountsClient) GetAssignedPreparer(ctx context.Context, appID uuid.UUID, armToken string) (*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, armToken string) (result ListAzureAccountInfoObject, err error)

ListUserLUISAccounts gets the LUIS Azure accounts for the user using his ARM token. Parameters: armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information.

func (AzureAccountsClient) ListUserLUISAccountsPreparer

func (client AzureAccountsClient) ListUserLUISAccountsPreparer(ctx context.Context, armToken string) (*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, armToken string, azureAccountInfoObject *AzureAccountInfoObject) (result OperationStatus, err error)

RemoveFromApp removes assigned Azure account from the application. Parameters: appID - the application ID. armToken - the custom arm token header to use; containing the user's ARM token used to validate azure accounts information. azureAccountInfoObject - the Azure account information object.

func (AzureAccountsClient) RemoveFromAppPreparer

func (client AzureAccountsClient) RemoveFromAppPreparer(ctx context.Context, appID uuid.UUID, armToken string, 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"`
	// InstanceOf - Instance of Model.
	InstanceOf *string `json:"instanceOf,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType1EntityExtractor', 'ReadableType1ChildEntityExtractor', 'ReadableType1HierarchicalEntityExtractor', 'ReadableType1HierarchicalChildEntityExtractor', 'ReadableType1CompositeEntityExtractor', 'ReadableType1ListEntityExtractor', 'ReadableType1PrebuiltEntityExtractor', 'ReadableType1IntentClassifier', 'ReadableType1PatternAnyEntityExtractor', 'ReadableType1ClosedListEntityExtractor', 'ReadableType1RegexEntityExtractor'
	ReadableType ReadableType1 `json:"readableType,omitempty"`
	// Children - List of children
	Children *[]ChildEntity `json:"children,omitempty"`
}

ChildEntity the base child entity type.

type ChildEntityModelCreateObject

type ChildEntityModelCreateObject struct {
	// Children - Child entities.
	Children *[]ChildEntityModelCreateObject `json:"children,omitempty"`
	// Name - Entity name.
	Name *string `json:"name,omitempty"`
	// InstanceOf - The instance of model name
	InstanceOf *string `json:"instanceOf,omitempty"`
}

ChildEntityModelCreateObject a child entity extractor create object.

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: 'ReadableType5EntityExtractor', 'ReadableType5ChildEntityExtractor', 'ReadableType5HierarchicalEntityExtractor', 'ReadableType5HierarchicalChildEntityExtractor', 'ReadableType5CompositeEntityExtractor', 'ReadableType5ListEntityExtractor', 'ReadableType5PrebuiltEntityExtractor', 'ReadableType5IntentClassifier', 'ReadableType5PatternAnyEntityExtractor', 'ReadableType5ClosedListEntityExtractor', 'ReadableType5RegexEntityExtractor'
	ReadableType ReadableType5 `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: 'ReadableType4EntityExtractor', 'ReadableType4ChildEntityExtractor', 'ReadableType4HierarchicalEntityExtractor', 'ReadableType4HierarchicalChildEntityExtractor', 'ReadableType4CompositeEntityExtractor', 'ReadableType4ListEntityExtractor', 'ReadableType4PrebuiltEntityExtractor', 'ReadableType4IntentClassifier', 'ReadableType4PatternAnyEntityExtractor', 'ReadableType4ClosedListEntityExtractor', 'ReadableType4RegexEntityExtractor'
	ReadableType ReadableType4 `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', 'ReadableType7ChildEntityExtractor', '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 {
	// 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', 'ReadableType8ChildEntityExtractor', '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 predicted entity.
	Role *string `json:"role,omitempty"`
	// RoleID - The role id for the predicted entity.
	RoleID   *uuid.UUID     `json:"roleId,omitempty"`
	Children *[]EntityLabel `json:"children,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 the entity plays in the utterance.
	Role *string `json:"role,omitempty"`
	// Children - The identified entities within the example utterance.
	Children *[]EntityLabelObject `json:"children,omitempty"`
}

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

type EntityModelCreateObject

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

EntityModelCreateObject an entity extractor create object.

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', 'ReadableTypeChildEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor'
	ReadableType ReadableType `json:"readableType,omitempty"`
}

EntityModelInfo an Entity Extractor model info.

type EntityModelUpdateObject

type EntityModelUpdateObject struct {
	// Name - Entity name.
	Name *string `json:"name,omitempty"`
	// InstanceOf - The instance of model name
	InstanceOf *string `json:"instanceOf,omitempty"`
}

EntityModelUpdateObject an entity extractor update object.

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"`
	Children *[]EntityPrediction `json:"children,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, enableNestedChildren *bool) (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. enableNestedChildren - toggles nested/flat format

func (ExamplesClient) AddPreparer

func (client ExamplesClient) AddPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObject ExampleLabelObject, enableNestedChildren *bool) (*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, enableNestedChildren *bool) (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. enableNestedChildren - toggles nested/flat format

func (ExamplesClient) BatchPreparer

func (client ExamplesClient) BatchPreparer(ctx context.Context, appID uuid.UUID, versionID string, exampleLabelObjectArray []ExampleLabelObject, enableNestedChildren *bool) (*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, enableNestedChildren *bool) (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. enableNestedChildren - toggles nested/flat format

func (ExamplesClient) ListPreparer

func (client ExamplesClient) ListPreparer(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32, enableNestedChildren *bool) (*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"`
	// EnabledForAllModels - Indicates if the feature is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,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) AddEntityFeature

func (client FeaturesClient) AddEntityFeature(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (result OperationStatus, err error)

AddEntityFeature adds a new feature relation to be used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. featureRelationCreateObject - a Feature relation information object.

func (FeaturesClient) AddEntityFeaturePreparer

func (client FeaturesClient) AddEntityFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (*http.Request, error)

AddEntityFeaturePreparer prepares the AddEntityFeature request.

func (FeaturesClient) AddEntityFeatureResponder

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

AddEntityFeatureResponder handles the response to the AddEntityFeature request. The method always closes the http.Response Body.

func (FeaturesClient) AddEntityFeatureSender

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

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

func (FeaturesClient) AddIntentFeature

func (client FeaturesClient) AddIntentFeature(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (result OperationStatus, err error)

AddIntentFeature adds a new feature relation to be used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. featureRelationCreateObject - a Feature relation information object.

func (FeaturesClient) AddIntentFeaturePreparer

func (client FeaturesClient) AddIntentFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationCreateObject ModelFeatureInformation) (*http.Request, error)

AddIntentFeaturePreparer prepares the AddIntentFeature request.

func (FeaturesClient) AddIntentFeatureResponder

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

AddIntentFeatureResponder handles the response to the AddIntentFeature request. The method always closes the http.Response Body.

func (FeaturesClient) AddIntentFeatureSender

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

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

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) 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:"-"`
	// 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"`
	// InstanceOf - Instance of Model.
	InstanceOf *string `json:"instanceOf,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType1EntityExtractor', 'ReadableType1ChildEntityExtractor', 'ReadableType1HierarchicalEntityExtractor', 'ReadableType1HierarchicalChildEntityExtractor', 'ReadableType1CompositeEntityExtractor', 'ReadableType1ListEntityExtractor', 'ReadableType1PrebuiltEntityExtractor', 'ReadableType1IntentClassifier', 'ReadableType1PatternAnyEntityExtractor', 'ReadableType1ClosedListEntityExtractor', 'ReadableType1RegexEntityExtractor'
	ReadableType ReadableType1 `json:"readableType,omitempty"`
	// Children - List of children
	Children *[]ChildEntity `json:"children,omitempty"`
}

HierarchicalChildEntity a Hierarchical Child Entity.

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: 'ReadableType3EntityExtractor', 'ReadableType3ChildEntityExtractor', '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"`
}

HierarchicalEntityExtractor hierarchical Entity Extractor.

type HierarchicalModel

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

HierarchicalModel ...

type HierarchicalModelV2

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

HierarchicalModelV2 ...

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', 'ReadableTypeChildEntityExtractor', '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 JSONChild

type JSONChild struct {
	Name       *string                        `json:"name,omitempty"`
	InstanceOf *string                        `json:"instanceOf,omitempty"`
	Children   *[]JSONChild                   `json:"children,omitempty"`
	Features   *[]JSONModelFeatureInformation `json:"features,omitempty"`
}

JSONChild ...

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 the entity plays in the utterance.
	Role     *string       `json:"role,omitempty"`
	Children *[]JSONEntity `json:"children,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"`
	// EnabledForAllModels - Indicates if the Phraselist is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"`
}

JSONModelFeature exported Model - Phraselist Model Feature.

type JSONModelFeatureInformation

type JSONModelFeatureInformation struct {
	// ModelName - The name of the model used.
	ModelName *string `json:"modelName,omitempty"`
	// FeatureName - The name of the feature used.
	FeatureName *string `json:"featureName,omitempty"`
}

JSONModelFeatureInformation an object containing the model feature information either the model name or feature name.

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 ListModelFeatureInformation

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

ListModelFeatureInformation ...

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 ListNDepthEntityExtractor

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

ListNDepthEntityExtractor ...

type ListPatternAnyEntityExtractor

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

ListPatternAnyEntityExtractor ...

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"`
	// Hierarchicals - List of hierarchical entities.
	Hierarchicals *[]HierarchicalModel `json:"hierarchicals,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"`
	// Phraselists - List of model features.
	Phraselists *[]JSONModelFeature `json:"phraselists,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 LuisAppV2

type LuisAppV2 struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// LuisSchemaVersion - Luis schema deserialization version.
	LuisSchemaVersion *string `json:"luis_schema_version,omitempty"`
	// 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 *[]HierarchicalModelV2 `json:"intents,omitempty"`
	// Entities - List of entities.
	Entities *[]HierarchicalModelV2 `json:"entities,omitempty"`
	// ClosedLists - List of list entities.
	ClosedLists *[]ClosedList `json:"closedLists,omitempty"`
	// Composites - List of composite entities.
	Composites *[]HierarchicalModelV2 `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"`
}

LuisAppV2 exported Model - An exported LUIS Application.

func (LuisAppV2) MarshalJSON

func (lav LuisAppV2) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LuisAppV2.

func (*LuisAppV2) UnmarshalJSON

func (lav *LuisAppV2) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LuisAppV2 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) 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) 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, entityModelCreateObject EntityModelCreateObject) (result UUID, err error)

AddEntity adds an entity extractor to a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityModelCreateObject - a model object containing the name of the new entity extractor and its children.

func (ModelClient) AddEntityChild

func (client ModelClient) AddEntityChild(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, childEntityModelCreateObject ChildEntityModelCreateObject) (result UUID, err error)

AddEntityChild creates a single child in an existing entity model hierarchy in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. childEntityModelCreateObject - a model object containing the name of the new child model and its children.

func (ModelClient) AddEntityChildPreparer

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

AddEntityChildPreparer prepares the AddEntityChild request.

func (ModelClient) AddEntityChildResponder

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

AddEntityChildResponder handles the response to the AddEntityChild request. The method always closes the http.Response Body.

func (ModelClient) AddEntityChildSender

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

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

func (ModelClient) AddEntityPreparer

func (client ModelClient) AddEntityPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityModelCreateObject EntityModelCreateObject) (*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) 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 or a child from a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor or the child entity extractor ID.

func (ModelClient) DeleteEntityFeature

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

DeleteEntityFeature deletes a relation from the feature relations used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. featureRelationDeleteObject - a feature information object containing the feature relation to delete.

func (ModelClient) DeleteEntityFeaturePreparer

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

DeleteEntityFeaturePreparer prepares the DeleteEntityFeature request.

func (ModelClient) DeleteEntityFeatureResponder

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

DeleteEntityFeatureResponder handles the response to the DeleteEntityFeature request. The method always closes the http.Response Body.

func (ModelClient) DeleteEntityFeatureSender

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

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

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) DeleteIntentFeature

func (client ModelClient) DeleteIntentFeature(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (result OperationStatus, err error)

DeleteIntentFeature deletes a relation from the feature relations used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. featureRelationDeleteObject - a feature information object containing the feature relation to delete.

func (ModelClient) DeleteIntentFeaturePreparer

func (client ModelClient) DeleteIntentFeaturePreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationDeleteObject ModelFeatureInformation) (*http.Request, error)

DeleteIntentFeaturePreparer prepares the DeleteIntentFeature request.

func (ModelClient) DeleteIntentFeatureResponder

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

DeleteIntentFeatureResponder handles the response to the DeleteIntentFeature request. The method always closes the http.Response Body.

func (ModelClient) DeleteIntentFeatureSender

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

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

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 NDepthEntityExtractor, 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) GetEntityFeatures

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

GetEntityFeatures gets the information of the features used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.

func (ModelClient) GetEntityFeaturesPreparer

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

GetEntityFeaturesPreparer prepares the GetEntityFeatures request.

func (ModelClient) GetEntityFeaturesResponder

func (client ModelClient) GetEntityFeaturesResponder(resp *http.Response) (result ListModelFeatureInformation, err error)

GetEntityFeaturesResponder handles the response to the GetEntityFeatures request. The method always closes the http.Response Body.

func (ModelClient) GetEntityFeaturesSender

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

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

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 NDepthEntityExtractor, 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.

func (ModelClient) GetHierarchicalEntityRoleResponder

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

GetHierarchicalEntityRoleResponder handles the response to the GetHierarchicalEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetHierarchicalEntityRoleSender

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

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

func (ModelClient) GetHierarchicalEntitySender

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

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

func (ModelClient) GetIntent

func (client ModelClient) GetIntent(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (result IntentClassifier, err error)

GetIntent gets information about the intent model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID.

func (ModelClient) GetIntentFeatures

func (client ModelClient) GetIntentFeatures(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID) (result ListModelFeatureInformation, err error)

GetIntentFeatures gets the information of the features used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID.

func (ModelClient) GetIntentFeaturesPreparer

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

GetIntentFeaturesPreparer prepares the GetIntentFeatures request.

func (ModelClient) GetIntentFeaturesResponder

func (client ModelClient) GetIntentFeaturesResponder(resp *http.Response) (result ListModelFeatureInformation, err error)

GetIntentFeaturesResponder handles the response to the GetIntentFeatures request. The method always closes the http.Response Body.

func (ModelClient) GetIntentFeaturesSender

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

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

func (ModelClient) GetIntentPreparer

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

GetIntentPreparer prepares the GetIntent request.

func (ModelClient) GetIntentResponder

func (client ModelClient) GetIntentResponder(resp *http.Response) (result IntentClassifier, err error)

GetIntentResponder handles the response to the GetIntent request. The method always closes the http.Response Body.

func (ModelClient) GetIntentSender

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

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

func (ModelClient) GetPatternAnyEntityInfo

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

GetPatternAnyEntityInfo sends the get pattern any entity info request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.

func (ModelClient) GetPatternAnyEntityInfoPreparer

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

GetPatternAnyEntityInfoPreparer prepares the GetPatternAnyEntityInfo request.

func (ModelClient) GetPatternAnyEntityInfoResponder

func (client ModelClient) GetPatternAnyEntityInfoResponder(resp *http.Response) (result PatternAnyEntityExtractor, err error)

GetPatternAnyEntityInfoResponder handles the response to the GetPatternAnyEntityInfo request. The method always closes the http.Response Body.

func (ModelClient) GetPatternAnyEntityInfoSender

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

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

func (ModelClient) GetPatternAnyEntityRole

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

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

func (ModelClient) GetPatternAnyEntityRolePreparer

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

GetPatternAnyEntityRolePreparer prepares the GetPatternAnyEntityRole request.

func (ModelClient) GetPatternAnyEntityRoleResponder

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

GetPatternAnyEntityRoleResponder handles the response to the GetPatternAnyEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetPatternAnyEntityRoleSender

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

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

func (ModelClient) GetPrebuilt

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

GetPrebuilt gets information about a prebuilt entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltID - the prebuilt entity extractor ID.

func (ModelClient) GetPrebuiltEntityRole

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

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

func (ModelClient) GetPrebuiltEntityRolePreparer

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

GetPrebuiltEntityRolePreparer prepares the GetPrebuiltEntityRole request.

func (ModelClient) GetPrebuiltEntityRoleResponder

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

GetPrebuiltEntityRoleResponder handles the response to the GetPrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetPrebuiltEntityRoleSender

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

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

func (ModelClient) GetPrebuiltPreparer

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

GetPrebuiltPreparer prepares the GetPrebuilt request.

func (ModelClient) GetPrebuiltResponder

func (client ModelClient) GetPrebuiltResponder(resp *http.Response) (result PrebuiltEntityExtractor, err error)

GetPrebuiltResponder handles the response to the GetPrebuilt request. The method always closes the http.Response Body.

func (ModelClient) GetPrebuiltSender

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

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

func (ModelClient) GetRegexEntityEntityInfo

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

GetRegexEntityEntityInfo sends the get regex entity entity info request. Parameters: appID - the application ID. versionID - the version ID. regexEntityID - the regular expression entity model ID.

func (ModelClient) GetRegexEntityEntityInfoPreparer

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

GetRegexEntityEntityInfoPreparer prepares the GetRegexEntityEntityInfo request.

func (ModelClient) GetRegexEntityEntityInfoResponder

func (client ModelClient) GetRegexEntityEntityInfoResponder(resp *http.Response) (result RegexEntityExtractor, err error)

GetRegexEntityEntityInfoResponder handles the response to the GetRegexEntityEntityInfo request. The method always closes the http.Response Body.

func (ModelClient) GetRegexEntityEntityInfoSender

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

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

func (ModelClient) GetRegexEntityRole

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

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

func (ModelClient) GetRegexEntityRolePreparer

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

GetRegexEntityRolePreparer prepares the GetRegexEntityRole request.

func (ModelClient) GetRegexEntityRoleResponder

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

GetRegexEntityRoleResponder handles the response to the GetRegexEntityRole request. The method always closes the http.Response Body.

func (ModelClient) GetRegexEntityRoleSender

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

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

func (ModelClient) ListClosedListEntityRoles

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

ListClosedListEntityRoles sends the list closed list entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListClosedListEntityRolesPreparer

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

ListClosedListEntityRolesPreparer prepares the ListClosedListEntityRoles request.

func (ModelClient) ListClosedListEntityRolesResponder

func (client ModelClient) ListClosedListEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListClosedListEntityRolesResponder handles the response to the ListClosedListEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListClosedListEntityRolesSender

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

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

func (ModelClient) ListClosedLists

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

ListClosedLists gets information about all the list entity models 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 (ModelClient) ListClosedListsPreparer

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

ListClosedListsPreparer prepares the ListClosedLists request.

func (ModelClient) ListClosedListsResponder

func (client ModelClient) ListClosedListsResponder(resp *http.Response) (result ListClosedListEntityExtractor, err error)

ListClosedListsResponder handles the response to the ListClosedLists request. The method always closes the http.Response Body.

func (ModelClient) ListClosedListsSender

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

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

func (ModelClient) ListCompositeEntities

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

ListCompositeEntities gets information about all the composite entity models 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 (ModelClient) ListCompositeEntitiesPreparer

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

ListCompositeEntitiesPreparer prepares the ListCompositeEntities request.

func (ModelClient) ListCompositeEntitiesResponder

func (client ModelClient) ListCompositeEntitiesResponder(resp *http.Response) (result ListCompositeEntityExtractor, err error)

ListCompositeEntitiesResponder handles the response to the ListCompositeEntities request. The method always closes the http.Response Body.

func (ModelClient) ListCompositeEntitiesSender

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

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

func (ModelClient) ListCompositeEntityRoles

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

ListCompositeEntityRoles sends the list composite entity roles request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID.

func (ModelClient) ListCompositeEntityRolesPreparer

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

ListCompositeEntityRolesPreparer prepares the ListCompositeEntityRoles request.

func (ModelClient) ListCompositeEntityRolesResponder

func (client ModelClient) ListCompositeEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListCompositeEntityRolesResponder handles the response to the ListCompositeEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListCompositeEntityRolesSender

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

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

func (ModelClient) ListCustomPrebuiltEntities

func (client ModelClient) ListCustomPrebuiltEntities(ctx context.Context, appID uuid.UUID, versionID string) (result ListEntityExtractor, err error)

ListCustomPrebuiltEntities gets all prebuilt entities used in a version of the application. Parameters: appID - the application ID. versionID - the version ID.

func (ModelClient) ListCustomPrebuiltEntitiesPreparer

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

ListCustomPrebuiltEntitiesPreparer prepares the ListCustomPrebuiltEntities request.

func (ModelClient) ListCustomPrebuiltEntitiesResponder

func (client ModelClient) ListCustomPrebuiltEntitiesResponder(resp *http.Response) (result ListEntityExtractor, err error)

ListCustomPrebuiltEntitiesResponder handles the response to the ListCustomPrebuiltEntities request. The method always closes the http.Response Body.

func (ModelClient) ListCustomPrebuiltEntitiesSender

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

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

func (ModelClient) ListCustomPrebuiltEntityRoles

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

ListCustomPrebuiltEntityRoles sends the list custom prebuilt entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListCustomPrebuiltEntityRolesPreparer

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

ListCustomPrebuiltEntityRolesPreparer prepares the ListCustomPrebuiltEntityRoles request.

func (ModelClient) ListCustomPrebuiltEntityRolesResponder

func (client ModelClient) ListCustomPrebuiltEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListCustomPrebuiltEntityRolesResponder handles the response to the ListCustomPrebuiltEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListCustomPrebuiltEntityRolesSender

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

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

func (ModelClient) ListCustomPrebuiltIntents

func (client ModelClient) ListCustomPrebuiltIntents(ctx context.Context, appID uuid.UUID, versionID string) (result ListIntentClassifier, err error)

ListCustomPrebuiltIntents gets information about customizable prebuilt intents added to a version of the application. Parameters: appID - the application ID. versionID - the version ID.

func (ModelClient) ListCustomPrebuiltIntentsPreparer

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

ListCustomPrebuiltIntentsPreparer prepares the ListCustomPrebuiltIntents request.

func (ModelClient) ListCustomPrebuiltIntentsResponder

func (client ModelClient) ListCustomPrebuiltIntentsResponder(resp *http.Response) (result ListIntentClassifier, err error)

ListCustomPrebuiltIntentsResponder handles the response to the ListCustomPrebuiltIntents request. The method always closes the http.Response Body.

func (ModelClient) ListCustomPrebuiltIntentsSender

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

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

func (ModelClient) ListCustomPrebuiltModels

func (client ModelClient) ListCustomPrebuiltModels(ctx context.Context, appID uuid.UUID, versionID string) (result ListCustomPrebuiltModel, err error)

ListCustomPrebuiltModels gets all prebuilt intent and entity model information used in a version of this application. Parameters: appID - the application ID. versionID - the version ID.

func (ModelClient) ListCustomPrebuiltModelsPreparer

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

ListCustomPrebuiltModelsPreparer prepares the ListCustomPrebuiltModels request.

func (ModelClient) ListCustomPrebuiltModelsResponder

func (client ModelClient) ListCustomPrebuiltModelsResponder(resp *http.Response) (result ListCustomPrebuiltModel, err error)

ListCustomPrebuiltModelsResponder handles the response to the ListCustomPrebuiltModels request. The method always closes the http.Response Body.

func (ModelClient) ListCustomPrebuiltModelsSender

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

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

func (ModelClient) ListEntities

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

ListEntities gets information about all the simple entity models 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 (ModelClient) ListEntitiesPreparer

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

ListEntitiesPreparer prepares the ListEntities request.

func (ModelClient) ListEntitiesResponder

func (client ModelClient) ListEntitiesResponder(resp *http.Response) (result ListNDepthEntityExtractor, err error)

ListEntitiesResponder handles the response to the ListEntities request. The method always closes the http.Response Body.

func (ModelClient) ListEntitiesSender

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

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

func (ModelClient) ListEntityRoles

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

ListEntityRoles sends the list entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListEntityRolesPreparer

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

ListEntityRolesPreparer prepares the ListEntityRoles request.

func (ModelClient) ListEntityRolesResponder

func (client ModelClient) ListEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListEntityRolesResponder handles the response to the ListEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListEntityRolesSender

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

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

func (ModelClient) ListEntitySuggestions

func (client ModelClient) ListEntitySuggestions(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, take *int32, enableNestedChildren *bool) (result ListEntitiesSuggestionExample, err error)

ListEntitySuggestions get suggested example utterances that would improve the accuracy of the entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the target entity extractor model to enhance. take - the number of entries to return. Maximum page size is 500. Default is 100. enableNestedChildren - toggles nested/flat format

func (ModelClient) ListEntitySuggestionsPreparer

func (client ModelClient) ListEntitySuggestionsPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, take *int32, enableNestedChildren *bool) (*http.Request, error)

ListEntitySuggestionsPreparer prepares the ListEntitySuggestions request.

func (ModelClient) ListEntitySuggestionsResponder

func (client ModelClient) ListEntitySuggestionsResponder(resp *http.Response) (result ListEntitiesSuggestionExample, err error)

ListEntitySuggestionsResponder handles the response to the ListEntitySuggestions request. The method always closes the http.Response Body.

func (ModelClient) ListEntitySuggestionsSender

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

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

func (ModelClient) ListHierarchicalEntities

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

ListHierarchicalEntities gets information about all the hierarchical entity models 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 (ModelClient) ListHierarchicalEntitiesPreparer

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

ListHierarchicalEntitiesPreparer prepares the ListHierarchicalEntities request.

func (ModelClient) ListHierarchicalEntitiesResponder

func (client ModelClient) ListHierarchicalEntitiesResponder(resp *http.Response) (result ListHierarchicalEntityExtractor, err error)

ListHierarchicalEntitiesResponder handles the response to the ListHierarchicalEntities request. The method always closes the http.Response Body.

func (ModelClient) ListHierarchicalEntitiesSender

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

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

func (ModelClient) ListHierarchicalEntityRoles

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

ListHierarchicalEntityRoles sends the list hierarchical entity roles request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID.

func (ModelClient) ListHierarchicalEntityRolesPreparer

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

ListHierarchicalEntityRolesPreparer prepares the ListHierarchicalEntityRoles request.

func (ModelClient) ListHierarchicalEntityRolesResponder

func (client ModelClient) ListHierarchicalEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListHierarchicalEntityRolesResponder handles the response to the ListHierarchicalEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListHierarchicalEntityRolesSender

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

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

func (ModelClient) ListIntentSuggestions

func (client ModelClient) ListIntentSuggestions(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, take *int32, enableNestedChildren *bool) (result ListIntentsSuggestionExample, err error)

ListIntentSuggestions suggests example utterances that would improve the accuracy of the intent model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. take - the number of entries to return. Maximum page size is 500. Default is 100. enableNestedChildren - toggles nested/flat format

func (ModelClient) ListIntentSuggestionsPreparer

func (client ModelClient) ListIntentSuggestionsPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, take *int32, enableNestedChildren *bool) (*http.Request, error)

ListIntentSuggestionsPreparer prepares the ListIntentSuggestions request.

func (ModelClient) ListIntentSuggestionsResponder

func (client ModelClient) ListIntentSuggestionsResponder(resp *http.Response) (result ListIntentsSuggestionExample, err error)

ListIntentSuggestionsResponder handles the response to the ListIntentSuggestions request. The method always closes the http.Response Body.

func (ModelClient) ListIntentSuggestionsSender

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

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

func (ModelClient) ListIntents

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

ListIntents gets information about the intent models 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 (ModelClient) ListIntentsPreparer

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

ListIntentsPreparer prepares the ListIntents request.

func (ModelClient) ListIntentsResponder

func (client ModelClient) ListIntentsResponder(resp *http.Response) (result ListIntentClassifier, err error)

ListIntentsResponder handles the response to the ListIntents request. The method always closes the http.Response Body.

func (ModelClient) ListIntentsSender

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

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

func (ModelClient) ListModels

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

ListModels gets information about all the intent and entity models 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 (ModelClient) ListModelsPreparer

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

ListModelsPreparer prepares the ListModels request.

func (ModelClient) ListModelsResponder

func (client ModelClient) ListModelsResponder(resp *http.Response) (result ListModelInfoResponse, err error)

ListModelsResponder handles the response to the ListModels request. The method always closes the http.Response Body.

func (ModelClient) ListModelsSender

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

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

func (ModelClient) ListPatternAnyEntityInfos

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

ListPatternAnyEntityInfos sends the list pattern any entity infos request. 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 (ModelClient) ListPatternAnyEntityInfosPreparer

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

ListPatternAnyEntityInfosPreparer prepares the ListPatternAnyEntityInfos request.

func (ModelClient) ListPatternAnyEntityInfosResponder

func (client ModelClient) ListPatternAnyEntityInfosResponder(resp *http.Response) (result ListPatternAnyEntityExtractor, err error)

ListPatternAnyEntityInfosResponder handles the response to the ListPatternAnyEntityInfos request. The method always closes the http.Response Body.

func (ModelClient) ListPatternAnyEntityInfosSender

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

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

func (ModelClient) ListPatternAnyEntityRoles

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

ListPatternAnyEntityRoles sends the list pattern any entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListPatternAnyEntityRolesPreparer

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

ListPatternAnyEntityRolesPreparer prepares the ListPatternAnyEntityRoles request.

func (ModelClient) ListPatternAnyEntityRolesResponder

func (client ModelClient) ListPatternAnyEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListPatternAnyEntityRolesResponder handles the response to the ListPatternAnyEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListPatternAnyEntityRolesSender

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

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

func (ModelClient) ListPrebuiltEntities

func (client ModelClient) ListPrebuiltEntities(ctx context.Context, appID uuid.UUID, versionID string) (result ListAvailablePrebuiltEntityModel, err error)

ListPrebuiltEntities gets all the available prebuilt entities in a version of the application. Parameters: appID - the application ID. versionID - the version ID.

func (ModelClient) ListPrebuiltEntitiesPreparer

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

ListPrebuiltEntitiesPreparer prepares the ListPrebuiltEntities request.

func (ModelClient) ListPrebuiltEntitiesResponder

func (client ModelClient) ListPrebuiltEntitiesResponder(resp *http.Response) (result ListAvailablePrebuiltEntityModel, err error)

ListPrebuiltEntitiesResponder handles the response to the ListPrebuiltEntities request. The method always closes the http.Response Body.

func (ModelClient) ListPrebuiltEntitiesSender

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

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

func (ModelClient) ListPrebuiltEntityRoles

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

ListPrebuiltEntityRoles sends the list prebuilt entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListPrebuiltEntityRolesPreparer

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

ListPrebuiltEntityRolesPreparer prepares the ListPrebuiltEntityRoles request.

func (ModelClient) ListPrebuiltEntityRolesResponder

func (client ModelClient) ListPrebuiltEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListPrebuiltEntityRolesResponder handles the response to the ListPrebuiltEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListPrebuiltEntityRolesSender

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

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

func (ModelClient) ListPrebuilts

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

ListPrebuilts gets information about all the prebuilt entities 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 (ModelClient) ListPrebuiltsPreparer

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

ListPrebuiltsPreparer prepares the ListPrebuilts request.

func (ModelClient) ListPrebuiltsResponder

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

ListPrebuiltsResponder handles the response to the ListPrebuilts request. The method always closes the http.Response Body.

func (ModelClient) ListPrebuiltsSender

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

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

func (ModelClient) ListRegexEntityInfos

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

ListRegexEntityInfos sends the list regex entity infos request. 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 (ModelClient) ListRegexEntityInfosPreparer

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

ListRegexEntityInfosPreparer prepares the ListRegexEntityInfos request.

func (ModelClient) ListRegexEntityInfosResponder

func (client ModelClient) ListRegexEntityInfosResponder(resp *http.Response) (result ListRegexEntityExtractor, err error)

ListRegexEntityInfosResponder handles the response to the ListRegexEntityInfos request. The method always closes the http.Response Body.

func (ModelClient) ListRegexEntityInfosSender

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

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

func (ModelClient) ListRegexEntityRoles

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

ListRegexEntityRoles sends the list regex entity roles request. Parameters: appID - the application ID. versionID - the version ID. entityID - entity Id

func (ModelClient) ListRegexEntityRolesPreparer

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

ListRegexEntityRolesPreparer prepares the ListRegexEntityRoles request.

func (ModelClient) ListRegexEntityRolesResponder

func (client ModelClient) ListRegexEntityRolesResponder(resp *http.Response) (result ListEntityRole, err error)

ListRegexEntityRolesResponder handles the response to the ListRegexEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) ListRegexEntityRolesSender

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

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

func (ModelClient) PatchClosedList

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

PatchClosedList adds a batch of sublists to an existing list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity model ID. closedListModelPatchObject - a words list batch.

func (ModelClient) PatchClosedListPreparer

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

PatchClosedListPreparer prepares the PatchClosedList request.

func (ModelClient) PatchClosedListResponder

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

PatchClosedListResponder handles the response to the PatchClosedList request. The method always closes the http.Response Body.

func (ModelClient) PatchClosedListSender

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

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

func (ModelClient) ReplaceEntityFeatures

func (client ModelClient) ReplaceEntityFeatures(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationsUpdateObject []ModelFeatureInformation) (result OperationStatus, err error)

ReplaceEntityFeatures updates the information of the features used by the entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. featureRelationsUpdateObject - a list of feature information objects containing the new feature relations.

func (ModelClient) ReplaceEntityFeaturesPreparer

func (client ModelClient) ReplaceEntityFeaturesPreparer(ctx context.Context, appID uuid.UUID, versionID string, entityID uuid.UUID, featureRelationsUpdateObject []ModelFeatureInformation) (*http.Request, error)

ReplaceEntityFeaturesPreparer prepares the ReplaceEntityFeatures request.

func (ModelClient) ReplaceEntityFeaturesResponder

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

ReplaceEntityFeaturesResponder handles the response to the ReplaceEntityFeatures request. The method always closes the http.Response Body.

func (ModelClient) ReplaceEntityFeaturesSender

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

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

func (ModelClient) ReplaceIntentFeatures

func (client ModelClient) ReplaceIntentFeatures(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationsUpdateObject []ModelFeatureInformation) (result OperationStatus, err error)

ReplaceIntentFeatures updates the information of the features used by the intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. featureRelationsUpdateObject - a list of feature information objects containing the new feature relations.

func (ModelClient) ReplaceIntentFeaturesPreparer

func (client ModelClient) ReplaceIntentFeaturesPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, featureRelationsUpdateObject []ModelFeatureInformation) (*http.Request, error)

ReplaceIntentFeaturesPreparer prepares the ReplaceIntentFeatures request.

func (ModelClient) ReplaceIntentFeaturesResponder

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

ReplaceIntentFeaturesResponder handles the response to the ReplaceIntentFeatures request. The method always closes the http.Response Body.

func (ModelClient) ReplaceIntentFeaturesSender

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

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

func (ModelClient) UpdateClosedList

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

UpdateClosedList updates the list entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list model ID. closedListModelUpdateObject - the new list entity name and words list.

func (ModelClient) UpdateClosedListEntityRole

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

UpdateClosedListEntityRole sends the update closed list entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateClosedListEntityRolePreparer

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

UpdateClosedListEntityRolePreparer prepares the UpdateClosedListEntityRole request.

func (ModelClient) UpdateClosedListEntityRoleResponder

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

UpdateClosedListEntityRoleResponder handles the response to the UpdateClosedListEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateClosedListEntityRoleSender

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

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

func (ModelClient) UpdateClosedListPreparer

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

UpdateClosedListPreparer prepares the UpdateClosedList request.

func (ModelClient) UpdateClosedListResponder

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

UpdateClosedListResponder handles the response to the UpdateClosedList request. The method always closes the http.Response Body.

func (ModelClient) UpdateClosedListSender

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

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

func (ModelClient) UpdateCompositeEntity

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

UpdateCompositeEntity updates a composite entity in a version of the application. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. compositeModelUpdateObject - a model object containing the new entity extractor name and children.

func (ModelClient) UpdateCompositeEntityPreparer

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

UpdateCompositeEntityPreparer prepares the UpdateCompositeEntity request.

func (ModelClient) UpdateCompositeEntityResponder

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

UpdateCompositeEntityResponder handles the response to the UpdateCompositeEntity request. The method always closes the http.Response Body.

func (ModelClient) UpdateCompositeEntityRole

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

UpdateCompositeEntityRole sends the update composite entity role request. Parameters: appID - the application ID. versionID - the version ID. cEntityID - the composite entity extractor ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateCompositeEntityRolePreparer

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

UpdateCompositeEntityRolePreparer prepares the UpdateCompositeEntityRole request.

func (ModelClient) UpdateCompositeEntityRoleResponder

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

UpdateCompositeEntityRoleResponder handles the response to the UpdateCompositeEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateCompositeEntityRoleSender

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

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

func (ModelClient) UpdateCompositeEntitySender

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

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

func (ModelClient) UpdateCustomPrebuiltEntityRole

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

UpdateCustomPrebuiltEntityRole sends the update custom prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateCustomPrebuiltEntityRolePreparer

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

UpdateCustomPrebuiltEntityRolePreparer prepares the UpdateCustomPrebuiltEntityRole request.

func (ModelClient) UpdateCustomPrebuiltEntityRoleResponder

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

UpdateCustomPrebuiltEntityRoleResponder handles the response to the UpdateCustomPrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateCustomPrebuiltEntityRoleSender

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

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

func (ModelClient) UpdateEntityChild

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

UpdateEntityChild updates the name of an entity extractor or the name and instanceOf model of a child entity extractor. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor or the child entity extractor ID. entityModelUpdateObject - a model object containing the name new entity extractor or the name and instance of model of a child entity extractor

func (ModelClient) UpdateEntityChildPreparer

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

UpdateEntityChildPreparer prepares the UpdateEntityChild request.

func (ModelClient) UpdateEntityChildResponder

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

UpdateEntityChildResponder handles the response to the UpdateEntityChild request. The method always closes the http.Response Body.

func (ModelClient) UpdateEntityChildSender

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

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

func (ModelClient) UpdateEntityRole

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

UpdateEntityRole sends the update entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateEntityRolePreparer

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

UpdateEntityRolePreparer prepares the UpdateEntityRole request.

func (ModelClient) UpdateEntityRoleResponder

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

UpdateEntityRoleResponder handles the response to the UpdateEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateEntityRoleSender

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

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

func (ModelClient) UpdateExplicitListItem

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

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

func (ModelClient) UpdateExplicitListItemPreparer

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

UpdateExplicitListItemPreparer prepares the UpdateExplicitListItem request.

func (ModelClient) UpdateExplicitListItemResponder

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

UpdateExplicitListItemResponder handles the response to the UpdateExplicitListItem request. The method always closes the http.Response Body.

func (ModelClient) UpdateExplicitListItemSender

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

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

func (ModelClient) UpdateHierarchicalEntity

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

UpdateHierarchicalEntity updates the name of a hierarchical entity model in a version of the application. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. modelUpdateObject - model containing names of the hierarchical entity.

func (ModelClient) UpdateHierarchicalEntityChild

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

UpdateHierarchicalEntityChild renames 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. hChildID - the hierarchical entity extractor child ID. hierarchicalChildModelUpdateObject - model object containing new name of the hierarchical entity child.

func (ModelClient) UpdateHierarchicalEntityChildPreparer

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

UpdateHierarchicalEntityChildPreparer prepares the UpdateHierarchicalEntityChild request.

func (ModelClient) UpdateHierarchicalEntityChildResponder

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

UpdateHierarchicalEntityChildResponder handles the response to the UpdateHierarchicalEntityChild request. The method always closes the http.Response Body.

func (ModelClient) UpdateHierarchicalEntityChildSender

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

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

func (ModelClient) UpdateHierarchicalEntityPreparer

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

UpdateHierarchicalEntityPreparer prepares the UpdateHierarchicalEntity request.

func (ModelClient) UpdateHierarchicalEntityResponder

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

UpdateHierarchicalEntityResponder handles the response to the UpdateHierarchicalEntity request. The method always closes the http.Response Body.

func (ModelClient) UpdateHierarchicalEntityRole

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

UpdateHierarchicalEntityRole sends the update hierarchical entity role request. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateHierarchicalEntityRolePreparer

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

UpdateHierarchicalEntityRolePreparer prepares the UpdateHierarchicalEntityRole request.

func (ModelClient) UpdateHierarchicalEntityRoleResponder

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

UpdateHierarchicalEntityRoleResponder handles the response to the UpdateHierarchicalEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateHierarchicalEntityRoleSender

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

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

func (ModelClient) UpdateHierarchicalEntitySender

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

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

func (ModelClient) UpdateIntent

func (client ModelClient) UpdateIntent(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, modelUpdateObject ModelUpdateObject) (result OperationStatus, err error)

UpdateIntent updates the name of an intent in a version of the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. modelUpdateObject - a model object containing the new intent name.

func (ModelClient) UpdateIntentPreparer

func (client ModelClient) UpdateIntentPreparer(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, modelUpdateObject ModelUpdateObject) (*http.Request, error)

UpdateIntentPreparer prepares the UpdateIntent request.

func (ModelClient) UpdateIntentResponder

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

UpdateIntentResponder handles the response to the UpdateIntent request. The method always closes the http.Response Body.

func (ModelClient) UpdateIntentSender

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

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

func (ModelClient) UpdatePatternAnyEntityModel

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

UpdatePatternAnyEntityModel sends the update pattern any entity model request. Parameters: appID - the application ID. versionID - the version ID. entityID - the Pattern.Any entity extractor ID. patternAnyUpdateObject - an object containing the explicit list of the Pattern.Any entity.

func (ModelClient) UpdatePatternAnyEntityModelPreparer

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

UpdatePatternAnyEntityModelPreparer prepares the UpdatePatternAnyEntityModel request.

func (ModelClient) UpdatePatternAnyEntityModelResponder

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

UpdatePatternAnyEntityModelResponder handles the response to the UpdatePatternAnyEntityModel request. The method always closes the http.Response Body.

func (ModelClient) UpdatePatternAnyEntityModelSender

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

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

func (ModelClient) UpdatePatternAnyEntityRole

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

UpdatePatternAnyEntityRole sends the update pattern any entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdatePatternAnyEntityRolePreparer

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

UpdatePatternAnyEntityRolePreparer prepares the UpdatePatternAnyEntityRole request.

func (ModelClient) UpdatePatternAnyEntityRoleResponder

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

UpdatePatternAnyEntityRoleResponder handles the response to the UpdatePatternAnyEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdatePatternAnyEntityRoleSender

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

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

func (ModelClient) UpdatePrebuiltEntityRole

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

UpdatePrebuiltEntityRole sends the update prebuilt entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdatePrebuiltEntityRolePreparer

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

UpdatePrebuiltEntityRolePreparer prepares the UpdatePrebuiltEntityRole request.

func (ModelClient) UpdatePrebuiltEntityRoleResponder

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

UpdatePrebuiltEntityRoleResponder handles the response to the UpdatePrebuiltEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdatePrebuiltEntityRoleSender

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

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

func (ModelClient) UpdateRegexEntityModel

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

UpdateRegexEntityModel sends the update regex entity model request. Parameters: appID - the application ID. versionID - the version ID. regexEntityID - the regular expression entity extractor ID. regexEntityUpdateObject - an object containing the new entity name and regex pattern.

func (ModelClient) UpdateRegexEntityModelPreparer

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

UpdateRegexEntityModelPreparer prepares the UpdateRegexEntityModel request.

func (ModelClient) UpdateRegexEntityModelResponder

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

UpdateRegexEntityModelResponder handles the response to the UpdateRegexEntityModel request. The method always closes the http.Response Body.

func (ModelClient) UpdateRegexEntityModelSender

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

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

func (ModelClient) UpdateRegexEntityRole

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

UpdateRegexEntityRole sends the update regex entity role request. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity ID. roleID - the entity role ID. entityRoleUpdateObject - the new entity role.

func (ModelClient) UpdateRegexEntityRolePreparer

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

UpdateRegexEntityRolePreparer prepares the UpdateRegexEntityRole request.

func (ModelClient) UpdateRegexEntityRoleResponder

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

UpdateRegexEntityRoleResponder handles the response to the UpdateRegexEntityRole request. The method always closes the http.Response Body.

func (ModelClient) UpdateRegexEntityRoleSender

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

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

func (ModelClient) UpdateSubList

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

UpdateSubList updates one of the list entity's sublists in a version of the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the list entity extractor ID. subListID - the sublist ID. wordListBaseUpdateObject - a sublist update object containing the new canonical form and the list of words.

func (ModelClient) UpdateSubListPreparer

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

UpdateSubListPreparer prepares the UpdateSubList request.

func (ModelClient) UpdateSubListResponder

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

UpdateSubListResponder handles the response to the UpdateSubList request. The method always closes the http.Response Body.

func (ModelClient) UpdateSubListSender

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

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

type ModelCreateObject

type ModelCreateObject struct {
	// Name - Name of the new entity extractor.
	Name *string `json:"name,omitempty"`
}

ModelCreateObject object model for creating a new entity extractor.

type ModelFeatureInformation

type ModelFeatureInformation struct {
	// ModelName - The name of the model used.
	ModelName *string `json:"modelName,omitempty"`
	// FeatureName - The name of the feature used.
	FeatureName *string `json:"featureName,omitempty"`
	IsRequired  *bool   `json:"isRequired,omitempty"`
}

ModelFeatureInformation an object containing the model feature information either the model name or feature name.

type ModelInfo

type ModelInfo 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: 'ReadableTypeEntityExtractor', 'ReadableTypeChildEntityExtractor', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypeRegexEntityExtractor'
	ReadableType ReadableType `json:"readableType,omitempty"`
}

ModelInfo base type used in entity types.

type ModelInfoResponse

type ModelInfoResponse 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: 'ReadableType2EntityExtractor', 'ReadableType2ChildEntityExtractor', '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"`
	// SubLists - List of sublists.
	SubLists *[]SubClosedListResponse `json:"subLists,omitempty"`
	// CustomPrebuiltDomainName - The domain name.
	CustomPrebuiltDomainName *string `json:"customPrebuiltDomainName,omitempty"`
	// CustomPrebuiltModelName - The intent name or entity name.
	CustomPrebuiltModelName *string `json:"customPrebuiltModelName,omitempty"`
	// RegexPattern - The Regular Expression entity pattern.
	RegexPattern *string             `json:"regexPattern,omitempty"`
	ExplicitList *[]ExplicitListItem `json:"explicitList,omitempty"`
}

ModelInfoResponse an application model info.

type ModelTrainingDetails

type ModelTrainingDetails struct {
	// StatusID - The train request status ID.
	StatusID *int32 `json:"statusId,omitempty"`
	// Status - Possible values include: 'Status1Queued', 'Status1InProgress', 'Status1UpToDate', 'Status1Fail', 'Status1Success'
	Status Status1 `json:"status,omitempty"`
	// ExampleCount - The count of examples used to train the model.
	ExampleCount *int32 `json:"exampleCount,omitempty"`
	// TrainingDateTime - When the model was trained.
	TrainingDateTime *date.Time `json:"trainingDateTime,omitempty"`
	// FailureReason - Reason for the training failure.
	FailureReason *string `json:"failureReason,omitempty"`
}

ModelTrainingDetails model Training Details.

type ModelTrainingInfo

type ModelTrainingInfo struct {
	// ModelID - The ID (GUID) of the model.
	ModelID *uuid.UUID            `json:"modelId,omitempty"`
	Details *ModelTrainingDetails `json:"details,omitempty"`
}

ModelTrainingInfo model Training Info.

type ModelUpdateObject

type ModelUpdateObject struct {
	// Name - The entity's new name.
	Name *string `json:"name,omitempty"`
}

ModelUpdateObject object model for updating an intent classifier.

type NDepthEntityExtractor

type NDepthEntityExtractor 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: 'ReadableType9EntityExtractor', 'ReadableType9ChildEntityExtractor', 'ReadableType9HierarchicalEntityExtractor', 'ReadableType9HierarchicalChildEntityExtractor', 'ReadableType9CompositeEntityExtractor', 'ReadableType9ListEntityExtractor', 'ReadableType9PrebuiltEntityExtractor', 'ReadableType9IntentClassifier', 'ReadableType9PatternAnyEntityExtractor', 'ReadableType9ClosedListEntityExtractor', 'ReadableType9RegexEntityExtractor'
	ReadableType ReadableType9 `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"`
	Children                *[]ChildEntity `json:"children,omitempty"`
}

NDepthEntityExtractor n-Depth Entity Extractor.

type OperationError

type OperationError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

OperationError operation error details when invoking an operation on the API.

type OperationStatus

type OperationStatus struct {
	autorest.Response `json:"-"`
	// Code - Status Code. Possible values include: 'Failed', 'FAILED', 'Success'
	Code OperationStatusType `json:"code,omitempty"`
	// Message - Status details.
	Message *string `json:"message,omitempty"`
}

OperationStatus response of an Operation status.

type OperationStatusType

type OperationStatusType string

OperationStatusType enumerates the values for operation status type.

const (
	// Failed ...
	Failed OperationStatusType = "Failed"
	// FAILED ...
	FAILED OperationStatusType = "FAILED"
	// Success ...
	Success OperationStatusType = "Success"
)

func PossibleOperationStatusTypeValues

func PossibleOperationStatusTypeValues() []OperationStatusType

PossibleOperationStatusTypeValues returns an array of possible values for the OperationStatusType const type.

type PatternAny

type PatternAny struct {
	Name         *string   `json:"name,omitempty"`
	ExplicitList *[]string `json:"explicitList,omitempty"`
	Roles        *[]string `json:"roles,omitempty"`
}

PatternAny pattern.Any Entity Extractor.

type PatternAnyEntityExtractor

type PatternAnyEntityExtractor 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: 'ReadableType11EntityExtractor', 'ReadableType11ChildEntityExtractor', 'ReadableType11HierarchicalEntityExtractor', 'ReadableType11HierarchicalChildEntityExtractor', 'ReadableType11CompositeEntityExtractor', 'ReadableType11ListEntityExtractor', 'ReadableType11PrebuiltEntityExtractor', 'ReadableType11IntentClassifier', 'ReadableType11PatternAnyEntityExtractor', 'ReadableType11ClosedListEntityExtractor', 'ReadableType11RegexEntityExtractor'
	ReadableType ReadableType11      `json:"readableType,omitempty"`
	Roles        *[]EntityRole       `json:"roles,omitempty"`
	ExplicitList *[]ExplicitListItem `json:"explicitList,omitempty"`
}

PatternAnyEntityExtractor pattern.Any Entity Extractor.

type PatternAnyModelCreateObject

type PatternAnyModelCreateObject struct {
	// Name - The model name.
	Name *string `json:"name,omitempty"`
	// ExplicitList - The Pattern.Any explicit list.
	ExplicitList *[]string `json:"explicitList,omitempty"`
}

PatternAnyModelCreateObject model object for creating a Pattern.Any entity model.

type PatternAnyModelUpdateObject

type PatternAnyModelUpdateObject struct {
	// Name - The model name.
	Name *string `json:"name,omitempty"`
	// ExplicitList - The Pattern.Any explicit list.
	ExplicitList *[]string `json:"explicitList,omitempty"`
}

PatternAnyModelUpdateObject model object for updating a Pattern.Any entity model.

type PatternClient

type PatternClient struct {
	BaseClient
}

PatternClient is the client for the Pattern methods of the Authoring service.

func NewPatternClient

func NewPatternClient(endpoint string) PatternClient

NewPatternClient creates an instance of the PatternClient client.

func (PatternClient) AddPattern

func (client PatternClient) AddPattern(ctx context.Context, appID uuid.UUID, versionID string, pattern PatternRuleCreateObject) (result PatternRuleInfo, err error)

AddPattern sends the add pattern request. Parameters: appID - the application ID. versionID - the version ID. pattern - the input pattern.

func (PatternClient) AddPatternPreparer

func (client PatternClient) AddPatternPreparer(ctx context.Context, appID uuid.UUID, versionID string, pattern PatternRuleCreateObject) (*http.Request, error)

AddPatternPreparer prepares the AddPattern request.

func (PatternClient) AddPatternResponder

func (client PatternClient) AddPatternResponder(resp *http.Response) (result PatternRuleInfo, err error)

AddPatternResponder handles the response to the AddPattern request. The method always closes the http.Response Body.

func (PatternClient) AddPatternSender

func (client PatternClient) AddPatternSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) BatchAddPatterns

func (client PatternClient) BatchAddPatterns(ctx context.Context, appID uuid.UUID, versionID string, patterns []PatternRuleCreateObject) (result ListPatternRuleInfo, err error)

BatchAddPatterns sends the batch add patterns request. Parameters: appID - the application ID. versionID - the version ID. patterns - a JSON array containing patterns.

func (PatternClient) BatchAddPatternsPreparer

func (client PatternClient) BatchAddPatternsPreparer(ctx context.Context, appID uuid.UUID, versionID string, patterns []PatternRuleCreateObject) (*http.Request, error)

BatchAddPatternsPreparer prepares the BatchAddPatterns request.

func (PatternClient) BatchAddPatternsResponder

func (client PatternClient) BatchAddPatternsResponder(resp *http.Response) (result ListPatternRuleInfo, err error)

BatchAddPatternsResponder handles the response to the BatchAddPatterns request. The method always closes the http.Response Body.

func (PatternClient) BatchAddPatternsSender

func (client PatternClient) BatchAddPatternsSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) DeletePattern

func (client PatternClient) DeletePattern(ctx context.Context, appID uuid.UUID, versionID string, patternID uuid.UUID) (result OperationStatus, err error)

DeletePattern sends the delete pattern request. Parameters: appID - the application ID. versionID - the version ID. patternID - the pattern ID.

func (PatternClient) DeletePatternPreparer

func (client PatternClient) DeletePatternPreparer(ctx context.Context, appID uuid.UUID, versionID string, patternID uuid.UUID) (*http.Request, error)

DeletePatternPreparer prepares the DeletePattern request.

func (PatternClient) DeletePatternResponder

func (client PatternClient) DeletePatternResponder(resp *http.Response) (result OperationStatus, err error)

DeletePatternResponder handles the response to the DeletePattern request. The method always closes the http.Response Body.

func (PatternClient) DeletePatternSender

func (client PatternClient) DeletePatternSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) DeletePatterns

func (client PatternClient) DeletePatterns(ctx context.Context, appID uuid.UUID, versionID string, patternIds []uuid.UUID) (result OperationStatus, err error)

DeletePatterns sends the delete patterns request. Parameters: appID - the application ID. versionID - the version ID. patternIds - the patterns IDs.

func (PatternClient) DeletePatternsPreparer

func (client PatternClient) DeletePatternsPreparer(ctx context.Context, appID uuid.UUID, versionID string, patternIds []uuid.UUID) (*http.Request, error)

DeletePatternsPreparer prepares the DeletePatterns request.

func (PatternClient) DeletePatternsResponder

func (client PatternClient) DeletePatternsResponder(resp *http.Response) (result OperationStatus, err error)

DeletePatternsResponder handles the response to the DeletePatterns request. The method always closes the http.Response Body.

func (PatternClient) DeletePatternsSender

func (client PatternClient) DeletePatternsSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) ListIntentPatterns

func (client PatternClient) ListIntentPatterns(ctx context.Context, appID uuid.UUID, versionID string, intentID uuid.UUID, skip *int32, take *int32) (result ListPatternRuleInfo, err error)

ListIntentPatterns sends the list intent patterns request. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier 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 (PatternClient) ListIntentPatternsPreparer

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

ListIntentPatternsPreparer prepares the ListIntentPatterns request.

func (PatternClient) ListIntentPatternsResponder

func (client PatternClient) ListIntentPatternsResponder(resp *http.Response) (result ListPatternRuleInfo, err error)

ListIntentPatternsResponder handles the response to the ListIntentPatterns request. The method always closes the http.Response Body.

func (PatternClient) ListIntentPatternsSender

func (client PatternClient) ListIntentPatternsSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) ListPatterns

func (client PatternClient) ListPatterns(ctx context.Context, appID uuid.UUID, versionID string, skip *int32, take *int32) (result ListPatternRuleInfo, err error)

ListPatterns sends the list patterns request. 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 (PatternClient) ListPatternsPreparer

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

ListPatternsPreparer prepares the ListPatterns request.

func (PatternClient) ListPatternsResponder

func (client PatternClient) ListPatternsResponder(resp *http.Response) (result ListPatternRuleInfo, err error)

ListPatternsResponder handles the response to the ListPatterns request. The method always closes the http.Response Body.

func (PatternClient) ListPatternsSender

func (client PatternClient) ListPatternsSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) UpdatePattern

func (client PatternClient) UpdatePattern(ctx context.Context, appID uuid.UUID, versionID string, patternID uuid.UUID, pattern PatternRuleUpdateObject) (result PatternRuleInfo, err error)

UpdatePattern sends the update pattern request. Parameters: appID - the application ID. versionID - the version ID. patternID - the pattern ID. pattern - an object representing a pattern.

func (PatternClient) UpdatePatternPreparer

func (client PatternClient) UpdatePatternPreparer(ctx context.Context, appID uuid.UUID, versionID string, patternID uuid.UUID, pattern PatternRuleUpdateObject) (*http.Request, error)

UpdatePatternPreparer prepares the UpdatePattern request.

func (PatternClient) UpdatePatternResponder

func (client PatternClient) UpdatePatternResponder(resp *http.Response) (result PatternRuleInfo, err error)

UpdatePatternResponder handles the response to the UpdatePattern request. The method always closes the http.Response Body.

func (PatternClient) UpdatePatternSender

func (client PatternClient) UpdatePatternSender(req *http.Request) (*http.Response, error)

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

func (PatternClient) UpdatePatterns

func (client PatternClient) UpdatePatterns(ctx context.Context, appID uuid.UUID, versionID string, patterns []PatternRuleUpdateObject) (result ListPatternRuleInfo, err error)

UpdatePatterns sends the update patterns request. Parameters: appID - the application ID. versionID - the version ID. patterns - an array represents the patterns.

func (PatternClient) UpdatePatternsPreparer

func (client PatternClient) UpdatePatternsPreparer(ctx context.Context, appID uuid.UUID, versionID string, patterns []PatternRuleUpdateObject) (*http.Request, error)

UpdatePatternsPreparer prepares the UpdatePatterns request.

func (PatternClient) UpdatePatternsResponder

func (client PatternClient) UpdatePatternsResponder(resp *http.Response) (result ListPatternRuleInfo, err error)

UpdatePatternsResponder handles the response to the UpdatePatterns request. The method always closes the http.Response Body.

func (PatternClient) UpdatePatternsSender

func (client PatternClient) UpdatePatternsSender(req *http.Request) (*http.Response, error)

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

type PatternFeatureInfo

type PatternFeatureInfo struct {
	// Pattern - The Regular Expression to match.
	Pattern *string `json:"pattern,omitempty"`
	// 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"`
	// EnabledForAllModels - Indicates if the feature is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"`
}

PatternFeatureInfo pattern feature.

type PatternRule

type PatternRule struct {
	// Pattern - The pattern text.
	Pattern *string `json:"pattern,omitempty"`
	// Intent - The intent's name where the pattern belongs to.
	Intent *string `json:"intent,omitempty"`
}

PatternRule pattern

type PatternRuleCreateObject

type PatternRuleCreateObject struct {
	// Pattern - The pattern text.
	Pattern *string `json:"pattern,omitempty"`
	// Intent - The intent's name which the pattern belongs to.
	Intent *string `json:"intent,omitempty"`
}

PatternRuleCreateObject object model for creating a pattern

type PatternRuleInfo

type PatternRuleInfo struct {
	autorest.Response `json:"-"`
	// ID - The pattern ID.
	ID *uuid.UUID `json:"id,omitempty"`
	// Pattern - The pattern text.
	Pattern *string `json:"pattern,omitempty"`
	// Intent - The intent's name where the pattern belongs to.
	Intent *string `json:"intent,omitempty"`
}

PatternRuleInfo pattern rule

type PatternRuleUpdateObject

type PatternRuleUpdateObject struct {
	// ID - The pattern ID.
	ID *uuid.UUID `json:"id,omitempty"`
	// Pattern - The pattern text.
	Pattern *string `json:"pattern,omitempty"`
	// Intent - The intent's name which the pattern belongs to.
	Intent *string `json:"intent,omitempty"`
}

PatternRuleUpdateObject object model for updating a pattern.

type PersonalAssistantsResponse

type PersonalAssistantsResponse struct {
	autorest.Response `json:"-"`
	EndpointKeys      *[]uuid.UUID       `json:"endpointKeys,omitempty"`
	EndpointUrls      map[string]*string `json:"endpointUrls"`
}

PersonalAssistantsResponse response containing user's endpoint keys and the endpoint URLs of the prebuilt Cortana applications.

func (PersonalAssistantsResponse) MarshalJSON

func (par PersonalAssistantsResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PersonalAssistantsResponse.

type PhraseListFeatureInfo

type PhraseListFeatureInfo struct {
	autorest.Response `json:"-"`
	// Phrases - A list of comma-separated values.
	Phrases *string `json:"phrases,omitempty"`
	// IsExchangeable - An exchangeable phrase list feature are serves as single feature to the LUIS underlying training algorithm. 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. Think of an exchangeable as a synonyms list. A non-exchangeable phrase list feature has all the phrases in the list serve as separate features to the underlying training algorithm. So, if you your phrase list feature contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-exchangeable phrase list feature as an additional bag of words that you are willing to add to LUIS existing vocabulary features. Think of a non-exchangeable as set of different words. Default value is true.
	IsExchangeable *bool `json:"isExchangeable,omitempty"`
	// 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"`
	// EnabledForAllModels - Indicates if the feature is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"`
}

PhraseListFeatureInfo phraselist Feature.

type PhraselistCreateObject

type PhraselistCreateObject struct {
	// Phrases - List of comma-separated phrases that represent the Phraselist.
	Phrases *string `json:"phrases,omitempty"`
	// Name - The Phraselist name.
	Name *string `json:"name,omitempty"`
	// IsExchangeable - 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.
	IsExchangeable *bool `json:"isExchangeable,omitempty"`
	// EnabledForAllModels - Indicates if the Phraselist is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"`
}

PhraselistCreateObject object model for creating a phraselist model.

type PhraselistUpdateObject

type PhraselistUpdateObject struct {
	// Phrases - List of comma-separated phrases that represent the Phraselist.
	Phrases *string `json:"phrases,omitempty"`
	// Name - The Phraselist name.
	Name *string `json:"name,omitempty"`
	// IsActive - Indicates if the Phraselist is enabled.
	IsActive *bool `json:"isActive,omitempty"`
	// IsExchangeable - An exchangeable phrase list feature are serves as single feature to the LUIS underlying training algorithm. 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. Think of an exchangeable as a synonyms list. A non-exchangeable phrase list feature has all the phrases in the list serve as separate features to the underlying training algorithm. So, if you your phrase list feature contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-exchangeable phrase list feature as an additional bag of words that you are willing to add to LUIS existing vocabulary features. Think of a non-exchangeable as set of different words. Default value is true.
	IsExchangeable *bool `json:"isExchangeable,omitempty"`
	// EnabledForAllModels - Indicates if the Phraselist is enabled for all models in the application.
	EnabledForAllModels *bool `json:"enabledForAllModels,omitempty"`
}

PhraselistUpdateObject object model for updating a Phraselist.

type PrebuiltDomain

type PrebuiltDomain struct {
	Name        *string               `json:"name,omitempty"`
	Culture     *string               `json:"culture,omitempty"`
	Description *string               `json:"description,omitempty"`
	Examples    *string               `json:"examples,omitempty"`
	Intents     *[]PrebuiltDomainItem `json:"intents,omitempty"`
	Entities    *[]PrebuiltDomainItem `json:"entities,omitempty"`
}

PrebuiltDomain prebuilt Domain.

type PrebuiltDomainCreateBaseObject

type PrebuiltDomainCreateBaseObject struct {
	// DomainName - The domain name.
	DomainName *string `json:"domainName,omitempty"`
}

PrebuiltDomainCreateBaseObject a model object containing the name of the custom prebuilt entity and the name of the domain to which this model belongs.

type PrebuiltDomainCreateObject

type PrebuiltDomainCreateObject struct {
	// DomainName - The domain name.
	DomainName *string `json:"domainName,omitempty"`
	// Culture - The culture of the new domain.
	Culture *string `json:"culture,omitempty"`
}

PrebuiltDomainCreateObject a prebuilt domain create object containing the name and culture of the domain.

type PrebuiltDomainItem

type PrebuiltDomainItem struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Examples    *string `json:"examples,omitempty"`
}

PrebuiltDomainItem ...

type PrebuiltDomainModelCreateObject

type PrebuiltDomainModelCreateObject struct {
	// DomainName - The domain name.
	DomainName *string `json:"domainName,omitempty"`
	// ModelName - The intent name or entity name.
	ModelName *string `json:"modelName,omitempty"`
}

PrebuiltDomainModelCreateObject a model object containing the name of the custom prebuilt intent or entity and the name of the domain to which this model belongs.

type PrebuiltDomainObject

type PrebuiltDomainObject struct {
	DomainName *string `json:"domain_name,omitempty"`
	ModelName  *string `json:"model_name,omitempty"`
}

PrebuiltDomainObject ...

type PrebuiltEntity

type PrebuiltEntity struct {
	Name  *string   `json:"name,omitempty"`
	Roles *[]string `json:"roles,omitempty"`
}

PrebuiltEntity prebuilt Entity Extractor.

type PrebuiltEntityExtractor

type PrebuiltEntityExtractor 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: 'ReadableType6EntityExtractor', 'ReadableType6ChildEntityExtractor', 'ReadableType6HierarchicalEntityExtractor', 'ReadableType6HierarchicalChildEntityExtractor', 'ReadableType6CompositeEntityExtractor', 'ReadableType6ListEntityExtractor', 'ReadableType6PrebuiltEntityExtractor', 'ReadableType6IntentClassifier', 'ReadableType6PatternAnyEntityExtractor', 'ReadableType6ClosedListEntityExtractor', 'ReadableType6RegexEntityExtractor'
	ReadableType ReadableType6 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
}

PrebuiltEntityExtractor prebuilt Entity Extractor.

type ProductionOrStagingEndpointInfo

type ProductionOrStagingEndpointInfo struct {
	autorest.Response `json:"-"`
	// 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"`
}

ProductionOrStagingEndpointInfo ...

type PublishSettingUpdateObject

type PublishSettingUpdateObject struct {
	// SentimentAnalysis - Setting sentiment analysis as true returns the Sentiment of the input utterance along with the response
	SentimentAnalysis *bool `json:"sentimentAnalysis,omitempty"`
	// Speech - Setting speech as public enables speech priming in your app
	Speech *bool `json:"speech,omitempty"`
	// SpellChecker - Setting spell checker as public enables spell checking the input utterance.
	SpellChecker *bool `json:"spellChecker,omitempty"`
}

PublishSettingUpdateObject object model for updating an application's publish settings.

type PublishSettings

type PublishSettings struct {
	autorest.Response `json:"-"`
	// ID - The application ID.
	ID *uuid.UUID `json:"id,omitempty"`
	// IsSentimentAnalysisEnabled - Setting sentiment analysis as true returns the sentiment of the input utterance along with the response
	IsSentimentAnalysisEnabled *bool `json:"sentimentAnalysis,omitempty"`
	// IsSpeechEnabled - Enables speech priming in your app
	IsSpeechEnabled *bool `json:"speech,omitempty"`
	// IsSpellCheckerEnabled - Enables spell checking of the utterance.
	IsSpellCheckerEnabled *bool `json:"spellChecker,omitempty"`
}

PublishSettings the application publish settings.

type ReadCloser

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

ReadCloser ...

type ReadableType

type ReadableType string

ReadableType enumerates the values for readable type.

const (
	// ReadableTypeChildEntityExtractor ...
	ReadableTypeChildEntityExtractor ReadableType = "Child Entity Extractor"
	// ReadableTypeClosedListEntityExtractor ...
	ReadableTypeClosedListEntityExtractor ReadableType = "Closed List Entity Extractor"
	// ReadableTypeCompositeEntityExtractor ...
	ReadableTypeCompositeEntityExtractor ReadableType = "Composite Entity Extractor"
	// ReadableTypeEntityExtractor ...
	ReadableTypeEntityExtractor ReadableType = "Entity Extractor"
	// ReadableTypeHierarchicalChildEntityExtractor ...
	ReadableTypeHierarchicalChildEntityExtractor ReadableType = "Hierarchical Child Entity Extractor"
	// ReadableTypeHierarchicalEntityExtractor ...
	ReadableTypeHierarchicalEntityExtractor ReadableType = "Hierarchical Entity Extractor"
	// ReadableTypeIntentClassifier ...
	ReadableTypeIntentClassifier ReadableType = "Intent Classifier"
	// ReadableTypeListEntityExtractor ...
	ReadableTypeListEntityExtractor ReadableType = "List Entity Extractor"
	// ReadableTypePatternAnyEntityExtractor ...
	ReadableTypePatternAnyEntityExtractor ReadableType = "Pattern.Any Entity Extractor"
	// ReadableTypePrebuiltEntityExtractor ...
	ReadableTypePrebuiltEntityExtractor ReadableType = "Prebuilt Entity Extractor"
	// ReadableTypeRegexEntityExtractor ...
	ReadableTypeRegexEntityExtractor ReadableType = "Regex Entity Extractor"
)

func PossibleReadableTypeValues

func PossibleReadableTypeValues() []ReadableType

PossibleReadableTypeValues returns an array of possible values for the ReadableType const type.

type ReadableType1

type ReadableType1 string

ReadableType1 enumerates the values for readable type 1.

const (
	// ReadableType1ChildEntityExtractor ...
	ReadableType1ChildEntityExtractor ReadableType1 = "Child Entity Extractor"
	// ReadableType1ClosedListEntityExtractor ...
	ReadableType1ClosedListEntityExtractor ReadableType1 = "Closed List Entity Extractor"
	// ReadableType1CompositeEntityExtractor ...
	ReadableType1CompositeEntityExtractor ReadableType1 = "Composite Entity Extractor"
	// ReadableType1EntityExtractor ...
	ReadableType1EntityExtractor ReadableType1 = "Entity Extractor"
	// ReadableType1HierarchicalChildEntityExtractor ...
	ReadableType1HierarchicalChildEntityExtractor ReadableType1 = "Hierarchical Child Entity Extractor"
	// ReadableType1HierarchicalEntityExtractor ...
	ReadableType1HierarchicalEntityExtractor ReadableType1 = "Hierarchical Entity Extractor"
	// ReadableType1IntentClassifier ...
	ReadableType1IntentClassifier ReadableType1 = "Intent Classifier"
	// ReadableType1ListEntityExtractor ...
	ReadableType1ListEntityExtractor ReadableType1 = "List Entity Extractor"
	// ReadableType1PatternAnyEntityExtractor ...
	ReadableType1PatternAnyEntityExtractor ReadableType1 = "Pattern.Any Entity Extractor"
	// ReadableType1PrebuiltEntityExtractor ...
	ReadableType1PrebuiltEntityExtractor ReadableType1 = "Prebuilt Entity Extractor"
	// ReadableType1RegexEntityExtractor ...
	ReadableType1RegexEntityExtractor ReadableType1 = "Regex Entity Extractor"
)

func PossibleReadableType1Values

func PossibleReadableType1Values() []ReadableType1

PossibleReadableType1Values returns an array of possible values for the ReadableType1 const type.

type ReadableType10

type ReadableType10 string

ReadableType10 enumerates the values for readable type 10.

const (
	// ReadableType10ChildEntityExtractor ...
	ReadableType10ChildEntityExtractor ReadableType10 = "Child Entity Extractor"
	// ReadableType10ClosedListEntityExtractor ...
	ReadableType10ClosedListEntityExtractor ReadableType10 = "Closed List Entity Extractor"
	// ReadableType10CompositeEntityExtractor ...
	ReadableType10CompositeEntityExtractor ReadableType10 = "Composite Entity Extractor"
	// ReadableType10EntityExtractor ...
	ReadableType10EntityExtractor ReadableType10 = "Entity Extractor"
	// ReadableType10HierarchicalChildEntityExtractor ...
	ReadableType10HierarchicalChildEntityExtractor ReadableType10 = "Hierarchical Child Entity Extractor"
	// ReadableType10HierarchicalEntityExtractor ...
	ReadableType10HierarchicalEntityExtractor ReadableType10 = "Hierarchical Entity Extractor"
	// ReadableType10IntentClassifier ...
	ReadableType10IntentClassifier ReadableType10 = "Intent Classifier"
	// ReadableType10ListEntityExtractor ...
	ReadableType10ListEntityExtractor ReadableType10 = "List Entity Extractor"
	// ReadableType10PatternAnyEntityExtractor ...
	ReadableType10PatternAnyEntityExtractor ReadableType10 = "Pattern.Any Entity Extractor"
	// ReadableType10PrebuiltEntityExtractor ...
	ReadableType10PrebuiltEntityExtractor ReadableType10 = "Prebuilt Entity Extractor"
	// ReadableType10RegexEntityExtractor ...
	ReadableType10RegexEntityExtractor ReadableType10 = "Regex Entity Extractor"
)

func PossibleReadableType10Values

func PossibleReadableType10Values() []ReadableType10

PossibleReadableType10Values returns an array of possible values for the ReadableType10 const type.

type ReadableType11

type ReadableType11 string

ReadableType11 enumerates the values for readable type 11.

const (
	// ReadableType11ChildEntityExtractor ...
	ReadableType11ChildEntityExtractor ReadableType11 = "Child Entity Extractor"
	// ReadableType11ClosedListEntityExtractor ...
	ReadableType11ClosedListEntityExtractor ReadableType11 = "Closed List Entity Extractor"
	// ReadableType11CompositeEntityExtractor ...
	ReadableType11CompositeEntityExtractor ReadableType11 = "Composite Entity Extractor"
	// ReadableType11EntityExtractor ...
	ReadableType11EntityExtractor ReadableType11 = "Entity Extractor"
	// ReadableType11HierarchicalChildEntityExtractor ...
	ReadableType11HierarchicalChildEntityExtractor ReadableType11 = "Hierarchical Child Entity Extractor"
	// ReadableType11HierarchicalEntityExtractor ...
	ReadableType11HierarchicalEntityExtractor ReadableType11 = "Hierarchical Entity Extractor"
	// ReadableType11IntentClassifier ...
	ReadableType11IntentClassifier ReadableType11 = "Intent Classifier"
	// ReadableType11ListEntityExtractor ...
	ReadableType11ListEntityExtractor ReadableType11 = "List Entity Extractor"
	// ReadableType11PatternAnyEntityExtractor ...
	ReadableType11PatternAnyEntityExtractor ReadableType11 = "Pattern.Any Entity Extractor"
	// ReadableType11PrebuiltEntityExtractor ...
	ReadableType11PrebuiltEntityExtractor ReadableType11 = "Prebuilt Entity Extractor"
	// ReadableType11RegexEntityExtractor ...
	ReadableType11RegexEntityExtractor ReadableType11 = "Regex Entity Extractor"
)

func PossibleReadableType11Values

func PossibleReadableType11Values() []ReadableType11

PossibleReadableType11Values returns an array of possible values for the ReadableType11 const type.

type ReadableType2

type ReadableType2 string

ReadableType2 enumerates the values for readable type 2.

const (
	// ReadableType2ChildEntityExtractor ...
	ReadableType2ChildEntityExtractor ReadableType2 = "Child Entity Extractor"
	// ReadableType2ClosedListEntityExtractor ...
	ReadableType2ClosedListEntityExtractor ReadableType2 = "Closed List Entity Extractor"
	// ReadableType2CompositeEntityExtractor ...
	ReadableType2CompositeEntityExtractor ReadableType2 = "Composite Entity Extractor"
	// ReadableType2EntityExtractor ...
	ReadableType2EntityExtractor ReadableType2 = "Entity Extractor"
	// ReadableType2HierarchicalChildEntityExtractor ...
	ReadableType2HierarchicalChildEntityExtractor ReadableType2 = "Hierarchical Child Entity Extractor"
	// ReadableType2HierarchicalEntityExtractor ...
	ReadableType2HierarchicalEntityExtractor ReadableType2 = "Hierarchical Entity Extractor"
	// ReadableType2IntentClassifier ...
	ReadableType2IntentClassifier ReadableType2 = "Intent Classifier"
	// ReadableType2ListEntityExtractor ...
	ReadableType2ListEntityExtractor ReadableType2 = "List Entity Extractor"
	// ReadableType2PatternAnyEntityExtractor ...
	ReadableType2PatternAnyEntityExtractor ReadableType2 = "Pattern.Any Entity Extractor"
	// ReadableType2PrebuiltEntityExtractor ...
	ReadableType2PrebuiltEntityExtractor ReadableType2 = "Prebuilt Entity Extractor"
	// ReadableType2RegexEntityExtractor ...
	ReadableType2RegexEntityExtractor ReadableType2 = "Regex Entity Extractor"
)

func PossibleReadableType2Values

func PossibleReadableType2Values() []ReadableType2

PossibleReadableType2Values returns an array of possible values for the ReadableType2 const type.

type ReadableType3

type ReadableType3 string

ReadableType3 enumerates the values for readable type 3.

const (
	// ReadableType3ChildEntityExtractor ...
	ReadableType3ChildEntityExtractor ReadableType3 = "Child Entity Extractor"
	// ReadableType3ClosedListEntityExtractor ...
	ReadableType3ClosedListEntityExtractor ReadableType3 = "Closed List Entity Extractor"
	// ReadableType3CompositeEntityExtractor ...
	ReadableType3CompositeEntityExtractor ReadableType3 = "Composite Entity Extractor"
	// ReadableType3EntityExtractor ...
	ReadableType3EntityExtractor ReadableType3 = "Entity Extractor"
	// ReadableType3HierarchicalChildEntityExtractor ...
	ReadableType3HierarchicalChildEntityExtractor ReadableType3 = "Hierarchical Child Entity Extractor"
	// ReadableType3HierarchicalEntityExtractor ...
	ReadableType3HierarchicalEntityExtractor ReadableType3 = "Hierarchical Entity Extractor"
	// ReadableType3IntentClassifier ...
	ReadableType3IntentClassifier ReadableType3 = "Intent Classifier"
	// ReadableType3ListEntityExtractor ...
	ReadableType3ListEntityExtractor ReadableType3 = "List Entity Extractor"
	// ReadableType3PatternAnyEntityExtractor ...
	ReadableType3PatternAnyEntityExtractor ReadableType3 = "Pattern.Any Entity Extractor"
	// ReadableType3PrebuiltEntityExtractor ...
	ReadableType3PrebuiltEntityExtractor ReadableType3 = "Prebuilt Entity Extractor"
	// ReadableType3RegexEntityExtractor ...
	ReadableType3RegexEntityExtractor ReadableType3 = "Regex Entity Extractor"
)

func PossibleReadableType3Values

func PossibleReadableType3Values() []ReadableType3

PossibleReadableType3Values returns an array of possible values for the ReadableType3 const type.

type ReadableType4

type ReadableType4 string

ReadableType4 enumerates the values for readable type 4.

const (
	// ReadableType4ChildEntityExtractor ...
	ReadableType4ChildEntityExtractor ReadableType4 = "Child Entity Extractor"
	// ReadableType4ClosedListEntityExtractor ...
	ReadableType4ClosedListEntityExtractor ReadableType4 = "Closed List Entity Extractor"
	// ReadableType4CompositeEntityExtractor ...
	ReadableType4CompositeEntityExtractor ReadableType4 = "Composite Entity Extractor"
	// ReadableType4EntityExtractor ...
	ReadableType4EntityExtractor ReadableType4 = "Entity Extractor"
	// ReadableType4HierarchicalChildEntityExtractor ...
	ReadableType4HierarchicalChildEntityExtractor ReadableType4 = "Hierarchical Child Entity Extractor"
	// ReadableType4HierarchicalEntityExtractor ...
	ReadableType4HierarchicalEntityExtractor ReadableType4 = "Hierarchical Entity Extractor"
	// ReadableType4IntentClassifier ...
	ReadableType4IntentClassifier ReadableType4 = "Intent Classifier"
	// ReadableType4ListEntityExtractor ...
	ReadableType4ListEntityExtractor ReadableType4 = "List Entity Extractor"
	// ReadableType4PatternAnyEntityExtractor ...
	ReadableType4PatternAnyEntityExtractor ReadableType4 = "Pattern.Any Entity Extractor"
	// ReadableType4PrebuiltEntityExtractor ...
	ReadableType4PrebuiltEntityExtractor ReadableType4 = "Prebuilt Entity Extractor"
	// ReadableType4RegexEntityExtractor ...
	ReadableType4RegexEntityExtractor ReadableType4 = "Regex Entity Extractor"
)

func PossibleReadableType4Values

func PossibleReadableType4Values() []ReadableType4

PossibleReadableType4Values returns an array of possible values for the ReadableType4 const type.

type ReadableType5

type ReadableType5 string

ReadableType5 enumerates the values for readable type 5.

const (
	// ReadableType5ChildEntityExtractor ...
	ReadableType5ChildEntityExtractor ReadableType5 = "Child Entity Extractor"
	// ReadableType5ClosedListEntityExtractor ...
	ReadableType5ClosedListEntityExtractor ReadableType5 = "Closed List Entity Extractor"
	// ReadableType5CompositeEntityExtractor ...
	ReadableType5CompositeEntityExtractor ReadableType5 = "Composite Entity Extractor"
	// ReadableType5EntityExtractor ...
	ReadableType5EntityExtractor ReadableType5 = "Entity Extractor"
	// ReadableType5HierarchicalChildEntityExtractor ...
	ReadableType5HierarchicalChildEntityExtractor ReadableType5 = "Hierarchical Child Entity Extractor"
	// ReadableType5HierarchicalEntityExtractor ...
	ReadableType5HierarchicalEntityExtractor ReadableType5 = "Hierarchical Entity Extractor"
	// ReadableType5IntentClassifier ...
	ReadableType5IntentClassifier ReadableType5 = "Intent Classifier"
	// ReadableType5ListEntityExtractor ...
	ReadableType5ListEntityExtractor ReadableType5 = "List Entity Extractor"
	// ReadableType5PatternAnyEntityExtractor ...
	ReadableType5PatternAnyEntityExtractor ReadableType5 = "Pattern.Any Entity Extractor"
	// ReadableType5PrebuiltEntityExtractor ...
	ReadableType5PrebuiltEntityExtractor ReadableType5 = "Prebuilt Entity Extractor"
	// ReadableType5RegexEntityExtractor ...
	ReadableType5RegexEntityExtractor ReadableType5 = "Regex Entity Extractor"
)

func PossibleReadableType5Values

func PossibleReadableType5Values() []ReadableType5

PossibleReadableType5Values returns an array of possible values for the ReadableType5 const type.

type ReadableType6

type ReadableType6 string

ReadableType6 enumerates the values for readable type 6.

const (
	// ReadableType6ChildEntityExtractor ...
	ReadableType6ChildEntityExtractor ReadableType6 = "Child Entity Extractor"
	// ReadableType6ClosedListEntityExtractor ...
	ReadableType6ClosedListEntityExtractor ReadableType6 = "Closed List Entity Extractor"
	// ReadableType6CompositeEntityExtractor ...
	ReadableType6CompositeEntityExtractor ReadableType6 = "Composite Entity Extractor"
	// ReadableType6EntityExtractor ...
	ReadableType6EntityExtractor ReadableType6 = "Entity Extractor"
	// ReadableType6HierarchicalChildEntityExtractor ...
	ReadableType6HierarchicalChildEntityExtractor ReadableType6 = "Hierarchical Child Entity Extractor"
	// ReadableType6HierarchicalEntityExtractor ...
	ReadableType6HierarchicalEntityExtractor ReadableType6 = "Hierarchical Entity Extractor"
	// ReadableType6IntentClassifier ...
	ReadableType6IntentClassifier ReadableType6 = "Intent Classifier"
	// ReadableType6ListEntityExtractor ...
	ReadableType6ListEntityExtractor ReadableType6 = "List Entity Extractor"
	// ReadableType6PatternAnyEntityExtractor ...
	ReadableType6PatternAnyEntityExtractor ReadableType6 = "Pattern.Any Entity Extractor"
	// ReadableType6PrebuiltEntityExtractor ...
	ReadableType6PrebuiltEntityExtractor ReadableType6 = "Prebuilt Entity Extractor"
	// ReadableType6RegexEntityExtractor ...
	ReadableType6RegexEntityExtractor ReadableType6 = "Regex Entity Extractor"
)

func PossibleReadableType6Values

func PossibleReadableType6Values() []ReadableType6

PossibleReadableType6Values returns an array of possible values for the ReadableType6 const type.

type ReadableType7

type ReadableType7 string

ReadableType7 enumerates the values for readable type 7.

const (
	// ReadableType7ChildEntityExtractor ...
	ReadableType7ChildEntityExtractor ReadableType7 = "Child Entity Extractor"
	// ReadableType7ClosedListEntityExtractor ...
	ReadableType7ClosedListEntityExtractor ReadableType7 = "Closed List Entity Extractor"
	// ReadableType7CompositeEntityExtractor ...
	ReadableType7CompositeEntityExtractor ReadableType7 = "Composite Entity Extractor"
	// ReadableType7EntityExtractor ...
	ReadableType7EntityExtractor ReadableType7 = "Entity Extractor"
	// ReadableType7HierarchicalChildEntityExtractor ...
	ReadableType7HierarchicalChildEntityExtractor ReadableType7 = "Hierarchical Child Entity Extractor"
	// ReadableType7HierarchicalEntityExtractor ...
	ReadableType7HierarchicalEntityExtractor ReadableType7 = "Hierarchical Entity Extractor"
	// ReadableType7IntentClassifier ...
	ReadableType7IntentClassifier ReadableType7 = "Intent Classifier"
	// ReadableType7ListEntityExtractor ...
	ReadableType7ListEntityExtractor ReadableType7 = "List Entity Extractor"
	// ReadableType7PatternAnyEntityExtractor ...
	ReadableType7PatternAnyEntityExtractor ReadableType7 = "Pattern.Any Entity Extractor"
	// ReadableType7PrebuiltEntityExtractor ...
	ReadableType7PrebuiltEntityExtractor ReadableType7 = "Prebuilt Entity Extractor"
	// ReadableType7RegexEntityExtractor ...
	ReadableType7RegexEntityExtractor ReadableType7 = "Regex Entity Extractor"
)

func PossibleReadableType7Values

func PossibleReadableType7Values() []ReadableType7

PossibleReadableType7Values returns an array of possible values for the ReadableType7 const type.

type ReadableType8

type ReadableType8 string

ReadableType8 enumerates the values for readable type 8.

const (
	// ReadableType8ChildEntityExtractor ...
	ReadableType8ChildEntityExtractor ReadableType8 = "Child Entity Extractor"
	// ReadableType8ClosedListEntityExtractor ...
	ReadableType8ClosedListEntityExtractor ReadableType8 = "Closed List Entity Extractor"
	// ReadableType8CompositeEntityExtractor ...
	ReadableType8CompositeEntityExtractor ReadableType8 = "Composite Entity Extractor"
	// ReadableType8EntityExtractor ...
	ReadableType8EntityExtractor ReadableType8 = "Entity Extractor"
	// ReadableType8HierarchicalChildEntityExtractor ...
	ReadableType8HierarchicalChildEntityExtractor ReadableType8 = "Hierarchical Child Entity Extractor"
	// ReadableType8HierarchicalEntityExtractor ...
	ReadableType8HierarchicalEntityExtractor ReadableType8 = "Hierarchical Entity Extractor"
	// ReadableType8IntentClassifier ...
	ReadableType8IntentClassifier ReadableType8 = "Intent Classifier"
	// ReadableType8ListEntityExtractor ...
	ReadableType8ListEntityExtractor ReadableType8 = "List Entity Extractor"
	// ReadableType8PatternAnyEntityExtractor ...
	ReadableType8PatternAnyEntityExtractor ReadableType8 = "Pattern.Any Entity Extractor"
	// ReadableType8PrebuiltEntityExtractor ...
	ReadableType8PrebuiltEntityExtractor ReadableType8 = "Prebuilt Entity Extractor"
	// ReadableType8RegexEntityExtractor ...
	ReadableType8RegexEntityExtractor ReadableType8 = "Regex Entity Extractor"
)

func PossibleReadableType8Values

func PossibleReadableType8Values() []ReadableType8

PossibleReadableType8Values returns an array of possible values for the ReadableType8 const type.

type ReadableType9

type ReadableType9 string

ReadableType9 enumerates the values for readable type 9.

const (
	// ReadableType9ChildEntityExtractor ...
	ReadableType9ChildEntityExtractor ReadableType9 = "Child Entity Extractor"
	// ReadableType9ClosedListEntityExtractor ...
	ReadableType9ClosedListEntityExtractor ReadableType9 = "Closed List Entity Extractor"
	// ReadableType9CompositeEntityExtractor ...
	ReadableType9CompositeEntityExtractor ReadableType9 = "Composite Entity Extractor"
	// ReadableType9EntityExtractor ...
	ReadableType9EntityExtractor ReadableType9 = "Entity Extractor"
	// ReadableType9HierarchicalChildEntityExtractor ...
	ReadableType9HierarchicalChildEntityExtractor ReadableType9 = "Hierarchical Child Entity Extractor"
	// ReadableType9HierarchicalEntityExtractor ...
	ReadableType9HierarchicalEntityExtractor ReadableType9 = "Hierarchical Entity Extractor"
	// ReadableType9IntentClassifier ...
	ReadableType9IntentClassifier ReadableType9 = "Intent Classifier"
	// ReadableType9ListEntityExtractor ...
	ReadableType9ListEntityExtractor ReadableType9 = "List Entity Extractor"
	// ReadableType9PatternAnyEntityExtractor ...
	ReadableType9PatternAnyEntityExtractor ReadableType9 = "Pattern.Any Entity Extractor"
	// ReadableType9PrebuiltEntityExtractor ...
	ReadableType9PrebuiltEntityExtractor ReadableType9 = "Prebuilt Entity Extractor"
	// ReadableType9RegexEntityExtractor ...
	ReadableType9RegexEntityExtractor ReadableType9 = "Regex Entity Extractor"
)

func PossibleReadableType9Values

func PossibleReadableType9Values() []ReadableType9

PossibleReadableType9Values returns an array of possible values for the ReadableType9 const type.

type RegexEntity

type RegexEntity struct {
	Name         *string   `json:"name,omitempty"`
	RegexPattern *string   `json:"regexPattern,omitempty"`
	Roles        *[]string `json:"roles,omitempty"`
}

RegexEntity regular Expression Entity Extractor.

type RegexEntityExtractor

type RegexEntityExtractor 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: 'ReadableType10EntityExtractor', 'ReadableType10ChildEntityExtractor', 'ReadableType10HierarchicalEntityExtractor', 'ReadableType10HierarchicalChildEntityExtractor', 'ReadableType10CompositeEntityExtractor', 'ReadableType10ListEntityExtractor', 'ReadableType10PrebuiltEntityExtractor', 'ReadableType10IntentClassifier', 'ReadableType10PatternAnyEntityExtractor', 'ReadableType10ClosedListEntityExtractor', 'ReadableType10RegexEntityExtractor'
	ReadableType ReadableType10 `json:"readableType,omitempty"`
	Roles        *[]EntityRole  `json:"roles,omitempty"`
	// RegexPattern - The Regular Expression entity pattern.
	RegexPattern *string `json:"regexPattern,omitempty"`
}

RegexEntityExtractor regular Expression Entity Extractor.

type RegexModelCreateObject

type RegexModelCreateObject struct {
	// RegexPattern - The regular expression entity pattern.
	RegexPattern *string `json:"regexPattern,omitempty"`
	// Name - The model name.
	Name *string `json:"name,omitempty"`
}

RegexModelCreateObject model object for creating a regular expression entity model.

type RegexModelUpdateObject

type RegexModelUpdateObject struct {
	// RegexPattern - The regular expression entity pattern.
	RegexPattern *string `json:"regexPattern,omitempty"`
	// Name - The model name.
	Name *string `json:"name,omitempty"`
}

RegexModelUpdateObject model object for updating a regular expression entity model.

type SetString

type SetString struct {
	autorest.Response `json:"-"`
	Value             map[string]*string `json:"value"`
}

SetString ...

func (SetString) MarshalJSON

func (ss SetString) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SetString.

type SettingsClient

type SettingsClient struct {
	BaseClient
}

SettingsClient is the client for the Settings methods of the Authoring service.

func NewSettingsClient

func NewSettingsClient(endpoint string) SettingsClient

NewSettingsClient creates an instance of the SettingsClient client.

func (SettingsClient) List

func (client SettingsClient) List(ctx context.Context, appID uuid.UUID, versionID string) (result ListAppVersionSettingObject, err error)

List gets the settings in a version of the application. Parameters: appID - the application ID. versionID - the version ID.

func (SettingsClient) ListPreparer

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

ListPreparer prepares the List request.

func (SettingsClient) ListResponder

func (client SettingsClient) ListResponder(resp *http.Response) (result ListAppVersionSettingObject, err error)

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

func (SettingsClient) ListSender

func (client SettingsClient) 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 (SettingsClient) Update

func (client SettingsClient) Update(ctx context.Context, appID uuid.UUID, versionID string, listOfAppVersionSettingObject []AppVersionSettingObject) (result OperationStatus, err error)

Update updates the settings in a version of the application. Parameters: appID - the application ID. versionID - the version ID. listOfAppVersionSettingObject - a list of the updated application version settings.

func (SettingsClient) UpdatePreparer

func (client SettingsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, versionID string, listOfAppVersionSettingObject []AppVersionSettingObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SettingsClient) UpdateResponder

func (client SettingsClient) 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 (SettingsClient) UpdateSender

func (client SettingsClient) 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.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusFail ...
	StatusFail Status = "Fail"
	// StatusInProgress ...
	StatusInProgress Status = "InProgress"
	// StatusQueued ...
	StatusQueued Status = "Queued"
	// StatusSuccess ...
	StatusSuccess Status = "Success"
	// StatusUpToDate ...
	StatusUpToDate Status = "UpToDate"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type Status1

type Status1 string

Status1 enumerates the values for status 1.

const (
	// Status1Fail ...
	Status1Fail Status1 = "Fail"
	// Status1InProgress ...
	Status1InProgress Status1 = "InProgress"
	// Status1Queued ...
	Status1Queued Status1 = "Queued"
	// Status1Success ...
	Status1Success Status1 = "Success"
	// Status1UpToDate ...
	Status1UpToDate Status1 = "UpToDate"
)

func PossibleStatus1Values

func PossibleStatus1Values() []Status1

PossibleStatus1Values returns an array of possible values for the Status1 const type.

type String

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

String ...

type SubClosedList

type SubClosedList struct {
	// CanonicalForm - The standard form that the list represents.
	CanonicalForm *string `json:"canonicalForm,omitempty"`
	// List - List of synonym words.
	List *[]string `json:"list,omitempty"`
}

SubClosedList sublist of items for a list entity.

type SubClosedListResponse

type SubClosedListResponse struct {
	// ID - The sublist ID
	ID *int32 `json:"id,omitempty"`
	// CanonicalForm - The standard form that the list represents.
	CanonicalForm *string `json:"canonicalForm,omitempty"`
	// List - List of synonym words.
	List *[]string `json:"list,omitempty"`
}

SubClosedListResponse sublist of items for a list entity.

type TaskUpdateObject

type TaskUpdateObject struct {
	// Version - The new version for the cloned model.
	Version *string `json:"version,omitempty"`
}

TaskUpdateObject object model for cloning an application's version.

type TrainClient

type TrainClient struct {
	BaseClient
}

TrainClient is the client for the Train methods of the Authoring service.

func NewTrainClient

func NewTrainClient(endpoint string) TrainClient

NewTrainClient creates an instance of the TrainClient client.

func (TrainClient) GetStatus

func (client TrainClient) GetStatus(ctx context.Context, appID uuid.UUID, versionID string) (result ListModelTrainingInfo, err error)

GetStatus gets the training status of all models (intents and entities) for the specified LUIS app. You must call the train API to train the LUIS app before you call this API to get training status. "appID" specifies the LUIS app ID. "versionId" specifies the version number of the LUIS app. For example, "0.1". Parameters: appID - the application ID. versionID - the version ID.

func (TrainClient) GetStatusPreparer

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

GetStatusPreparer prepares the GetStatus request.

func (TrainClient) GetStatusResponder

func (client TrainClient) GetStatusResponder(resp *http.Response) (result ListModelTrainingInfo, err error)

GetStatusResponder handles the response to the GetStatus request. The method always closes the http.Response Body.

func (TrainClient) GetStatusSender

func (client TrainClient) GetStatusSender(req *http.Request) (*http.Response, error)

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

func (TrainClient) TrainVersion

func (client TrainClient) TrainVersion(ctx context.Context, appID uuid.UUID, versionID string) (result EnqueueTrainingResponse, err error)

TrainVersion sends a training request for a version of a specified LUIS app. This POST request initiates a request asynchronously. To determine whether the training request is successful, submit a GET request to get training status. Note: The application version is not fully trained unless all the models (intents and entities) are trained successfully or are up to date. To verify training success, get the training status at least once after training is complete. Parameters: appID - the application ID. versionID - the version ID.

func (TrainClient) TrainVersionPreparer

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

TrainVersionPreparer prepares the TrainVersion request.

func (TrainClient) TrainVersionResponder

func (client TrainClient) TrainVersionResponder(resp *http.Response) (result EnqueueTrainingResponse, err error)

TrainVersionResponder handles the response to the TrainVersion request. The method always closes the http.Response Body.

func (TrainClient) TrainVersionSender

func (client TrainClient) TrainVersionSender(req *http.Request) (*http.Response, error)

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

type TrainingStatus

type TrainingStatus string

TrainingStatus enumerates the values for training status.

const (
	// InProgress ...
	InProgress TrainingStatus = "InProgress"
	// NeedsTraining ...
	NeedsTraining TrainingStatus = "NeedsTraining"
	// Trained ...
	Trained TrainingStatus = "Trained"
)

func PossibleTrainingStatusValues

func PossibleTrainingStatusValues() []TrainingStatus

PossibleTrainingStatusValues returns an array of possible values for the TrainingStatus const type.

type UUID

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

UUID ...

type UserAccessList

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

UserAccessList list of user permissions.

type UserCollaborator

type UserCollaborator struct {
	// Email - The email address of the user.
	Email *string `json:"email,omitempty"`
}

UserCollaborator ...

type VersionInfo

type VersionInfo struct {
	autorest.Response `json:"-"`
	// Version - The version ID. E.g.: "0.1"
	Version *string `json:"version,omitempty"`
	// CreatedDateTime - The version's creation timestamp.
	CreatedDateTime *date.Time `json:"createdDateTime,omitempty"`
	// LastModifiedDateTime - Timestamp of the last update.
	LastModifiedDateTime *date.Time `json:"lastModifiedDateTime,omitempty"`
	// LastTrainedDateTime - Timestamp of the last time the model was trained.
	LastTrainedDateTime *date.Time `json:"lastTrainedDateTime,omitempty"`
	// LastPublishedDateTime - Timestamp when was last published.
	LastPublishedDateTime *date.Time `json:"lastPublishedDateTime,omitempty"`
	// EndpointURL - The Runtime endpoint URL for this model version.
	EndpointURL *string `json:"endpointUrl,omitempty"`
	// AssignedEndpointKey - The endpoint key.
	AssignedEndpointKey map[string]*string `json:"assignedEndpointKey"`
	// ExternalAPIKeys - External keys.
	ExternalAPIKeys interface{} `json:"externalApiKeys,omitempty"`
	// IntentsCount - Number of intents in this model.
	IntentsCount *int32 `json:"intentsCount,omitempty"`
	// EntitiesCount - Number of entities in this model.
	EntitiesCount *int32 `json:"entitiesCount,omitempty"`
	// EndpointHitsCount - Number of calls made to this endpoint.
	EndpointHitsCount *int32 `json:"endpointHitsCount,omitempty"`
	// TrainingStatus - The current training status. Possible values include: 'NeedsTraining', 'InProgress', 'Trained'
	TrainingStatus TrainingStatus `json:"trainingStatus,omitempty"`
}

VersionInfo object model of an application version.

func (VersionInfo) MarshalJSON

func (vi VersionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VersionInfo.

type VersionsClient

type VersionsClient struct {
	BaseClient
}

VersionsClient is the client for the Versions methods of the Authoring service.

func NewVersionsClient

func NewVersionsClient(endpoint string) VersionsClient

NewVersionsClient creates an instance of the VersionsClient client.

func (VersionsClient) Clone

func (client VersionsClient) Clone(ctx context.Context, appID uuid.UUID, versionID string, versionCloneObject TaskUpdateObject) (result String, err error)

Clone creates a new version from the selected version. Parameters: appID - the application ID. versionID - the version ID. versionCloneObject - a model containing the new version ID.

func (VersionsClient) ClonePreparer

func (client VersionsClient) ClonePreparer(ctx context.Context, appID uuid.UUID, versionID string, versionCloneObject TaskUpdateObject) (*http.Request, error)

ClonePreparer prepares the Clone request.

func (VersionsClient) CloneResponder

func (client VersionsClient) CloneResponder(resp *http.Response) (result String, err error)

CloneResponder handles the response to the Clone request. The method always closes the http.Response Body.

func (VersionsClient) CloneSender

func (client VersionsClient) CloneSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) Delete

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

Delete deletes an application version. Parameters: appID - the application ID. versionID - the version ID.

func (VersionsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (VersionsClient) DeleteResponder

func (client VersionsClient) 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 (VersionsClient) DeleteSender

func (client VersionsClient) 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 (VersionsClient) DeleteUnlabelledUtterance

func (client VersionsClient) DeleteUnlabelledUtterance(ctx context.Context, appID uuid.UUID, versionID string, utterance string) (result OperationStatus, err error)

DeleteUnlabelledUtterance deleted an unlabelled utterance in a version of the application. Parameters: appID - the application ID. versionID - the version ID. utterance - the utterance text to delete.

func (VersionsClient) DeleteUnlabelledUtterancePreparer

func (client VersionsClient) DeleteUnlabelledUtterancePreparer(ctx context.Context, appID uuid.UUID, versionID string, utterance string) (*http.Request, error)

DeleteUnlabelledUtterancePreparer prepares the DeleteUnlabelledUtterance request.

func (VersionsClient) DeleteUnlabelledUtteranceResponder

func (client VersionsClient) DeleteUnlabelledUtteranceResponder(resp *http.Response) (result OperationStatus, err error)

DeleteUnlabelledUtteranceResponder handles the response to the DeleteUnlabelledUtterance request. The method always closes the http.Response Body.

func (VersionsClient) DeleteUnlabelledUtteranceSender

func (client VersionsClient) DeleteUnlabelledUtteranceSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) Export

func (client VersionsClient) Export(ctx context.Context, appID uuid.UUID, versionID string) (result LuisApp, err error)

Export exports a LUIS application to JSON format. Parameters: appID - the application ID. versionID - the version ID.

func (VersionsClient) ExportLuFormat

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

ExportLuFormat exports a LUIS application to text format. Parameters: appID - the application ID. versionID - the version ID.

func (VersionsClient) ExportLuFormatPreparer

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

ExportLuFormatPreparer prepares the ExportLuFormat request.

func (VersionsClient) ExportLuFormatResponder

func (client VersionsClient) ExportLuFormatResponder(resp *http.Response) (result ReadCloser, err error)

ExportLuFormatResponder handles the response to the ExportLuFormat request. The method always closes the http.Response Body.

func (VersionsClient) ExportLuFormatSender

func (client VersionsClient) ExportLuFormatSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) ExportPreparer

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

ExportPreparer prepares the Export request.

func (VersionsClient) ExportResponder

func (client VersionsClient) ExportResponder(resp *http.Response) (result LuisApp, err error)

ExportResponder handles the response to the Export request. The method always closes the http.Response Body.

func (VersionsClient) ExportSender

func (client VersionsClient) ExportSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) Get

func (client VersionsClient) Get(ctx context.Context, appID uuid.UUID, versionID string) (result VersionInfo, err error)

Get gets the version information such as date created, last modified date, endpoint URL, count of intents and entities, training and publishing status. Parameters: appID - the application ID. versionID - the version ID.

func (VersionsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VersionsClient) GetResponder

func (client VersionsClient) GetResponder(resp *http.Response) (result VersionInfo, err error)

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

func (VersionsClient) GetSender

func (client VersionsClient) 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 (VersionsClient) Import

func (client VersionsClient) Import(ctx context.Context, appID uuid.UUID, luisApp LuisApp, versionID string) (result String, err error)

Import imports a new version into a LUIS application. Parameters: appID - the application ID. luisApp - a LUIS application structure. versionID - the new versionId to import. If not specified, the versionId will be read from the imported object.

func (VersionsClient) ImportLuFormat

func (client VersionsClient) ImportLuFormat(ctx context.Context, appID uuid.UUID, luisAppLu string, versionID string) (result String, err error)

ImportLuFormat imports a new version into a LUIS application. Parameters: appID - the application ID. luisAppLu - an LU representing the LUIS application structure. versionID - the new versionId to import. If not specified, the versionId will be read from the imported object.

func (VersionsClient) ImportLuFormatPreparer

func (client VersionsClient) ImportLuFormatPreparer(ctx context.Context, appID uuid.UUID, luisAppLu string, versionID string) (*http.Request, error)

ImportLuFormatPreparer prepares the ImportLuFormat request.

func (VersionsClient) ImportLuFormatResponder

func (client VersionsClient) ImportLuFormatResponder(resp *http.Response) (result String, err error)

ImportLuFormatResponder handles the response to the ImportLuFormat request. The method always closes the http.Response Body.

func (VersionsClient) ImportLuFormatSender

func (client VersionsClient) ImportLuFormatSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) ImportPreparer

func (client VersionsClient) ImportPreparer(ctx context.Context, appID uuid.UUID, luisApp LuisApp, versionID string) (*http.Request, error)

ImportPreparer prepares the Import request.

func (VersionsClient) ImportResponder

func (client VersionsClient) ImportResponder(resp *http.Response) (result String, err error)

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

func (VersionsClient) ImportSender

func (client VersionsClient) 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 (VersionsClient) ImportV2App

func (client VersionsClient) ImportV2App(ctx context.Context, appID uuid.UUID, luisAppV2 LuisAppV2, versionID string) (result String, err error)

ImportV2App imports a new version into a LUIS application. Parameters: appID - the application ID. luisAppV2 - a LUIS application structure. versionID - the new versionId to import. If not specified, the versionId will be read from the imported object.

func (VersionsClient) ImportV2AppPreparer

func (client VersionsClient) ImportV2AppPreparer(ctx context.Context, appID uuid.UUID, luisAppV2 LuisAppV2, versionID string) (*http.Request, error)

ImportV2AppPreparer prepares the ImportV2App request.

func (VersionsClient) ImportV2AppResponder

func (client VersionsClient) ImportV2AppResponder(resp *http.Response) (result String, err error)

ImportV2AppResponder handles the response to the ImportV2App request. The method always closes the http.Response Body.

func (VersionsClient) ImportV2AppSender

func (client VersionsClient) ImportV2AppSender(req *http.Request) (*http.Response, error)

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

func (VersionsClient) List

func (client VersionsClient) List(ctx context.Context, appID uuid.UUID, skip *int32, take *int32) (result ListVersionInfo, err error)

List gets a list of versions for this application ID. Parameters: appID - the application 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 (VersionsClient) ListPreparer

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

ListPreparer prepares the List request.

func (VersionsClient) ListResponder

func (client VersionsClient) ListResponder(resp *http.Response) (result ListVersionInfo, err error)

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

func (VersionsClient) ListSender

func (client VersionsClient) 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 (VersionsClient) Update

func (client VersionsClient) Update(ctx context.Context, appID uuid.UUID, versionID string, versionUpdateObject TaskUpdateObject) (result OperationStatus, err error)

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

func (VersionsClient) UpdatePreparer

func (client VersionsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, versionID string, versionUpdateObject TaskUpdateObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VersionsClient) UpdateResponder

func (client VersionsClient) 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 (VersionsClient) UpdateSender

func (client VersionsClient) 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.

type WordListBaseUpdateObject

type WordListBaseUpdateObject struct {
	// CanonicalForm - The standard form that the list represents.
	CanonicalForm *string `json:"canonicalForm,omitempty"`
	// List - List of synonym words.
	List *[]string `json:"list,omitempty"`
}

WordListBaseUpdateObject object model for updating one of the list entity's sublists.

type WordListObject

type WordListObject struct {
	// CanonicalForm - The standard form that the list represents.
	CanonicalForm *string `json:"canonicalForm,omitempty"`
	// List - List of synonym words.
	List *[]string `json:"list,omitempty"`
}

WordListObject sublist of items for a list entity.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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