Request

Response

    Class DownloadResults

    Namespace: Autodesk.Oss.Model
    Assembly: Autodesk.Oss.dll

    An object that represents the response to a Batch Generate Signed S3 Download URLs operation. Note: objectKeyN is a placeholder for the first object key for which the client requested a download signed URL. The attributes within contain the success data / error information for the request for that object. results will contain one such attribute for each requested object in the batch.

    [DataContract]
    public class DownloadResults
    

    Inheritance

    object DownloadResults

    Inherited Members

    object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

    Constructors

    DownloadResults()

    Initializes a new instance of the class.

    public DownloadResults()
    

    Properties

    Params

    The values that were requested for the following parameters when requesting the S3 signed URL.

    • Content-Type
    • Content-Disposition
    • Cache-Control.
    [DataMember(Name = "params", EmitDefaultValue = false)]
    public object Params { get; set; }
    

    Property Value

    object

    Sha1

    A hash value computed from the data of the object, if available.

    [DataMember(Name = "sha1", EmitDefaultValue = false)]
    public string Sha1 { get; set; }
    

    Property Value

    string

    Size

    The total amount of storage space occupied by the object, in bytes.

    [DataMember(Name = "size", EmitDefaultValue = false)]
    public long? Size { get; set; }
    

    Property Value

    long ?

    Status

    Gets or Sets Status

    [DataMember(Name = "status", EmitDefaultValue = true)]
    public DownloadStatus Status { get; set; }
    

    Property Value

    DownloadStatus

    Url

    A S3 signed URL with which to download the object. This attribute is returned when status is complete or fallback; in the latter case, this will return an OSS signed URL, not an S3 signed URL.

    [DataMember(Name = "url", EmitDefaultValue = false)]
    public string Url { get; set; }
    

    Property Value

    string

    Urls

    A map of S3 signed URLs, one for each chunk of an unmerged resumable upload. This attribute is returned when status is chunked. The key of each entry is the byte range of the total file which the chunk comprises.

    [DataMember(Name = "urls", EmitDefaultValue = false)]
    public object Urls { get; set; }
    

    Property Value

    object

    Methods

    ToString()

    Returns the string presentation of the object.

    public override string ToString()
    

    Returns

    string

    String presentation of the object.