Class FileLinksResponse
java.lang.Object
build.cursed.genapi.forgejo.model.FileLinksResponse
@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 FileLinksResponse
extends Object
FileLinksResponse contains the links for a repo's file
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FileLinksResponseCreate an instance of FileLinksResponse given an JSON stringgetGit()Get gitgetHtml()Get htmlgetSelf()Get selfinthashCode()voidvoidvoidtoJson()Convert an instance of FileLinksResponse 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_GIT
- See Also:
-
SERIALIZED_NAME_HTML
- See Also:
-
SERIALIZED_NAME_SELF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FileLinksResponse
public FileLinksResponse()
-
-
Method Details
-
git
-
getGit
Get git- Returns:
- git
-
setGit
-
html
-
getHtml
Get html- Returns:
- html
-
setHtml
-
self
-
getSelf
Get self- Returns:
- self
-
setSelf
-
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 FileLinksResponse
-
fromJson
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
Convert an instance of FileLinksResponse to an JSON string- Returns:
- JSON string
-