Add project files.

This commit is contained in:
Sergio Matias Urquin
2025-04-29 18:37:40 -06:00
parent ef5b7ed2ca
commit dacb004ae9
43 changed files with 1432 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.BlobStorage
{
public class DeleteBlobRequest
{
public string BlobName { get; set; } = null!;
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.BlobStorage
{
public class DownloadBlobRequest
{
public string BlobName { get; set; } = null!;
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.BlobStorage
{
public class GetBlobListRequest
{
public string? Prefix { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.BlobStorage
{
public class UploadBlobRequest
{
public string BlobName { get; set; } = null!;
public byte[] BlobContent { get; set; } = null!;
}
}

View File

@@ -0,0 +1,9 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.KeyVault
{
public class CreateSecretRequest
{
public string Name { get; set; } = null!;
public string Value { get; set; } = null!;
}
}

View File

@@ -0,0 +1,6 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.KeyVault;
public class DeleteSecretRequest
{
public string Name { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.KeyVault
{
public class GetSecretRequest
{
public string Name { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.KeyVault
{
public class UpdateSecretRequest
{
public string Name { get; set; } = null!;
public string Value { get; set; } = null!;
}
}

View File

@@ -0,0 +1,9 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.Mongo
{
public class CreateBlueprintRequest
{
public string Name { get; set; } = null!;
public string? Description { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.Mongo
{
public class DeleteBlueprintRequest
{
public string _Id { get; set; }
}
}

View File

@@ -0,0 +1,6 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.Mongo
{
public class GetAllBlueprintsRequest
{
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.Mongo
{
public class GetBlueprintRequest
{
public string _Id { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.Mongo
{
public class UpdateBlueprintRequest
{
public string Name { get; set; } = null!;
public string? Description { get; set; }
public string _Id { get; set; } = null!;
public string Id { get; init; } = null!;
public DateTime CreatedAt { get; set; }
public string? CreatedBy { get; set; }
public DateTime? UpdatedAt { get; set; }
public string? UpdatedBy { get; set; }
public StatusEnum Status { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.SQL
{
public class CreateUserProjectRequest
{
public string ProjectCode { get; set; } = null!;
public string ProjectDescription { get; set; } = null!;
public string UserId { get; set; } = null!;
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.SQL
{
public class DeleteUserProjectRequest
{
public int Id { get; set; }
}
}

View File

@@ -0,0 +1,6 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.SQL
{
public class GetAllUserProjectsRequest
{
}
}

View File

@@ -0,0 +1,7 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.SQL
{
public class GetUserProjectRequest
{
public int Id { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
namespace Core.Blueprint.External.Clients.Blueprint.Requests.SQL
{
public class UpdateUserProjectRequest
{
public string ProjectCode { get; set; } = null!;
public string ProjectDescription { get; set; } = null!;
public string UserId { get; set; } = null!;
public int Id { get; set; }
public string Guid { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public string? CreatedBy { get; set; }
public DateTime? UpdatedAt { get; set; }
public string? UpdatedBy { get; set; }
public StatusEnum Status { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
namespace Core.Blueprint.External.Clients.Blueprint.Requests
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum StatusEnum
{
Active = 0,
Inactive = 1,
Deleted = 2
}
}