Package fi.evolver.script.app
Record Class Bitwarden.BitwardenItem
java.lang.Object
java.lang.Record
fi.evolver.script.app.Bitwarden.BitwardenItem
- Enclosing class:
Bitwarden
public static record Bitwarden.BitwardenItem(String id, String name, String notes, List<Bitwarden.Field> fields, Bitwarden.Login login)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBitwardenItem(String id, String name, String notes, List<Bitwarden.Field> fields, Bitwarden.Login login) Creates an instance of aBitwardenItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.login()Returns the value of theloginrecord component.name()Returns the value of thenamerecord component.notes()Returns the value of thenotesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BitwardenItem
public BitwardenItem(String id, String name, String notes, List<Bitwarden.Field> fields, Bitwarden.Login login) Creates an instance of aBitwardenItemrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentnotes- the value for thenotesrecord componentfields- the value for thefieldsrecord componentlogin- the value for theloginrecord component
-
-
Method Details
-
getField
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
notes
Returns the value of thenotesrecord component.- Returns:
- the value of the
notesrecord component
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
login
Returns the value of theloginrecord component.- Returns:
- the value of the
loginrecord component
-