MaintenancePolicy.fromJson constructor

MaintenancePolicy.fromJson(
  1. Map json_
)

Implementation

MaintenancePolicy.fromJson(core.Map json_)
    : this(
        resourceVersion: json_.containsKey('resourceVersion')
            ? json_['resourceVersion'] as core.String
            : null,
        window: json_.containsKey('window')
            ? MaintenanceWindow.fromJson(
                json_['window'] as core.Map<core.String, core.dynamic>)
            : null,
      );