Class GetSmsPriceResponse.Builder
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.GetSmsPriceResponse.Builder
-
- Enclosing class:
- GetSmsPriceResponse
public static final class GetSmsPriceResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSmsPriceResponsebuild()GetSmsPriceResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationGetSmsPriceResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetSmsPriceResponse.Builderprices(java.util.List<Price> prices)The request was processed successfully.GetSmsPriceResponse.Builderprices(java.util.Optional<? extends java.util.List<Price>> prices)The request was processed successfully.GetSmsPriceResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingGetSmsPriceResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public GetSmsPriceResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public GetSmsPriceResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public GetSmsPriceResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
prices
public GetSmsPriceResponse.Builder prices(java.util.List<Price> prices)
The request was processed successfully. Please check the price and the details of particular messages in eachPriceobject
-
prices
public GetSmsPriceResponse.Builder prices(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
-
headers
public GetSmsPriceResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public GetSmsPriceResponse build()
-
-