Contents

init(options:range:granularity:flowDirection:)

Creates an electricity insight query request.

Declaration

init(options: ElectricityInsightQuery.Options, range: DateInterval, granularity: ElectricityInsightQuery.Granularity, flowDirection: ElectricityFlowDirection)

Parameters

  • options:

    The optional information included when the system returns electricity insight records.

  • range:

    The requested date range.

  • granularity:

    The temporal granularity for returned electricity insight records.

  • flowDirection:

    The direction of the flow of electricity.