ResourcePolicySnapshotSchedulePolicy.fromJson constructor

ResourcePolicySnapshotSchedulePolicy.fromJson(
  1. Map json_
)

Implementation

ResourcePolicySnapshotSchedulePolicy.fromJson(core.Map json_)
    : this(
        retentionPolicy: json_.containsKey('retentionPolicy')
            ? ResourcePolicySnapshotSchedulePolicyRetentionPolicy.fromJson(
                json_['retentionPolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? ResourcePolicySnapshotSchedulePolicySchedule.fromJson(
                json_['schedule'] as core.Map<core.String, core.dynamic>)
            : null,
        snapshotProperties: json_.containsKey('snapshotProperties')
            ? ResourcePolicySnapshotSchedulePolicySnapshotProperties.fromJson(
                json_['snapshotProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );