Class GetSmsPriceResponse
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.GetSmsPriceResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetSmsPriceResponse.Builder
-
Constructor Summary
Constructors Constructor Description GetSmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetSmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> 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 GetSmsPriceResponse.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<java.io.InputStream>rawResponse()Raw HTTP response; suitable for custom response parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()GetSmsPriceResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationGetSmsPriceResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetSmsPriceResponsewithPrices(java.util.List<Price> prices)The request was processed successfully.GetSmsPriceResponsewithPrices(java.util.Optional<? extends java.util.List<Price>> prices)The request was processed successfully.GetSmsPriceResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingGetSmsPriceResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
GetSmsPriceResponse
public GetSmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends java.util.List<Price>> prices, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
GetSmsPriceResponse
public GetSmsPriceResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> 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 interfaceResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
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 GetSmsPriceResponse.Builder builder()
-
withContentType
public GetSmsPriceResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public GetSmsPriceResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public GetSmsPriceResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withPrices
public GetSmsPriceResponse 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 GetSmsPriceResponse 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 GetSmsPriceResponse 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
-
-