Package com.twitter.clientlib.model
Class ConnectionExceptionProblemAllOf
- java.lang.Object
-
- com.twitter.clientlib.model.ConnectionExceptionProblemAllOf
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ConnectionExceptionProblemAllOf extends Object
ConnectionExceptionProblemAllOf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionExceptionProblemAllOf.ConnectionIssueEnum
Gets or Sets connectionIssuestatic class
ConnectionExceptionProblemAllOf.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_CONNECTION_ISSUE
-
Constructor Summary
Constructors Constructor Description ConnectionExceptionProblemAllOf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionExceptionProblemAllOf
connectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)
boolean
equals(Object o)
static ConnectionExceptionProblemAllOf
fromJson(String jsonString)
Create an instance of ConnectionExceptionProblemAllOf given an JSON stringConnectionExceptionProblemAllOf.ConnectionIssueEnum
getConnectionIssue()
Get connectionIssueint
hashCode()
void
setConnectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)
String
toJson()
Convert an instance of ConnectionExceptionProblemAllOf to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
connectionIssue
public ConnectionExceptionProblemAllOf connectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)
-
getConnectionIssue
@Nullable public ConnectionExceptionProblemAllOf.ConnectionIssueEnum getConnectionIssue()
Get connectionIssue- Returns:
- connectionIssue
-
setConnectionIssue
public void setConnectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to ConnectionExceptionProblemAllOf
-
fromJson
public static ConnectionExceptionProblemAllOf fromJson(String jsonString) throws IOException
Create an instance of ConnectionExceptionProblemAllOf given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ConnectionExceptionProblemAllOf
- Throws:
IOException
- if the JSON string is invalid with respect to ConnectionExceptionProblemAllOf
-
toJson
public String toJson()
Convert an instance of ConnectionExceptionProblemAllOf to an JSON string- Returns:
- JSON string
-
-