AllocationResponse constructor
AllocationResponse({})
Implementation
factory AllocationResponse({
$core.String? gameServerName,
$core.Iterable<AllocationResponse_GameServerStatusPort>? ports,
$core.String? address,
$core.String? nodeName,
$core.String? source,
}) {
final _result = create();
if (gameServerName != null) {
_result.gameServerName = gameServerName;
}
if (ports != null) {
_result.ports.addAll(ports);
}
if (address != null) {
_result.address = address;
}
if (nodeName != null) {
_result.nodeName = nodeName;
}
if (source != null) {
_result.source = source;
}
return _result;
}