VmEndpointNatMappingsList.fromJson constructor

VmEndpointNatMappingsList.fromJson(
  1. Map json_
)

Implementation

VmEndpointNatMappingsList.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        result: json_.containsKey('result')
            ? (json_['result'] as core.List)
                .map((value) => VmEndpointNatMappings.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        warning: json_.containsKey('warning')
            ? VmEndpointNatMappingsListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );