-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathVolume.cs
More file actions
101 lines (91 loc) · 3.78 KB
/
Copy pathVolume.cs
File metadata and controls
101 lines (91 loc) · 3.78 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
namespace net.openstack.Core.Domain
{
using System;
using System.Collections.Generic;
using net.openstack.Core.Providers;
using Newtonsoft.Json;
/// <summary>
/// Represents a volume in a block storage provider.
/// </summary>
/// <seealso cref="IBlockStorageProvider"/>
/// <threadsafety static="true" instance="false"/>
[JsonObject(MemberSerialization.OptIn)]
public class Volume : ExtensibleJsonObject
{
/// <summary>
/// Gets the unique identifier for the volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("id")]
public string Id { get; private set; }
/// <summary>
/// Gets the "display_name" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
/// <remarks>
/// <note>
/// This property is a Rackspace-specific extension to the OpenStack Block Storage Service.
/// </note>
/// </remarks>
[JsonProperty("display_name")]
public string DisplayName { get; private set; }
/// <summary>
/// Gets the "display_description" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
/// <remarks>
/// <note>
/// This property is a Rackspace-specific extension to the OpenStack Block Storage Service.
/// </note>
/// </remarks>
[JsonProperty("display_description")]
public string DisplayDescription { get; private set; }
/// <summary>
/// Gets the "size" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("size")]
public int Size { get; private set; }
/// <summary>
/// Gets the "volume_type" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("volume_type")]
public string VolumeType { get; private set; }
/// <summary>
/// Gets the "snapshot_id" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
/// <seealso cref="Snapshot.Id"/>
[JsonProperty("snapshot_id")]
public string SnapshotId { get; private set; }
/// <summary>
/// Gets the "attachments" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("attachments")]
public Dictionary<string, string>[] Attachments { get; private set; }
/// <summary>
/// Gets the "status" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("status")]
public VolumeState Status
{
get;
private set;
}
/// <summary>
/// Gets the "availability_zone" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("availability_zone")]
public string AvailabilityZone { get; private set; }
/// <summary>
/// Gets the "created_at" property of this volume.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("created_at")]
public DateTimeOffset CreatedAt { get; private set; }
}
}