authoring

package
v17.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package authoring implements the Azure ARM Authoring service API version v2.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 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. E.g.: en-us.
	Culture *string `json:"culture,omitempty"`
	// UsageScenario - Defines the scenario for the new application. Optional. E.g.: IoT.
	UsageScenario *string `json:"usageScenario,omitempty"`
	// Domain - The domain for the new application. Optional. E.g.: 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"`
	// Region - The target region that the application is published to.
	Region *string `json:"region,omitempty"`
}

ApplicationPublishObject object model for publishing a specific application version.

type ApplicationSettingUpdateObject

type ApplicationSettingUpdateObject struct {
	// Public - Setting your application as public allows other people to use your application's endpoint using their own keys.
	Public *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.
	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(azureRegion AzureRegions) 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 - a model 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 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) (result OperationStatus, err error)

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

func (AppsClient) DeletePreparer

func (client AppsClient) DeletePreparer(ctx context.Context, appID uuid.UUID) (*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 query logs of the past month 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. 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. 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 should be included in 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.

func (AppsClient) ImportPreparer

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

ImportPreparer prepares the Import request.

func (AppsClient) ImportResponder

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

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

func (AppsClient) ImportSender

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

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

func (AppsClient) List

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

List lists all of the user 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 custom 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 the supported application cultures.

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) 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. 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. 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 AzureRegions

type AzureRegions string

AzureRegions enumerates the values for azure regions.

const (
	// Australiaeast ...
	Australiaeast AzureRegions = "australiaeast"
	// Brazilsouth ...
	Brazilsouth AzureRegions = "brazilsouth"
	// Eastasia ...
	Eastasia AzureRegions = "eastasia"
	// Eastus ...
	Eastus AzureRegions = "eastus"
	// Eastus2 ...
	Eastus2 AzureRegions = "eastus2"
	// Northeurope ...
	Northeurope AzureRegions = "northeurope"
	// Southcentralus ...
	Southcentralus AzureRegions = "southcentralus"
	// Southeastasia ...
	Southeastasia AzureRegions = "southeastasia"
	// Westcentralus ...
	Westcentralus AzureRegions = "westcentralus"
	// Westeurope ...
	Westeurope AzureRegions = "westeurope"
	// Westus ...
	Westus AzureRegions = "westus"
	// Westus2 ...
	Westus2 AzureRegions = "westus2"
)

func PossibleAzureRegionsValues

func PossibleAzureRegionsValues() []AzureRegions

PossibleAzureRegionsValues returns an array of possible values for the AzureRegions const type.

type BaseClient

type BaseClient struct {
	autorest.Client
	AzureRegion AzureRegions
}

BaseClient is the base client for Authoring.

func New

func New(azureRegion AzureRegions) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults

func NewWithoutDefaults(azureRegion AzureRegions) 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 examples.

type ChildEntity

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

ChildEntity the base child entity type.

type ClosedList

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

ClosedList exported Model - A Closed List.

type ClosedListEntityExtractor

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

ClosedListEntityExtractor closed List Entity Extractor.

type ClosedListModelCreateObject

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

ClosedListModelCreateObject object model for creating a closed list.

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 closedlist.

type ClosedListModelUpdateObject

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

ClosedListModelUpdateObject object model for updating a closed list.

type CollaboratorsArray

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

CollaboratorsArray ...

type CompositeChildModelCreateObject

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

CompositeChildModelCreateObject ...

type CompositeEntityExtractor

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

CompositeEntityExtractor a Composite Entity Extractor.

type CompositeEntityModel

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

CompositeEntityModel a composite entity.

type CustomPrebuiltModel

type CustomPrebuiltModel struct {
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType7EntityExtractor', 'ReadableType7HierarchicalEntityExtractor', 'ReadableType7HierarchicalChildEntityExtractor', 'ReadableType7CompositeEntityExtractor', 'ReadableType7ClosedListEntityExtractor', 'ReadableType7PrebuiltEntityExtractor', 'ReadableType7IntentClassifier', 'ReadableType7PatternAnyEntityExtractor', '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"`
	// 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. E.g.: what's the weather like in seattle?
	Text *string `json:"text,omitempty"`
	// TokenizedText - The utterance tokenized.
	TokenizedText *[]string `json:"tokenizedText,omitempty"`
	// IntentPredictions - Predicted/suggested intents.
	IntentPredictions *[]IntentPrediction `json:"intentPredictions,omitempty"`
	// EntityPredictions - Predicted/suggested entities.
	EntityPredictions *[]EntityPrediction `json:"entityPredictions,omitempty"`
}

EntitiesSuggestionExample predicted/suggested entity.

type EntityExtractor

type EntityExtractor struct {
	autorest.Response `json:"-"`
	// ID - The ID of the Entity Model.
	ID *uuid.UUID `json:"id,omitempty"`
	// Name - Name of the Entity Model.
	Name *string `json:"name,omitempty"`
	// TypeID - The type ID of the Entity Model.
	TypeID *int32 `json:"typeId,omitempty"`
	// ReadableType - Possible values include: 'ReadableType8EntityExtractor', 'ReadableType8HierarchicalEntityExtractor', 'ReadableType8HierarchicalChildEntityExtractor', 'ReadableType8CompositeEntityExtractor', 'ReadableType8ClosedListEntityExtractor', 'ReadableType8PrebuiltEntityExtractor', 'ReadableType8IntentClassifier', 'ReadableType8PatternAnyEntityExtractor', '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"`
}

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"`
}

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

type EntityModelInfo

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

EntityModelInfo an Entity Extractor model info.

type EntityPrediction

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

EntityPrediction a suggested entity.

type EntityRole

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

EntityRole entity extractor role

type EntityRoleCreateObject

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

EntityRoleCreateObject object model for creating an entity role.

type EntityRoleUpdateObject

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

EntityRoleUpdateObject object model for updating an entity role.

type ErrorResponse

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

ErrorResponse error response when invoking an operation on the API.

func (ErrorResponse) MarshalJSON

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

MarshalJSON is the custom marshaler for ErrorResponse.

type ExampleLabelObject

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

ExampleLabelObject a labeled example.

type ExamplesClient

type ExamplesClient struct {
	BaseClient
}

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

func NewExamplesClient

func NewExamplesClient(azureRegion AzureRegions) ExamplesClient

NewExamplesClient creates an instance of the ExamplesClient client.

func (ExamplesClient) Add

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

Add adds a labeled example to the application. Parameters: appID - the application ID. versionID - the version ID. exampleLabelObject - an example label with the expected intent and entities.

func (ExamplesClient) AddPreparer

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

AddPreparer prepares the Add request.

func (ExamplesClient) AddResponder

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

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

func (ExamplesClient) AddSender

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

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

func (ExamplesClient) Batch

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

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

func (ExamplesClient) BatchPreparer

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

BatchPreparer prepares the Batch request.

func (ExamplesClient) BatchResponder

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

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

func (ExamplesClient) BatchSender

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

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

func (ExamplesClient) Delete

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

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

func (ExamplesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ExamplesClient) DeleteResponder

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

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

func (ExamplesClient) DeleteSender

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

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

func (ExamplesClient) List

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

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

func (ExamplesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ExamplesClient) ListResponder

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

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

func (ExamplesClient) ListSender

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

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

type ExplicitListItem

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

ExplicitListItem explicit list item

type ExplicitListItemCreateObject

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

ExplicitListItemCreateObject object model for creating an explicit list item.

type ExplicitListItemUpdateObject

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

ExplicitListItemUpdateObject model object for updating an explicit list item.

type FeatureInfoObject

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

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

type FeaturesClient

type FeaturesClient struct {
	BaseClient
}

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

func NewFeaturesClient

func NewFeaturesClient(azureRegion AzureRegions) FeaturesClient

NewFeaturesClient creates an instance of the FeaturesClient client.

func (FeaturesClient) AddPhraseList

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

AddPhraseList creates a new phraselist feature. 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. 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. 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 features for the specified application version. 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. 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. Parameters: appID - the application ID. versionID - the version ID. phraselistID - the ID of the feature to be updated. phraselistUpdateObject - the new values for: - Just a boolean called IsActive, in which case the status of the feature will be changed. - Name, Pattern, Mode, and a boolean called IsActive to update the feature.

func (FeaturesClient) UpdatePhraseListPreparer

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

UpdatePhraseListPreparer prepares the UpdatePhraseList request.

