All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.search.implementation.QueryKeyInner Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public class QueryKeyInner {
    /**
     * 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.
     */
    @JsonProperty(value = "key", access = JsonProperty.Access.WRITE_ONLY)
    private String key;

    /**
     * Get the name value.
     *
     * @return the name value
     */
    public String name() {
        return this.name;
    }

    /**
     * Get the key value.
     *
     * @return the key value
     */
    public String key() {
        return this.key;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy