Class Organization
java.lang.Object
build.cursed.genapi.forgejo.model.Organization
@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 Organization
extends Object
Organization represents an organization
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic OrganizationCreate an instance of Organization given an JSON stringGet avatarUrlGet descriptiongetEmail()Get emailGet fullNamegetId()Get idGet locationgetName()Get nameGet repoAdminChangeTeamAccessdeprecatedGet visibilityGet websiteinthashCode()repoAdminChangeTeamAccess(Boolean repoAdminChangeTeamAccess) voidsetAvatarUrl(String avatarUrl) voidsetDescription(String description) voidvoidsetFullName(String fullName) voidvoidsetLocation(String location) voidvoidsetRepoAdminChangeTeamAccess(Boolean repoAdminChangeTeamAccess) voidsetUsername(String username) voidsetVisibility(String visibility) voidsetWebsite(String website) toJson()Convert an instance of Organization to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvisibility(String visibility)
-
Field Details
-
SERIALIZED_NAME_AVATAR_URL
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LOCATION
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_REPO_ADMIN_CHANGE_TEAM_ACCESS
- See Also:
-
SERIALIZED_NAME_USERNAME
- See Also:
-
SERIALIZED_NAME_VISIBILITY
- See Also:
-
SERIALIZED_NAME_WEBSITE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Organization
public Organization()
-
-
Method Details
-
avatarUrl
-
getAvatarUrl
Get avatarUrl- Returns:
- avatarUrl
-
setAvatarUrl
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
fullName
-
getFullName
Get fullName- Returns:
- fullName
-
setFullName
-
id
-
getId
Get id- Returns:
- id
-
setId
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
name
-
getName
Get name- Returns:
- name
-
setName
-
repoAdminChangeTeamAccess
-
getRepoAdminChangeTeamAccess
Get repoAdminChangeTeamAccess- Returns:
- repoAdminChangeTeamAccess
-
setRepoAdminChangeTeamAccess
-
username
-
getUsername
deprecated- Returns:
- username
-
setUsername
-
visibility
-
getVisibility
Get visibility- 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 Organization
-
fromJson
Create an instance of Organization given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Organization
- Throws:
IOException- if the JSON string is invalid with respect to Organization
-
toJson
Convert an instance of Organization to an JSON string- Returns:
- JSON string
-