Class UserSettingsOptions
java.lang.Object
build.cursed.genapi.forgejo.model.UserSettingsOptions
@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 UserSettingsOptions
extends Object
UserSettingsOptions represents options to change user settings
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) diffViewStyle(String diffViewStyle) enableRepoUnitHints(Boolean enableRepoUnitHints) booleanstatic UserSettingsOptionsCreate an instance of UserSettingsOptions given an JSON stringGet descriptionGet diffViewStyleGet enableRepoUnitHintsGet fullNameGet hideActivityPrivacyGet hidePronounsGet languageGet locationGet pronounsgetTheme()Get themeGet websiteinthashCode()hideActivity(Boolean hideActivity) hidePronouns(Boolean hidePronouns) voidsetDescription(String description) voidsetDiffViewStyle(String diffViewStyle) voidsetEnableRepoUnitHints(Boolean enableRepoUnitHints) voidsetFullName(String fullName) voidsetHideActivity(Boolean hideActivity) voidsetHideEmail(Boolean hideEmail) voidsetHidePronouns(Boolean hidePronouns) voidsetLanguage(String language) voidsetLocation(String location) voidsetPronouns(String pronouns) voidvoidsetWebsite(String website) toJson()Convert an instance of UserSettingsOptions to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DIFF_VIEW_STYLE
- See Also:
-
SERIALIZED_NAME_ENABLE_REPO_UNIT_HINTS
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_HIDE_ACTIVITY
- See Also:
-
SERIALIZED_NAME_HIDE_EMAIL
- See Also:
-
SERIALIZED_NAME_HIDE_PRONOUNS
- See Also:
-
SERIALIZED_NAME_LANGUAGE
- See Also:
-
SERIALIZED_NAME_LOCATION
- See Also:
-
SERIALIZED_NAME_PRONOUNS
- See Also:
-
SERIALIZED_NAME_THEME
- See Also:
-
SERIALIZED_NAME_WEBSITE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UserSettingsOptions
public UserSettingsOptions()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
diffViewStyle
-
getDiffViewStyle
Get diffViewStyle- Returns:
- diffViewStyle
-
setDiffViewStyle
-
enableRepoUnitHints
-
getEnableRepoUnitHints
Get enableRepoUnitHints- Returns:
- enableRepoUnitHints
-
setEnableRepoUnitHints
-
fullName
-
getFullName
Get fullName- Returns:
- fullName
-
setFullName
-
hideActivity
-
getHideActivity
Get hideActivity- Returns:
- hideActivity
-
setHideActivity
-
hideEmail
-
getHideEmail
Privacy- Returns:
- hideEmail
-
setHideEmail
-
hidePronouns
-
getHidePronouns
Get hidePronouns- Returns:
- hidePronouns
-
setHidePronouns
-
language
-
getLanguage
Get language- Returns:
- language
-
setLanguage
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
pronouns
-
getPronouns
Get pronouns- Returns:
- pronouns
-
setPronouns
-
theme
-
getTheme
Get theme- Returns:
- theme
-
setTheme
-
website
-
getWebsite
Get website- Returns:
- website
-
setWebsite
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 UserSettingsOptions
-
fromJson
Create an instance of UserSettingsOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserSettingsOptions
- Throws:
IOException- if the JSON string is invalid with respect to UserSettingsOptions
-
toJson
Convert an instance of UserSettingsOptions to an JSON string- Returns:
- JSON string
-