func (FeaturesClient) UpdatePhraseListResponder

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

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

func (FeaturesClient) UpdatePhraseListSender

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

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

type FeaturesResponseObject

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

FeaturesResponseObject model Features, including Patterns and Phraselists.

type HierarchicalChildEntity

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

HierarchicalChildEntity a Hierarchical Child Entity.

type HierarchicalChildModelCreateObject

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

HierarchicalChildModelCreateObject ...

type HierarchicalChildModelUpdateObject

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

HierarchicalChildModelUpdateObject ...

type HierarchicalEntityExtractor

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

HierarchicalEntityExtractor hierarchical Entity Extractor.

type HierarchicalEntityModel

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

HierarchicalEntityModel a Hierarchical Entity Extractor.

type HierarchicalModel

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

HierarchicalModel ...

type Int32

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

Int32 ...

type IntentClassifier

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

IntentsSuggestionExample predicted/suggested intent.

type JSONEntity

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

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 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.
	Mode *bool `json:"mode,omitempty"`
}

JSONModelFeature exported Model - Phraselist Model Feature.

type JSONRegexFeature

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

JSONRegexFeature exported Model - A Pattern feature.

type JSONUtterance

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

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

type LabelExampleResponse

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

LabelExampleResponse response when adding a labeled example.

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's text.

type LabeledUtterance

type LabeledUtterance struct {
	// ID - ID of Labeled Utterance.
	ID *int32 `json:"id,omitempty"`
	// Text - The utterance. E.g.: 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 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 ListBatchLabelExample

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

ListBatchLabelExample ...

type ListClosedListEntityExtractor

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

ListClosedListEntityExtractor ...

type ListCompositeEntityExtractor

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

ListCompositeEntityExtractor ...

type ListCustomPrebuiltModel

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

ListCustomPrebuiltModel ...

type ListEntitiesSuggestionExample

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

ListEntitiesSuggestionExample ...

type ListEntityExtractor

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

ListEntityExtractor ...

type ListEntityRole

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

ListEntityRole ...

type ListExplicitListItem

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

ListExplicitListItem ...

type ListHierarchicalEntityExtractor

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

ListHierarchicalEntityExtractor ...

type ListIntentClassifier

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

ListIntentClassifier ...

type ListIntentsSuggestionExample

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

ListIntentsSuggestionExample ...

type ListLabelTextObject

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

ListLabelTextObject ...

type ListLabeledUtterance

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

ListLabeledUtterance ...

type ListModelInfoResponse

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

ListModelInfoResponse ...

type ListModelTrainingInfo

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

ListModelTrainingInfo ...

type ListPatternAnyEntityExtractor

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

ListPatternAnyEntityExtractor ...

type 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 closed lists.
	ClosedLists *[]ClosedList `json:"closedLists,omitempty"`
	// Composites - List of composite entities.
	Composites *[]HierarchicalModel `json:"composites,omitempty"`
	// PatternAnyEntities - List of Pattern.Any entities.
	PatternAnyEntities *[]PatternAny `json:"patternAnyEntities,omitempty"`
	// RegexEntities - List of regular expression entities.
	RegexEntities *[]RegexEntity `json:"regex_entities,omitempty"`
	// PrebuiltEntities - List of prebuilt entities.
	PrebuiltEntities *[]PrebuiltEntity `json:"prebuiltEntities,omitempty"`
	// RegexFeatures - List of pattern features.
	RegexFeatures *[]JSONRegexFeature `json:"regex_features,omitempty"`
	// ModelFeatures - List of model features.
	ModelFeatures *[]JSONModelFeature `json:"model_features,omitempty"`
	// Patterns - List of patterns.
	Patterns *[]PatternRule `json:"patterns,omitempty"`
	// Utterances - List of sample 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.

type ModelClient

type ModelClient struct {
	BaseClient
}

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

func NewModelClient

func NewModelClient(azureRegion AzureRegions) 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 closed list model to the application. Parameters: appID - the application ID. versionID - the version ID. closedListModelCreateObject - a model containing the name and words for the new closed list entity extractor.

func (ModelClient) AddClosedListPreparer

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

AddClosedListPreparer prepares the AddClosedList request.

func (ModelClient) AddClosedListResponder

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

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

func (ModelClient) AddClosedListSender

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

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

func (ModelClient) AddCompositeEntity

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

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

func (ModelClient) AddCompositeEntityChild

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

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

func (ModelClient) AddCompositeEntityChildPreparer

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

AddCompositeEntityChildPreparer prepares the AddCompositeEntityChild request.

func (ModelClient) AddCompositeEntityChildResponder

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

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

func (ModelClient) AddCompositeEntityChildSender

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

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

func (ModelClient) AddCompositeEntityPreparer

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

AddCompositeEntityPreparer prepares the AddCompositeEntity request.

func (ModelClient) AddCompositeEntityResponder

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

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

func (ModelClient) AddCompositeEntitySender

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

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

func (ModelClient) AddCustomPrebuiltDomain

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

AddCustomPrebuiltDomain adds a customizable prebuilt domain along with all of its models to this 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 custom prebuilt entity model to the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the custom 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 custom prebuilt intent model to the application. Parameters: appID - the application ID. versionID - the version ID. prebuiltDomainModelCreateObject - a model object containing the name of the custom prebuilt intent and the name of the domain to which this model belongs.

func (ModelClient) AddCustomPrebuiltIntentPreparer

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

AddCustomPrebuiltIntentPreparer prepares the AddCustomPrebuiltIntent request.

func (ModelClient) AddCustomPrebuiltIntentResponder

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

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

func (ModelClient) AddCustomPrebuiltIntentSender

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

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

func (ModelClient) AddEntity

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

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

func (ModelClient) AddEntityPreparer

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

AddEntityPreparer prepares the AddEntity request.

func (ModelClient) AddEntityResponder

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

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

func (ModelClient) AddEntitySender

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

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

func (ModelClient) AddExplicitListItem

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

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

func (ModelClient) AddExplicitListItemPreparer

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

AddExplicitListItemPreparer prepares the AddExplicitListItem request.

func (ModelClient) AddExplicitListItemResponder

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

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

func (ModelClient) AddExplicitListItemSender

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

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

func (ModelClient) AddHierarchicalEntity

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

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

func (ModelClient) AddHierarchicalEntityChild

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

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

func (ModelClient) AddHierarchicalEntityChildPreparer

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

AddHierarchicalEntityChildPreparer prepares the AddHierarchicalEntityChild request.

func (ModelClient) AddHierarchicalEntityChildResponder

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

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

func (ModelClient) AddHierarchicalEntityChildSender

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

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

func (ModelClient) AddHierarchicalEntityPreparer

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

AddHierarchicalEntityPreparer prepares the AddHierarchicalEntity request.

func (ModelClient) AddHierarchicalEntityResponder

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

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

func (ModelClient) AddHierarchicalEntitySender

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

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

func (ModelClient) AddIntent

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

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

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 entity extractors to 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 Int32, err error)

AddSubList adds a list to an existing closed list. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed 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 Int32, 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 regex 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 closed list model from the application. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed list 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 extractor from 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 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 from 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 extractor from the application. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID.

func (ModelClient) DeleteEntityPreparer

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

DeleteEntityPreparer prepares the DeleteEntity request.

func (ModelClient) DeleteEntityResponder

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

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

func (ModelClient) DeleteEntityRole

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

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

func (ModelClient) DeleteEntityRolePreparer

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

DeleteEntityRolePreparer prepares the DeleteEntityRole request.

func (ModelClient) DeleteEntityRoleResponder

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

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

func (ModelClient) DeleteEntityRoleSender

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

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

func (ModelClient) DeleteEntitySender

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

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

func (ModelClient) DeleteExplicitListItem

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

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

func (ModelClient) DeleteExplicitListItemPreparer

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

DeleteExplicitListItemPreparer prepares the DeleteExplicitListItem request.

func (ModelClient) DeleteExplicitListItemResponder

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

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

func (ModelClient) DeleteExplicitListItemSender

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

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

func (ModelClient) DeleteHierarchicalEntity

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

DeleteHierarchicalEntity deletes a hierarchical entity extractor from the application version. 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 from 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 classifier from the application. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. deleteUtterances - also delete the intent's utterances (true). Or move the utterances to the None intent (false - the default value).

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 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 regex 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 int32) (result OperationStatus, err error)

