-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathSnapshot.cs
More file actions
69 lines (62 loc) · 2.47 KB
/
Copy pathSnapshot.cs
File metadata and controls
69 lines (62 loc) · 2.47 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
namespace net.openstack.Core.Domain
{
using System;
using net.openstack.Core.Providers;
using Newtonsoft.Json;
/// <summary>
/// This models the basic JSON description of a snapshot.
/// </summary>
/// <seealso cref="IBlockStorageProvider.ListSnapshots"/>
/// <threadsafety static="true" instance="false"/>
[JsonObject(MemberSerialization.OptIn)]
public class Snapshot : ExtensibleJsonObject
{
/// <summary>
/// Gets the unique identifier for the snapshot.
/// <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 name of the snapshot.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("display_name")]
public string DisplayName { get; private set; }
/// <summary>
/// Gets the description of the snapshot.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("display_description")]
public string DisplayDescription { get; private set; }
/// <summary>
/// Gets the ID of the volume this snapshot was taken from.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
/// <seealso cref="Volume.Id"/>
[JsonProperty("volume_id")]
public string VolumeId { get; private set; }
/// <summary>
/// Gets the status of the snapshot.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("status")]
public SnapshotState Status
{
get;
private set;
}
/// <summary>
/// Gets the "size" property of the snapshot.
/// <note type="warning">The value of this property is not defined. Do not use.</note>
/// </summary>
[JsonProperty("size")]
public string Size { get; private set; }
/// <summary>
/// Gets the "created_at" property of the snapshot.
/// <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; }
}
}