toMap method

Map<String, dynamic> toMap()

Implementation

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