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 class
RulesRequestSummaryOneOf1.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_DELETED
static String
SERIALIZED_NAME_NOT_DELETED
-
Constructor Summary
Constructors Constructor Description RulesRequestSummaryOneOf1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RulesRequestSummaryOneOf1
deleted(Integer deleted)
boolean
equals(Object o)
static RulesRequestSummaryOneOf1
fromJson(String jsonString)
Create an instance of RulesRequestSummaryOneOf1 given an JSON stringInteger
getDeleted()
Number of user-specified stream filtering rules that were deleted.Integer
getNotDeleted()
Number of user-specified stream filtering rules that were not deleted.int
hashCode()
RulesRequestSummaryOneOf1
notDeleted(Integer notDeleted)
void
setDeleted(Integer deleted)
void
setNotDeleted(Integer notDeleted)
String
toJson()
Convert an instance of RulesRequestSummaryOneOf1 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_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 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 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
-
-