Package de.starwit.aic.model
Class ActionType
java.lang.Object
de.starwit.aic.model.ActionType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-08-21T09:43:09.059871871Z[Etc/UTC]",
comments="Generator version: 7.13.0")
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 TypeMethodDescriptiondescription(String description) booleanexecutionPolicy(ActionType.ExecutionPolicyEnum executionPolicy) static ActionTypeCreate an instance of ActionType given an JSON stringGet descriptionGet endpointGet executionPolicygetId()Get idGet modulegetName()Get nameinthashCode()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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ActionType
public ActionType()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
endpoint
-
getEndpoint
Get endpoint- Returns:
- endpoint
-
setEndpoint
-
executionPolicy
-
getExecutionPolicy
Get executionPolicy- Returns:
- executionPolicy
-
setExecutionPolicy
-
module
-
getModule
Get module- Returns:
- module
-
setModule
-
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 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
Convert an instance of ActionType to an JSON string- Returns:
- JSON string
-