InstanceGroupsSetNamedPortsRequest.fromJson constructor

InstanceGroupsSetNamedPortsRequest.fromJson(
  1. Map json_
)

Implementation

InstanceGroupsSetNamedPortsRequest.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,
      );