Project constructor
Project({
- String? id,
- String? organizationId,
- String? ownerUserId,
- String? name,
- String? privateKey,
- bool? privateKeySecured,
- Timestamp? createdAt,
- Timestamp? updatedAt,
- Timestamp? privateKeyGeneratedAt,
- Timestamp? privateKeySecuredAt,
- String? logo,
- String? publicKey,
- CloudLocation? location,
- String? organizationName,
Implementation
factory Project({
$core.String? id,
$core.String? organizationId,
$core.String? ownerUserId,
$core.String? name,
$core.String? privateKey,
$core.bool? privateKeySecured,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
$1.Timestamp? privateKeyGeneratedAt,
$1.Timestamp? privateKeySecuredAt,
$core.String? logo,
$core.String? publicKey,
CloudLocation? location,
$core.String? organizationName,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (organizationId != null) {
_result.organizationId = organizationId;
}
if (ownerUserId != null) {
_result.ownerUserId = ownerUserId;
}
if (name != null) {
_result.name = name;
}
if (privateKey != null) {
_result.privateKey = privateKey;
}
if (privateKeySecured != null) {
_result.privateKeySecured = privateKeySecured;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (privateKeyGeneratedAt != null) {
_result.privateKeyGeneratedAt = privateKeyGeneratedAt;
}
if (privateKeySecuredAt != null) {
_result.privateKeySecuredAt = privateKeySecuredAt;
}
if (logo != null) {
_result.logo = logo;
}
if (publicKey != null) {
_result.publicKey = publicKey;
}
if (location != null) {
_result.location = location;
}
if (organizationName != null) {
_result.organizationName = organizationName;
}
return _result;
}