Class UpdateApplicationRequest

java.lang.Object
dev.getelements.elements.sdk.model.application.UpdateApplicationRequest

public class UpdateApplicationRequest extends Object
Represents the request body for updating an existing application.
  • Constructor Details

    • UpdateApplicationRequest

      public UpdateApplicationRequest()
      Creates a new instance.
  • Method Details

    • getDescription

      public String getDescription()
      Returns the application description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the application description.
      Parameters:
      description - the description
    • getName

      public String getName()
      Returns the unique application name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the unique application name.
      Parameters:
      name - the name
    • getAttributes

      public Map<String,Object> getAttributes()
      Returns the application attributes.
      Returns:
      the attributes
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Sets the application attributes.
      Parameters:
      attributes - the attributes
    • getMaxProfiles

      public Integer getMaxProfiles()
      Gets the maximum number of profiles a user may create for this application. If null (unspecified), the server treats this as 1.
      Returns:
      the maximum number of profiles per user, or null if unspecified
    • setMaxProfiles

      public void setMaxProfiles(Integer maxProfiles)
      Sets the maximum number of profiles a user may create for this application.
      Parameters:
      maxProfiles - the maximum number of profiles per user
    • getAutoCreateProfile

      public Boolean 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 as true.
      Returns:
      whether to automatically create a primary profile, or null if unspecified
    • setAutoCreateProfile

      public void setAutoCreateProfile(Boolean autoCreateProfile)
      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

      public Boolean 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 as false.
      Returns:
      whether the profile picture is authoritative (backend-only), or null if unspecified
    • setAuthoritativeProfilePicture

      public void setAuthoritativeProfilePicture(Boolean authoritativeProfilePicture)
      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

      public String 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

      public void setDisplayNameRegex(String displayNameRegex)
      Sets the Java regular expression a profile's display name must match for this application.
      Parameters:
      displayNameRegex - the display name regular expression