DeleteSubList deletes a sublist of a specific closed list model. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed 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 int32) (*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 utterances for the given model in the given app version. 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 of a closed list model. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed 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) GetClosedListEntityRoles

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

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

func (ModelClient) GetClosedListEntityRolesPreparer

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

GetClosedListEntityRolesPreparer prepares the GetClosedListEntityRoles request.

func (ModelClient) GetClosedListEntityRolesResponder

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

GetClosedListEntityRolesResponder handles the response to the GetClosedListEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetClosedListEntityRolesSender

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

GetClosedListEntityRolesSender sends the GetClosedListEntityRoles 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 the composite entity model. 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) GetCompositeEntityRoles

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

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

func (ModelClient) GetCompositeEntityRolesPreparer

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

GetCompositeEntityRolesPreparer prepares the GetCompositeEntityRoles request.

func (ModelClient) GetCompositeEntityRolesResponder

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

GetCompositeEntityRolesResponder handles the response to the GetCompositeEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetCompositeEntityRolesSender

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

GetCompositeEntityRolesSender sends the GetCompositeEntityRoles 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) GetCustomPrebuiltEntityRoles

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

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

func (ModelClient) GetCustomPrebuiltEntityRolesPreparer

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

GetCustomPrebuiltEntityRolesPreparer prepares the GetCustomPrebuiltEntityRoles request.

func (ModelClient) GetCustomPrebuiltEntityRolesResponder

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

GetCustomPrebuiltEntityRolesResponder handles the response to the GetCustomPrebuiltEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetCustomPrebuiltEntityRolesSender

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

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

func (ModelClient) GetEntity

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

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

func (ModelClient) GetEntityPreparer

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

GetEntityPreparer prepares the GetEntity request.

func (ModelClient) GetEntityResponder

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

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

func (ModelClient) GetEntityRole

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

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

func (ModelClient) GetEntityRolePreparer

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

GetEntityRolePreparer prepares the GetEntityRole request.

func (ModelClient) GetEntityRoleResponder

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

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

func (ModelClient) GetEntityRoleSender

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

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

func (ModelClient) GetEntityRoles

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

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

func (ModelClient) GetEntityRolesPreparer

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

GetEntityRolesPreparer prepares the GetEntityRoles request.

func (ModelClient) GetEntityRolesResponder

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

GetEntityRolesResponder handles the response to the GetEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetEntityRolesSender

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

GetEntityRolesSender sends the GetEntityRoles 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) GetEntitySuggestions

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

GetEntitySuggestions get suggestion examples that would improve the accuracy of the entity model. 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.

func (ModelClient) GetEntitySuggestionsPreparer

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

GetEntitySuggestionsPreparer prepares the GetEntitySuggestions request.

func (ModelClient) GetEntitySuggestionsResponder

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

GetEntitySuggestionsResponder handles the response to the GetEntitySuggestions request. The method always closes the http.Response Body.

func (ModelClient) GetEntitySuggestionsSender

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

GetEntitySuggestionsSender sends the GetEntitySuggestions 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 the hierarchical entity model. 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 hierarchical entity child model. 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) GetHierarchicalEntityRoles

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

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

func (ModelClient) GetHierarchicalEntityRolesPreparer

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

GetHierarchicalEntityRolesPreparer prepares the GetHierarchicalEntityRoles request.

func (ModelClient) GetHierarchicalEntityRolesResponder

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

GetHierarchicalEntityRolesResponder handles the response to the GetHierarchicalEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetHierarchicalEntityRolesSender

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

GetHierarchicalEntityRolesSender sends the GetHierarchicalEntityRoles 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. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID.

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

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

GetIntentSuggestions suggests examples that would improve the accuracy of the intent model. 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.

func (ModelClient) GetIntentSuggestionsPreparer

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

GetIntentSuggestionsPreparer prepares the GetIntentSuggestions request.

func (ModelClient) GetIntentSuggestionsResponder

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

GetIntentSuggestionsResponder handles the response to the GetIntentSuggestions request. The method always closes the http.Response Body.

func (ModelClient) GetIntentSuggestionsSender

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

GetIntentSuggestionsSender sends the GetIntentSuggestions 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) GetPatternAnyEntityInfos

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

GetPatternAnyEntityInfos sends the get 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) GetPatternAnyEntityInfosPreparer

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

