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 classDeleteRulesRequestDelete.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDSstatic StringSERIALIZED_NAME_VALUES
-
Constructor Summary
Constructors Constructor Description DeleteRulesRequestDelete()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRulesRequestDeleteaddIdsItem(String idsItem)DeleteRulesRequestDeleteaddValuesItem(String valuesItem)booleanequals(Object o)static DeleteRulesRequestDeletefromJson(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.inthashCode()DeleteRulesRequestDeleteids(List<String> ids)voidsetIds(List<String> ids)voidsetValues(List<String> values)StringtoJson()Convert an instance of DeleteRulesRequestDelete to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundDeleteRulesRequestDeletevalues(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 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 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
-
-