Skip to content

Commit e414116

Browse files
authored
Merge pull request #639 from openstacknetsdk/issue-620-image-size-int64
Use Int64 for image size
2 parents 58d296d + fe3ce3f commit e414116

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/corelib/Compute/v2_1/Image.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ public Image()
4040
/// The minimum disk size in GB that is required to boot the image.
4141
/// </summary>
4242
[JsonProperty("minDisk")]
43-
public int MinimumDiskSize { get; set; }
43+
public Int64 MinimumDiskSize { get; set; }
4444

4545
/// <summary>
4646
/// The minimum amount of RAM in MB that is required to boot the image.
4747
/// </summary>
4848
[JsonProperty("minRam")]
49-
public int MinimumMemorySize { get; set; }
49+
public Int64 MinimumMemorySize { get; set; }
5050

5151
/// <summary>
5252
/// The size of the image data, in bytes.
5353
/// </summary>
5454
[JsonProperty("OS-EXT-IMG-SIZE:size")]
55-
public int? Size { get; set; }
55+
public Int64? Size { get; set; }
5656

5757
/// <summary>
5858
/// The build completion progress, as a percentage.
@@ -111,7 +111,7 @@ public ImageType Type
111111
{
112112
return WaitForStatus(ImageStatus.Active, refreshDelay, timeout, progress, cancellationToken);
113113
}
114-
114+
115115
/// <inheritdoc cref="ComputeApi.WaitUntilImageIsDeletedAsync{TImage,TStatus}" />
116116
/// <exception cref="InvalidOperationException">When this instance was not constructed by the <see cref="ComputeService"/>, as it is missing the appropriate internal state to execute service calls.</exception>
117117
public override async Task WaitUntilDeletedAsync(TimeSpan? refreshDelay = null, TimeSpan? timeout = null, IProgress<bool> progress = null, CancellationToken cancellationToken = default(CancellationToken))

0 commit comments

Comments
 (0)