VmEndpointNatMappings.fromJson constructor

VmEndpointNatMappings.fromJson(
  1. Map json_
)

Implementation

VmEndpointNatMappings.fromJson(core.Map json_)
    : this(
        instanceName: json_.containsKey('instanceName')
            ? json_['instanceName'] as core.String
            : null,
        interfaceNatMappings: json_.containsKey('interfaceNatMappings')
            ? (json_['interfaceNatMappings'] as core.List)
                .map((value) =>
                    VmEndpointNatMappingsInterfaceNatMappings.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );