Package com.twitter.clientlib.model
Class InvalidRequestProblemAllOfErrors
- java.lang.Object
-
- com.twitter.clientlib.model.InvalidRequestProblemAllOfErrors
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class InvalidRequestProblemAllOfErrors extends Object
InvalidRequestProblemAllOfErrors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InvalidRequestProblemAllOfErrors.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_MESSAGE
static String
SERIALIZED_NAME_PARAMETERS
-
Constructor Summary
Constructors Constructor Description InvalidRequestProblemAllOfErrors()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static InvalidRequestProblemAllOfErrors
fromJson(String jsonString)
Create an instance of InvalidRequestProblemAllOfErrors given an JSON stringString
getMessage()
Get messageMap<String,List<String>>
getParameters()
Get parametersint
hashCode()
InvalidRequestProblemAllOfErrors
message(String message)
InvalidRequestProblemAllOfErrors
parameters(Map<String,List<String>> parameters)
InvalidRequestProblemAllOfErrors
putParametersItem(String key, List<String> parametersItem)
void
setMessage(String message)
void
setParameters(Map<String,List<String>> parameters)
String
toJson()
Convert an instance of InvalidRequestProblemAllOfErrors to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARAMETERS
public static final String SERIALIZED_NAME_PARAMETERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
message
public InvalidRequestProblemAllOfErrors message(String message)
-
setMessage
public void setMessage(String message)
-
parameters
public InvalidRequestProblemAllOfErrors parameters(Map<String,List<String>> parameters)
-
putParametersItem
public InvalidRequestProblemAllOfErrors putParametersItem(String key, List<String> parametersItem)
-
getParameters
@Nullable public Map<String,List<String>> getParameters()
Get parameters- Returns:
- parameters
-
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 InvalidRequestProblemAllOfErrors
-
fromJson
public static InvalidRequestProblemAllOfErrors fromJson(String jsonString) throws IOException
Create an instance of InvalidRequestProblemAllOfErrors given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of InvalidRequestProblemAllOfErrors
- Throws:
IOException
- if the JSON string is invalid with respect to InvalidRequestProblemAllOfErrors
-
toJson
public String toJson()
Convert an instance of InvalidRequestProblemAllOfErrors to an JSON string- Returns:
- JSON string
-
-