OSPolicyResourceExecResource.fromJson constructor

OSPolicyResourceExecResource.fromJson(
  1. Map _json
)

Implementation

OSPolicyResourceExecResource.fromJson(core.Map _json)
    : this(
        enforce: _json.containsKey('enforce')
            ? OSPolicyResourceExecResourceExec.fromJson(
                _json['enforce'] as core.Map<core.String, core.dynamic>)
            : null,
        validate: _json.containsKey('validate')
            ? OSPolicyResourceExecResourceExec.fromJson(
                _json['validate'] as core.Map<core.String, core.dynamic>)
            : null,
      );