Class ListWalletsResponse

  • All Implemented Interfaces:
    Response

    public class ListWalletsResponse
    extends java.lang.Object
    implements Response
    • Constructor Summary

      Constructors 
      Constructor Description
      ListWalletsResponse​(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)  
      ListWalletsResponse​(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends java.util.List<Wallet>> wallets, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)  
    • Constructor Detail

      • ListWalletsResponse

        public ListWalletsResponse​(java.lang.String contentType,
                                   int statusCode,
                                   java.net.http.HttpResponse<java.io.InputStream> rawResponse,
                                   java.util.Optional<? extends java.util.List<Wallet>> wallets,
                                   java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
      • ListWalletsResponse

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

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

        public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
        Raw HTTP response; suitable for custom response parsing
        Specified by:
        rawResponse in interface Response
      • wallets

        public java.util.Optional<java.util.List<Wallet>> wallets()
        The request completed successfully.
      • headers

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()
      • withContentType

        public ListWalletsResponse withContentType​(java.lang.String contentType)
        HTTP response content type for this operation
      • withStatusCode

        public ListWalletsResponse withStatusCode​(int statusCode)
        HTTP response status code for this operation
      • withRawResponse

        public ListWalletsResponse withRawResponse​(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
        Raw HTTP response; suitable for custom response parsing
      • withWallets

        public ListWalletsResponse withWallets​(java.util.List<Wallet> wallets)
        The request completed successfully.
      • withWallets

        public ListWalletsResponse withWallets​(java.util.Optional<? extends java.util.List<Wallet>> wallets)
        The request completed successfully.
      • withHeaders

        public ListWalletsResponse 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