Class GetSmsPriceResponse

    • Constructor Detail

      • GetSmsPriceResponse

        public GetSmsPriceResponse​(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)
      • GetSmsPriceResponse

        public GetSmsPriceResponse​(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:
        contentType in interface AsyncResponse
      • statusCode

        public int statusCode()
        HTTP response status code for this operation
        Specified by:
        statusCode in interface AsyncResponse
      • rawResponse

        public java.net.http.HttpResponse<Blob> rawResponse()
        Raw HTTP response; suitable for custom response parsing
        Specified by:
        rawResponse in interface AsyncResponse
      • 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 each Price object
      • headers

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()
      • 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<Blob> 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 each Price object
      • 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 each Price object
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object