forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 7a341e37a79769dd5da5e242a2a6856b8cb8a44b
fix samples
- Loading branch information
SDK Automation
committed
Oct 17, 2019
1 parent
5924b9d
commit ce1cd06
Showing
9 changed files
with
471 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 121 additions & 0 deletions
121
...azure/management/cognitiveservices/v2017_04_18/CognitiveServicesAccountApiProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.cognitiveservices.v2017_04_18; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The api properties for special APIs. | ||
*/ | ||
public class CognitiveServicesAccountApiProperties { | ||
/** | ||
* (QnAMaker Only) The runtime endpoint of QnAMaker. | ||
*/ | ||
@JsonProperty(value = "qnaRuntimeEndpoint") | ||
private String qnaRuntimeEndpoint; | ||
|
||
/** | ||
* (Bing Search Only) The flag to enable statistics of Bing Search. | ||
*/ | ||
@JsonProperty(value = "statisticsEnabled") | ||
private Boolean statisticsEnabled; | ||
|
||
/** | ||
* (Personalization Only) The flag to enable statistics of Bing Search. | ||
*/ | ||
@JsonProperty(value = "eventHubConnectionString") | ||
private String eventHubConnectionString; | ||
|
||
/** | ||
* (Personalization Only) The storage account connection string. | ||
*/ | ||
@JsonProperty(value = "storageAccountConnectionString") | ||
private String storageAccountConnectionString; | ||
|
||
/** | ||
* Get (QnAMaker Only) The runtime endpoint of QnAMaker. | ||
* | ||
* @return the qnaRuntimeEndpoint value | ||
*/ | ||
public String qnaRuntimeEndpoint() { | ||
return this.qnaRuntimeEndpoint; | ||
} | ||
|
||
/** | ||
* Set (QnAMaker Only) The runtime endpoint of QnAMaker. | ||
* | ||
* @param qnaRuntimeEndpoint the qnaRuntimeEndpoint value to set | ||
* @return the CognitiveServicesAccountApiProperties object itself. | ||
*/ | ||
public CognitiveServicesAccountApiProperties withQnaRuntimeEndpoint(String qnaRuntimeEndpoint) { | ||
this.qnaRuntimeEndpoint = qnaRuntimeEndpoint; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get (Bing Search Only) The flag to enable statistics of Bing Search. | ||
* | ||
* @return the statisticsEnabled value | ||
*/ | ||
public Boolean statisticsEnabled() { | ||
return this.statisticsEnabled; | ||
} | ||
|
||
/** | ||
* Set (Bing Search Only) The flag to enable statistics of Bing Search. | ||
* | ||
* @param statisticsEnabled the statisticsEnabled value to set | ||
* @return the CognitiveServicesAccountApiProperties object itself. | ||
*/ | ||
public CognitiveServicesAccountApiProperties withStatisticsEnabled(Boolean statisticsEnabled) { | ||
this.statisticsEnabled = statisticsEnabled; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get (Personalization Only) The flag to enable statistics of Bing Search. | ||
* | ||
* @return the eventHubConnectionString value | ||
*/ | ||
public String eventHubConnectionString() { | ||
return this.eventHubConnectionString; | ||
} | ||
|
||
/** | ||
* Set (Personalization Only) The flag to enable statistics of Bing Search. | ||
* | ||
* @param eventHubConnectionString the eventHubConnectionString value to set | ||
* @return the CognitiveServicesAccountApiProperties object itself. | ||
*/ | ||
public CognitiveServicesAccountApiProperties withEventHubConnectionString(String eventHubConnectionString) { | ||
this.eventHubConnectionString = eventHubConnectionString; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get (Personalization Only) The storage account connection string. | ||
* | ||
* @return the storageAccountConnectionString value | ||
*/ | ||
public String storageAccountConnectionString() { | ||
return this.storageAccountConnectionString; | ||
} | ||
|
||
/** | ||
* Set (Personalization Only) The storage account connection string. | ||
* | ||
* @param storageAccountConnectionString the storageAccountConnectionString value to set | ||
* @return the CognitiveServicesAccountApiProperties object itself. | ||
*/ | ||
public CognitiveServicesAccountApiProperties withStorageAccountConnectionString(String storageAccountConnectionString) { | ||
this.storageAccountConnectionString = storageAccountConnectionString; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.