Class GreenButtonPermissionRequest
java.lang.Object
energy.eddie.regionconnector.us.green.button.permission.request.GreenButtonPermissionRequest
- All Implemented Interfaces:
MeterReadingPermissionRequest,PermissionRequest,UsGreenButtonPermissionRequest
@Entity
public class GreenButtonPermissionRequest
extends Object
implements UsGreenButtonPermissionRequest
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGreenButtonPermissionRequest(String permissionId, String connectionId, String dataNeedId, LocalDate start, LocalDate end, Granularity granularity, PermissionProcessStatus status, ZonedDateTime created, String countryCode, String companyId, String jumpOffUrl, String scope, List<MeterReading> lastMeterReadings, String authUid) -
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.scope()start()The start date from which data is requested.status()
-
Constructor Details
-
GreenButtonPermissionRequest
protected GreenButtonPermissionRequest() -
GreenButtonPermissionRequest
public GreenButtonPermissionRequest(String permissionId, String connectionId, String dataNeedId, LocalDate start, LocalDate end, Granularity granularity, PermissionProcessStatus status, ZonedDateTime created, String countryCode, String companyId, @Nullable String jumpOffUrl, @Nullable String scope, List<MeterReading> lastMeterReadings, String authUid)
-
-
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
-
scope
- Specified by:
scopein interfaceUsGreenButtonPermissionRequest
-
jumpOffUrl
- Specified by:
jumpOffUrlin interfaceUsGreenButtonPermissionRequest
-
latestMeterReadingEndDateTime
- Specified by:
latestMeterReadingEndDateTimein interfaceUsGreenButtonPermissionRequest
-
allowedMeters
- Specified by:
allowedMetersin interfaceUsGreenButtonPermissionRequest
-
lastMeterReadings
- Specified by:
lastMeterReadingsin interfaceUsGreenButtonPermissionRequest
-
latestMeterReadingEndDate
Description copied from interface:MeterReadingPermissionRequestThe latest meter reading end date that was pulled or received for this permission request.- Specified by:
latestMeterReadingEndDatein interfaceMeterReadingPermissionRequest
-
authorizationUid
- Specified by:
authorizationUidin interfaceUsGreenButtonPermissionRequest
-