GetPatternAnyEntityInfosPreparer prepares the GetPatternAnyEntityInfos request.

func (ModelClient) GetPatternAnyEntityInfosResponder

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

GetPatternAnyEntityInfosResponder handles the response to the GetPatternAnyEntityInfos request. The method always closes the http.Response Body.

func (ModelClient) GetPatternAnyEntityInfosSender

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

GetPatternAnyEntityInfosSender sends the GetPatternAnyEntityInfos 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) GetPatternAnyEntityRoles

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

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

func (ModelClient) GetPatternAnyEntityRolesPreparer

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

GetPatternAnyEntityRolesPreparer prepares the GetPatternAnyEntityRoles request.

func (ModelClient) GetPatternAnyEntityRolesResponder

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

GetPatternAnyEntityRolesResponder handles the response to the GetPatternAnyEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetPatternAnyEntityRolesSender

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

GetPatternAnyEntityRolesSender sends the GetPatternAnyEntityRoles 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 the prebuilt entity model. 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) GetPrebuiltEntityRoles

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

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

func (ModelClient) GetPrebuiltEntityRolesPreparer

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

GetPrebuiltEntityRolesPreparer prepares the GetPrebuiltEntityRoles request.

func (ModelClient) GetPrebuiltEntityRolesResponder

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

GetPrebuiltEntityRolesResponder handles the response to the GetPrebuiltEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetPrebuiltEntityRolesSender

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

GetPrebuiltEntityRolesSender sends the GetPrebuiltEntityRoles 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 regex 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) GetRegexEntityInfos

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

GetRegexEntityInfos sends the get 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) GetRegexEntityInfosPreparer

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

GetRegexEntityInfosPreparer prepares the GetRegexEntityInfos request.

func (ModelClient) GetRegexEntityInfosResponder

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

GetRegexEntityInfosResponder handles the response to the GetRegexEntityInfos request. The method always closes the http.Response Body.

func (ModelClient) GetRegexEntityInfosSender

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

GetRegexEntityInfosSender sends the GetRegexEntityInfos 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) GetRegexEntityRoles

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

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

func (ModelClient) GetRegexEntityRolesPreparer

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

GetRegexEntityRolesPreparer prepares the GetRegexEntityRoles request.

func (ModelClient) GetRegexEntityRolesResponder

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

GetRegexEntityRolesResponder handles the response to the GetRegexEntityRoles request. The method always closes the http.Response Body.

func (ModelClient) GetRegexEntityRolesSender

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

GetRegexEntityRolesSender sends the GetRegexEntityRoles 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 the closedlist models. 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 the composite entity models. 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) ListCustomPrebuiltEntities

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

ListCustomPrebuiltEntities gets all custom prebuilt entities information of this 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) ListCustomPrebuiltIntents

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

ListCustomPrebuiltIntents gets custom prebuilt intents information of this 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 custom prebuilt models information 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 ListEntityExtractor, err error)

ListEntities gets information about the entity models. 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 ListEntityExtractor, 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) 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 the hierarchical entity models. 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) 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. 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 the application version models. 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) ListPrebuiltEntities

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

ListPrebuiltEntities gets all the available prebuilt entity extractors for 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) 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 the prebuilt entity models. 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) 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 closedlist. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed list 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) 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 closed list model. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed list model ID. closedListModelUpdateObject - the new 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 the composite entity extractor. 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) UpdateEntity

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

UpdateEntity updates the name of an entity extractor. Parameters: appID - the application ID. versionID - the version ID. entityID - the entity extractor ID. modelUpdateObject - a model object containing the new entity extractor name.

func (ModelClient) UpdateEntityPreparer

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

UpdateEntityPreparer prepares the UpdateEntity request.

func (ModelClient) UpdateEntityResponder

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

UpdateEntityResponder handles the response to the UpdateEntity request. The method always closes the http.Response Body.

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

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

UpdateEntitySender sends the UpdateEntity 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, hierarchicalModelUpdateObject HierarchicalEntityModel) (result OperationStatus, err error)

