Class FileLinksResponse

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

@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 FileLinksResponse extends Object
FileLinksResponse contains the links for a repo's file
  • Field Details

  • Constructor Details

    • FileLinksResponse

      public FileLinksResponse()
  • Method Details

    • git

      public FileLinksResponse git(@Nullable String git)
    • getGit

      @Nullable public String getGit()
      Get git
      Returns:
      git
    • setGit

      public void setGit(@Nullable String git)
    • html

      public FileLinksResponse html(@Nullable String html)
    • getHtml

      @Nullable public String getHtml()
      Get html
      Returns:
      html
    • setHtml

      public void setHtml(@Nullable String html)
    • self

      public FileLinksResponse self(@Nullable String self)
    • getSelf

      @Nullable public String getSelf()
      Get self
      Returns:
      self
    • setSelf

      public void setSelf(@Nullable String self)
    • 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 FileLinksResponse
    • fromJson

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

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