CustomClass constructor
CustomClass({
- String? name,
- String? uid,
- String? displayName,
- Iterable<
CustomClass_ClassItem> ? items, - Timestamp? createTime,
- Timestamp? updateTime,
- Timestamp? deleteTime,
- Timestamp? expireTime,
- Map<
String, String> ? annotations, - String? etag,
- bool? reconciling,
- String? kmsKeyName,
- String? kmsKeyVersionName,
- CustomClass_State? state,
Implementation
factory CustomClass({
$core.String? name,
$core.String? uid,
$core.String? displayName,
$core.Iterable<CustomClass_ClassItem>? items,
$3.Timestamp? createTime,
$3.Timestamp? updateTime,
$3.Timestamp? deleteTime,
$3.Timestamp? expireTime,
$core.Map<$core.String, $core.String>? annotations,
$core.String? etag,
$core.bool? reconciling,
$core.String? kmsKeyName,
$core.String? kmsKeyVersionName,
CustomClass_State? state,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (uid != null) {
$result.uid = uid;
}
if (displayName != null) {
$result.displayName = displayName;
}
if (items != null) {
$result.items.addAll(items);
}
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
if (deleteTime != null) {
$result.deleteTime = deleteTime;
}
if (expireTime != null) {
$result.expireTime = expireTime;
}
if (annotations != null) {
$result.annotations.addAll(annotations);
}
if (etag != null) {
$result.etag = etag;
}
if (reconciling != null) {
$result.reconciling = reconciling;
}
if (kmsKeyName != null) {
$result.kmsKeyName = kmsKeyName;
}
if (kmsKeyVersionName != null) {
$result.kmsKeyVersionName = kmsKeyVersionName;
}
if (state != null) {
$result.state = state;
}
return $result;
}