Class EditUserOption

java.lang.Object
build.cursed.genapi.forgejo.model.EditUserOption

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]", comments="Generator version: 7.21.0") public class EditUserOption extends Object
EditUserOption edit user options
  • Field Details

  • Constructor Details

    • EditUserOption

      public EditUserOption()
  • Method Details

    • active

      public EditUserOption active(@Nullable Boolean active)
    • getActive

      @Nullable public Boolean getActive()
      Get active
      Returns:
      active
    • setActive

      public void setActive(@Nullable Boolean active)
    • admin

      public EditUserOption admin(@Nullable Boolean admin)
    • getAdmin

      @Nullable public Boolean getAdmin()
      Get admin
      Returns:
      admin
    • setAdmin

      public void setAdmin(@Nullable Boolean admin)
    • allowCreateOrganization

      public EditUserOption allowCreateOrganization(@Nullable Boolean allowCreateOrganization)
    • getAllowCreateOrganization

      @Nullable public Boolean getAllowCreateOrganization()
      Get allowCreateOrganization
      Returns:
      allowCreateOrganization
    • setAllowCreateOrganization

      public void setAllowCreateOrganization(@Nullable Boolean allowCreateOrganization)
    • allowGitHook

      public EditUserOption allowGitHook(@Nullable Boolean allowGitHook)
    • getAllowGitHook

      @Nullable public Boolean getAllowGitHook()
      Get allowGitHook
      Returns:
      allowGitHook
    • setAllowGitHook

      public void setAllowGitHook(@Nullable Boolean allowGitHook)
    • allowImportLocal

      public EditUserOption allowImportLocal(@Nullable Boolean allowImportLocal)
    • getAllowImportLocal

      @Nullable public Boolean getAllowImportLocal()
      Get allowImportLocal
      Returns:
      allowImportLocal
    • setAllowImportLocal

      public void setAllowImportLocal(@Nullable Boolean allowImportLocal)
    • description

      public EditUserOption description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • email

      public EditUserOption email(@Nullable String email)
    • getEmail

      @Nullable public String getEmail()
      Get email
      Returns:
      email
    • setEmail

      public void setEmail(@Nullable String email)
    • fullName

      public EditUserOption fullName(@Nullable String fullName)
    • getFullName

      @Nullable public String getFullName()
      Get fullName
      Returns:
      fullName
    • setFullName

      public void setFullName(@Nullable String fullName)
    • hideEmail

      public EditUserOption hideEmail(@Nullable Boolean hideEmail)
    • getHideEmail

      @Nullable public Boolean getHideEmail()
      Get hideEmail
      Returns:
      hideEmail
    • setHideEmail

      public void setHideEmail(@Nullable Boolean hideEmail)
    • location

      public EditUserOption location(@Nullable String location)
    • getLocation

      @Nullable public String getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(@Nullable String location)
    • loginName

      public EditUserOption loginName(@Nullable String loginName)
    • getLoginName

      @Nullable public String getLoginName()
      Get loginName
      Returns:
      loginName
    • setLoginName

      public void setLoginName(@Nullable String loginName)
    • maxRepoCreation

      public EditUserOption maxRepoCreation(@Nullable Long maxRepoCreation)
    • getMaxRepoCreation

      @Nullable public Long getMaxRepoCreation()
      Get maxRepoCreation
      Returns:
      maxRepoCreation
    • setMaxRepoCreation

      public void setMaxRepoCreation(@Nullable Long maxRepoCreation)
    • mustChangePassword

      public EditUserOption mustChangePassword(@Nullable Boolean mustChangePassword)
    • getMustChangePassword

      @Nullable public Boolean getMustChangePassword()
      Get mustChangePassword
      Returns:
      mustChangePassword
    • setMustChangePassword

      public void setMustChangePassword(@Nullable Boolean mustChangePassword)
    • password

      public EditUserOption password(@Nullable String password)
    • getPassword

      @Nullable public String getPassword()
      Get password
      Returns:
      password
    • setPassword

      public void setPassword(@Nullable String password)
    • prohibitLogin

      public EditUserOption prohibitLogin(@Nullable Boolean prohibitLogin)
    • getProhibitLogin

      @Nullable public Boolean getProhibitLogin()
      Get prohibitLogin
      Returns:
      prohibitLogin
    • setProhibitLogin

      public void setProhibitLogin(@Nullable Boolean prohibitLogin)
    • pronouns

      public EditUserOption pronouns(@Nullable String pronouns)
    • getPronouns

      @Nullable public String getPronouns()
      Get pronouns
      Returns:
      pronouns
    • setPronouns

      public void setPronouns(@Nullable String pronouns)
    • restricted

      public EditUserOption restricted(@Nullable Boolean restricted)
    • getRestricted

      @Nullable public Boolean getRestricted()
      Get restricted
      Returns:
      restricted
    • setRestricted

      public void setRestricted(@Nullable Boolean restricted)
    • sourceId

      public EditUserOption sourceId(@Nullable Long sourceId)
    • getSourceId

      @Nullable public Long getSourceId()
      Get sourceId
      Returns:
      sourceId
    • setSourceId

      public void setSourceId(@Nullable Long sourceId)
    • visibility

      public EditUserOption visibility(@Nullable String visibility)
    • getVisibility

      @Nullable public String getVisibility()
      Get visibility
      Returns:
      visibility
    • setVisibility

      public void setVisibility(@Nullable String visibility)
    • website

      public EditUserOption website(@Nullable String website)
    • getWebsite

      @Nullable public String getWebsite()
      Get website
      Returns:
      website
    • setWebsite

      public void setWebsite(@Nullable String website)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to EditUserOption
    • fromJson

      public static EditUserOption fromJson(String jsonString) throws IOException
      Create an instance of EditUserOption given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of EditUserOption
      Throws:
      IOException - if the JSON string is invalid with respect to EditUserOption
    • toJson

      public String toJson()
      Convert an instance of EditUserOption to an JSON string
      Returns:
      JSON string