Skip to content

Commit 1b56a8e

Browse files
authored
Fixed spelling and added missing states to response (#8248)
1 parent 1a2dbeb commit 1b56a8e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

api/src/main/java/org/apache/cloudstack/api/response/AcquireIPAddressResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public class AcquireIPAddressResponse extends BaseResponse implements Controlle
124124
private String networkId;
125125

126126
@SerializedName(ApiConstants.STATE)
127-
@Param(description = "State of the ip address. Can be: Allocatin, Allocated and Releasing")
127+
@Param(description = "State of the ip address. Can be: Allocating, Allocated and Releasing")
128128
private String state;
129129

130130
@SerializedName(ApiConstants.PHYSICAL_NETWORK_ID)

api/src/main/java/org/apache/cloudstack/api/response/IPAddressResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public class IPAddressResponse extends BaseResponseWithAnnotations implements Co
124124
private String networkId;
125125

126126
@SerializedName(ApiConstants.STATE)
127-
@Param(description = "State of the ip address. Can be: Allocatin, Allocated and Releasing")
127+
@Param(description = "State of the ip address. Can be: Allocating, Allocated, Releasing, Reserved and Free")
128128
private String state;
129129

130130
@SerializedName(ApiConstants.PHYSICAL_NETWORK_ID)

api/src/main/java/org/apache/cloudstack/api/response/PortableIpResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class PortableIpResponse extends BaseResponse {
6868
private Date allocated;
6969

7070
@SerializedName(ApiConstants.STATE)
71-
@Param(description = "State of the ip address. Can be: Allocatin, Allocated and Releasing")
71+
@Param(description = "State of the ip address. Can be: Allocating, Allocated, Releasing and Free")
7272
private String state;
7373

7474
public void setRegionId(Integer regionId) {

0 commit comments

Comments
 (0)