Package com.adyen.model.management
Class CreateCompanyUserResponse
- java.lang.Object
-
- com.adyen.model.management.CreateCompanyUserResponse
-
public class CreateCompanyUserResponse extends Object
CreateCompanyUserResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCompanyUserResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_GROUPSstatic StringSERIALIZED_NAME_ACTIVEstatic StringSERIALIZED_NAME_ASSOCIATED_MERCHANT_ACCOUNTSstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_ROLESstatic StringSERIALIZED_NAME_TIME_ZONE_CODEstatic StringSERIALIZED_NAME_USERNAME
-
Constructor Summary
Constructors Constructor Description CreateCompanyUserResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCompanyUserResponseaccountGroups(List<String> accountGroups)CreateCompanyUserResponseactive(Boolean active)CreateCompanyUserResponseaddAccountGroupsItem(String accountGroupsItem)CreateCompanyUserResponseaddAssociatedMerchantAccountsItem(String associatedMerchantAccountsItem)CreateCompanyUserResponseaddRolesItem(String rolesItem)CreateCompanyUserResponseassociatedMerchantAccounts(List<String> associatedMerchantAccounts)CreateCompanyUserResponseemail(String email)booleanequals(Object o)static CreateCompanyUserResponsefromJson(String jsonString)Create an instance of CreateCompanyUserResponse given an JSON stringList<String>getAccountGroups()The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.BooleangetActive()Indicates whether this user is active.List<String>getAssociatedMerchantAccounts()The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.StringgetEmail()The email address of the user.StringgetId()The unique identifier of the user.LinksgetLinks()Get linksNamegetName()Get nameList<String>getRoles()The list of [roles](https://docs.adyen.com/account/user-roles) for this user.StringgetTimeZoneCode()The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user.StringgetUsername()The username for this user.inthashCode()CreateCompanyUserResponseid(String id)CreateCompanyUserResponselinks(Links links)CreateCompanyUserResponsename(Name name)CreateCompanyUserResponseroles(List<String> roles)voidsetAccountGroups(List<String> accountGroups)voidsetActive(Boolean active)voidsetAssociatedMerchantAccounts(List<String> associatedMerchantAccounts)voidsetEmail(String email)voidsetId(String id)voidsetLinks(Links links)voidsetName(Name name)voidsetRoles(List<String> roles)voidsetTimeZoneCode(String timeZoneCode)voidsetUsername(String username)CreateCompanyUserResponsetimeZoneCode(String timeZoneCode)StringtoJson()Convert an instance of CreateCompanyUserResponse to an JSON stringStringtoString()CreateCompanyUserResponseusername(String username)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_GROUPS
public static final String SERIALIZED_NAME_ACCOUNT_GROUPS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE
public static final String SERIALIZED_NAME_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSOCIATED_MERCHANT_ACCOUNTS
public static final String SERIALIZED_NAME_ASSOCIATED_MERCHANT_ACCOUNTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLES
public static final String SERIALIZED_NAME_ROLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIME_ZONE_CODE
public static final String SERIALIZED_NAME_TIME_ZONE_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_USERNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
links
public CreateCompanyUserResponse links(Links links)
-
getLinks
public Links getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(Links links)
-
accountGroups
public CreateCompanyUserResponse accountGroups(List<String> accountGroups)
-
addAccountGroupsItem
public CreateCompanyUserResponse addAccountGroupsItem(String accountGroupsItem)
-
getAccountGroups
public List<String> getAccountGroups()
The list of [account groups](https://docs.adyen.com/account/account-structure#account-groups) associated with this user.- Returns:
- accountGroups
-
active
public CreateCompanyUserResponse active(Boolean active)
-
getActive
public Boolean getActive()
Indicates whether this user is active.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
associatedMerchantAccounts
public CreateCompanyUserResponse associatedMerchantAccounts(List<String> associatedMerchantAccounts)
-
addAssociatedMerchantAccountsItem
public CreateCompanyUserResponse addAssociatedMerchantAccountsItem(String associatedMerchantAccountsItem)
-
getAssociatedMerchantAccounts
public List<String> getAssociatedMerchantAccounts()
The list of [merchant accounts](https://docs.adyen.com/account/account-structure#merchant-accounts) associated with this user.- Returns:
- associatedMerchantAccounts
-
setAssociatedMerchantAccounts
public void setAssociatedMerchantAccounts(List<String> associatedMerchantAccounts)
-
email
public CreateCompanyUserResponse email(String email)
-
getEmail
public String getEmail()
The email address of the user.- Returns:
-
setEmail
public void setEmail(String email)
-
id
public CreateCompanyUserResponse id(String id)
-
getId
public String getId()
The unique identifier of the user.- Returns:
- id
-
setId
public void setId(String id)
-
name
public CreateCompanyUserResponse name(Name name)
-
getName
public Name getName()
Get name- Returns:
- name
-
setName
public void setName(Name name)
-
roles
public CreateCompanyUserResponse roles(List<String> roles)
-
addRolesItem
public CreateCompanyUserResponse addRolesItem(String rolesItem)
-
getRoles
public List<String> getRoles()
The list of [roles](https://docs.adyen.com/account/user-roles) for this user.- Returns:
- roles
-
timeZoneCode
public CreateCompanyUserResponse timeZoneCode(String timeZoneCode)
-
getTimeZoneCode
public String getTimeZoneCode()
The [tz database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the time zone of the user. For example, **Europe/Amsterdam**.- Returns:
- timeZoneCode
-
setTimeZoneCode
public void setTimeZoneCode(String timeZoneCode)
-
username
public CreateCompanyUserResponse username(String username)
-
getUsername
public String getUsername()
The username for this user.- Returns:
- username
-
setUsername
public void setUsername(String username)
-
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 CreateCompanyUserResponse
-
fromJson
public static CreateCompanyUserResponse fromJson(String jsonString) throws IOException
Create an instance of CreateCompanyUserResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateCompanyUserResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateCompanyUserResponse
-
toJson
public String toJson()
Convert an instance of CreateCompanyUserResponse to an JSON string- Returns:
- JSON string
-
-