Class UserSettings

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]", comments="Generator version: 7.21.0") public class UserSettings extends Object
UserSettings represents user settings
  • Field Details

  • Constructor Details

    • UserSettings

      public UserSettings()
  • Method Details

    • description

      public UserSettings description(@Nullable String description)
    • getDescription

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

      public void setDescription(@Nullable String description)
    • diffViewStyle

      public UserSettings diffViewStyle(@Nullable String diffViewStyle)
    • getDiffViewStyle

      @Nullable public String getDiffViewStyle()
      Get diffViewStyle
      Returns:
      diffViewStyle
    • setDiffViewStyle

      public void setDiffViewStyle(@Nullable String diffViewStyle)
    • enableRepoUnitHints

      public UserSettings enableRepoUnitHints(@Nullable Boolean enableRepoUnitHints)
    • getEnableRepoUnitHints

      @Nullable public Boolean getEnableRepoUnitHints()
      Get enableRepoUnitHints
      Returns:
      enableRepoUnitHints
    • setEnableRepoUnitHints

      public void setEnableRepoUnitHints(@Nullable Boolean enableRepoUnitHints)
    • fullName

      public UserSettings fullName(@Nullable String fullName)
    • getFullName

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

      public void setFullName(@Nullable String fullName)
    • hideActivity

      public UserSettings hideActivity(@Nullable Boolean hideActivity)
    • getHideActivity

      @Nullable public Boolean getHideActivity()
      Get hideActivity
      Returns:
      hideActivity
    • setHideActivity

      public void setHideActivity(@Nullable Boolean hideActivity)
    • hideEmail

      public UserSettings hideEmail(@Nullable Boolean hideEmail)
    • getHideEmail

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

      public void setHideEmail(@Nullable Boolean hideEmail)
    • hidePronouns

      public UserSettings hidePronouns(@Nullable Boolean hidePronouns)
    • getHidePronouns

      @Nullable public Boolean getHidePronouns()
      Get hidePronouns
      Returns:
      hidePronouns
    • setHidePronouns

      public void setHidePronouns(@Nullable Boolean hidePronouns)
    • language

      public UserSettings language(@Nullable String language)
    • getLanguage

      @Nullable public String getLanguage()
      Get language
      Returns:
      language
    • setLanguage

      public void setLanguage(@Nullable String language)
    • location

      public UserSettings location(@Nullable String location)
    • getLocation

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

      public void setLocation(@Nullable String location)
    • pronouns

      public UserSettings pronouns(@Nullable String pronouns)
    • getPronouns

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

      public void setPronouns(@Nullable String pronouns)
    • theme

      public UserSettings theme(@Nullable String theme)
    • getTheme

      @Nullable public String getTheme()
      Get theme
      Returns:
      theme
    • setTheme

      public void setTheme(@Nullable String theme)
    • website

      public UserSettings 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 UserSettings
    • fromJson

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

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