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