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


package com.azure.communication.callautomation.models;

import com.azure.core.annotation.Fluent;

/**
 *  Custom context header.
 */
@Fluent
public abstract class CustomContextHeader {
    private final String key;
    private final String value;

    /**
     * Create a CustomContextHeader object with key and value
     * @param key the header key
     * @param value the header value
     */
    public CustomContextHeader(String key, String value) {
        this.key = key;
        this.value = value;
    }

    /**
     * get custom context header key
     * @return custom context header key
     */
    public String getKey() {
        return key;
    }

    /**
     * get custom context header value
     * @return custom context header value
     */
    public String getValue() {
        return value;
    }
}
