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

com.azure.messaging.eventgrid.systemevents.AcsIncomingCallCustomContext Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Custom Context of Incoming Call. */
@Fluent
public final class AcsIncomingCallCustomContext {
    /*
     * Sip Headers for incoming call
     */
    @JsonProperty(value = "sipHeaders")
    private Map sipHeaders;

    /*
     * Voip Headers for incoming call
     */
    @JsonProperty(value = "voipHeaders")
    private Map voipHeaders;

    /** Creates an instance of AcsIncomingCallCustomContext class. */
    public AcsIncomingCallCustomContext() {}

    /**
     * Get the sipHeaders property: Sip Headers for incoming call.
     *
     * @return the sipHeaders value.
     */
    public Map getSipHeaders() {
        return this.sipHeaders;
    }

    /**
     * Set the sipHeaders property: Sip Headers for incoming call.
     *
     * @param sipHeaders the sipHeaders value to set.
     * @return the AcsIncomingCallCustomContext object itself.
     */
    public AcsIncomingCallCustomContext setSipHeaders(Map sipHeaders) {
        this.sipHeaders = sipHeaders;
        return this;
    }

    /**
     * Get the voipHeaders property: Voip Headers for incoming call.
     *
     * @return the voipHeaders value.
     */
    public Map getVoipHeaders() {
        return this.voipHeaders;
    }

    /**
     * Set the voipHeaders property: Voip Headers for incoming call.
     *
     * @param voipHeaders the voipHeaders value to set.
     * @return the AcsIncomingCallCustomContext object itself.
     */
    public AcsIncomingCallCustomContext setVoipHeaders(Map voipHeaders) {
        this.voipHeaders = voipHeaders;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy