Record Class CCMORequest
java.lang.Object
java.lang.Record
energy.eddie.regionconnector.at.eda.requests.CCMORequest
public record CCMORequest(DsoIdAndMeteringPoint dsoIdAndMeteringPoint, CCMOTimeFrame timeframe, String cmRequestId, String messageId, RequestDataType requestDataType, AllowedGranularity granularity, AllowedTransmissionCycle transmissionCycle, AtConfiguration configuration, ZonedDateTime timestamp, @Nullable String purpose)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCCMORequest(DsoIdAndMeteringPoint dsoIdAndMeteringPoint, CCMOTimeFrame timeframe, String cmRequestId, String messageId, RequestDataType requestDataType, AllowedGranularity granularity, AllowedTransmissionCycle transmissionCycle, AtConfiguration configuration, ZonedDateTime timestamp) CCMORequest(DsoIdAndMeteringPoint dsoIdAndMeteringPoint, CCMOTimeFrame timeframe, String cmRequestId, String messageId, RequestDataType requestDataType, AllowedGranularity granularity, AllowedTransmissionCycle transmissionCycle, AtConfiguration configuration, ZonedDateTime timestamp, String purpose) Creates an instance of aCCMORequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecmRequestIdrecord component.Returns the value of theconfigurationrecord component.dsoId()Returns the value of thedsoIdAndMeteringPointrecord component.end()final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegranularityrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themessageIdrecord component.purpose()Returns the value of thepurposerecord component.Returns the value of therequestDataTyperecord component.start()Returns the value of thetimeframerecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransmissionCyclerecord component.
-
Constructor Details
-
CCMORequest
public CCMORequest(DsoIdAndMeteringPoint dsoIdAndMeteringPoint, CCMOTimeFrame timeframe, String cmRequestId, String messageId, RequestDataType requestDataType, AllowedGranularity granularity, AllowedTransmissionCycle transmissionCycle, AtConfiguration configuration, ZonedDateTime timestamp) -
CCMORequest
public CCMORequest(DsoIdAndMeteringPoint dsoIdAndMeteringPoint, CCMOTimeFrame timeframe, String cmRequestId, String messageId, RequestDataType requestDataType, AllowedGranularity granularity, AllowedTransmissionCycle transmissionCycle, AtConfiguration configuration, ZonedDateTime timestamp, @Nullable String purpose) Creates an instance of aCCMORequestrecord class.- Parameters:
dsoIdAndMeteringPoint- the value for thedsoIdAndMeteringPointrecord componenttimeframe- the value for thetimeframerecord componentcmRequestId- the value for thecmRequestIdrecord componentmessageId- the value for themessageIdrecord componentrequestDataType- the value for therequestDataTyperecord componentgranularity- the value for thegranularityrecord componenttransmissionCycle- the value for thetransmissionCyclerecord componentconfiguration- the value for theconfigurationrecord componenttimestamp- the value for thetimestamprecord componentpurpose- the value for thepurposerecord component
-
-
Method Details
-
dsoId
-
start
-
end
-
meteringPointId
-
eligiblePartyId
-
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). -
dsoIdAndMeteringPoint
Returns the value of thedsoIdAndMeteringPointrecord component.- Returns:
- the value of the
dsoIdAndMeteringPointrecord component
-
timeframe
Returns the value of thetimeframerecord component.- Returns:
- the value of the
timeframerecord component
-
cmRequestId
Returns the value of thecmRequestIdrecord component.- Returns:
- the value of the
cmRequestIdrecord component
-
messageId
Returns the value of themessageIdrecord component.- Returns:
- the value of the
messageIdrecord component
-
requestDataType
Returns the value of therequestDataTyperecord component.- Returns:
- the value of the
requestDataTyperecord component
-
granularity
Returns the value of thegranularityrecord component.- Returns:
- the value of the
granularityrecord component
-
transmissionCycle
Returns the value of thetransmissionCyclerecord component.- Returns:
- the value of the
transmissionCyclerecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
purpose
Returns the value of thepurposerecord component.- Returns:
- the value of the
purposerecord component
-