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
  • Field Details

  • Constructor Details

    • Action

      public Action()
  • Method Details

    • id

      public Action id(@Nullable Long id)
    • getId

      @Nullable public Long getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nullable Long id)
    • creationTime

      public Action creationTime(@Nullable OffsetDateTime creationTime)
    • getCreationTime

      @Nullable public OffsetDateTime getCreationTime()
      Get creationTime
      Returns:
      creationTime
    • setCreationTime

      public void setCreationTime(@Nullable OffsetDateTime creationTime)
    • name

      public Action name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • description

      public Action description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • actionType

      public Action actionType(@Nullable ActionType actionType)
    • getActionType

      @Nullable public ActionType getActionType()
      Get actionType
      Returns:
      actionType
    • setActionType

      public void setActionType(@Nullable ActionType actionType)
    • metadata

      public Action metadata(@Nullable String metadata)
    • getMetadata

      @Nullable public String getMetadata()
      Get metadata
      Returns:
      metadata
    • setMetadata

      public void setMetadata(@Nullable String metadata)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static Action fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of Action to an JSON string
      Returns:
      JSON string