GoogleCloudIntegrationsV1alphaConditionalFailurePolicies.fromJson constructor

GoogleCloudIntegrationsV1alphaConditionalFailurePolicies.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaConditionalFailurePolicies.fromJson(
    core.Map json_)
    : this(
        defaultFailurePolicy: json_.containsKey('defaultFailurePolicy')
            ? GoogleCloudIntegrationsV1alphaFailurePolicy.fromJson(
                json_['defaultFailurePolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        failurePolicies: json_.containsKey('failurePolicies')
            ? (json_['failurePolicies'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaFailurePolicy.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );