Record Class Bid
java.lang.Object
java.lang.Record
cloud.quasarch.akash.impl.model.remote.Bid
- Record Components:
bid- offered by the provider. The 'price' it charges for the asked deploymentescrowAccount- a mechanism that allow for time-based payments
Akash uses a reverse auction. Tenants set the price and terms of their deployment,
and the Cloud providers bid on the deployments.
For more information see ...
-
Constructor Summary
ConstructorsConstructorDescriptionBid(BidInfo bid, Deployment.EscrowAccount escrowAccount) Creates an instance of aBidrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbid()Returns the value of thebidrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theescrowAccountrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Bid
Creates an instance of aBidrecord class.- Parameters:
bid- the value for thebidrecord componentescrowAccount- the value for theescrowAccountrecord 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). -
bid
Returns the value of thebidrecord component.- Returns:
- the value of the
bidrecord component
-
escrowAccount
Returns the value of theescrowAccountrecord component.- Returns:
- the value of the
escrowAccountrecord component
-