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

package tsptest.armstreamstyleserialization.models;

import com.azure.core.http.HttpHeaders;
import com.azure.core.http.HttpRequest;
import com.azure.core.http.rest.ResponseBase;
import tsptest.armstreamstyleserialization.fluent.models.FunctionInner;

/**
 * Contains all response data for the createFunction operation.
 */
public final class FunctionsCreateFunctionResponse extends ResponseBase<FunctionsCreateFunctionHeaders, FunctionInner> {
    /**
     * Creates an instance of FunctionsCreateFunctionResponse.
     * 
     * @param request the request which resulted in this FunctionsCreateFunctionResponse.
     * @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 FunctionsCreateFunctionResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders,
        FunctionInner value, FunctionsCreateFunctionHeaders headers) {
        super(request, statusCode, rawHeaders, value, headers);
    }

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