GoogleCloudAssuredworkloadsV1ViolationRemediation.fromJson constructor

GoogleCloudAssuredworkloadsV1ViolationRemediation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssuredworkloadsV1ViolationRemediation.fromJson(core.Map json_)
    : this(
        compliantValues: json_.containsKey('compliantValues')
            ? (json_['compliantValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        instructions: json_.containsKey('instructions')
            ? GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
                .fromJson(json_['instructions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        remediationType: json_.containsKey('remediationType')
            ? json_['remediationType'] as core.String
            : null,
      );