Class DigitalTwinsResponse<T>
java.lang.Object
com.azure.core.http.rest.ResponseBase<DigitalTwinsResponseHeaders,T>
com.azure.digitaltwins.core.models.DigitalTwinsResponse<T>
- All Implemented Interfaces:
Response<T>
A helper class to represent the HTTP response returned by the service.
-
Constructor Summary
ConstructorDescriptionDigitalTwinsResponse
(HttpRequest request, int statusCode, HttpHeaders rawHeaders, T value, DigitalTwinsResponseHeaders headers) Creates an instance of DigitalTwinsResponse. -
Method Summary
Methods inherited from class com.azure.core.http.rest.ResponseBase
getDeserializedHeaders, getHeaders, getRequest, getStatusCode
-
Constructor Details
-
DigitalTwinsResponse
public DigitalTwinsResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, T value, DigitalTwinsResponseHeaders headers) Creates an instance of DigitalTwinsResponse.- Parameters:
request
- the request which resulted in this DigitalTwinsResponse.statusCode
- the status code of the HTTP response.rawHeaders
- the raw headers of the HTTP response.value
- the raw value of the HTTP response.headers
- the deserialized headers of the HTTP response.
-
-
Method Details
-
getValue
Description copied from class:ResponseBase
Gets the deserialized value of the HTTP response.- Specified by:
getValue
in interfaceResponse<T>
- Overrides:
getValue
in classResponseBase<DigitalTwinsResponseHeaders,
T> - Returns:
- The raw response body.
-