Request

Response

    Class CreateSignedResource

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

    The request payload for a Generate OSS Signed URL operation.

    [DataContract]
    public class CreateSignedResource
    

    Inheritance

    object CreateSignedResource

    Inherited Members

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

    Constructors

    CreateSignedResource()

    Initializes a new instance of the class.

    public CreateSignedResource()
    

    Properties

    MinutesExpiration

    The time window (in minutes) the signed URL will remain usable. Acceptable values = 1-60 minutes. Default = 2 minutes.

    Tip: Use the smallest possible time window to minimize exposure of the signed URL.

    [DataMember(Name = "minutesExpiration", EmitDefaultValue = false)]
    public int? MinutesExpiration { get; set; }
    

    Property Value

    int ?

    SingleUse

    true : The signed URL will expire immediately after use. For example, when downloading an object, URL will expire once the download is complete.

    false : (Default) The signed URL will remain usable for the entire time window specified by minutesExpiration.

    [DataMember(Name = "singleUse", EmitDefaultValue = false)]
    public bool? SingleUse { get; set; }
    

    Property Value

    bool ?

    Methods

    ToString()

    Returns the string presentation of the object.

    public override string ToString()
    

    Returns

    string

    String presentation of the object.