Class WorkspacesGetResponse

java.lang.Object
com.azure.core.http.rest.ResponseBase<WorkspacesGetHeaders,WorkspaceInner>
com.azure.resourcemanager.apicenter.models.WorkspacesGetResponse
All Implemented Interfaces:
com.azure.core.http.rest.Response<WorkspaceInner>

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

    • WorkspacesGetResponse

      public WorkspacesGetResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders rawHeaders, WorkspaceInner value, WorkspacesGetHeaders headers)
      Creates an instance of WorkspacesGetResponse.
      Parameters:
      request - the request which resulted in this WorkspacesGetResponse.
      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 WorkspaceInner getValue()
      Gets the deserialized response body.
      Specified by:
      getValue in interface com.azure.core.http.rest.Response<WorkspaceInner>
      Overrides:
      getValue in class com.azure.core.http.rest.ResponseBase<WorkspacesGetHeaders,WorkspaceInner>
      Returns:
      the deserialized response body.