Partilhar via


FileSharesLeaseResponse Class

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 FileSharesLeaseResponse.

Method Summary

Modifier and Type Method and Description
LeaseShareResponseInner 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