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 thebucket
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.name()
Returns the value of thename
record component.short
Returns the value of theneedAction
record component.Returns the value of theneedActionFrom
record component.Returns the value of therequestId
record component.sites()
Returns the value of thesites
record component.final String
toString()
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 aReconciliationSitesAction
record class.- Parameters:
id
- the value for theid
record componentrequestId
- the value for therequestId
record componentbucket
- the value for thebucket
record componentname
- the value for thename
record componentneedAction
- the value for theneedAction
record componentneedActionFrom
- the value for theneedActionFrom
record componentsites
- the value for thesites
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
requestId
Returns the value of therequestId
record component.- Returns:
- the value of the
requestId
record component
-
bucket
Returns the value of thebucket
record component.- Returns:
- the value of the
bucket
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
needAction
public short needAction()Returns the value of theneedAction
record component.- Returns:
- the value of the
needAction
record component
-
needActionFrom
Returns the value of theneedActionFrom
record component.- Returns:
- the value of the
needActionFrom
record component
-
sites
Returns the value of thesites
record component.- Returns:
- the value of the
sites
record component
-