Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit e49b818

Browse files
authored
Update id fields to use long (#76)
1 parent e255d7a commit e49b818

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

DigitalOcean.API/Models/Responses/Action.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class Action {
99
/// <summary>
1010
/// A unique numeric ID that can be used to identify and reference an action.
1111
/// </summary>
12-
public int Id { get; set; }
12+
public long Id { get; set; }
1313

1414
/// <summary>
1515
/// The current status of the action. This can be "in-progress", "completed", or "errored".

DigitalOcean.API/Models/Responses/DomainRecord.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ public class DomainRecord {
33
/// <summary>
44
/// The unique id for the individual record.
55
/// </summary>
6-
public int Id { get; set; }
6+
public long Id { get; set; }
77

88
/// <summary>
99
/// The DNS record type (A, MX, CNAME, etc).

DigitalOcean.API/Models/Responses/Droplet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class Droplet {
66
/// <summary>
77
/// A unique identifier for each Droplet instance.
88
/// </summary>
9-
public int Id { get; set; }
9+
public long Id { get; set; }
1010

1111
/// <summary>
1212
/// The human-readable name set for the Droplet instance.

DigitalOcean.API/Models/Responses/DropletUpgrade.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class DropletUpgrade {
55
/// <summary>
66
/// The affected droplet's ID
77
/// </summary>
8-
public int DropletId { get; set; }
8+
public long DropletId { get; set; }
99

1010
/// <summary>
1111
/// A time value given in ISO8601 combined date and time format that represents when the migration will occur for the droplet.

DigitalOcean.API/Models/Responses/Image.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class Image {
66
/// <summary>
77
/// A unique number that can be used to identify and reference a specific image.
88
/// </summary>
9-
public int Id { get; set; }
9+
public long Id { get; set; }
1010

1111
/// <summary>
1212
/// The display name that has been given to an image. This is what is shown in the control panel and is generally a

DigitalOcean.API/Models/Responses/Kernel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ public class Kernel {
33
/// <summary>
44
/// A unique number used to identify and reference a specific kernel.
55
/// </summary>
6-
public int Id { get; set; }
6+
public long Id { get; set; }
77

88
/// <summary>
99
/// The display name of the kernel. This is shown in the web UI and is generally a descriptive title for the kernel in

DigitalOcean.API/Models/Responses/Key.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public class Key {
44
/// This is a unique identification number for the key. This can be used to reference a specific SSH key when you wish to
55
/// embed a key into a Droplet.
66
/// </summary>
7-
public int Id { get; set; }
7+
public long Id { get; set; }
88

99
/// <summary>
1010
/// This is the human-readable display name for the given SSH key. This is used to easily identify the SSH keys when they

DigitalOcean.API/Models/Responses/PendingChange.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ public class PendingChange {
33
/// <summary>
44
/// The id of the Droplet that will be updated.
55
/// </summary>
6-
public int DropletId { get; set; }
6+
public long DropletId { get; set; }
77

88
/// <summary>
99
/// Whether this Firewall is being removed or not.

DigitalOcean.API/Models/Responses/Project.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class Project {
1919
/// <summary>
2020
/// The integer id of the project owner.
2121
/// </summary>
22-
public int OwnerId { get; set; }
22+
public long OwnerId { get; set; }
2323

2424
/// <summary>
2525
/// The human-readable name for the project. The maximum length is 175 characters and the name must be unique.

0 commit comments

Comments
 (0)