Package com.datarobot.model
Class Ping
- java.lang.Object
-
- com.datarobot.model.Ping
-
- All Implemented Interfaces:
java.io.Serializable
public class Ping extends java.lang.Object implements java.io.SerializablePingcan be used to test both Network Connectivity and if a Valid API Key was submitted. Theresponsewill 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 booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetResponse()Will contain'pong'if all goes well with theping()request.java.lang.StringgetToken()Not used.inthashCode()voidsetAdditionalProperty(java.lang.String name, java.lang.Object value)
-
-
-
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 theping()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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-