Settings class
Class representing a Settings.
Constructors
Settings(LUISAuthoring |
Create a Settings. |
Methods
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<SettingsListResponse>
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
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
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
A list of the updated application version settings.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<SettingsUpdateResponse>
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
A list of the updated application version settings.
- options
- RequestOptionsBase
The optional parameters
- callback
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
A list of the updated application version settings.
- callback
The callback