Record Class ReconciliationSitesAction
java.lang.Object
java.lang.Record
io.clonecloudstore.reconciliator.model.ReconciliationSitesAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the value of thebucketrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.shortReturns the value of theneedActionrecord component.Returns the value of theneedActionFromrecord component.Returns the value of therequestIdrecord component.sites()Returns the value of thesitesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReconciliationSitesAction
public ReconciliationSitesAction(String id, String requestId, String bucket, String name, short needAction, List<String> needActionFrom, List<String> sites) Creates an instance of aReconciliationSitesActionrecord class.- Parameters:
id- the value for theidrecord componentrequestId- the value for therequestIdrecord componentbucket- the value for thebucketrecord componentname- the value for thenamerecord componentneedAction- the value for theneedActionrecord componentneedActionFrom- the value for theneedActionFromrecord componentsites- the value for thesitesrecord 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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
bucket
Returns the value of thebucketrecord component.- Returns:
- the value of the
bucketrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
needAction
public short needAction()Returns the value of theneedActionrecord component.- Returns:
- the value of the
needActionrecord component
-
needActionFrom
Returns the value of theneedActionFromrecord component.- Returns:
- the value of the
needActionFromrecord component
-
sites
Returns the value of thesitesrecord component.- Returns:
- the value of the
sitesrecord component
-