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,
      );