Record Class BidId
java.lang.Object
java.lang.Record
cloud.quasarch.akash.impl.model.remote.BidId
- Record Components:
owner- account addres of tenantdeploymentSequence- Arbitrary sequence number that identifies the deployment. Defaults to block height.groupSequence- Arbitrary sequence number. Internally incremented, starting at 1.orderSequence- Arbitrary sequence number. Internally incremented, starting at 1.provider- Account address of provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeploymentSequencerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupSequencerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theorderSequencerecord component.owner()Returns the value of theownerrecord component.provider()Returns the value of theproviderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BidId
public BidId(String owner, String deploymentSequence, String groupSequence, String orderSequence, String provider) Creates an instance of aBidIdrecord class.- Parameters:
owner- the value for theownerrecord componentdeploymentSequence- the value for thedeploymentSequencerecord componentgroupSequence- the value for thegroupSequencerecord componentorderSequence- the value for theorderSequencerecord componentprovider- the value for theproviderrecord 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). -
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
deploymentSequence
Returns the value of thedeploymentSequencerecord component.- Returns:
- the value of the
deploymentSequencerecord component
-
groupSequence
Returns the value of thegroupSequencerecord component.- Returns:
- the value of the
groupSequencerecord component
-
orderSequence
Returns the value of theorderSequencerecord component.- Returns:
- the value of the
orderSequencerecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-