DigitalTwinsResponse<T> Class
- java.
lang. Object - com.
azure. core. http. rest. ResponseBase<H,T> - com.
azure. digitaltwins. core. models. DigitalTwinsResponse<T>
- com.
- com.
Type Parameters
- T
public final class DigitalTwinsResponse
extends ResponseBase<DigitalTwinsResponseHeaders,T>
A helper class to represent the HTTP response returned by the service.
Constructor Summary
Constructor | Description |
---|---|
DigitalTwinsResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, T value, DigitalTwinsResponseHeaders headers) |
Creates an instance of Digital |
Method Summary
Modifier and Type | Method and Description |
---|---|
T | getValue() |
Methods inherited from ResponseBase
Methods inherited from java.lang.Object
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
public T getValue()
Overrides:
DigitalTwinsResponse<T>.getValue()Returns:
The raw response body.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java