Class WikiCommitList
java.lang.Object
build.cursed.genapi.forgejo.model.WikiCommitList
@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 WikiCommitList
extends Object
WikiCommitList commit/revision list
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommitsItem(WikiCommit commitsItem) commits(List<WikiCommit> commits) booleanstatic WikiCommitListCreate an instance of WikiCommitList given an JSON stringGet commitsgetCount()Get countinthashCode()voidsetCommits(List<WikiCommit> commits) voidtoJson()Convert an instance of WikiCommitList 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_COMMITS
- See Also:
-
SERIALIZED_NAME_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WikiCommitList
public WikiCommitList()
-
-
Method Details
-
commits
-
addCommitsItem
-
getCommits
Get commits- Returns:
- commits
-
setCommits
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
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 WikiCommitList
-
fromJson
Create an instance of WikiCommitList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WikiCommitList
- Throws:
IOException- if the JSON string is invalid with respect to WikiCommitList
-
toJson
Convert an instance of WikiCommitList to an JSON string- Returns:
- JSON string
-