-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hammerbeck
committed
Feb 19, 2025
1 parent
131ad75
commit 7ee8a4c
Showing
22 changed files
with
274 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/Altinn.Broker.API/Models/FileTransferInitializeAndUploadExt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
namespace Altinn.Broker.Models; | ||
|
||
|
||
/// <summary> | ||
/// A model representing the initialization and upload of a file transfer. | ||
/// </summary> | ||
public class FileTransferInitializeAndUploadExt | ||
{ | ||
/// <summary> | ||
/// The metadata for the file transfer. | ||
/// </summary> | ||
public required FileTransferInitalizeExt Metadata { get; set; } | ||
|
||
/// <summary> | ||
/// The file to be uploaded. | ||
/// </summary> | ||
public required IFormFile FileTransfer { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Altinn.Broker.API/Models/FileTransferInitializeResponseExt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
namespace Altinn.Broker.API.Models; | ||
|
||
/// <summary> | ||
/// Represents the response from initializing a file transfer. | ||
/// </summary> | ||
public class FileTransferInitializeResponseExt | ||
{ | ||
/// <summary> | ||
/// The ID of the file transfer. | ||
/// </summary> | ||
public Guid FileTransferId { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
src/Altinn.Broker.API/Models/FileTransferStatusDetailsExt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
using Altinn.Broker.Models; | ||
|
||
namespace Altinn.Broker.Core.Models; | ||
|
||
/// <summary> | ||
/// Overview of a broker file transfer which also includes the status history of the file transfer.| | ||
/// </summary> | ||
public class FileTransferStatusDetailsExt : FileTransferOverviewExt | ||
{ | ||
/// <summary> | ||
/// The status history of the file transfer. | ||
/// </summary> | ||
public List<FileTransferStatusEventExt> FileTransferStatusHistory { get; set; } = new List<FileTransferStatusEventExt>(); | ||
|
||
/// <summary> | ||
/// The status history of the file transfer for each recipient. | ||
/// </summary> | ||
public List<RecipientFileTransferStatusEventExt> RecipientFileTransferStatusHistory { get; set; } = new List<RecipientFileTransferStatusEventExt>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Altinn.Broker.API/Models/FileTransferUploadResponseExt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
namespace Altinn.Broker.API.Models; | ||
|
||
/// <summary> | ||
/// Represents the response from uploading a file transfer. | ||
/// </summary> | ||
public class FileTransferUploadResponseExt | ||
{ | ||
/// <summary> | ||
/// The ID of the file transfer. | ||
/// </summary> | ||
public Guid FileTransferId { get; set; } | ||
} |
Oops, something went wrong.