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