// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.media.videoanalyzer.edge.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** HTTP header credentials. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "@type")
@JsonTypeName("#Microsoft.VideoAnalyzer.HttpHeaderCredentials")
@Fluent
public final class HttpHeaderCredentials extends CredentialsBase {
    /*
     * HTTP header name.
     */
    @JsonProperty(value = "headerName", required = true)
    private String headerName;

    /*
     * HTTP header value. It is recommended that this value is parameterized as
     * a secret string in order to prevent this value to be returned as part of
     * the resource on API requests.
     */
    @JsonProperty(value = "headerValue", required = true)
    private String headerValue;

    /**
     * Creates an instance of HttpHeaderCredentials class.
     *
     * @param headerName the headerName value to set.
     * @param headerValue the headerValue value to set.
     */
    @JsonCreator
    public HttpHeaderCredentials(
            @JsonProperty(value = "headerName", required = true) String headerName,
            @JsonProperty(value = "headerValue", required = true) String headerValue) {
        this.headerName = headerName;
        this.headerValue = headerValue;
    }

    /**
     * Get the headerName property: HTTP header name.
     *
     * @return the headerName value.
     */
    public String getHeaderName() {
        return this.headerName;
    }

    /**
     * Get the headerValue property: HTTP header value. It is recommended that this value is parameterized as a secret
     * string in order to prevent this value to be returned as part of the resource on API requests.
     *
     * @return the headerValue value.
     */
    public String getHeaderValue() {
        return this.headerValue;
    }
}
