Class ListActionRunResponse
java.lang.Object
build.cursed.genapi.forgejo.model.ListActionRunResponse
@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 ListActionRunResponse
extends Object
ListActionRunResponse return a list of ActionRun
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowRunsItem(ActionRun workflowRunsItem) booleanstatic ListActionRunResponseCreate an instance of ListActionRunResponse given an JSON stringGet totalCountGet workflowRunsinthashCode()voidsetTotalCount(Long totalCount) voidsetWorkflowRuns(List<ActionRun> workflowRuns) toJson()Convert an instance of ListActionRunResponse to an JSON stringtoString()totalCount(Long totalCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundworkflowRuns(List<ActionRun> workflowRuns)
-
Field Details
-
SERIALIZED_NAME_TOTAL_COUNT
- See Also:
-
SERIALIZED_NAME_WORKFLOW_RUNS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListActionRunResponse
public ListActionRunResponse()
-
-
Method Details
-
totalCount
-
getTotalCount
Get totalCount- Returns:
- totalCount
-
setTotalCount
-
workflowRuns
-
addWorkflowRunsItem
-
getWorkflowRuns
Get workflowRuns- Returns:
- workflowRuns
-
setWorkflowRuns
-
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 ListActionRunResponse
-
fromJson
Create an instance of ListActionRunResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListActionRunResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListActionRunResponse
-
toJson
Convert an instance of ListActionRunResponse to an JSON string- Returns:
- JSON string
-