Package com.twitter.clientlib.model
Class UserProfileModificationObjectSchema
- java.lang.Object
-
- com.twitter.clientlib.model.UserProfileModificationObjectSchema
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UserProfileModificationObjectSchema extends Object
UserProfileModificationObjectSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserProfileModificationObjectSchema.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EVENT_ATstatic StringSERIALIZED_NAME_NEW_VALUEstatic StringSERIALIZED_NAME_PROFILE_FIELDstatic StringSERIALIZED_NAME_USER
-
Constructor Summary
Constructors Constructor Description UserProfileModificationObjectSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UserProfileModificationObjectSchemaeventAt(OffsetDateTime eventAt)static UserProfileModificationObjectSchemafromJson(String jsonString)Create an instance of UserProfileModificationObjectSchema given an JSON stringOffsetDateTimegetEventAt()Event time.StringgetNewValue()Get newValueStringgetProfileField()Get profileFieldUserComplianceSchemaUsergetUser()Get userinthashCode()UserProfileModificationObjectSchemanewValue(String newValue)UserProfileModificationObjectSchemaprofileField(String profileField)voidsetEventAt(OffsetDateTime eventAt)voidsetNewValue(String newValue)voidsetProfileField(String profileField)voidsetUser(UserComplianceSchemaUser user)StringtoJson()Convert an instance of UserProfileModificationObjectSchema to an JSON stringStringtoString()UserProfileModificationObjectSchemauser(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_NEW_VALUE
public static final String SERIALIZED_NAME_NEW_VALUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROFILE_FIELD
public static final String SERIALIZED_NAME_PROFILE_FIELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER
public static final String SERIALIZED_NAME_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
eventAt
public UserProfileModificationObjectSchema eventAt(OffsetDateTime eventAt)
-
getEventAt
@Nonnull public OffsetDateTime getEventAt()
Event time.- Returns:
- eventAt
-
setEventAt
public void setEventAt(OffsetDateTime eventAt)
-
newValue
public UserProfileModificationObjectSchema newValue(String newValue)
-
setNewValue
public void setNewValue(String newValue)
-
profileField
public UserProfileModificationObjectSchema profileField(String profileField)
-
setProfileField
public void setProfileField(String profileField)
-
user
public UserProfileModificationObjectSchema 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 UserProfileModificationObjectSchema
-
fromJson
public static UserProfileModificationObjectSchema fromJson(String jsonString) throws IOException
Create an instance of UserProfileModificationObjectSchema given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserProfileModificationObjectSchema
- Throws:
IOException- if the JSON string is invalid with respect to UserProfileModificationObjectSchema
-
toJson
public String toJson()
Convert an instance of UserProfileModificationObjectSchema to an JSON string- Returns:
- JSON string
-
-