UpdateHierarchicalEntity updates the name and children of a hierarchical entity model. Parameters: appID - the application ID. versionID - the version ID. hEntityID - the hierarchical entity extractor ID. hierarchicalModelUpdateObject - model containing names of the children 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. 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, hierarchicalModelUpdateObject HierarchicalEntityModel) (*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 classifier. Parameters: appID - the application ID. versionID - the version ID. intentID - the intent classifier ID. modelUpdateObject - a model object containing the new intent classifier 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 regex 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 int32, wordListBaseUpdateObject WordListBaseUpdateObject) (result OperationStatus, err error)

UpdateSubList updates one of the closed list's sublists. Parameters: appID - the application ID. versionID - the version ID. clEntityID - the closed 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 int32, 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 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', 'ReadableTypeHierarchicalEntityExtractor', 'ReadableTypeHierarchicalChildEntityExtractor', 'ReadableTypeCompositeEntityExtractor', 'ReadableTypeClosedListEntityExtractor', 'ReadableTypePrebuiltEntityExtractor', 'ReadableTypeIntentClassifier', 'ReadableTypePatternAnyEntityExtractor', '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: 'ReadableType1EntityExtractor', 'ReadableType1HierarchicalEntityExtractor', 'ReadableType1HierarchicalChildEntityExtractor', 'ReadableType1CompositeEntityExtractor', 'ReadableType1ClosedListEntityExtractor', 'ReadableType1PrebuiltEntityExtractor', 'ReadableType1IntentClassifier', 'ReadableType1PatternAnyEntityExtractor', 'ReadableType1RegexEntityExtractor'
	ReadableType ReadableType1 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// Children - List of child entities.
	Children *[]ChildEntity `json:"children,omitempty"`
	// SubLists - List of sub-lists.
	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 Regex 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 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: 'ReadableType10EntityExtractor', 'ReadableType10HierarchicalEntityExtractor', 'ReadableType10HierarchicalChildEntityExtractor', 'ReadableType10CompositeEntityExtractor', 'ReadableType10ClosedListEntityExtractor', 'ReadableType10PrebuiltEntityExtractor', 'ReadableType10IntentClassifier', 'ReadableType10PatternAnyEntityExtractor', 'ReadableType10RegexEntityExtractor'
	ReadableType ReadableType10      `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(azureRegion AzureRegions) 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) GetIntentPatterns

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

GetIntentPatterns sends the get 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) GetIntentPatternsPreparer

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

GetIntentPatternsPreparer prepares the GetIntentPatterns request.

func (PatternClient) GetIntentPatternsResponder

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

GetIntentPatternsResponder handles the response to the GetIntentPatterns request. The method always closes the http.Response Body.

func (PatternClient) GetIntentPatternsSender

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

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

func (PatternClient) GetPatterns

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

GetPatterns sends the get 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) GetPatternsPreparer

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

GetPatternsPreparer prepares the GetPatterns request.

func (PatternClient) GetPatternsResponder

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

GetPatternsResponder handles the response to the GetPatterns request. The method always closes the http.Response Body.

func (PatternClient) GetPatternsSender

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

GetPatternsSender sends the GetPatterns 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 PatternCreateObject

type PatternCreateObject struct {
	// Pattern - The Regular Expression to match.
	Pattern *string `json:"pattern,omitempty"`
	// Name - Name of the feature.
	Name *string `json:"name,omitempty"`
}

PatternCreateObject object model for creating a Pattern feature.

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"`
}

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 PatternUpdateObject

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

PatternUpdateObject object model for updating an existing Pattern feature.

type PermissionsClient

type PermissionsClient struct {
	BaseClient
}

PermissionsClient is the client for the Permissions methods of the Authoring service.

func NewPermissionsClient

func NewPermissionsClient(azureRegion AzureRegions) PermissionsClient

NewPermissionsClient creates an instance of the PermissionsClient client.

func (PermissionsClient) Add

func (client PermissionsClient) Add(ctx context.Context, appID uuid.UUID, userToAdd UserCollaborator) (result OperationStatus, err error)

Add adds a user to the allowed list of users to access this LUIS application. Users are added using their email address. Parameters: appID - the application ID. userToAdd - a model containing the user's email address.

func (PermissionsClient) AddPreparer

func (client PermissionsClient) AddPreparer(ctx context.Context, appID uuid.UUID, userToAdd UserCollaborator) (*http.Request, error)

AddPreparer prepares the Add request.

func (PermissionsClient) AddResponder

