Class ActionVariable
java.lang.Object
build.cursed.genapi.forgejo.model.ActionVariable
@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 ActionVariable
extends Object
ActionVariable return value of the query API
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ActionVariableCreate an instance of ActionVariable given an JSON stringgetData()the value of the variablegetName()the name of the variablethe owner to which the variable belongsthe repository to which the variable belongsinthashCode()voidvoidvoidsetOwnerId(Long ownerId) voidtoJson()Convert an instance of ActionVariable 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_DATA
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OWNER_ID
- See Also:
-
SERIALIZED_NAME_REPO_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ActionVariable
public ActionVariable()
-
-
Method Details
-
data
-
getData
the value of the variable- Returns:
- data
-
setData
-
name
-
getName
the name of the variable- Returns:
- name
-
setName
-
ownerId
-
getOwnerId
the owner to which the variable belongs- Returns:
- ownerId
-
setOwnerId
-
repoId
-
getRepoId
the repository to which the variable belongs- Returns:
- repoId
-
setRepoId
-
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 ActionVariable
-
fromJson
Create an instance of ActionVariable given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ActionVariable
- Throws:
IOException- if the JSON string is invalid with respect to ActionVariable
-
toJson
Convert an instance of ActionVariable to an JSON string- Returns:
- JSON string
-