Alterations class

Classe que representa uma Alteração.

Construtores

Alterations(QnAMakerClientContext)

Criar alterações.

Métodos

get(RequestOptionsBase)
get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
get(ServiceCallback<WordAlterationsDTO>)
getAlterationsForKb(string, RequestOptionsBase)
getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)
replace(WordAlterationsDTO, RequestOptionsBase)
replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
replace(WordAlterationsDTO, ServiceCallback<void>)
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)

Detalhes do construtor

Alterations(QnAMakerClientContext)

Criar alterações.

new Alterations(client: QnAMakerClientContext)

Parâmetros

client
QnAMakerClientContext

Referência ao cliente de serviço.

Detalhes do método

get(RequestOptionsBase)

function get(options?: RequestOptionsBase): Promise<AlterationsGetResponse>

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.AlterationsGetResponse>

get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)

Parâmetros

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WordAlterationsDTO>

O retorno de chamada

get(ServiceCallback<WordAlterationsDTO>)

function get(callback: ServiceCallback<WordAlterationsDTO>)

Parâmetros

callback

ServiceCallback<WordAlterationsDTO>

O retorno de chamada

getAlterationsForKb(string, RequestOptionsBase)

function getAlterationsForKb(kbId: string, options?: RequestOptionsBase): Promise<AlterationsGetAlterationsForKbResponse>

Parâmetros

kbId

string

ID da base de dados de conhecimento.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<Models.AlterationsGetAlterationsForKbResponse>

getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

function getAlterationsForKb(kbId: string, options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)

Parâmetros

kbId

string

ID da base de dados de conhecimento.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<WordAlterationsDTO>

O retorno de chamada

getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)

function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)

Parâmetros

kbId

string

ID da base de dados de conhecimento.

callback

ServiceCallback<WordAlterationsDTO>

O retorno de chamada

replace(WordAlterationsDTO, RequestOptionsBase)

function replace(wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>

Parâmetros

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Prometa<msRest.RestResponse>

replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)

function replace(wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parâmetros

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

replace(WordAlterationsDTO, ServiceCallback<void>)

function replace(wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)

Parâmetros

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

callback

ServiceCallback<void>

O retorno de chamada

replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>

Parâmetros

kbId

string

ID da base de dados de conhecimento.

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

options
RequestOptionsBase

Os parâmetros opcionais

Retornos

Promise<RestResponse>

Prometa<msRest.RestResponse>

replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parâmetros

kbId

string

ID da base de dados de conhecimento.

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<void>

O retorno de chamada

replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)

Parâmetros

kbId

string

ID da base de dados de conhecimento.

wordAlterations
WordAlterationsDTO

Novos dados de alterações.

callback

ServiceCallback<void>

O retorno de chamada