Class UpdateApplicationRequest
java.lang.Object
dev.getelements.elements.sdk.model.application.UpdateApplicationRequest
Represents the request body for updating an existing application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the application attributes.Gets whether a user can edit their own profile picture for this application via the REST API.Gets whether a user's primary profile for this application should be created automatically when the user is created.Returns the application description.Gets the Java regular expression a profile's display name must match for this application.Gets the maximum number of profiles a user may create for this application.getName()Returns the unique application name.voidsetAttributes(Map<String, Object> attributes) Sets the application attributes.voidsetAuthoritativeProfilePicture(Boolean authoritativeProfilePicture) Sets whether a user can edit their own profile picture for this application via the REST API.voidsetAutoCreateProfile(Boolean autoCreateProfile) Sets whether a user's primary profile for this application should be created automatically when the user is created.voidsetDescription(String description) Sets the application description.voidsetDisplayNameRegex(String displayNameRegex) Sets the Java regular expression a profile's display name must match for this application.voidsetMaxProfiles(Integer maxProfiles) Sets the maximum number of profiles a user may create for this application.voidSets the unique application name.
-
Constructor Details
-
UpdateApplicationRequest
public UpdateApplicationRequest()Creates a new instance.
-
-
Method Details
-
getDescription
Returns the application description.- Returns:
- the description
-
setDescription
Sets the application description.- Parameters:
description- the description
-
getName
Returns the unique application name.- Returns:
- the name
-
setName
Sets the unique application name.- Parameters:
name- the name
-
getAttributes
Returns the application attributes.- Returns:
- the attributes
-
setAttributes
Sets the application attributes.- Parameters:
attributes- the attributes
-
getMaxProfiles
Gets the maximum number of profiles a user may create for this application. If null (unspecified), the server treats this as1.- Returns:
- the maximum number of profiles per user, or null if unspecified
-
setMaxProfiles
Sets the maximum number of profiles a user may create for this application.- Parameters:
maxProfiles- the maximum number of profiles per user
-
getAutoCreateProfile
Gets whether a user's primary profile for this application should be created automatically when the user is created. If null (unspecified), the server treats this astrue.- Returns:
- whether to automatically create a primary profile, or null if unspecified
-
setAutoCreateProfile
Sets whether a user's primary profile for this application should be created automatically when the user is created.- Parameters:
autoCreateProfile- whether to automatically create a primary profile
-
getAuthoritativeProfilePicture
Gets whether a user can edit their own profile picture for this application via the REST API. If null (unspecified), the server treats this asfalse.- Returns:
- whether the profile picture is authoritative (backend-only), or null if unspecified
-
setAuthoritativeProfilePicture
Sets whether a user can edit their own profile picture for this application via the REST API.- Parameters:
authoritativeProfilePicture- whether the profile picture is authoritative (backend-only)
-
getDisplayNameRegex
Gets the Java regular expression a profile's display name must match for this application. If null or blank, no additional check is performed.- Returns:
- the display name regular expression, or null if unspecified
-
setDisplayNameRegex
Sets the Java regular expression a profile's display name must match for this application.- Parameters:
displayNameRegex- the display name regular expression
-