DescribeSnapshotScheduleOutput.fromJson constructor

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

Implementation

factory DescribeSnapshotScheduleOutput.fromJson(Map<String, dynamic> json) {
  return DescribeSnapshotScheduleOutput(
    description: json['Description'] as String?,
    recurrenceInHours: json['RecurrenceInHours'] as int?,
    startAt: json['StartAt'] as int?,
    tags: (json['Tags'] as List?)
        ?.whereNotNull()
        .map((e) => Tag.fromJson(e as Map<String, dynamic>))
        .toList(),
    timezone: json['Timezone'] as String?,
    volumeARN: json['VolumeARN'] as String?,
  );
}