PhoneNumbersUpdateCapabilitiesResponse.java

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

package com.azure.communication.phonenumbers.implementation.models;

import com.azure.communication.phonenumbers.models.PurchasedPhoneNumber;
import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpRequest;
import com.azure.core.http.rest.ResponseBase;

/** Contains all response data for the updateCapabilities operation. */
public final class PhoneNumbersUpdateCapabilitiesResponse
        extends ResponseBase<PhoneNumbersUpdateCapabilitiesHeaders, PurchasedPhoneNumber> {
    /**
     * Creates an instance of PhoneNumbersUpdateCapabilitiesResponse.
     *
     * @param request the request which resulted in this PhoneNumbersUpdateCapabilitiesResponse.
     * @param statusCode the status code of the HTTP response.
     * @param rawHeaders the raw headers of the HTTP response.
     * @param value the deserialized value of the HTTP response.
     * @param headers the deserialized headers of the HTTP response.
     */
    public PhoneNumbersUpdateCapabilitiesResponse(
            HttpRequest request,
            int statusCode,
            HttpHeaders rawHeaders,
            PurchasedPhoneNumber value,
            PhoneNumbersUpdateCapabilitiesHeaders headers) {
        super(request, statusCode, rawHeaders, value, headers);
    }

    /** @return the deserialized response body. */
    @Override
    public PurchasedPhoneNumber getValue() {
        return super.getValue();
    }
}