Project constructor

Project({
  1. String? id,
  2. String? organizationId,
  3. String? ownerId,
  4. String? name,
  5. String? privateKey,
  6. String? organizationName,
  7. String? partnerId,
  8. ProjectState? state,
  9. String? ownerEmail,
  10. String? apiUrl,
  11. Timestamp? createdAt,
  12. Timestamp? updatedAt,
  13. Timestamp? privateKeyGeneratedAt,
  14. Timestamp? privateKeySecuredAt,
  15. bool? privateKeySecured,
  16. String? mongoUrl,
  17. String? s3Url,
  18. bool? kubernetesConfigured,
  19. bool? soteriaRootPasswordConfigured,
  20. bool? soteriaDatabaseConfigured,
  21. bool? soteriaStorageConfigured,
  22. bool? heraNamespaceConfigured,
  23. String? region,
})

Implementation

factory Project({
  $core.String? id,
  $core.String? organizationId,
  $core.String? ownerId,
  $core.String? name,
  $core.String? privateKey,
  $core.String? logo,
  $core.String? organizationName,
  $core.String? partnerId,
  ProjectState? state,
  $core.String? ownerEmail,
  $core.String? apiUrl,
  $3.Timestamp? createdAt,
  $3.Timestamp? updatedAt,
  $3.Timestamp? privateKeyGeneratedAt,
  $3.Timestamp? privateKeySecuredAt,
  $core.bool? privateKeySecured,
  $core.String? mongoUrl,
  $core.String? s3Url,
  $core.bool? kubernetesConfigured,
  $core.bool? soteriaRootPasswordConfigured,
  $core.bool? soteriaDatabaseConfigured,
  $core.bool? soteriaStorageConfigured,
  $core.bool? heraNamespaceConfigured,
  $core.String? region,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (organizationId != null) {
    _result.organizationId = organizationId;
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (name != null) {
    _result.name = name;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (logo != null) {
    _result.logo = logo;
  }
  if (organizationName != null) {
    _result.organizationName = organizationName;
  }
  if (partnerId != null) {
    _result.partnerId = partnerId;
  }
  if (state != null) {
    _result.state = state;
  }
  if (ownerEmail != null) {
    _result.ownerEmail = ownerEmail;
  }
  if (apiUrl != null) {
    _result.apiUrl = apiUrl;
  }
  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 (privateKeySecured != null) {
    _result.privateKeySecured = privateKeySecured;
  }
  if (mongoUrl != null) {
    _result.mongoUrl = mongoUrl;
  }
  if (s3Url != null) {
    _result.s3Url = s3Url;
  }
  if (kubernetesConfigured != null) {
    _result.kubernetesConfigured = kubernetesConfigured;
  }
  if (soteriaRootPasswordConfigured != null) {
    _result.soteriaRootPasswordConfigured = soteriaRootPasswordConfigured;
  }
  if (soteriaDatabaseConfigured != null) {
    _result.soteriaDatabaseConfigured = soteriaDatabaseConfigured;
  }
  if (soteriaStorageConfigured != null) {
    _result.soteriaStorageConfigured = soteriaStorageConfigured;
  }
  if (heraNamespaceConfigured != null) {
    _result.heraNamespaceConfigured = heraNamespaceConfigured;
  }
  if (region != null) {
    _result.region = region;
  }
  return _result;
}