Class StorageObjectMetadata
Inheritance
StorageObjectMetadata
Assembly: Monai.Deploy.InformaticsGateway.Api.dll
public class StorageObjectMetadata
Constructors
|
Improve this Doc
View Source
Declaration
public StorageObjectMetadata(string fileExtension)
Parameters
Type |
Name |
Description |
String |
fileExtension |
|
Properties
|
Improve this Doc
View Source
ContentType
Gets or sets the content type of the file.
Declaration
[JsonPropertyName("contentType")]
public string ContentType { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the data stream.
Declaration
[JsonIgnore]
public Stream Data { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
[JsonPropertyName("dateMoved")]
[JsonInclude]
public DateTime DateMoved { get; }
Property Value
|
Improve this Doc
View Source
Gets or set the date time file was uploaded.
Declaration
[JsonPropertyName("dateUploaded")]
public DateTime? DateUploaded { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
|
Improve this Doc
View Source
Declaration
[JsonPropertyName("destinationFolderOverride")]
public bool DestinationFolderOverride { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
[JsonPropertyName("fileExtension")]
public string FileExtension { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
[JsonPropertyName("isMoveCompleted")]
[JsonInclude]
public bool IsMoveCompleted { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets whether the file is uploaded to the temporary bucket.
Declaration
[JsonPropertyName("isUploaded")]
[JsonInclude]
public bool IsUploaded { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets whether upload failed.
Declaration
[JsonPropertyName("isUploadFailed")]
[JsonInclude]
public bool IsUploadFailed { get; }
Property Value
|
Improve this Doc
View Source
Declaration
[JsonPropertyName("payloadBucketName")]
[JsonInclude]
public string PayloadBucketName { get; }
Property Value
|
Improve this Doc
View Source
Gets the temporary bucket used for storing the file.
Declaration
[JsonPropertyName("temporaryBucketName")]
[JsonInclude]
public string TemporaryBucketName { get; }
Property Value
|
Improve this Doc
View Source
Gets or sets the temporary path before file is assembled into a payload.
Declaration
[JsonPropertyName("temporaryPath")]
public string TemporaryPath { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the path the file is stored within the payload directory.
Declaration
[JsonPropertyName("uploadPath")]
public string UploadPath { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public string GetPayloadPath(Guid payloadId)
Parameters
Type |
Name |
Description |
Guid |
payloadId |
|
Returns
|
Improve this Doc
View Source
Declaration
public string GetTempStoragPath(string rootPath)
Parameters
Type |
Name |
Description |
String |
rootPath |
|
Returns
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public void SetMoved(string bucketName)
Parameters
Type |
Name |
Description |
String |
bucketName |
|
|
Improve this Doc
View Source
Declaration
public void SetUploaded(string bucketName)
Parameters
Type |
Name |
Description |
String |
bucketName |
|