Request

Response

    Autodesk.Oss.Model Namespace

    Class Bucket

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

    An object representing a bucket.

    [DataContract]
    public class Bucket
    

    Inheritance

    object ← Bucket

    Inherited Members

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

    Constructors

    Bucket()

    Initializes a new instance of the class.

    public Bucket()
    

    Properties

    BucketKey

    Bucket key: An ID that uniquely identifies the bucket.

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

    Property Value

    string

    BucketOwner

    The Client ID of the application that owns the bucket.

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

    Property Value

    string

    CreatedDate

    The time the bucket was created, represented as a Unix timestamp.

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

    Property Value

    string

    Permissions

    An array of objects, where each object represents an application that can access the bucket.

    [DataMember(Name = "permissions", EmitDefaultValue = false)]
    public List<Permission> Permissions { get; set; }
    

    Property Value

    List <Permission >

    PolicyKey

    Gets or Sets PolicyKey

    [DataMember(Name = "policyKey", EmitDefaultValue = true)]
    public PolicyKey PolicyKey { get; set; }
    

    Property Value

    PolicyKey

    Methods

    ToString()

    Returns the string presentation of the object.

    public override string ToString()
    

    Returns

    string

    String presentation of the object.