FileSharesLeaseResponse Class
- java.
lang. Object - com.
azure. core. http. rest. ResponseBase<H,T> - com.
azure. resourcemanager. storage. models. FileSharesLeaseResponse
- com.
- com.
public final class FileSharesLeaseResponse
extends ResponseBase<FileSharesLeaseHeaders,LeaseShareResponseInner>
Contains all response data for the lease operation.
Constructor Summary
Constructor | Description |
---|---|
FileSharesLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, LeaseShareResponseInner value, FileSharesLeaseHeaders headers) |
Creates an instance of File |
Method Summary
Modifier and Type | Method and Description |
---|---|
Lease |
getValue()
Gets the deserialized response body. |
Methods inherited from ResponseBase
Methods inherited from java.lang.Object
Constructor Details
FileSharesLeaseResponse
public FileSharesLeaseResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, LeaseShareResponseInner value, FileSharesLeaseHeaders headers)
Creates an instance of FileSharesLeaseResponse.
Parameters:
request
- the request which resulted in this FileSharesLeaseResponse.
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
public LeaseShareResponseInner getValue()
Gets the deserialized response body.
Overrides:
FileSharesLeaseResponse.getValue()Returns:
the deserialized 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