Class GetMmsPriceResponse
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.async.GetMmsPriceResponse
-
- All Implemented Interfaces:
AsyncResponse
public class GetMmsPriceResponse extends java.lang.Object implements AsyncResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMmsPriceResponse.Builder
-
Constructor Summary
Constructors Constructor Description GetMmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetMmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Optional<? extends java.util.List<Price>> prices, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMmsPriceResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.util.Map<java.lang.String,java.util.List<java.lang.String>>headers()java.util.Optional<java.util.List<Price>>prices()The request was processed successfully.java.net.http.HttpResponse<Blob>rawResponse()Raw HTTP response; suitable for custom response parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()GetMmsPriceResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationGetMmsPriceResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetMmsPriceResponsewithPrices(java.util.List<Price> prices)The request was processed successfully.GetMmsPriceResponsewithPrices(java.util.Optional<? extends java.util.List<Price>> prices)The request was processed successfully.GetMmsPriceResponsewithRawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingGetMmsPriceResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
GetMmsPriceResponse
public GetMmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Optional<? extends java.util.List<Price>> prices, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
GetMmsPriceResponse
public GetMmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<Blob> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
-
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
-
prices
public java.util.Optional<java.util.List<Price>> prices()
The request was processed successfully. Please check the price and the details of particular messages in eachPriceobject
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static GetMmsPriceResponse.Builder builder()
-
withContentType
public GetMmsPriceResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public GetMmsPriceResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public GetMmsPriceResponse withRawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withPrices
public GetMmsPriceResponse withPrices(java.util.List<Price> prices)
The request was processed successfully. Please check the price and the details of particular messages in eachPriceobject
-
withPrices
public GetMmsPriceResponse withPrices(java.util.Optional<? extends java.util.List<Price>> prices)
The request was processed successfully. Please check the price and the details of particular messages in eachPriceobject
-
withHeaders
public GetMmsPriceResponse withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
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
-
-