Record Class Deployment.GroupId
java.lang.Object
java.lang.Record
cloud.quasarch.akash.impl.model.remote.Deployment.GroupId
- Record Components:
owner- Provider ID to withdraw funds for.deploymentSequence- Deployment ID of group.groupSequence- Arbitrary sequence number. Internally incremented, starting at 1.
- Enclosing class:
- Deployment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeploymentSequencerecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thegroupSequencerecord component.final inthashCode()Returns a hash code value for this object.owner()Returns the value of theownerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GroupId
Creates an instance of aGroupIdrecord class.- Parameters:
owner- the value for theownerrecord componentdeploymentSequence- the value for thedeploymentSequencerecord componentgroupSequence- the value for thegroupSequencerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
public int groupSequence()Returns the value of thegroupSequencerecord component.- Returns:
- the value of the
groupSequencerecord component
-