Package com.twitter.clientlib.model
Class RulesRequestSummaryOneOf1
- java.lang.Object
-
- com.twitter.clientlib.model.RulesRequestSummaryOneOf1
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RulesRequestSummaryOneOf1 extends Object
RulesRequestSummaryOneOf1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRulesRequestSummaryOneOf1.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DELETEDstatic StringSERIALIZED_NAME_NOT_DELETED
-
Constructor Summary
Constructors Constructor Description RulesRequestSummaryOneOf1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RulesRequestSummaryOneOf1deleted(Integer deleted)booleanequals(Object o)static RulesRequestSummaryOneOf1fromJson(String jsonString)Create an instance of RulesRequestSummaryOneOf1 given an JSON stringIntegergetDeleted()Number of user-specified stream filtering rules that were deleted.IntegergetNotDeleted()Number of user-specified stream filtering rules that were not deleted.inthashCode()RulesRequestSummaryOneOf1notDeleted(Integer notDeleted)voidsetDeleted(Integer deleted)voidsetNotDeleted(Integer notDeleted)StringtoJson()Convert an instance of RulesRequestSummaryOneOf1 to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_DELETED
public static final String SERIALIZED_NAME_DELETED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NOT_DELETED
public static final String SERIALIZED_NAME_NOT_DELETED
- See Also:
- Constant Field Values
-
-
Method Detail
-
deleted
public RulesRequestSummaryOneOf1 deleted(Integer deleted)
-
getDeleted
@Nonnull public Integer getDeleted()
Number of user-specified stream filtering rules that were deleted.- Returns:
- deleted
-
setDeleted
public void setDeleted(Integer deleted)
-
notDeleted
public RulesRequestSummaryOneOf1 notDeleted(Integer notDeleted)
-
getNotDeleted
@Nonnull public Integer getNotDeleted()
Number of user-specified stream filtering rules that were not deleted.- Returns:
- notDeleted
-
setNotDeleted
public void setNotDeleted(Integer notDeleted)
-
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 RulesRequestSummaryOneOf1
-
fromJson
public static RulesRequestSummaryOneOf1 fromJson(String jsonString) throws IOException
Create an instance of RulesRequestSummaryOneOf1 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RulesRequestSummaryOneOf1
- Throws:
IOException- if the JSON string is invalid with respect to RulesRequestSummaryOneOf1
-
toJson
public String toJson()
Convert an instance of RulesRequestSummaryOneOf1 to an JSON string- Returns:
- JSON string
-
-