Class GetNetworkTokenResponse


  • public class GetNetworkTokenResponse
    extends Object
    GetNetworkTokenResponse
    • Constructor Detail

      • GetNetworkTokenResponse

        public GetNetworkTokenResponse()
    • Method Detail

      • getToken

        public NetworkToken getToken()
        Get token
        Returns:
        token
      • setToken

        public void setToken​(NetworkToken token)
        token
        Parameters:
        token -
      • equals

        public boolean equals​(Object o)
        Return true if this GetNetworkTokenResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static GetNetworkTokenResponse fromJson​(String jsonString)
                                                throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of GetNetworkTokenResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of GetNetworkTokenResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to GetNetworkTokenResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of GetNetworkTokenResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException