Class OnboardingTheme
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.OnboardingTheme
-
public class OnboardingTheme extends Object
OnboardingTheme
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnboardingTheme.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description OnboardingTheme()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnboardingThemecreatedAt(OffsetDateTime createdAt)OnboardingThemedescription(String description)booleanequals(Object o)static OnboardingThemefromJson(String jsonString)Create an instance of OnboardingTheme given an JSON stringOffsetDateTimegetCreatedAt()The creation date of the theme.StringgetDescription()The description of the theme.StringgetId()The unique identifier of the theme.Map<String,String>getProperties()The properties of the theme.OffsetDateTimegetUpdatedAt()The date when the theme was last updated.inthashCode()OnboardingThemeid(String id)OnboardingThemeproperties(Map<String,String> properties)OnboardingThemeputPropertiesItem(String key, String propertiesItem)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDescription(String description)voidsetId(String id)voidsetProperties(Map<String,String> properties)voidsetUpdatedAt(OffsetDateTime updatedAt)StringtoJson()Convert an instance of OnboardingTheme to an JSON stringStringtoString()OnboardingThemeupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROPERTIES
public static final String SERIALIZED_NAME_PROPERTIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createdAt
public OnboardingTheme createdAt(OffsetDateTime createdAt)
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The creation date of the theme.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
description
public OnboardingTheme description(String description)
-
getDescription
public String getDescription()
The description of the theme.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
id
public OnboardingTheme id(String id)
-
getId
public String getId()
The unique identifier of the theme.- Returns:
- id
-
setId
public void setId(String id)
-
properties
public OnboardingTheme properties(Map<String,String> properties)
-
putPropertiesItem
public OnboardingTheme putPropertiesItem(String key, String propertiesItem)
-
getProperties
public Map<String,String> getProperties()
The properties of the theme.- Returns:
- properties
-
updatedAt
public OnboardingTheme updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
public OffsetDateTime getUpdatedAt()
The date when the theme was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
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 OnboardingTheme
-
fromJson
public static OnboardingTheme fromJson(String jsonString) throws IOException
Create an instance of OnboardingTheme given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OnboardingTheme
- Throws:
IOException- if the JSON string is invalid with respect to OnboardingTheme
-
toJson
public String toJson()
Convert an instance of OnboardingTheme to an JSON string- Returns:
- JSON string
-
-