Package com.twitter.clientlib.model
Class UserScrubGeoObjectSchema
- java.lang.Object
-
- com.twitter.clientlib.model.UserScrubGeoObjectSchema
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UserScrubGeoObjectSchema extends Object
UserScrubGeoObjectSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserScrubGeoObjectSchema.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EVENT_ATstatic StringSERIALIZED_NAME_UP_TO_TWEET_IDstatic StringSERIALIZED_NAME_USER
-
Constructor Summary
Constructors Constructor Description UserScrubGeoObjectSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UserScrubGeoObjectSchemaeventAt(OffsetDateTime eventAt)static UserScrubGeoObjectSchemafromJson(String jsonString)Create an instance of UserScrubGeoObjectSchema given an JSON stringOffsetDateTimegetEventAt()Event time.StringgetUpToTweetId()Unique identifier of this Tweet.UserComplianceSchemaUsergetUser()Get userinthashCode()voidsetEventAt(OffsetDateTime eventAt)voidsetUpToTweetId(String upToTweetId)voidsetUser(UserComplianceSchemaUser user)StringtoJson()Convert an instance of UserScrubGeoObjectSchema to an JSON stringStringtoString()UserScrubGeoObjectSchemaupToTweetId(String upToTweetId)UserScrubGeoObjectSchemauser(UserComplianceSchemaUser user)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EVENT_AT
public static final String SERIALIZED_NAME_EVENT_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UP_TO_TWEET_ID
public static final String SERIALIZED_NAME_UP_TO_TWEET_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER
public static final String SERIALIZED_NAME_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventAt
public UserScrubGeoObjectSchema eventAt(OffsetDateTime eventAt)
-
getEventAt
@Nonnull public OffsetDateTime getEventAt()
Event time.- Returns:
- eventAt
-
setEventAt
public void setEventAt(OffsetDateTime eventAt)
-
upToTweetId
public UserScrubGeoObjectSchema upToTweetId(String upToTweetId)
-
getUpToTweetId
@Nonnull public String getUpToTweetId()
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.- Returns:
- upToTweetId
-
setUpToTweetId
public void setUpToTweetId(String upToTweetId)
-
user
public UserScrubGeoObjectSchema user(UserComplianceSchemaUser user)
-
getUser
@Nonnull public UserComplianceSchemaUser getUser()
Get user- Returns:
- user
-
setUser
public void setUser(UserComplianceSchemaUser user)
-
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 UserScrubGeoObjectSchema
-
fromJson
public static UserScrubGeoObjectSchema fromJson(String jsonString) throws IOException
Create an instance of UserScrubGeoObjectSchema given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserScrubGeoObjectSchema
- Throws:
IOException- if the JSON string is invalid with respect to UserScrubGeoObjectSchema
-
toJson
public String toJson()
Convert an instance of UserScrubGeoObjectSchema to an JSON string- Returns:
- JSON string
-
-