Class ObjectDetails
Namespace: Autodesk.Oss.Model
Assembly: Autodesk.Oss.dll
Represents an object within a bucket.
[DataContract]
public class ObjectDetails
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
ObjectDetails()
Initializes a new instance of the
public ObjectDetails()
Properties
BucketKey
The bucket key of the bucket that contains the object.
[DataMember(Name = "bucketKey", EmitDefaultValue = false)]
public string BucketKey { get; set; }
Property Value
ContentType
The format of the data stored within the object, expressed as a MIME type.
[DataMember(Name = "contentType", EmitDefaultValue = false)]
public string ContentType { get; set; }
Property Value
Location
A URL that points to the actual location of the object.
[DataMember(Name = "location", EmitDefaultValue = false)]
public string Location { get; set; }
Property Value
ObjectId
An identifier (URN) that uniquely and persistently identifies the object.
[DataMember(Name = "objectId", EmitDefaultValue = false)]
public string ObjectId { get; set; }
Property Value
ObjectKey
A URL-encoded human friendly name to identify the object.
[DataMember(Name = "objectKey", EmitDefaultValue = false)]
public string ObjectKey { get; set; }
Property Value
Sha1
A hash value computed from the data of the object.
[DataMember(Name = "sha1", EmitDefaultValue = false)]
public byte[] Sha1 { get; set; }
Property Value
byte []
Size
The total amount of storage space occupied by the object, in bytes.
[DataMember(Name = "size", EmitDefaultValue = false)]
public int? Size { get; set; }
Property Value
int ?
Methods
ToString()
Returns the string presentation of the object.
public override string ToString()
Returns
String presentation of the object.