RouterNatRuleAction.fromJson constructor

RouterNatRuleAction.fromJson(
  1. Map json_
)

Implementation

RouterNatRuleAction.fromJson(core.Map json_)
    : this(
        sourceNatActiveIps: json_.containsKey('sourceNatActiveIps')
            ? (json_['sourceNatActiveIps'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sourceNatActiveRanges: json_.containsKey('sourceNatActiveRanges')
            ? (json_['sourceNatActiveRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sourceNatDrainIps: json_.containsKey('sourceNatDrainIps')
            ? (json_['sourceNatDrainIps'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        sourceNatDrainRanges: json_.containsKey('sourceNatDrainRanges')
            ? (json_['sourceNatDrainRanges'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );