azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/programmatic Index | Files

package programmatic

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/programmatic"

Package programmatic implements the Azure ARM Programmatic service API version v2.0 preview.

Index

Package Files

apps.go client.go examples.go features.go model.go models.go pattern.go permissions.go train.go version.go versions.go

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ApplicationCreateObject Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AppsClient struct {
    BaseClient
}

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

func NewAppsClient Uses

func NewAppsClient(azureRegion AzureRegions) AppsClient

NewAppsClient creates an instance of the AppsClient client.

func (AppsClient) Add Uses

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 Uses

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 Uses

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

AddCustomPrebuiltDomainPreparer prepares the AddCustomPrebuiltDomain request.

func (AppsClient) AddCustomPrebuiltDomainResponder Uses

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 Uses

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 Uses

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

AddPreparer prepares the Add request.

func (AppsClient) AddResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AppsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

DownloadQueryLogsPreparer prepares the DownloadQueryLogs request.

func (AppsClient) DownloadQueryLogsResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AppsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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

GetSettingsPreparer prepares the GetSettings request.

func (AppsClient) GetSettingsResponder Uses

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 Uses

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 Uses

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 Uses

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

ImportPreparer prepares the Import request.

func (AppsClient) ImportResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListAvailableCustomPrebuiltDomainsForCulturePreparer prepares the ListAvailableCustomPrebuiltDomainsForCulture request.

func (AppsClient) ListAvailableCustomPrebuiltDomainsForCultureResponder Uses

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 Uses

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 Uses

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

ListAvailableCustomPrebuiltDomainsPreparer prepares the ListAvailableCustomPrebuiltDomains request.

func (AppsClient) ListAvailableCustomPrebuiltDomainsResponder Uses

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 Uses

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 Uses

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

ListCortanaEndpoints gets the endpoint URLs for the prebuilt Cortana applications.

func (AppsClient) ListCortanaEndpointsPreparer Uses

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

ListCortanaEndpointsPreparer prepares the ListCortanaEndpoints request.

func (AppsClient) ListCortanaEndpointsResponder Uses

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 Uses

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 Uses

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

ListDomains gets the available application domains.

func (AppsClient) ListDomainsPreparer Uses

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

ListDomainsPreparer prepares the ListDomains request.

func (AppsClient) ListDomainsResponder Uses

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 Uses

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 Uses

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 Uses

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

ListEndpointsPreparer prepares the ListEndpoints request.

func (AppsClient) ListEndpointsResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (AppsClient) ListResponder Uses

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 Uses

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 Uses

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

ListSupportedCultures gets the supported application cultures.

func (AppsClient) ListSupportedCulturesPreparer Uses

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

ListSupportedCulturesPreparer prepares the ListSupportedCultures request.

func (AppsClient) ListSupportedCulturesResponder Uses

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 Uses

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 Uses

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

ListUsageScenarios gets the application available usage scenarios.

func (AppsClient) ListUsageScenariosPreparer Uses

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

ListUsageScenariosPreparer prepares the ListUsageScenarios request.

func (AppsClient) ListUsageScenariosResponder Uses

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 Uses

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 Uses

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 Uses

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

PublishPreparer prepares the Publish request.

func (AppsClient) PublishResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (AppsClient) UpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdateSettingsPreparer prepares the UpdateSettings request.

func (AppsClient) UpdateSettingsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func PossibleAzureRegionsValues() []AzureRegions

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

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    AzureRegion AzureRegions
}

BaseClient is the base client for Programmatic.

func New Uses

func New(azureRegion AzureRegions) BaseClient

New creates an instance of the BaseClient client.

func NewWithoutDefaults Uses

func NewWithoutDefaults(azureRegion AzureRegions) BaseClient

NewWithoutDefaults creates an instance of the BaseClient client.

type BatchLabelExample Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

CollaboratorsArray ...

type CompositeChildModelCreateObject Uses

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

CompositeChildModelCreateObject ...

type CompositeEntityExtractor Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

EntityRoleCreateObject object model for creating an entity role.

type EntityRoleUpdateObject Uses

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

EntityRoleUpdateObject object model for updating an entity role.

type ErrorResponse Uses

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 Uses

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

MarshalJSON is the custom marshaler for ErrorResponse.

type ExampleLabelObject Uses

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 Uses

