Class ActionTask
java.lang.Object
build.cursed.genapi.forgejo.model.ActionTask
@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 ActionTask
extends Object
ActionTask represents a ActionTask
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) displayTitle(String displayTitle) booleanstatic ActionTaskCreate an instance of ActionTask given an JSON stringGet createdAtGet displayTitlegetEvent()Get eventGet headBranchGet headShagetId()Get idgetName()Get nameGet runNumberGet runStartedAtGet statusGet updatedAtgetUrl()Get urlGet workflowIdinthashCode()headBranch(String headBranch) runStartedAt(OffsetDateTime runStartedAt) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDisplayTitle(String displayTitle) voidvoidsetHeadBranch(String headBranch) voidsetHeadSha(String headSha) voidvoidvoidsetRunNumber(Long runNumber) voidsetRunStartedAt(OffsetDateTime runStartedAt) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidvoidsetWorkflowId(String workflowId) toJson()Convert an instance of ActionTask to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundworkflowId(String workflowId)
-
Field Details
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DISPLAY_TITLE
- See Also:
-
SERIALIZED_NAME_EVENT
- See Also:
-
SERIALIZED_NAME_HEAD_BRANCH
- See Also:
-
SERIALIZED_NAME_HEAD_SHA
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_RUN_NUMBER
- See Also:
-
SERIALIZED_NAME_RUN_STARTED_AT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_WORKFLOW_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ActionTask
public ActionTask()
-
-
Method Details
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
displayTitle
-
getDisplayTitle
Get displayTitle- Returns:
- displayTitle
-
setDisplayTitle
-
event
-
getEvent
Get event- Returns:
- event
-
setEvent
-
headBranch
-
getHeadBranch
Get headBranch- Returns:
- headBranch
-
setHeadBranch
-
headSha
-
getHeadSha
Get headSha- Returns:
- headSha
-
setHeadSha
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
runNumber
-
getRunNumber
Get runNumber- Returns:
- runNumber
-
setRunNumber
-
runStartedAt
-
getRunStartedAt
Get runStartedAt- Returns:
- runStartedAt
-
setRunStartedAt
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
workflowId
-
getWorkflowId
Get workflowId- Returns:
- workflowId
-
setWorkflowId
-
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 ActionTask
-
fromJson
Create an instance of ActionTask given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ActionTask
- Throws:
IOException- if the JSON string is invalid with respect to ActionTask
-
toJson
Convert an instance of ActionTask to an JSON string- Returns:
- JSON string
-