Record Class AssetRef
java.lang.Object
java.lang.Record
ai.badmonkey.agentspaces.agent.flow.AssetRef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord component.card()Returns the value of thecardrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static AssetRefshape()Returns the value of theshaperecord component.final StringtoString()Returns a string representation of this record class.uri()Returns the value of theurirecord component.
-
Constructor Details
-
AssetRef
Creates an instance of aAssetRefrecord class.- Parameters:
asset- the value for theassetrecord componenturi- the value for theurirecord componentshape- the value for theshaperecord componentcard- the value for thecardrecord component
-
-
Method Details
-
of
-
toString
-
hashCode
-
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). -
asset
Returns the value of theassetrecord component.- Returns:
- the value of the
assetrecord component
-
uri
Returns the value of theurirecord component.- Returns:
- the value of the
urirecord component
-
shape
Returns the value of theshaperecord component.- Returns:
- the value of the
shaperecord component
-
card
Returns the value of thecardrecord component.- Returns:
- the value of the
cardrecord component
-