Class WikiPage

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

@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 WikiPage extends Object
WikiPage a wiki page
  • Field Details

  • Constructor Details

    • WikiPage

      public WikiPage()
  • Method Details

    • commitCount

      public WikiPage commitCount(@Nullable Long commitCount)
    • getCommitCount

      @Nullable public Long getCommitCount()
      Get commitCount
      Returns:
      commitCount
    • setCommitCount

      public void setCommitCount(@Nullable Long commitCount)
    • contentBase64

      public WikiPage contentBase64(@Nullable String contentBase64)
    • getContentBase64

      @Nullable public String getContentBase64()
      Page content, base64 encoded
      Returns:
      contentBase64
    • setContentBase64

      public void setContentBase64(@Nullable String contentBase64)
    • footer

      public WikiPage footer(@Nullable String footer)
    • getFooter

      @Nullable public String getFooter()
      Get footer
      Returns:
      footer
    • setFooter

      public void setFooter(@Nullable String footer)
    • htmlUrl

      public WikiPage htmlUrl(@Nullable String htmlUrl)
    • getHtmlUrl

      @Nullable public String getHtmlUrl()
      Get htmlUrl
      Returns:
      htmlUrl
    • setHtmlUrl

      public void setHtmlUrl(@Nullable String htmlUrl)
    • lastCommit

      public WikiPage lastCommit(@Nullable WikiCommit lastCommit)
    • getLastCommit

      @Nullable public WikiCommit getLastCommit()
      Get lastCommit
      Returns:
      lastCommit
    • setLastCommit

      public void setLastCommit(@Nullable WikiCommit lastCommit)
    • sidebar

      public WikiPage sidebar(@Nullable String sidebar)
    • getSidebar

      @Nullable public String getSidebar()
      Get sidebar
      Returns:
      sidebar
    • setSidebar

      public void setSidebar(@Nullable String sidebar)
    • subUrl

      public WikiPage subUrl(@Nullable String subUrl)
    • getSubUrl

      @Nullable public String getSubUrl()
      Get subUrl
      Returns:
      subUrl
    • setSubUrl

      public void setSubUrl(@Nullable String subUrl)
    • title

      public WikiPage title(@Nullable String title)
    • getTitle

      @Nullable public String getTitle()
      Get title
      Returns:
      title
    • setTitle

      public void setTitle(@Nullable String title)
    • 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 WikiPage
    • fromJson

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

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