-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathContainer.cs
More file actions
49 lines (46 loc) · 3.7 KB
/
Copy pathContainer.cs
File metadata and controls
49 lines (46 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
namespace net.openstack.Core.Domain
{
using net.openstack.Core.Providers;
using Newtonsoft.Json;
/// <summary>
/// Represents the detailed information for a container stored in an Object Storage Provider.
/// </summary>
/// <seealso cref="IObjectStorageProvider"/>
/// <seealso href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showAccountDetails_v1__account__storage_account_services.html">Show account details and list containers (OpenStack Object Storage API v1 Reference)</seealso>
/// <seealso href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/GET_listcontainers_v1__account__accountServicesOperations_d1e000.html">Show Account Details and List Containers (Rackspace Cloud Files Developer Guide - API v1)</seealso>
/// <threadsafety static="true" instance="false"/>
[JsonObject(MemberSerialization.OptIn)]
public class Container : ExtensibleJsonObject
{
/// <summary>
/// Gets the name of the container.
/// <note type="warning">The value of this property is not defined by OpenStack, and may not be consistent across vendors.</note>
/// </summary>
/// <seealso href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showAccountDetails_v1__account__storage_account_services.html">Show account details and list containers (OpenStack Object Storage API v1 Reference)</seealso>
/// <seealso href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/GET_listcontainers_v1__account__accountServicesOperations_d1e000.html">Show Account Details and List Containers (Rackspace Cloud Files Developer Guide - API v1)</seealso>
[JsonProperty("name")]
public string Name { get; private set; }
/// <summary>
/// Gets the number of objects in the container.
/// <note type="warning">The value of this property is not defined by OpenStack, and may not be consistent across vendors.</note>
/// </summary>
/// <remarks>
/// This field is <see href="http://en.wikipedia.org/wiki/Eventual_consistency">eventually consistent</see>.
/// </remarks>
/// <seealso href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showAccountDetails_v1__account__storage_account_services.html">Show account details and list containers (OpenStack Object Storage API v1 Reference)</seealso>
/// <seealso href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/GET_listcontainers_v1__account__accountServicesOperations_d1e000.html">Show Account Details and List Containers (Rackspace Cloud Files Developer Guide - API v1)</seealso>
[JsonProperty("count")]
public int Count { get; private set; }
/// <summary>
/// Gets the total space utilized by the objects in this container.
/// <note type="warning">The value of this property is not defined by OpenStack, and may not be consistent across vendors.</note>
/// </summary>
/// <remarks>
/// This field is <see href="http://en.wikipedia.org/wiki/Eventual_consistency">eventually consistent</see>.
/// </remarks>
/// <seealso href="http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showAccountDetails_v1__account__storage_account_services.html">Show account details and list containers (OpenStack Object Storage API v1 Reference)</seealso>
/// <seealso href="http://docs.rackspace.com/files/api/v1/cf-devguide/content/GET_listcontainers_v1__account__accountServicesOperations_d1e000.html">Show Account Details and List Containers (Rackspace Cloud Files Developer Guide - API v1)</seealso>
[JsonProperty("bytes")]
public long Bytes { get; private set; }
}
}