Package com.adyen.model.management
Class UpdateMerchantUserRequest
- java.lang.Object
-
- com.adyen.model.management.UpdateMerchantUserRequest
-
public class UpdateMerchantUserRequest extends Object
UpdateMerchantUserRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateMerchantUserRequest.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_AUTHN_APPS_TO_ADDstatic StringSERIALIZED_NAME_AUTHN_APPS_TO_REMOVEstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_ROLESstatic StringSERIALIZED_NAME_TIME_ZONE_CODE
-
Constructor Summary
Constructors Constructor Description UpdateMerchantUserRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMerchantUserRequestaccountGroups(List<String> accountGroups)UpdateMerchantUserRequestactive(Boolean active)UpdateMerchantUserRequestaddAccountGroupsItem(String accountGroupsItem)UpdateMerchantUserRequestaddAuthnAppsToAddItem(String authnAppsToAddItem)UpdateMerchantUserRequestaddAuthnAppsToRemoveItem(String authnAppsToRemoveItem)UpdateMerchantUserRequestaddRolesItem(String rolesItem)UpdateMerchantUserRequestauthnAppsToAdd(List<String> authnAppsToAdd)UpdateMerchantUserRequestauthnAppsToRemove(List<String> authnAppsToRemove)UpdateMerchantUserRequestemail(String email)booleanequals(Object o)static UpdateMerchantUserRequestfromJson(String jsonString)Create an instance of UpdateMerchantUserRequest 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()Sets the status of the user to active (**true**) or inactive (**false**).List<String>getAuthnAppsToAdd()Set of authn apps to add to this userList<String>getAuthnAppsToRemove()Set of authn apps to remove from this userStringgetEmail()The email address of the user.Name2getName()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.inthashCode()UpdateMerchantUserRequestname(Name2 name)UpdateMerchantUserRequestroles(List<String> roles)voidsetAccountGroups(List<String> accountGroups)voidsetActive(Boolean active)voidsetAuthnAppsToAdd(List<String> authnAppsToAdd)voidsetAuthnAppsToRemove(List<String> authnAppsToRemove)voidsetEmail(String email)voidsetName(Name2 name)voidsetRoles(List<String> roles)voidsetTimeZoneCode(String timeZoneCode)UpdateMerchantUserRequesttimeZoneCode(String timeZoneCode)StringtoJson()Convert an instance of UpdateMerchantUserRequest 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_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_AUTHN_APPS_TO_ADD
public static final String SERIALIZED_NAME_AUTHN_APPS_TO_ADD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUTHN_APPS_TO_REMOVE
public static final String SERIALIZED_NAME_AUTHN_APPS_TO_REMOVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- 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
-
-
Method Detail
-
accountGroups
public UpdateMerchantUserRequest accountGroups(List<String> accountGroups)
-
addAccountGroupsItem
public UpdateMerchantUserRequest 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 UpdateMerchantUserRequest active(Boolean active)
-
getActive
public Boolean getActive()
Sets the status of the user to active (**true**) or inactive (**false**).- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
authnAppsToAdd
public UpdateMerchantUserRequest authnAppsToAdd(List<String> authnAppsToAdd)
-
addAuthnAppsToAddItem
public UpdateMerchantUserRequest addAuthnAppsToAddItem(String authnAppsToAddItem)
-
getAuthnAppsToAdd
public List<String> getAuthnAppsToAdd()
Set of authn apps to add to this user- Returns:
- authnAppsToAdd
-
authnAppsToRemove
public UpdateMerchantUserRequest authnAppsToRemove(List<String> authnAppsToRemove)
-
addAuthnAppsToRemoveItem
public UpdateMerchantUserRequest addAuthnAppsToRemoveItem(String authnAppsToRemoveItem)
-
getAuthnAppsToRemove
public List<String> getAuthnAppsToRemove()
Set of authn apps to remove from this user- Returns:
- authnAppsToRemove
-
email
public UpdateMerchantUserRequest email(String email)
-
getEmail
public String getEmail()
The email address of the user.- Returns:
-
setEmail
public void setEmail(String email)
-
name
public UpdateMerchantUserRequest name(Name2 name)
-
getName
public Name2 getName()
Get name- Returns:
- name
-
setName
public void setName(Name2 name)
-
roles
public UpdateMerchantUserRequest roles(List<String> roles)
-
addRolesItem
public UpdateMerchantUserRequest 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 UpdateMerchantUserRequest 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)
-
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 UpdateMerchantUserRequest
-
fromJson
public static UpdateMerchantUserRequest fromJson(String jsonString) throws IOException
Create an instance of UpdateMerchantUserRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateMerchantUserRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateMerchantUserRequest
-
toJson
public String toJson()
Convert an instance of UpdateMerchantUserRequest to an JSON string- Returns:
- JSON string
-
-