GameServer_ObjectMeta constructor
GameServer_ObjectMeta({})
Implementation
factory GameServer_ObjectMeta({
$core.String? name,
$core.String? namespace,
$core.String? uid,
$core.String? resourceVersion,
$fixnum.Int64? generation,
$fixnum.Int64? creationTimestamp,
$fixnum.Int64? deletionTimestamp,
$core.Map<$core.String, $core.String>? annotations,
$core.Map<$core.String, $core.String>? labels,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (namespace != null) {
_result.namespace = namespace;
}
if (uid != null) {
_result.uid = uid;
}
if (resourceVersion != null) {
_result.resourceVersion = resourceVersion;
}
if (generation != null) {
_result.generation = generation;
}
if (creationTimestamp != null) {
_result.creationTimestamp = creationTimestamp;
}
if (deletionTimestamp != null) {
_result.deletionTimestamp = deletionTimestamp;
}
if (annotations != null) {
_result.annotations.addAll(annotations);
}
if (labels != null) {
_result.labels.addAll(labels);
}
return _result;
}