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

  • Constructor Details

    • ActionType

      public ActionType()
  • Method Details

    • id

      public ActionType id(@Nullable Long id)
    • getId

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

      public void setId(@Nullable Long id)
    • name

      public ActionType name(@Nullable String name)
    • getName

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

      public void setName(@Nullable String name)
    • description

      public ActionType description(@Nullable String description)
    • getDescription

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

      public void setDescription(@Nullable String description)
    • endpoint

      public ActionType endpoint(@Nullable String endpoint)
    • getEndpoint

      @Nullable public String getEndpoint()
      Get endpoint
      Returns:
      endpoint
    • setEndpoint

      public void setEndpoint(@Nullable String endpoint)
    • executionPolicy

      public ActionType executionPolicy(@Nullable ActionType.ExecutionPolicyEnum executionPolicy)
    • getExecutionPolicy

      @Nullable public ActionType.ExecutionPolicyEnum getExecutionPolicy()
      Get executionPolicy
      Returns:
      executionPolicy
    • setExecutionPolicy

      public void setExecutionPolicy(@Nullable ActionType.ExecutionPolicyEnum executionPolicy)
    • module

      public ActionType module(@Nullable Module module)
    • getModule

      @Nullable public Module getModule()
      Get module
      Returns:
      module
    • setModule

      public void setModule(@Nullable Module module)
    • 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 ActionType
    • fromJson

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

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