Class ApiPoliciesGetResponse
java.lang.Object
com.azure.core.http.rest.ResponseBase<ApiPoliciesGetHeaders,PolicyContractInner>
com.azure.resourcemanager.apimanagement.models.ApiPoliciesGetResponse
- All Implemented Interfaces:
com.azure.core.http.rest.Response<PolicyContractInner>
public final class ApiPoliciesGetResponse
extends com.azure.core.http.rest.ResponseBase<ApiPoliciesGetHeaders,PolicyContractInner>
Contains all response data for the get operation.
-
Constructor Summary
ConstructorsConstructorDescriptionApiPoliciesGetResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders rawHeaders, PolicyContractInner value, ApiPoliciesGetHeaders headers) Creates an instance of ApiPoliciesGetResponse. -
Method Summary
Methods inherited from class com.azure.core.http.rest.ResponseBase
getDeserializedHeaders, getHeaders, getRequest, getStatusCode
-
Constructor Details
-
ApiPoliciesGetResponse
public ApiPoliciesGetResponse(com.azure.core.http.HttpRequest request, int statusCode, com.azure.core.http.HttpHeaders rawHeaders, PolicyContractInner value, ApiPoliciesGetHeaders headers) Creates an instance of ApiPoliciesGetResponse.- Parameters:
request- the request which resulted in this ApiPoliciesGetResponse.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
Gets the deserialized response body.- Specified by:
getValuein interfacecom.azure.core.http.rest.Response<PolicyContractInner>- Overrides:
getValuein classcom.azure.core.http.rest.ResponseBase<ApiPoliciesGetHeaders,PolicyContractInner> - Returns:
- the deserialized response body.
-