Class WikiPage
java.lang.Object
build.cursed.genapi.forgejo.model.WikiPage
@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 WikiPage
extends Object
WikiPage a wiki page
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommitCount(Long commitCount) contentBase64(String contentBase64) booleanstatic WikiPageCreate an instance of WikiPage given an JSON stringGet commitCountPage content, base64 encodedGet footerGet htmlUrlGet lastCommitGet sidebarGet subUrlgetTitle()Get titleinthashCode()lastCommit(WikiCommit lastCommit) voidsetCommitCount(Long commitCount) voidsetContentBase64(String contentBase64) voidvoidsetHtmlUrl(String htmlUrl) voidsetLastCommit(WikiCommit lastCommit) voidsetSidebar(String sidebar) voidvoidtoJson()Convert an instance of WikiPage to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COMMIT_COUNT
- See Also:
-
SERIALIZED_NAME_CONTENT_BASE64
- See Also:
-
SERIALIZED_NAME_FOOTER
- See Also:
-
SERIALIZED_NAME_HTML_URL
- See Also:
-
SERIALIZED_NAME_LAST_COMMIT
- See Also:
-
SERIALIZED_NAME_SIDEBAR
- See Also:
-
SERIALIZED_NAME_SUB_URL
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WikiPage
public WikiPage()
-
-
Method Details
-
commitCount
-
getCommitCount
Get commitCount- Returns:
- commitCount
-
setCommitCount
-
contentBase64
-
getContentBase64
Page content, base64 encoded- Returns:
- contentBase64
-
setContentBase64
-
htmlUrl
-
getHtmlUrl
Get htmlUrl- Returns:
- htmlUrl
-
setHtmlUrl
-
lastCommit
-
getLastCommit
Get lastCommit- Returns:
- lastCommit
-
setLastCommit
-
sidebar
-
getSidebar
Get sidebar- Returns:
- sidebar
-
setSidebar
-
subUrl
-
getSubUrl
Get subUrl- Returns:
- subUrl
-
setSubUrl
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
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 WikiPage
-
fromJson
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
Convert an instance of WikiPage to an JSON string- Returns:
- JSON string
-