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 ObjectConnectionExceptionProblemAllOf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionExceptionProblemAllOf.ConnectionIssueEnumGets or Sets connectionIssuestatic classConnectionExceptionProblemAllOf.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONNECTION_ISSUE
-
Constructor Summary
Constructors Constructor Description ConnectionExceptionProblemAllOf()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionExceptionProblemAllOfconnectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)booleanequals(Object o)static ConnectionExceptionProblemAllOffromJson(String jsonString)Create an instance of ConnectionExceptionProblemAllOf given an JSON stringConnectionExceptionProblemAllOf.ConnectionIssueEnumgetConnectionIssue()Get connectionIssueinthashCode()voidsetConnectionIssue(ConnectionExceptionProblemAllOf.ConnectionIssueEnum connectionIssue)StringtoJson()Convert an instance of ConnectionExceptionProblemAllOf to an JSON stringStringtoString()static voidvalidateJsonObject(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 IOExceptionValidates 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
-
-