Class DispatchWorkflowOption
java.lang.Object
build.cursed.genapi.forgejo.model.DispatchWorkflowOption
@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 DispatchWorkflowOption
extends Object
DispatchWorkflowOption options when dispatching a workflow
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DispatchWorkflowOptionCreate an instance of DispatchWorkflowOption given an JSON stringInput keys and values configured in the workflow file.getRef()Git reference for the workflowFlag to return the run infointhashCode()putInputsItem(String key, String inputsItem) returnRunInfo(Boolean returnRunInfo) voidvoidvoidsetReturnRunInfo(Boolean returnRunInfo) toJson()Convert an instance of DispatchWorkflowOption 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_INPUTS
- See Also:
-
SERIALIZED_NAME_REF
- See Also:
-
SERIALIZED_NAME_RETURN_RUN_INFO
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DispatchWorkflowOption
public DispatchWorkflowOption()
-
-
Method Details
-
inputs
-
putInputsItem
-
getInputs
Input keys and values configured in the workflow file.- Returns:
- inputs
-
setInputs
-
ref
-
getRef
Git reference for the workflow- Returns:
- ref
-
setRef
-
returnRunInfo
-
getReturnRunInfo
Flag to return the run info- Returns:
- returnRunInfo
-
setReturnRunInfo
-
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 DispatchWorkflowOption
-
fromJson
Create an instance of DispatchWorkflowOption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DispatchWorkflowOption
- Throws:
IOException- if the JSON string is invalid with respect to DispatchWorkflowOption
-
toJson
Convert an instance of DispatchWorkflowOption to an JSON string- Returns:
- JSON string
-