AiServices Class
- java.
lang. Object - com.
azure. search. documents. knowledgebases. models. AiServices
- com.
Implements
public final class AiServices
implements JsonSerializable<AiServices>
Parameters for AI Services.
Constructor Summary
| Constructor | Description |
|---|---|
| AiServices(String url) |
Creates an instance of Ai |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ai |
fromJson(JsonReader jsonReader)
Reads an instance of Ai |
| String |
getApiKey()
Get the api |
| String |
getUrl()
Get the url property: The URI of the AI Services endpoint. |
|
Ai |
setApiKey(String apiKey)
Set the api |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AiServices
public AiServices(String url)
Creates an instance of AiServices class.
Parameters:
Method Details
fromJson
public static AiServices fromJson(JsonReader jsonReader)
Reads an instance of AiServices from the JsonReader.
Parameters:
Returns:
Throws:
getApiKey
public String getApiKey()
Get the apiKey property: The API key for accessing AI Services.
Returns:
getUrl
public String getUrl()
Get the url property: The URI of the AI Services endpoint.
Returns:
setApiKey
public AiServices setApiKey(String apiKey)
Set the apiKey property: The API key for accessing AI Services.
Parameters:
Returns: