Class CcdEntryCreateByPath
CcdEntryCreateByPath model
Inherited Members
Namespace: Unity.Services.Ccd.Management.Models
Assembly: Unity.Services.Ccd.Management.dll
Syntax
[Preserve]
[DataContract(Name = "ccd.entryCreateByPath")]
public class CcdEntryCreateByPath
Constructors
CcdEntryCreateByPath(string, long, string, List<string>, object, bool)
Creates an instance of CcdEntryCreateByPath.
Declaration
[Preserve]
public CcdEntryCreateByPath(string contentHash = null, long contentSize = 0, string contentType = null, List<string> labels = null, object metadata = null, bool signedUrl = false)
Parameters
Type | Name | Description |
---|---|---|
string | contentHash | The "content_hash" should be MD5sum hash value. |
long | contentSize | contentSize param |
string | contentType | contentType param |
List<string> | labels | labels param |
object | metadata | metadata param |
bool | signedUrl | Set to 'true' if you want to return a signed URL for direct upload. Otherwise defaults to 'false'. |
Properties
ContentHash
The "content_hash" should be MD5sum hash value.
Declaration
[Preserve]
[DataMember(Name = "content_hash", EmitDefaultValue = false)]
public string ContentHash { get; }
Property Value
Type | Description |
---|---|
string |
ContentSize
Parameter content_size of CcdEntryCreateByPath
Declaration
[Preserve]
[DataMember(Name = "content_size", EmitDefaultValue = false)]
public long ContentSize { get; }
Property Value
Type | Description |
---|---|
long |
ContentType
Parameter content_type of CcdEntryCreateByPath
Declaration
[Preserve]
[DataMember(Name = "content_type", EmitDefaultValue = false)]
public string ContentType { get; }
Property Value
Type | Description |
---|---|
string |
Labels
Parameter labels of CcdEntryCreateByPath
Declaration
[Preserve]
[DataMember(Name = "labels", EmitDefaultValue = false)]
public List<string> Labels { get; }
Property Value
Type | Description |
---|---|
List<string> |
Metadata
Parameter metadata of CcdEntryCreateByPath
Declaration
[Preserve]
[JsonConverter(typeof(JsonObjectConverter))]
[DataMember(Name = "metadata", EmitDefaultValue = false)]
public JsonObject Metadata { get; }
Property Value
Type | Description |
---|---|
JsonObject |
SignedUrl
Set to 'true' if you want to return a signed URL for direct upload. Otherwise defaults to 'false'.
Declaration
[Preserve]
[DataMember(Name = "signed_url", EmitDefaultValue = true)]
public bool SignedUrl { get; }
Property Value
Type | Description |
---|---|
bool |