GetTrailStatusResponse.fromJson constructor

GetTrailStatusResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetTrailStatusResponse.fromJson(Map<String, dynamic> json) {
  return GetTrailStatusResponse(
    isLogging: json['IsLogging'] as bool?,
    latestCloudWatchLogsDeliveryError:
        json['LatestCloudWatchLogsDeliveryError'] as String?,
    latestCloudWatchLogsDeliveryTime:
        timeStampFromJson(json['LatestCloudWatchLogsDeliveryTime']),
    latestDeliveryAttemptSucceeded:
        json['LatestDeliveryAttemptSucceeded'] as String?,
    latestDeliveryAttemptTime: json['LatestDeliveryAttemptTime'] as String?,
    latestDeliveryError: json['LatestDeliveryError'] as String?,
    latestDeliveryTime: timeStampFromJson(json['LatestDeliveryTime']),
    latestDigestDeliveryError: json['LatestDigestDeliveryError'] as String?,
    latestDigestDeliveryTime:
        timeStampFromJson(json['LatestDigestDeliveryTime']),
    latestNotificationAttemptSucceeded:
        json['LatestNotificationAttemptSucceeded'] as String?,
    latestNotificationAttemptTime:
        json['LatestNotificationAttemptTime'] as String?,
    latestNotificationError: json['LatestNotificationError'] as String?,
    latestNotificationTime: timeStampFromJson(json['LatestNotificationTime']),
    startLoggingTime: timeStampFromJson(json['StartLoggingTime']),
    stopLoggingTime: timeStampFromJson(json['StopLoggingTime']),
    timeLoggingStarted: json['TimeLoggingStarted'] as String?,
    timeLoggingStopped: json['TimeLoggingStopped'] as String?,
  );
}