Request

Response

    Class VersionAttributes

    Namespace: Autodesk.DataManagement.Model
    Assembly: Autodesk.DataManagement.dll

    The properties of a version.

    [DataContract]
    public class VersionAttributes
    

    Inheritance

    object ← VersionAttributes

    Inherited Members

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

    Constructors

    VersionAttributes()

    Initializes a new instance of the class.

    public VersionAttributes()
    

    Properties

    CreateTime

    The time that the resource was created at.

    [DataMember(Name = "createTime", EmitDefaultValue = false)]
    public DateTime CreateTime { get; set; }
    

    Property Value

    DateTime

    CreateUserId

    The ID of the user that created the version.

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

    Property Value

    string

    CreateUserName

    The user name of the user that created the version.

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

    Property Value

    string

    DisplayName

    A human friendly name to identify the version. Note that for BIM 360 projects, this field is reserved for future releases and should not be used. Use a version’s attributes.name for the file name.

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

    Property Value

    string

    Extension

    Gets or Sets Extension

    [DataMember(Name = "extension", EmitDefaultValue = false)]
    public VersionExtensionWithSchemaLink Extension { get; set; }
    

    Property Value

    VersionExtensionWithSchemaLink

    FileType

    File type, only present if this version represents a file.

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

    Property Value

    string

    LastModifiedTime

    The time that the version was last modified.

    [DataMember(Name = "lastModifiedTime", EmitDefaultValue = false)]
    public DateTime LastModifiedTime { get; set; }
    

    Property Value

    DateTime

    LastModifiedUserId

    The ID of the user that last modified the version.

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

    Property Value

    string

    LastModifiedUserName

    The user name of the user that last modified the version.

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

    Property Value

    string

    MimeType

    The MIME type of the content of the version.

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

    Property Value

    string

    Name

    The file name to be used when synced to local disk.

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

    Property Value

    string

    StorageSize

    File size in bytes, only present if this version represents a file.

    [DataMember(Name = "storageSize", EmitDefaultValue = false)]
    public long StorageSize { get; set; }
    

    Property Value

    long

    VersionNumber

    Version number of this versioned file.

    [DataMember(Name = "versionNumber", EmitDefaultValue = false)]
    public int VersionNumber { get; set; }
    

    Property Value

    int

    Methods

    ToString()

    Returns the string presentation of the object.

    public override string ToString()
    

    Returns

    string

    String presentation of the object.