Record Class ConnectionLimitDto
java.lang.Object
java.lang.Record
energy.eddie.aiida.dtos.connectionlimit.ConnectionLimitDto
public record ConnectionLimitDto(UUID permissionId, String meterId, @Nullable String documentId, Instant intervalStart, Instant intervalEnd, @Nullable BigDecimal minLimitKw, @Nullable BigDecimal maxLimitKw)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionLimitDto(UUID permissionId, String meterId, String documentId, Instant intervalStart, Instant intervalEnd, BigDecimal minLimitKw, BigDecimal maxLimitKw) Creates an instance of aConnectionLimitDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedocumentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theintervalEndrecord component.Returns the value of theintervalStartrecord component.Returns the value of themaxLimitKwrecord component.meterId()Returns the value of themeterIdrecord component.Returns the value of theminLimitKwrecord component.Returns the value of thepermissionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectionLimitDto
public ConnectionLimitDto(UUID permissionId, String meterId, @Nullable String documentId, Instant intervalStart, Instant intervalEnd, @Nullable BigDecimal minLimitKw, @Nullable BigDecimal maxLimitKw) Creates an instance of aConnectionLimitDtorecord class.- Parameters:
permissionId- the value for thepermissionIdrecord componentmeterId- the value for themeterIdrecord componentdocumentId- the value for thedocumentIdrecord componentintervalStart- the value for theintervalStartrecord componentintervalEnd- the value for theintervalEndrecord componentminLimitKw- the value for theminLimitKwrecord componentmaxLimitKw- the value for themaxLimitKwrecord 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). -
permissionId
Returns the value of thepermissionIdrecord component.- Returns:
- the value of the
permissionIdrecord component
-
meterId
Returns the value of themeterIdrecord component.- Returns:
- the value of the
meterIdrecord component
-
documentId
Returns the value of thedocumentIdrecord component.- Returns:
- the value of the
documentIdrecord component
-
intervalStart
Returns the value of theintervalStartrecord component.- Returns:
- the value of the
intervalStartrecord component
-
intervalEnd
Returns the value of theintervalEndrecord component.- Returns:
- the value of the
intervalEndrecord component
-
minLimitKw
Returns the value of theminLimitKwrecord component.- Returns:
- the value of the
minLimitKwrecord component
-
maxLimitKw
Returns the value of themaxLimitKwrecord component.- Returns:
- the value of the
maxLimitKwrecord component
-