Class CdsPermissionRequest
java.lang.Object
energy.eddie.regionconnector.cds.permission.requests.CdsPermissionRequest
- All Implemented Interfaces:
MeterReadingPermissionRequest,PermissionRequest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCdsPermissionRequest(String permissionId, String connectionId, String dataNeedId, PermissionProcessStatus status, long cdsServer, ZonedDateTime created, LocalDate dataStart, LocalDate dataEnd, String state, String redirectUri, Map<String, ZonedDateTime> lastMeterReadings) -
Method Summary
Modifier and TypeMethodDescriptionThe connectionId is an id that is given by the eligible party using EDDIE.created()The datetime when the permission request first was created.The dataNeedId identifies the data need that should be met by the permission request.Information about the data source associated with the permission request.end()The end date from which data is requested.The latest meter reading end date that was pulled or received for this permission request.The permissionId of a request.start()The start date from which data is requested.status()
-
Constructor Details
-
CdsPermissionRequest
public CdsPermissionRequest(String permissionId, String connectionId, String dataNeedId, PermissionProcessStatus status, long cdsServer, ZonedDateTime created, LocalDate dataStart, LocalDate dataEnd, String state, @Nullable String redirectUri, Map<String, ZonedDateTime> lastMeterReadings) -
CdsPermissionRequest
protected CdsPermissionRequest()
-
-
Method Details
-
permissionId
Description copied from interface:PermissionRequestThe permissionId of a request. It is used internally of EDDIE to map permission requests or incoming consumption data- Specified by:
permissionIdin interfacePermissionRequest- Returns:
- permissionId
-
connectionId
Description copied from interface:PermissionRequestThe connectionId is an id that is given by the eligible party using EDDIE.- Specified by:
connectionIdin interfacePermissionRequest- Returns:
- connectionId
-
dataNeedId
Description copied from interface:PermissionRequestThe dataNeedId identifies the data need that should be met by the permission request.- Specified by:
dataNeedIdin interfacePermissionRequest- Returns:
- dataNeedId
-
status
- Specified by:
statusin interfacePermissionRequest
-
dataSourceInformation
Description copied from interface:PermissionRequestInformation about the data source associated with the permission request.- Specified by:
dataSourceInformationin interfacePermissionRequest- Returns:
- the DataSourceInformation of the PermissionRequest
-
created
Description copied from interface:PermissionRequestThe datetime when the permission request first was created.- Specified by:
createdin interfacePermissionRequest- Returns:
- the created datetime
-
start
Description copied from interface:PermissionRequestThe start date from which data is requested. (inclusive)- Specified by:
startin interfacePermissionRequest
-
end
Description copied from interface:PermissionRequestThe end date from which data is requested. (inclusive)- Specified by:
endin interfacePermissionRequest
-
redirectUri
-
oldestMeterReading
-
lastMeterReadings
-
latestMeterReadingEndDate
Description copied from interface:MeterReadingPermissionRequestThe latest meter reading end date that was pulled or received for this permission request.- Specified by:
latestMeterReadingEndDatein interfaceMeterReadingPermissionRequest
-