Record Class PermissionManifestClient.Counts
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.Counts
- Enclosing class:
PermissionManifestClient
public static record PermissionManifestClient.Counts(int created, int updated, int unchanged, int resurrected, int conflict, int drift)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCounts(int created, int updated, int unchanged, int resurrected, int conflict, int drift) Creates an instance of aCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintconflict()Returns the value of theconflictrecord component.intcreated()Returns the value of thecreatedrecord component.intdrift()Returns the value of thedriftrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theresurrectedrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theunchangedrecord component.intupdated()Returns the value of theupdatedrecord component.
-
Constructor Details
-
Counts
public Counts(int created, int updated, int unchanged, int resurrected, int conflict, int drift) Creates an instance of aCountsrecord class.- Parameters:
created- the value for thecreatedrecord componentupdated- the value for theupdatedrecord componentunchanged- the value for theunchangedrecord componentresurrected- the value for theresurrectedrecord componentconflict- the value for theconflictrecord componentdrift- the value for thedriftrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
created
public int created()Returns the value of thecreatedrecord component.- Returns:
- the value of the
createdrecord component
-
updated
public int updated()Returns the value of theupdatedrecord component.- Returns:
- the value of the
updatedrecord component
-
unchanged
public int unchanged()Returns the value of theunchangedrecord component.- Returns:
- the value of the
unchangedrecord component
-
resurrected
public int resurrected()Returns the value of theresurrectedrecord component.- Returns:
- the value of the
resurrectedrecord component
-
conflict
public int conflict()Returns the value of theconflictrecord component.- Returns:
- the value of the
conflictrecord component
-
drift
public int drift()Returns the value of thedriftrecord component.- Returns:
- the value of the
driftrecord component
-