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
  • Field Details

  • Constructor Details

    • Organization

      public Organization()
  • Method Details

    • avatarUrl

      public Organization avatarUrl(@Nullable String avatarUrl)
    • getAvatarUrl

      @Nullable public String getAvatarUrl()
      Get avatarUrl
      Returns:
      avatarUrl
    • setAvatarUrl

      public void setAvatarUrl(@Nullable String avatarUrl)
    • description

      public Organization description(@Nullable String description)
    • getDescription

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

      public void setDescription(@Nullable String description)
    • email

      public Organization email(@Nullable String email)
    • getEmail

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

      public void setEmail(@Nullable String email)
    • fullName

      public Organization fullName(@Nullable String fullName)
    • getFullName

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

      public void setFullName(@Nullable String fullName)
    • id

      public Organization id(@Nullable Long id)
    • getId

      @Nullable public Long getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nullable Long id)
    • location

      public Organization location(@Nullable String location)
    • getLocation

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

      public void setLocation(@Nullable String location)
    • name

      public Organization name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • repoAdminChangeTeamAccess

      public Organization repoAdminChangeTeamAccess(@Nullable Boolean repoAdminChangeTeamAccess)
    • getRepoAdminChangeTeamAccess

      @Nullable public Boolean getRepoAdminChangeTeamAccess()
      Get repoAdminChangeTeamAccess
      Returns:
      repoAdminChangeTeamAccess
    • setRepoAdminChangeTeamAccess

      public void setRepoAdminChangeTeamAccess(@Nullable Boolean repoAdminChangeTeamAccess)
    • username

      public Organization username(@Nullable String username)
    • getUsername

      @Nullable public String getUsername()
      deprecated
      Returns:
      username
    • setUsername

      public void setUsername(@Nullable String username)
    • visibility

      public Organization visibility(@Nullable String visibility)
    • getVisibility

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

      public void setVisibility(@Nullable String visibility)
    • website

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

      public static Organization fromJson(String jsonString) throws IOException
      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

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