toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'errorReportLocations': ?pulumi.Input.mapOptionalInputValue<List<ScheduledQueryLastRunSummaryErrorReportLocation>, List<Map<String, dynamic>>>(errorReportLocations, (value) => pulumi.Input.encodeList<ScheduledQueryLastRunSummaryErrorReportLocation, Map<String, dynamic>>(value, (value) => value.toMap())),
    'executionStats': ?pulumi.Input.mapOptionalInputValue<List<ScheduledQueryLastRunSummaryExecutionStat>, List<Map<String, dynamic>>>(executionStats, (value) => pulumi.Input.encodeList<ScheduledQueryLastRunSummaryExecutionStat, Map<String, dynamic>>(value, (value) => value.toMap())),
    'failureReason': ?failureReason,
    'invocationTime': ?invocationTime,
    'queryInsightsResponses': ?pulumi.Input.mapOptionalInputValue<List<ScheduledQueryLastRunSummaryQueryInsightsResponse>, List<Map<String, dynamic>>>(queryInsightsResponses, (value) => pulumi.Input.encodeList<ScheduledQueryLastRunSummaryQueryInsightsResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
    'runStatus': ?runStatus,
    'triggerTime': ?triggerTime,
  };
}