Class OnboardingThemes
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.OnboardingThemes
-
public class OnboardingThemes extends Object
OnboardingThemes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnboardingThemes.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NEXTstatic StringSERIALIZED_NAME_PREVIOUSstatic StringSERIALIZED_NAME_THEMES
-
Constructor Summary
Constructors Constructor Description OnboardingThemes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OnboardingThemesaddThemesItem(OnboardingTheme themesItem)booleanequals(Object o)static OnboardingThemesfromJson(String jsonString)Create an instance of OnboardingThemes given an JSON stringStringgetNext()The next page.StringgetPrevious()The previous page.List<OnboardingTheme>getThemes()List of onboarding themes.inthashCode()OnboardingThemesnext(String next)OnboardingThemesprevious(String previous)voidsetNext(String next)voidsetPrevious(String previous)voidsetThemes(List<OnboardingTheme> themes)OnboardingThemesthemes(List<OnboardingTheme> themes)StringtoJson()Convert an instance of OnboardingThemes to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NEXT
public static final String SERIALIZED_NAME_NEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PREVIOUS
public static final String SERIALIZED_NAME_PREVIOUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_THEMES
public static final String SERIALIZED_NAME_THEMES
- See Also:
- Constant Field Values
-
-
Method Detail
-
next
public OnboardingThemes next(String next)
-
getNext
public String getNext()
The next page. Only present if there is a next page.- Returns:
- next
-
setNext
public void setNext(String next)
-
previous
public OnboardingThemes previous(String previous)
-
getPrevious
public String getPrevious()
The previous page. Only present if there is a previous page.- Returns:
- previous
-
setPrevious
public void setPrevious(String previous)
-
themes
public OnboardingThemes themes(List<OnboardingTheme> themes)
-
addThemesItem
public OnboardingThemes addThemesItem(OnboardingTheme themesItem)
-
getThemes
public List<OnboardingTheme> getThemes()
List of onboarding themes.- Returns:
- themes
-
setThemes
public void setThemes(List<OnboardingTheme> themes)
-
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 OnboardingThemes
-
fromJson
public static OnboardingThemes fromJson(String jsonString) throws IOException
Create an instance of OnboardingThemes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OnboardingThemes
- Throws:
IOException- if the JSON string is invalid with respect to OnboardingThemes
-
toJson
public String toJson()
Convert an instance of OnboardingThemes to an JSON string- Returns:
- JSON string
-
-