Class ActionRunner
java.lang.Object
build.cursed.genapi.forgejo.model.ActionRunner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class ActionRunner
extends Object
ActionRunner represents a runner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumStatus indicates whether this runner is offline, or active, for example. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(String labelsItem) description(String description) booleanstatic ActionRunnerCreate an instance of ActionRunner given an JSON stringDescription provides optional details about this runner.Indicates if runner is ephemeral runnergetId()ID uniquely identifies this runner.Labels is a list of labels attached to this runner.getName()Name of the runner; not unique.OwnerID is the identifier of the user or organization this runner belongs to.RepoID is the identifier of the repository this runner belongs to.Status indicates whether this runner is offline, or active, for example.getUuid()UUID uniquely identifies this runner.Version is the self-reported version string of Forgejo Runner.inthashCode()voidsetDescription(String description) voidsetEphemeral(Boolean ephemeral) voidvoidvoidvoidsetOwnerId(Long ownerId) voidvoidsetStatus(ActionRunner.StatusEnum status) voidvoidsetVersion(String version) status(ActionRunner.StatusEnum status) toJson()Convert an instance of ActionRunner 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_EPHEMERAL
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OWNER_ID
- See Also:
-
SERIALIZED_NAME_REPO_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UUID
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ActionRunner
public ActionRunner()
-
-
Method Details
-
description
-
getDescription
Description provides optional details about this runner.- Returns:
- description
-
setDescription
-
ephemeral
-
getEphemeral
Indicates if runner is ephemeral runner- Returns:
- ephemeral
-
setEphemeral
-
id
-
getId
ID uniquely identifies this runner.- Returns:
- id
-
setId
-
labels
-
addLabelsItem
-
getLabels
Labels is a list of labels attached to this runner.- Returns:
- labels
-
setLabels
-
name
-
getName
Name of the runner; not unique.- Returns:
- name
-
setName
-
ownerId
-
getOwnerId
OwnerID is the identifier of the user or organization this runner belongs to. O if the runner is owned by a repository.- Returns:
- ownerId
-
setOwnerId
-
repoId
-
getRepoId
RepoID is the identifier of the repository this runner belongs to. 0 if the runner belongs to a user or organization.- Returns:
- repoId
-
setRepoId
-
status
-
getStatus
Status indicates whether this runner is offline, or active, for example.- Returns:
- status
-
setStatus
-
uuid
-
getUuid
UUID uniquely identifies this runner.- Returns:
- uuid
-
setUuid
-
version
-
getVersion
Version is the self-reported version string of Forgejo Runner.- Returns:
- version
-
setVersion
-
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 ActionRunner
-
fromJson
Create an instance of ActionRunner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ActionRunner
- Throws:
IOException- if the JSON string is invalid with respect to ActionRunner
-
toJson
Convert an instance of ActionRunner to an JSON string- Returns:
- JSON string
-