Record Class MandateResponseModel
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.be.fluvius.client.model.MandateResponseModel
public record MandateResponseModel(@Nullable String referenceNumber, @Nullable String status, @Nullable String eanNumber, @Nullable String energyType, @Nullable ZonedDateTime dataPeriodFrom, @Nullable ZonedDateTime dataPeriodTo, @Nullable String dataServiceType, @Nullable ZonedDateTime mandateExpirationDate, @Nullable String renewalStatus)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMandateResponseModel(String referenceNumber, String status, String eanNumber, String energyType, ZonedDateTime dataPeriodFrom, ZonedDateTime dataPeriodTo, String dataServiceType, ZonedDateTime mandateExpirationDate, String renewalStatus) Creates an instance of aMandateResponseModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataPeriodFromrecord component.Returns the value of thedataPeriodTorecord component.Returns the value of thedataServiceTyperecord component.Returns the value of theeanNumberrecord component.Returns the value of theenergyTyperecord 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 themandateExpirationDaterecord component.Returns the value of thereferenceNumberrecord component.Returns the value of therenewalStatusrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MandateResponseModel
public MandateResponseModel(@Nullable String referenceNumber, @Nullable String status, @Nullable String eanNumber, @Nullable String energyType, @Nullable ZonedDateTime dataPeriodFrom, @Nullable ZonedDateTime dataPeriodTo, @Nullable String dataServiceType, @Nullable ZonedDateTime mandateExpirationDate, @Nullable String renewalStatus) Creates an instance of aMandateResponseModelrecord class.- Parameters:
referenceNumber- the value for thereferenceNumberrecord componentstatus- the value for thestatusrecord componenteanNumber- the value for theeanNumberrecord componentenergyType- the value for theenergyTyperecord componentdataPeriodFrom- the value for thedataPeriodFromrecord componentdataPeriodTo- the value for thedataPeriodTorecord componentdataServiceType- the value for thedataServiceTyperecord componentmandateExpirationDate- the value for themandateExpirationDaterecord componentrenewalStatus- the value for therenewalStatusrecord 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). -
referenceNumber
Returns the value of thereferenceNumberrecord component.- Returns:
- the value of the
referenceNumberrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
eanNumber
Returns the value of theeanNumberrecord component.- Returns:
- the value of the
eanNumberrecord component
-
energyType
Returns the value of theenergyTyperecord component.- Returns:
- the value of the
energyTyperecord component
-
dataPeriodFrom
Returns the value of thedataPeriodFromrecord component.- Returns:
- the value of the
dataPeriodFromrecord component
-
dataPeriodTo
Returns the value of thedataPeriodTorecord component.- Returns:
- the value of the
dataPeriodTorecord component
-
dataServiceType
Returns the value of thedataServiceTyperecord component.- Returns:
- the value of the
dataServiceTyperecord component
-
mandateExpirationDate
Returns the value of themandateExpirationDaterecord component.- Returns:
- the value of the
mandateExpirationDaterecord component
-
renewalStatus
Returns the value of therenewalStatusrecord component.- Returns:
- the value of the
renewalStatusrecord component
-