Package de.starwit.aic.model
Class Action
java.lang.Object
de.starwit.aic.model.Action
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-08-21T09:43:09.059871871Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class Action
extends Object
An actual action that a system executes
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionType(ActionType actionType) creationTime(OffsetDateTime creationTime) description(String description) booleanstatic ActionCreate an instance of Action given an JSON stringGet actionTypeGet creationTimeGet descriptiongetId()Get idGet metadatagetName()Get nameinthashCode()voidsetActionType(ActionType actionType) voidsetCreationTime(OffsetDateTime creationTime) voidsetDescription(String description) voidvoidsetMetadata(String metadata) voidtoJson()Convert an instance of Action 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_CREATION_TIME
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_ACTION_TYPE
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
creationTime
-
getCreationTime
Get creationTime- Returns:
- creationTime
-
setCreationTime
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
actionType
-
getActionType
Get actionType- Returns:
- actionType
-
setActionType
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
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 Action
-
fromJson
Create an instance of Action given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Action
- Throws:
IOException- if the JSON string is invalid with respect to Action
-
toJson
Convert an instance of Action to an JSON string- Returns:
- JSON string
-