Class GetAccountDetailsResponse
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.async.GetAccountDetailsResponse
-
- All Implemented Interfaces:
AsyncResponse
public class GetAccountDetailsResponse extends java.lang.Object implements AsyncResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetAccountDetailsResponse.Builder
-
Constructor Summary
Constructors Constructor Description GetAccountDetailsResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse)GetAccountDetailsResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Optional<? extends AccountResponse> accountResponse)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<AccountResponse>accountResponse()The request was processed successfullystatic GetAccountDetailsResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.net.http.HttpResponse<Blob>rawResponse()Raw HTTP response; suitable for custom response parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()GetAccountDetailsResponsewithAccountResponse(java.util.Optional<? extends AccountResponse> accountResponse)The request was processed successfullyGetAccountDetailsResponsewithAccountResponse(AccountResponse accountResponse)The request was processed successfullyGetAccountDetailsResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationGetAccountDetailsResponsewithRawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingGetAccountDetailsResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
GetAccountDetailsResponse
public GetAccountDetailsResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Optional<? extends AccountResponse> accountResponse)
-
GetAccountDetailsResponse
public GetAccountDetailsResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse)
-
-
Method Detail
-
contentType
public java.lang.String contentType()
HTTP response content type for this operation- Specified by:
contentTypein interfaceAsyncResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCodein interfaceAsyncResponse
-
rawResponse
public java.net.http.HttpResponse<Blob> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceAsyncResponse
-
accountResponse
public java.util.Optional<AccountResponse> accountResponse()
The request was processed successfully
-
builder
public static GetAccountDetailsResponse.Builder builder()
-
withContentType
public GetAccountDetailsResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public GetAccountDetailsResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public GetAccountDetailsResponse withRawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withAccountResponse
public GetAccountDetailsResponse withAccountResponse(AccountResponse accountResponse)
The request was processed successfully
-
withAccountResponse
public GetAccountDetailsResponse withAccountResponse(java.util.Optional<? extends AccountResponse> accountResponse)
The request was processed successfully
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-