RegionInstanceGroupsSetNamedPortsRequest.fromJson constructor

RegionInstanceGroupsSetNamedPortsRequest.fromJson(
  1. Map json_
)

Implementation

RegionInstanceGroupsSetNamedPortsRequest.fromJson(core.Map json_)
    : this(
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        namedPorts: json_.containsKey('namedPorts')
            ? (json_['namedPorts'] as core.List)
                .map((value) => NamedPort.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );