Record Class ActionCatalogResponse
java.lang.Object
java.lang.Record
org.praxisplatform.uischema.action.ActionCatalogResponse
public record ActionCatalogResponse(String resourceKey, String resourcePath, String group, Object resourceId, List<ActionCatalogItem> actions)
extends Record
Payload do catalogo de actions.
-
Constructor Summary
ConstructorsConstructorDescriptionActionCatalogResponse(String resourceKey, String resourcePath, String group, Object resourceId, List<ActionCatalogItem> actions) Creates an instance of aActionCatalogResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceIdrecord component.Returns the value of theresourceKeyrecord component.Returns the value of theresourcePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActionCatalogResponse
public ActionCatalogResponse(String resourceKey, String resourcePath, String group, Object resourceId, List<ActionCatalogItem> actions) Creates an instance of aActionCatalogResponserecord class.- Parameters:
resourceKey- the value for theresourceKeyrecord componentresourcePath- the value for theresourcePathrecord componentgroup- the value for thegrouprecord componentresourceId- the value for theresourceIdrecord componentactions- the value for theactionsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
resourceKey
Returns the value of theresourceKeyrecord component.- Returns:
- the value of the
resourceKeyrecord component
-
resourcePath
Returns the value of theresourcePathrecord component.- Returns:
- the value of the
resourcePathrecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
resourceId
Returns the value of theresourceIdrecord component.- Returns:
- the value of the
resourceIdrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-