Settings class

Class representing a Settings.

Constructors

Settings(LUISAuthoringClientContext)

Create a Settings.

Methods

list(string, string, RequestOptionsBase)

Gets the settings in a version of the application.

list(string, string, RequestOptionsBase, ServiceCallback<AppVersionSettingObject[]>)
list(string, string, ServiceCallback<AppVersionSettingObject[]>)
update(string, string, AppVersionSettingObject[], RequestOptionsBase)

Updates the settings in a version of the application.

update(string, string, AppVersionSettingObject[], RequestOptionsBase, ServiceCallback<OperationStatus>)
update(string, string, AppVersionSettingObject[], ServiceCallback<OperationStatus>)

Constructor Details

Settings(LUISAuthoringClientContext)

Create a Settings.

new Settings(client: LUISAuthoringClientContext)

Parameters

client
LUISAuthoringClientContext

Reference to the service client.

Method Details

list(string, string, RequestOptionsBase)

Gets the settings in a version of the application.

function list(appId: string, versionId: string, options?: RequestOptionsBase): Promise<SettingsListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SettingsListResponse>

list(string, string, RequestOptionsBase, ServiceCallback<AppVersionSettingObject[]>)

function list(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<AppVersionSettingObject[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AppVersionSettingObject[]>

The callback

list(string, string, ServiceCallback<AppVersionSettingObject[]>)

function list(appId: string, versionId: string, callback: ServiceCallback<AppVersionSettingObject[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<AppVersionSettingObject[]>

The callback

update(string, string, AppVersionSettingObject[], RequestOptionsBase)

Updates the settings in a version of the application.

function update(appId: string, versionId: string, listOfAppVersionSettingObject: AppVersionSettingObject[], options?: RequestOptionsBase): Promise<SettingsUpdateResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

listOfAppVersionSettingObject

AppVersionSettingObject[]

A list of the updated application version settings.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.SettingsUpdateResponse>

update(string, string, AppVersionSettingObject[], RequestOptionsBase, ServiceCallback<OperationStatus>)

function update(appId: string, versionId: string, listOfAppVersionSettingObject: AppVersionSettingObject[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

listOfAppVersionSettingObject

AppVersionSettingObject[]

A list of the updated application version settings.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

update(string, string, AppVersionSettingObject[], ServiceCallback<OperationStatus>)

function update(appId: string, versionId: string, listOfAppVersionSettingObject: AppVersionSettingObject[], callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

listOfAppVersionSettingObject

AppVersionSettingObject[]

A list of the updated application version settings.

callback

ServiceCallback<OperationStatus>

The callback