Class DecisionType

java.lang.Object
de.starwit.aic.model.DecisionType

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-08-21T09:43:09.059871871Z[Etc/UTC]", comments="Generator version: 7.13.0") public class DecisionType extends Object
A type of decision that a system can derive
  • Field Details

  • Constructor Details

    • DecisionType

      public DecisionType()
  • Method Details

    • id

      public DecisionType id(@Nullable Long id)
    • getId

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

      public void setId(@Nullable Long id)
    • name

      public DecisionType name(@Nullable String name)
    • getName

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

      public void setName(@Nullable String name)
    • description

      public DecisionType description(@Nullable String description)
    • getDescription

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

      public void setDescription(@Nullable String description)
    • actionTypes

      public DecisionType actionTypes(@Nullable Set<ActionType> actionTypes)
    • addActionTypesItem

      public DecisionType addActionTypesItem(ActionType actionTypesItem)
    • getActionTypes

      @Nullable public Set<ActionType> getActionTypes()
      Get actionTypes
      Returns:
      actionTypes
    • setActionTypes

      public void setActionTypes(@Nullable Set<ActionType> actionTypes)
    • module

      public DecisionType 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 DecisionType
    • fromJson

      public static DecisionType fromJson(String jsonString) throws IOException
      Create an instance of DecisionType given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of DecisionType
      Throws:
      IOException - if the JSON string is invalid with respect to DecisionType
    • toJson

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