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.
/**
* 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.search.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
Describes an API key for a given Azure Search service that has permissions
for query operations only.
/**
* Describes an API key for a given Azure Search service that has permissions
* for query operations only.
*/
public class QueryKeyInner {
The name of the query API key; may be empty.
/**
* The name of the query API key; may be empty.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
The value of the query API key.
/**
* The value of the query API key.
*/
@JsonProperty(value = "key", access = JsonProperty.Access.WRITE_ONLY)
private String key;
Get the name value.
Returns: the name value
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
Get the key value.
Returns: the key value
/**
* Get the key value.
*
* @return the key value
*/
public String key() {
return this.key;
}
}