Request

Response

    Class Signeds3downloadResponse

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

    An object representing the response payload on successful execution of a Generate Signed S3 Download URL operation.

    [DataContract]
    public class Signeds3downloadResponse
    

    Inheritance

    object ← Signeds3downloadResponse

    Inherited Members

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

    Constructors

    Signeds3downloadResponse()

    Initializes a new instance of the class.

    public Signeds3downloadResponse()
    

    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.