Package io.mateu.dtos

Record Class RunActionRqDto

java.lang.Object
java.lang.Record
io.mateu.dtos.RunActionRqDto

public record RunActionRqDto(Map<String,Object> componentState, Map<String,Object> appState, Map<String,Object> parameters, String initiatorComponentId, String consumedRoute, String actionId, String route, String serverSideType, String appServerSideType) extends Record
  • Constructor Details

    • RunActionRqDto

      public RunActionRqDto(Map<String,Object> componentState, Map<String,Object> appState, Map<String,Object> parameters, String initiatorComponentId, String consumedRoute, String actionId, String route, String serverSideType, String appServerSideType)
      Creates an instance of a RunActionRqDto record class.
      Parameters:
      componentState - the value for the componentState record component
      appState - the value for the appState record component
      parameters - the value for the parameters record component
      initiatorComponentId - the value for the initiatorComponentId record component
      consumedRoute - the value for the consumedRoute record component
      actionId - the value for the actionId record component
      route - the value for the route record component
      serverSideType - the value for the serverSideType record component
      appServerSideType - the value for the appServerSideType record component
  • Method Details

    • componentState

      public Map<String,Object> componentState()
      Returns the value of the componentState record component.
      Returns:
      the value of the componentState record component
    • appState

      public Map<String,Object> appState()
      Returns the value of the appState record component.
      Returns:
      the value of the appState record component
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • parameters

      public Map<String,Object> parameters()
      Returns the value of the parameters record component.
      Returns:
      the value of the parameters record component
    • initiatorComponentId

      public String initiatorComponentId()
      Returns the value of the initiatorComponentId record component.
      Returns:
      the value of the initiatorComponentId record component
    • consumedRoute

      public String consumedRoute()
      Returns the value of the consumedRoute record component.
      Returns:
      the value of the consumedRoute record component
    • actionId

      public String actionId()
      Returns the value of the actionId record component.
      Returns:
      the value of the actionId record component
    • route

      public String route()
      Returns the value of the route record component.
      Returns:
      the value of the route record component
    • serverSideType

      public String serverSideType()
      Returns the value of the serverSideType record component.
      Returns:
      the value of the serverSideType record component
    • appServerSideType

      public String appServerSideType()
      Returns the value of the appServerSideType record component.
      Returns:
      the value of the appServerSideType record component