Class ExternalWiki
java.lang.Object
build.cursed.genapi.forgejo.model.ExternalWiki
@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 ExternalWiki
extends Object
ExternalWiki represents setting for external wiki
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexternalWikiUrl(String externalWikiUrl) static ExternalWikiCreate an instance of ExternalWiki given an JSON stringURL of external wiki.inthashCode()voidsetExternalWikiUrl(String externalWikiUrl) toJson()Convert an instance of ExternalWiki 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_EXTERNAL_WIKI_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExternalWiki
public ExternalWiki()
-
-
Method Details
-
externalWikiUrl
-
getExternalWikiUrl
URL of external wiki.- Returns:
- externalWikiUrl
-
setExternalWikiUrl
-
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 ExternalWiki
-
fromJson
Create an instance of ExternalWiki given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExternalWiki
- Throws:
IOException- if the JSON string is invalid with respect to ExternalWiki
-
toJson
Convert an instance of ExternalWiki to an JSON string- Returns:
- JSON string
-