ResourcePolicySnapshotSchedulePolicyRetentionPolicy.fromJson constructor

ResourcePolicySnapshotSchedulePolicyRetentionPolicy.fromJson(
  1. Map json_
)

Implementation

ResourcePolicySnapshotSchedulePolicyRetentionPolicy.fromJson(core.Map json_)
    : this(
        maxRetentionDays: json_.containsKey('maxRetentionDays')
            ? json_['maxRetentionDays'] as core.int
            : null,
        onSourceDiskDelete: json_.containsKey('onSourceDiskDelete')
            ? json_['onSourceDiskDelete'] as core.String
            : null,
      );