Class Ping

  • All Implemented Interfaces:
    java.io.Serializable

    public class Ping
    extends java.lang.Object
    implements java.io.Serializable
    Ping can be used to test both Network Connectivity and if a Valid API Key was submitted. The response will contain 'pong' if all goes well.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Ping()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)
      java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()  
      java.lang.String getResponse()
      Will contain 'pong' if all goes well with the ping() request.
      java.lang.String getToken()
      Not used.
      int hashCode()
      void setAdditionalProperty​(java.lang.String name, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Ping

        public Ping()
    • Method Detail

      • getToken

        public java.lang.String getToken()
        Not used.
        Returns:
        will always return null/empty.
      • getResponse

        public java.lang.String getResponse()
        Will contain 'pong' if all goes well with the ping() request.
        Returns:
        a string that says 'pong'
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(java.lang.String name,
                                          java.lang.Object value)
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object