Package com.twitter.clientlib.model
Class DeleteRulesRequestDelete
- java.lang.Object
-
- com.twitter.clientlib.model.DeleteRulesRequestDelete
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class DeleteRulesRequestDelete extends Object
IDs and values of all deleted user-specified stream filtering rules.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteRulesRequestDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_IDS
static String
SERIALIZED_NAME_VALUES
-
Constructor Summary
Constructors Constructor Description DeleteRulesRequestDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRulesRequestDelete
addIdsItem(String idsItem)
DeleteRulesRequestDelete
addValuesItem(String valuesItem)
boolean
equals(Object o)
static DeleteRulesRequestDelete
fromJson(String jsonString)
Create an instance of DeleteRulesRequestDelete given an JSON stringList<String>
getIds()
IDs of all deleted user-specified stream filtering rules.List<String>
getValues()
Values of all deleted user-specified stream filtering rules.int
hashCode()
DeleteRulesRequestDelete
ids(List<String> ids)
void
setIds(List<String> ids)
void
setValues(List<String> values)
String
toJson()
Convert an instance of DeleteRulesRequestDelete to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues foundDeleteRulesRequestDelete
values(List<String> values)
-
-
-
Field Detail
-
SERIALIZED_NAME_IDS
public static final String SERIALIZED_NAME_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUES
public static final String SERIALIZED_NAME_VALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
ids
public DeleteRulesRequestDelete ids(List<String> ids)
-
addIdsItem
public DeleteRulesRequestDelete addIdsItem(String idsItem)
-
getIds
@Nullable public List<String> getIds()
IDs of all deleted user-specified stream filtering rules.- Returns:
- ids
-
values
public DeleteRulesRequestDelete values(List<String> values)
-
addValuesItem
public DeleteRulesRequestDelete addValuesItem(String valuesItem)
-
getValues
@Nullable public List<String> getValues()
Values of all deleted user-specified stream filtering rules.- Returns:
- values
-
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 DeleteRulesRequestDelete
-
fromJson
public static DeleteRulesRequestDelete fromJson(String jsonString) throws IOException
Create an instance of DeleteRulesRequestDelete given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of DeleteRulesRequestDelete
- Throws:
IOException
- if the JSON string is invalid with respect to DeleteRulesRequestDelete
-
toJson
public String toJson()
Convert an instance of DeleteRulesRequestDelete to an JSON string- Returns:
- JSON string
-
-