Record Class DelineaSecretDto
java.lang.Object
java.lang.Record
org.frankframework.credentialprovider.delinea.DelineaSecretDto
public record DelineaSecretDto(int id, int folderId, String name, boolean active, List<DelineaSecretDto.Field> fields)
extends Record
Java representation of a DelineaSecret retrieved from Delinea Secret Server.
For example:
For example:
{
"id": 1,
"name": "Example account",
"secretTemplateId": 9,
"folderId": 13,
"active": true,
"items": []
...
"checkedOut": false,
"checkOutEnabled": false,
"siteId": 1,
...
"enableInheritSecretPolicy": true,
"secretPolicyId": -1,
"lastHeartBeatStatus": "Pending",
"lastHeartBeatCheck": null,
"failedPasswordChangeAttempts": 0,
"lastPasswordChangeAttempt": null,
"secretTemplateName": "Web Password",
"responseCodes": [],
"webLauncherRequiresIncognitoMode": false
}
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordJava representation of an Item of a DelineaSecret. -
Constructor Summary
ConstructorsConstructorDescriptionDelineaSecretDto(int id, int folderId, String name, boolean active, List<DelineaSecretDto.Field> fields) Creates an instance of aDelineaSecretDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.final booleanIndicates whether some other object is "equal to" this one.fields()Returns the value of thefieldsrecord component.intfolderId()Returns the value of thefolderIdrecord component.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.name()Returns the value of thenamerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
DelineaSecretDto
public DelineaSecretDto(int id, int folderId, String name, boolean active, List<DelineaSecretDto.Field> fields) Creates an instance of aDelineaSecretDtorecord class.- Parameters:
id- the value for theidrecord componentfolderId- the value for thefolderIdrecord componentname- the value for thenamerecord componentactive- the value for theactiverecord componentfields- the value for thefieldsrecord component
-
-
Method Details
-
fields
Returns the value of thefieldsrecord component.- Returns:
- the value of the
fieldsrecord component
-
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
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
folderId
public int folderId()Returns the value of thefolderIdrecord component.- Returns:
- the value of the
folderIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-