Tournament constructor
Tournament({
- String? id,
- String? title,
- String? description,
- int? category,
- int? sortOrder,
- int? size,
- int? maxSize,
- int? maxNumScore,
- bool? canEnter,
- int? endActive,
- int? nextReset,
- String? metadata,
- Timestamp? createTime,
- Timestamp? startTime,
- Timestamp? endTime,
- int? duration,
- int? startActive,
- int? prevReset,
- Operator? operator,
Implementation
factory Tournament({
$core.String? id,
$core.String? title,
$core.String? description,
$core.int? category,
$core.int? sortOrder,
$core.int? size,
$core.int? maxSize,
$core.int? maxNumScore,
$core.bool? canEnter,
$core.int? endActive,
$core.int? nextReset,
$core.String? metadata,
$0.Timestamp? createTime,
$0.Timestamp? startTime,
$0.Timestamp? endTime,
$core.int? duration,
$core.int? startActive,
$core.int? prevReset,
Operator? operator,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (title != null) {
_result.title = title;
}
if (description != null) {
_result.description = description;
}
if (category != null) {
_result.category = category;
}
if (sortOrder != null) {
_result.sortOrder = sortOrder;
}
if (size != null) {
_result.size = size;
}
if (maxSize != null) {
_result.maxSize = maxSize;
}
if (maxNumScore != null) {
_result.maxNumScore = maxNumScore;
}
if (canEnter != null) {
_result.canEnter = canEnter;
}
if (endActive != null) {
_result.endActive = endActive;
}
if (nextReset != null) {
_result.nextReset = nextReset;
}
if (metadata != null) {
_result.metadata = metadata;
}
if (createTime != null) {
_result.createTime = createTime;
}
if (startTime != null) {
_result.startTime = startTime;
}
if (endTime != null) {
_result.endTime = endTime;
}
if (duration != null) {
_result.duration = duration;
}
if (startActive != null) {
_result.startActive = startActive;
}
if (prevReset != null) {
_result.prevReset = prevReset;
}
if (operator != null) {
_result.operator = operator;
}
return _result;
}