Class ApisGetResponse

java.lang.Object
com.azure.core.http.rest.ResponseBase<ApisGetHeaders,ApiContractInner>
com.azure.resourcemanager.apimanagement.models.ApisGetResponse
All Implemented Interfaces:
com.azure.core.http.rest.Response<ApiContractInner>

public final class ApisGetResponse extends com.azure.core.http.rest.ResponseBase<ApisGetHeaders,ApiContractInner>
Contains all response data for the get operation.
  • Constructor Details

    • ApisGetResponse

      public ApisGetResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders rawHeaders, ApiContractInner value, ApisGetHeaders headers)
      Creates an instance of ApisGetResponse.
      Parameters:
      request - the request which resulted in this ApisGetResponse.
      statusCode - the status code of the HTTP response.
      rawHeaders - the raw headers of the HTTP response.
      value - the deserialized value of the HTTP response.
      headers - the deserialized headers of the HTTP response.
  • Method Details

    • getValue

      public ApiContractInner getValue()
      Gets the deserialized response body.
      Specified by:
      getValue in interface com.azure.core.http.rest.Response<ApiContractInner>
      Overrides:
      getValue in class com.azure.core.http.rest.ResponseBase<ApisGetHeaders,ApiContractInner>
      Returns:
      the deserialized response body.