Record Class ReleaseInfoDto
java.lang.Object
java.lang.Record
energy.eddie.aiida.dtos.installer.ReleaseInfoDto
public record ReleaseInfoDto(ZonedDateTime firstDeployed, ZonedDateTime lastDeployed, ZonedDateTime deleted, String description, String status)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionReleaseInfoDto(ZonedDateTime firstDeployed, ZonedDateTime lastDeployed, ZonedDateTime deleted, String description, String status) Creates an instance of aReleaseInfoDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeleted()Returns the value of thedeletedrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstDeployedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelastDeployedrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReleaseInfoDto
public ReleaseInfoDto(ZonedDateTime firstDeployed, ZonedDateTime lastDeployed, ZonedDateTime deleted, String description, String status) Creates an instance of aReleaseInfoDtorecord class.- Parameters:
firstDeployed- the value for thefirstDeployedrecord componentlastDeployed- the value for thelastDeployedrecord componentdeleted- the value for thedeletedrecord componentdescription- the value for thedescriptionrecord componentstatus- the value for thestatusrecord 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). -
firstDeployed
Returns the value of thefirstDeployedrecord component.- Returns:
- the value of the
firstDeployedrecord component
-
lastDeployed
Returns the value of thelastDeployedrecord component.- Returns:
- the value of the
lastDeployedrecord component
-
deleted
Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-