Class EditOrgOption
java.lang.Object
build.cursed.genapi.forgejo.model.EditOrgOption
@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 EditOrgOption
extends Object
EditOrgOption options for editing an organization
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumpossible values are `public`, `limited` or `private` -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic EditOrgOptionCreate an instance of EditOrgOption given an JSON stringGet descriptiongetEmail()Get emailGet fullNameGet locationGet repoAdminChangeTeamAccesspossible values are `public`, `limited` or `private`Get websiteinthashCode()repoAdminChangeTeamAccess(Boolean repoAdminChangeTeamAccess) voidsetDescription(String description) voidvoidsetFullName(String fullName) voidsetLocation(String location) voidsetRepoAdminChangeTeamAccess(Boolean repoAdminChangeTeamAccess) voidsetVisibility(EditOrgOption.VisibilityEnum visibility) voidsetWebsite(String website) toJson()Convert an instance of EditOrgOption to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvisibility(EditOrgOption.VisibilityEnum visibility)
-
Field Details
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_LOCATION
- See Also:
-
SERIALIZED_NAME_REPO_ADMIN_CHANGE_TEAM_ACCESS
- See Also:
-
SERIALIZED_NAME_VISIBILITY
- See Also:
-
SERIALIZED_NAME_WEBSITE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EditOrgOption
public EditOrgOption()
-
-
Method Details
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
fullName
-
getFullName
Get fullName- Returns:
- fullName
-
setFullName
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
repoAdminChangeTeamAccess
-
getRepoAdminChangeTeamAccess
Get repoAdminChangeTeamAccess- Returns:
- repoAdminChangeTeamAccess
-
setRepoAdminChangeTeamAccess
-
visibility
-
getVisibility
possible values are `public`, `limited` or `private`- Returns:
- visibility
-
setVisibility
-
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 EditOrgOption
-
fromJson
Create an instance of EditOrgOption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EditOrgOption
- Throws:
IOException- if the JSON string is invalid with respect to EditOrgOption
-
toJson
Convert an instance of EditOrgOption to an JSON string- Returns:
- JSON string
-