Package io.levysworks.models
Record Class CompositeUserData
java.lang.Object
java.lang.Record
io.levysworks.models.CompositeUserData
- Record Components:
initials- User initialsusername- Usernameuuid- User's UUIDfirstName- User's first namelastName- User's last nameemail- User's email addressdepartment- User's department or organizational unitnotes- Additional notes related to the userkeyCount- Number of keys associated with the userservers- Comma-separated list of servers related to the userrequestId- Identifier for a specific key requestkeyType- Type of the OpenSSH keykeyUid- Unique identifier for the keyserver- Server name related to the key or requestpublicKey- Public SSH key stringfingerprint- Fingerprint of the public keyacceptedBy- Admin who accepted the requestissuedDate- Timestamp when the key was issuedvalidUntil- Expiration timestamp for the keylogTitle- Title or summary of the log entrylogMessage- Detailed log messagelogTimestamp- Timestamp of the log entry
public record CompositeUserData(String initials, String username, String uuid, String firstName, String lastName, String email, String department, String notes, Integer keyCount, String servers, Integer requestId, String keyType, String keyUid, String server, String publicKey, String fingerprint, String acceptedBy, Timestamp issuedDate, Timestamp validUntil, String logTitle, String logMessage, Timestamp logTimestamp)
extends Record
Composite data record representing detailed user information,
associated keys, server details, and related log entries.
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeUserData(String initials, String username, String uuid, String firstName, String lastName, String email, String department, String notes, Integer keyCount, String servers, Integer requestId, String keyType, String keyUid, String server, String publicKey, String fingerprint, String acceptedBy, Timestamp issuedDate, Timestamp validUntil, String logTitle, String logMessage, Timestamp logTimestamp) Creates an instance of aCompositeUserDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptedByrecord component.Returns the value of thedepartmentrecord component.email()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefingerprintrecord component.Returns the value of thefirstNamerecord component.final inthashCode()Returns a hash code value for this object.initials()Returns the value of theinitialsrecord component.Returns the value of theissuedDaterecord component.keyCount()Returns the value of thekeyCountrecord component.keyType()Returns the value of thekeyTyperecord component.keyUid()Returns the value of thekeyUidrecord component.lastName()Returns the value of thelastNamerecord component.Returns the value of thelogMessagerecord component.Returns the value of thelogTimestamprecord component.logTitle()Returns the value of thelogTitlerecord component.notes()Returns the value of thenotesrecord component.Returns the value of thepublicKeyrecord component.Returns the value of therequestIdrecord component.server()Returns the value of theserverrecord component.servers()Returns the value of theserversrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.uuid()Returns the value of theuuidrecord component.Returns the value of thevalidUntilrecord component.
-
Constructor Details
-
CompositeUserData
public CompositeUserData(String initials, String username, String uuid, String firstName, String lastName, String email, String department, String notes, Integer keyCount, String servers, Integer requestId, String keyType, String keyUid, String server, String publicKey, String fingerprint, String acceptedBy, Timestamp issuedDate, Timestamp validUntil, String logTitle, String logMessage, Timestamp logTimestamp) Creates an instance of aCompositeUserDatarecord class.- Parameters:
initials- the value for theinitialsrecord componentusername- the value for theusernamerecord componentuuid- the value for theuuidrecord componentfirstName- the value for thefirstNamerecord componentlastName- the value for thelastNamerecord componentemail- the value for theemailrecord componentdepartment- the value for thedepartmentrecord componentnotes- the value for thenotesrecord componentkeyCount- the value for thekeyCountrecord componentservers- the value for theserversrecord componentrequestId- the value for therequestIdrecord componentkeyType- the value for thekeyTyperecord componentkeyUid- the value for thekeyUidrecord componentserver- the value for theserverrecord componentpublicKey- the value for thepublicKeyrecord componentfingerprint- the value for thefingerprintrecord componentacceptedBy- the value for theacceptedByrecord componentissuedDate- the value for theissuedDaterecord componentvalidUntil- the value for thevalidUntilrecord componentlogTitle- the value for thelogTitlerecord componentlogMessage- the value for thelogMessagerecord componentlogTimestamp- the value for thelogTimestamprecord 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). -
initials
Returns the value of theinitialsrecord component.- Returns:
- the value of the
initialsrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
firstName
Returns the value of thefirstNamerecord component.- Returns:
- the value of the
firstNamerecord component
-
lastName
Returns the value of thelastNamerecord component.- Returns:
- the value of the
lastNamerecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
department
Returns the value of thedepartmentrecord component.- Returns:
- the value of the
departmentrecord component
-
notes
Returns the value of thenotesrecord component.- Returns:
- the value of the
notesrecord component
-
keyCount
Returns the value of thekeyCountrecord component.- Returns:
- the value of the
keyCountrecord component
-
servers
Returns the value of theserversrecord component.- Returns:
- the value of the
serversrecord component
-
requestId
Returns the value of therequestIdrecord component.- Returns:
- the value of the
requestIdrecord component
-
keyType
Returns the value of thekeyTyperecord component.- Returns:
- the value of the
keyTyperecord component
-
keyUid
Returns the value of thekeyUidrecord component.- Returns:
- the value of the
keyUidrecord component
-
server
Returns the value of theserverrecord component.- Returns:
- the value of the
serverrecord component
-
publicKey
Returns the value of thepublicKeyrecord component.- Returns:
- the value of the
publicKeyrecord component
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-
acceptedBy
Returns the value of theacceptedByrecord component.- Returns:
- the value of the
acceptedByrecord component
-
issuedDate
Returns the value of theissuedDaterecord component.- Returns:
- the value of the
issuedDaterecord component
-
validUntil
Returns the value of thevalidUntilrecord component.- Returns:
- the value of the
validUntilrecord component
-
logTitle
Returns the value of thelogTitlerecord component.- Returns:
- the value of the
logTitlerecord component
-
logMessage
Returns the value of thelogMessagerecord component.- Returns:
- the value of the
logMessagerecord component
-
logTimestamp
Returns the value of thelogTimestamprecord component.- Returns:
- the value of the
logTimestamprecord component
-