documentNodeQueryEnergyUsageHistory top-level constant
DocumentNode
const documentNodeQueryEnergyUsageHistory
Implementation
const documentNodeQueryEnergyUsageHistory = DocumentNode(
definitions: [
OperationDefinitionNode(
type: OperationType.query,
name: NameNode(value: 'EnergyUsageHistory'),
variableDefinitions: [
VariableDefinitionNode(
variable: VariableNode(name: NameNode(value: 'input')),
type: NamedTypeNode(
name: NameNode(value: 'GetEnergyUsageHistoryInput'),
isNonNull: true,
),
defaultValue: DefaultValueNode(value: null),
directives: [],
),
],
directives: [],
selectionSet: SelectionSetNode(
selections: [
FieldNode(
name: NameNode(value: 'energyUsageHistory'),
alias: null,
arguments: [
ArgumentNode(
name: NameNode(value: 'input'),
value: VariableNode(name: NameNode(value: 'input')),
),
],
directives: [],
selectionSet: SelectionSetNode(
selections: [
FieldNode(
name: NameNode(value: 'deviceId'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'energyUsageSummaries'),
alias: null,
arguments: [],
directives: [],
selectionSet: SelectionSetNode(
selections: [
FieldNode(
name: NameNode(value: 'aggregationPeriod'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'energyConsumedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'energyProducedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: '__typename'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
],
),
),
FieldNode(
name: NameNode(value: 'hasProduction'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'intervalType'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'peakEnergyProductionKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'peakEnergyConsumptionKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'lowestEnergyProductionKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'lowestEnergyConsumptionKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'totalEnergyConsumedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'totalEnergyProducedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'allTimesHighEnergyConsumedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: 'allTimesHighEnergyProducedKWh'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
FieldNode(
name: NameNode(value: '__typename'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
],
),
),
FieldNode(
name: NameNode(value: '__typename'),
alias: null,
arguments: [],
directives: [],
selectionSet: null,
),
],
),
),
],
);