type ExamplesClient struct {
    BaseClient
}

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

func NewExamplesClient Uses

func NewExamplesClient(azureRegion AzureRegions) ExamplesClient

NewExamplesClient creates an instance of the ExamplesClient client.

func (ExamplesClient) Add Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ExplicitListItemCreateObject object model for creating an explicit list item.

type ExplicitListItemUpdateObject Uses

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

ExplicitListItemUpdateObject model object for updating an explicit list item.

type FeatureInfoObject Uses

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 Uses

type FeaturesClient struct {
    BaseClient
}

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

func NewFeaturesClient Uses

func NewFeaturesClient(azureRegion AzureRegions) FeaturesClient

NewFeaturesClient creates an instance of the FeaturesClient client.

func (FeaturesClient) AddPhraseList Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

HierarchicalChildModelCreateObject ...

type HierarchicalChildModelUpdateObject Uses

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

HierarchicalChildModelUpdateObject ...

type HierarchicalEntityExtractor Uses

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 Uses

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 Uses

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 Uses

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

Int32 ...

type IntentClassifier Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 LabeledUtterance Uses

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 Uses

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

ListApplicationInfoResponse ...

type ListAvailableCulture Uses

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

ListAvailableCulture ...

type ListAvailablePrebuiltEntityModel Uses

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

ListAvailablePrebuiltEntityModel ...

type ListBatchLabelExample Uses

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

ListBatchLabelExample ...

type ListClosedListEntityExtractor Uses

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

ListClosedListEntityExtractor ...

type ListCompositeEntityExtractor Uses

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

ListCompositeEntityExtractor ...

type ListCustomPrebuiltModel Uses

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

ListCustomPrebuiltModel ...

type ListEntitiesSuggestionExample Uses

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

ListEntitiesSuggestionExample ...

type ListEntityExtractor Uses

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

ListEntityExtractor ...

type ListEntityRole Uses

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

ListEntityRole ...

type ListExplicitListItem Uses

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

ListExplicitListItem ...

type ListHierarchicalEntityExtractor Uses

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

ListHierarchicalEntityExtractor ...

type ListIntentClassifier Uses

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

ListIntentClassifier ...

type ListIntentsSuggestionExample Uses

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

ListIntentsSuggestionExample ...

type ListLabeledUtterance Uses

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

ListLabeledUtterance ...

type ListModelInfoResponse Uses

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

ListModelInfoResponse ...

type ListModelTrainingInfo Uses

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

ListModelTrainingInfo ...

type ListPatternAnyEntityExtractor Uses

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

ListPatternAnyEntityExtractor ...

type ListPatternRuleInfo Uses

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

ListPatternRuleInfo ...

type ListPhraseListFeatureInfo Uses

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

ListPhraseListFeatureInfo ...

type ListPrebuiltDomain Uses

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

ListPrebuiltDomain ...

type ListPrebuiltEntityExtractor Uses

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

ListPrebuiltEntityExtractor ...

type ListRegexEntityExtractor Uses

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

ListRegexEntityExtractor ...

type ListString Uses

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

ListString ...

type ListUUID Uses

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

ListUUID ...

type ListVersionInfo Uses

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

ListVersionInfo ...

type LuisApp Uses

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 Uses

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

MarshalJSON is the custom marshaler for LuisApp.

type ModelClient Uses

type ModelClient struct {
    BaseClient
}

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

func NewModelClient Uses

func NewModelClient(azureRegion AzureRegions) ModelClient

NewModelClient creates an instance of the ModelClient client.

func (ModelClient) AddClosedList Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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) GetClosedList Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListCustomPrebuiltEntitiesPreparer prepares the ListCustomPrebuiltEntities request.

func (ModelClient) ListCustomPrebuiltEntitiesResponder Uses

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 Uses

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 Uses

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 Uses

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

ListCustomPrebuiltIntentsPreparer prepares the ListCustomPrebuiltIntents request.

func (ModelClient) ListCustomPrebuiltIntentsResponder Uses

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 Uses

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 Uses

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 Uses

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

ListCustomPrebuiltModelsPreparer prepares the ListCustomPrebuiltModels request.

func (ModelClient) ListCustomPrebuiltModelsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPrebuiltEntitiesPreparer prepares the ListPrebuiltEntities request.

func (ModelClient) ListPrebuiltEntitiesResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (client