Package com.twitter.clientlib.model
Class UserProfileModificationComplianceSchema
- java.lang.Object
-
- com.twitter.clientlib.model.UserProfileModificationComplianceSchema
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UserProfileModificationComplianceSchema extends Object
UserProfileModificationComplianceSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUserProfileModificationComplianceSchema.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_USER_PROFILE_MODIFICATION
-
Constructor Summary
Constructors Constructor Description UserProfileModificationComplianceSchema()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static UserProfileModificationComplianceSchemafromJson(String jsonString)Create an instance of UserProfileModificationComplianceSchema given an JSON stringUserProfileModificationObjectSchemagetUserProfileModification()Get userProfileModificationinthashCode()voidsetUserProfileModification(UserProfileModificationObjectSchema userProfileModification)StringtoJson()Convert an instance of UserProfileModificationComplianceSchema to an JSON stringStringtoString()UserProfileModificationComplianceSchemauserProfileModification(UserProfileModificationObjectSchema userProfileModification)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
userProfileModification
public UserProfileModificationComplianceSchema userProfileModification(UserProfileModificationObjectSchema userProfileModification)
-
getUserProfileModification
@Nonnull public UserProfileModificationObjectSchema getUserProfileModification()
Get userProfileModification- Returns:
- userProfileModification
-
setUserProfileModification
public void setUserProfileModification(UserProfileModificationObjectSchema userProfileModification)
-
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 UserProfileModificationComplianceSchema
-
fromJson
public static UserProfileModificationComplianceSchema fromJson(String jsonString) throws IOException
Create an instance of UserProfileModificationComplianceSchema given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserProfileModificationComplianceSchema
- Throws:
IOException- if the JSON string is invalid with respect to UserProfileModificationComplianceSchema
-
toJson
public String toJson()
Convert an instance of UserProfileModificationComplianceSchema to an JSON string- Returns:
- JSON string
-
-