func (client PermissionsClient) AddResponder(resp *http.Response) (result OperationStatus, err error)

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

func (PermissionsClient) AddSender

func (client PermissionsClient) 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 (PermissionsClient) Delete

func (client PermissionsClient) Delete(ctx context.Context, appID uuid.UUID, userToDelete UserCollaborator) (result OperationStatus, err error)

Delete removes a user from the allowed list of users to access this LUIS application. Users are removed using their email address. Parameters: appID - the application ID. userToDelete - a model containing the user's email address.

func (PermissionsClient) DeletePreparer

func (client PermissionsClient) DeletePreparer(ctx context.Context, appID uuid.UUID, userToDelete UserCollaborator) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PermissionsClient) DeleteResponder

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

func (client PermissionsClient) 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 (PermissionsClient) List

func (client PermissionsClient) List(ctx context.Context, appID uuid.UUID) (result UserAccessList, err error)

List gets the list of user emails that have permissions to access your application. Parameters: appID - the application ID.

func (PermissionsClient) ListPreparer

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

ListPreparer prepares the List request.

func (PermissionsClient) ListResponder

func (client PermissionsClient) ListResponder(resp *http.Response) (result UserAccessList, err error)

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

func (PermissionsClient) ListSender

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

func (client PermissionsClient) Update(ctx context.Context, appID uuid.UUID, collaborators CollaboratorsArray) (result OperationStatus, err error)

Update replaces the current users access list with the one sent in the body. If an empty list is sent, all access to other users will be removed. Parameters: appID - the application ID. collaborators - a model containing a list of user's email addresses.

func (PermissionsClient) UpdatePreparer

func (client PermissionsClient) UpdatePreparer(ctx context.Context, appID uuid.UUID, collaborators CollaboratorsArray) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PermissionsClient) UpdateResponder

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

func (client PermissionsClient) 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 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"`
}

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 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"`
}

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"`
}

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: 'ReadableType5EntityExtractor', 'ReadableType5HierarchicalEntityExtractor', 'ReadableType5HierarchicalChildEntityExtractor', 'ReadableType5CompositeEntityExtractor', 'ReadableType5ClosedListEntityExtractor', 'ReadableType5PrebuiltEntityExtractor', 'ReadableType5IntentClassifier', 'ReadableType5PatternAnyEntityExtractor', 'ReadableType5RegexEntityExtractor'
	ReadableType ReadableType5 `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"`
	// 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 resopnse
	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 resopnse
	IsSentimentAnalysisEnabled *bool `json:"sentimentAnalysis,omitempty"`
	// IsSpeechEnabled - Setting speech as public enables speech priming in your app
	IsSpeechEnabled *bool `json:"speech,omitempty"`
	// IsSpellCheckerEnabled - Setting spell checker as public enables spell checking the input 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 ReadableType2

type ReadableType2 string

ReadableType2 enumerates the values for readable type 2.

const (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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 (
	// 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"
	// 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: 'ReadableType9EntityExtractor', 'ReadableType9HierarchicalEntityExtractor', 'ReadableType9HierarchicalChildEntityExtractor', 'ReadableType9CompositeEntityExtractor', 'ReadableType9ClosedListEntityExtractor', 'ReadableType9PrebuiltEntityExtractor', 'ReadableType9IntentClassifier', 'ReadableType9PatternAnyEntityExtractor', 'ReadableType9RegexEntityExtractor'
	ReadableType ReadableType9 `json:"readableType,omitempty"`
	Roles        *[]EntityRole `json:"roles,omitempty"`
	// RegexPattern - The Regex entity pattern.
	RegexPattern *string `json:"regexPattern,omitempty"`
}

RegexEntityExtractor regex Entity Extractor.

type RegexModelCreateObject

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

RegexModelCreateObject model object for creating a regex entity model.

type RegexModelUpdateObject

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

RegexModelUpdateObject model object for updating a regex 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 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 Closed list.

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 Closed list.

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(azureRegion AzureRegions) 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 {
	autorest.Response `json:"-"`
	// 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(azureRegion AzureRegions) 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 using the current snapshot of the selected application 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. 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) 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 info. 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) 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) List

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

List gets the application versions info. 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 closed list'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 Closed list.

Jump to

Keyboard shortcuts

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