Class VersionAttributes
Namespace: Autodesk.DataManagement.Model
Assembly: Autodesk.DataManagement.dll
The properties of a version.
[DataContract]
public class VersionAttributes
Inheritance
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
public VersionAttributes()
Properties
CreateTime
The time that the resource was created at.
[DataMember(Name = "createTime", EmitDefaultValue = false)]
public DateTime CreateTime { get; set; }
Property Value
CreateUserId
The ID of the user that created the version.
[DataMember(Name = "createUserId", EmitDefaultValue = false)]
public string CreateUserId { get; set; }
Property Value
CreateUserName
The user name of the user that created the version.
[DataMember(Name = "createUserName", EmitDefaultValue = false)]
public string CreateUserName { get; set; }
Property Value
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
Extension
Gets or Sets Extension
[DataMember(Name = "extension", EmitDefaultValue = false)]
public VersionExtensionWithSchemaLink Extension { get; set; }
Property Value
FileType
File type, only present if this version represents a file.
[DataMember(Name = "fileType", EmitDefaultValue = false)]
public string FileType { get; set; }
Property Value
LastModifiedTime
The time that the version was last modified.
[DataMember(Name = "lastModifiedTime", EmitDefaultValue = false)]
public DateTime LastModifiedTime { get; set; }
Property Value
LastModifiedUserId
The ID of the user that last modified the version.
[DataMember(Name = "lastModifiedUserId", EmitDefaultValue = false)]
public string LastModifiedUserId { get; set; }
Property Value
LastModifiedUserName
The user name of the user that last modified the version.
[DataMember(Name = "lastModifiedUserName", EmitDefaultValue = false)]
public string LastModifiedUserName { get; set; }
Property Value
MimeType
The MIME type of the content of the version.
[DataMember(Name = "mimeType", EmitDefaultValue = false)]
public string MimeType { get; set; }
Property Value
Name
The file name to be used when synced to local disk.
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
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
VersionNumber
Version number of this versioned file.
[DataMember(Name = "versionNumber", EmitDefaultValue = false)]
public int VersionNumber { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object.
public override string ToString()
Returns
String presentation of the object.