Package de.starwit.aic.model
Class ActionType
java.lang.Object
de.starwit.aic.model.ActionType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-31T19:41:30.613174479Z[Etc/UTC]")
public class ActionType
extends Object
A type of action that a system can execute
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets executionPolicy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddActionsItem(Action actionsItem) addDecisionTypesItem(DecisionType decisionTypesItem) decisionTypes(Set<DecisionType> decisionTypes) description(String description) booleanexecutionPolicy(ActionType.ExecutionPolicyEnum executionPolicy) static ActionTypeCreate an instance of ActionType given an JSON stringGet actionsGet decisionTypesGet descriptionGet endpointGet executionPolicygetId()Get idGet modulegetName()Get nameinthashCode()voidsetActions(Set<Action> actions) voidsetDecisionTypes(Set<DecisionType> decisionTypes) voidsetDescription(String description) voidsetEndpoint(String endpoint) voidsetExecutionPolicy(ActionType.ExecutionPolicyEnum executionPolicy) voidvoidvoidtoJson()Convert an instance of ActionType 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_ENDPOINT
- See Also:
-
SERIALIZED_NAME_EXECUTION_POLICY
- See Also:
-
SERIALIZED_NAME_MODULE
- See Also:
-
SERIALIZED_NAME_ACTIONS
- See Also:
-
SERIALIZED_NAME_DECISION_TYPES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ActionType
public ActionType()
-
-
Method Details
-
id
-
getId
-
setId
-
name
-
getName
-
setName
-
description
-
getDescription
-
setDescription
-
endpoint
-
getEndpoint
-
setEndpoint
-
executionPolicy
-
getExecutionPolicy
Get executionPolicy- Returns:
- executionPolicy
-
setExecutionPolicy
-
module
-
getModule
-
setModule
-
actions
-
addActionsItem
-
getActions
-
setActions
-
decisionTypes
-
addDecisionTypesItem
-
getDecisionTypes
-
setDecisionTypes
-
equals
-
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 ActionType
-
fromJson
Create an instance of ActionType given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ActionType
- Throws:
IOException- if the JSON string is invalid with respect to ActionType
-
toJson
-