Record Class AssetsDirHelper.AssetInfo
java.lang.Object
java.lang.Record
pro.gravit.launchserver.helper.AssetsDirHelper.AssetInfo
- Enclosing class:
AssetsDirHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassetIndexrecord component.com.google.gson.JsonObjectassets()Returns the value of theassetsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AssetInfo
Creates an instance of aAssetInforecord class.- Parameters:
assetIndex- the value for theassetIndexrecord componentassets- the value for theassetsrecord component
-
-
Method Details
-
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). -
assetIndex
Returns the value of theassetIndexrecord component.- Returns:
- the value of the
assetIndexrecord component
-
assets
public com.google.gson.JsonObject assets()Returns the value of theassetsrecord component.- Returns:
- the value of the
assetsrecord component
-