ApiVersion constructor
ApiVersion({})
Implementation
factory ApiVersion({
$core.String? name,
$core.String? displayName,
$core.String? description,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.String? state,
$core.Map<$core.String, $core.String>? labels,
$core.Map<$core.String, $core.String>? annotations,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (description != null) {
$result.description = description;
}
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
if (state != null) {
$result.state = state;
}
if (labels != null) {
$result.labels.addAll(labels);
}
if (annotations != null) {
$result.annotations.addAll(annotations);
}
return $result;
}