Skip to content

Commit 3813fc0

Browse files
authored
feat(spec): updated the sdk as per the api spec released on 2024-11-13 (#59)
Signed-off-by: Ujjwal Kumar <[email protected]>
1 parent dee4cb3 commit 3813fc0

File tree

773 files changed

+23520
-11696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

773 files changed

+23520
-11696
lines changed

modules/examples/src/main/java/com/ibm/cloud/is/vpc/v1/VPCExamples.java

+603-3
Large diffs are not rendered by default.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/Vpc.java

+983-4
Large diffs are not rendered by default.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/AddressPrefixCollection.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public class AddressPrefixCollection extends GenericModel {
2525

2626
@SerializedName("address_prefixes")
2727
protected List<AddressPrefix> addressPrefixes;
28-
protected AddressPrefixCollectionFirst first;
28+
protected PageLink first;
2929
protected Long limit;
30-
protected AddressPrefixCollectionNext next;
30+
protected PageLink next;
3131
@SerializedName("total_count")
3232
protected Long totalCount;
3333

@@ -51,7 +51,7 @@ public List<AddressPrefix> getAddressPrefixes() {
5151
*
5252
* @return the first
5353
*/
54-
public AddressPrefixCollectionFirst getFirst() {
54+
public PageLink getFirst() {
5555
return first;
5656
}
5757

@@ -74,7 +74,7 @@ public Long getLimit() {
7474
*
7575
* @return the next
7676
*/
77-
public AddressPrefixCollectionNext getNext() {
77+
public PageLink getNext() {
7878
return next;
7979
}
8080

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyCollection.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public class BackupPolicyCollection extends GenericModel {
2525

2626
@SerializedName("backup_policies")
2727
protected List<BackupPolicy> backupPolicies;
28-
protected BackupPolicyCollectionFirst first;
28+
protected PageLink first;
2929
protected Long limit;
30-
protected BackupPolicyCollectionNext next;
30+
protected PageLink next;
3131
@SerializedName("total_count")
3232
protected Long totalCount;
3333

@@ -51,7 +51,7 @@ public List<BackupPolicy> getBackupPolicies() {
5151
*
5252
* @return the first
5353
*/
54-
public BackupPolicyCollectionFirst getFirst() {
54+
public PageLink getFirst() {
5555
return first;
5656
}
5757

@@ -74,7 +74,7 @@ public Long getLimit() {
7474
*
7575
* @return the next
7676
*/
77-
public BackupPolicyCollectionNext getNext() {
77+
public PageLink getNext() {
7878
return next;
7979
}
8080

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyCollectionFirst.java

-38
This file was deleted.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyCollectionNext.java

-38
This file was deleted.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyJobCollection.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
*/
2424
public class BackupPolicyJobCollection extends GenericModel {
2525

26-
protected BackupPolicyJobCollectionFirst first;
26+
protected PageLink first;
2727
protected List<BackupPolicyJob> jobs;
2828
protected Long limit;
29-
protected BackupPolicyJobCollectionNext next;
29+
protected PageLink next;
3030
@SerializedName("total_count")
3131
protected Long totalCount;
3232

@@ -39,7 +39,7 @@ protected BackupPolicyJobCollection() { }
3939
*
4040
* @return the first
4141
*/
42-
public BackupPolicyJobCollectionFirst getFirst() {
42+
public PageLink getFirst() {
4343
return first;
4444
}
4545

@@ -73,7 +73,7 @@ public Long getLimit() {
7373
*
7474
* @return the next
7575
*/
76-
public BackupPolicyJobCollectionNext getNext() {
76+
public PageLink getNext() {
7777
return next;
7878
}
7979

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyJobCollectionNext.java

-38
This file was deleted.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyPlanCollection.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
*/
2424
public class BackupPolicyPlanCollection extends GenericModel {
2525

26-
protected BackupPolicyPlanCollectionFirst first;
26+
protected PageLink first;
2727
protected Long limit;
28-
protected BackupPolicyPlanCollectionNext next;
28+
protected PageLink next;
2929
protected List<BackupPolicyPlan> plans;
3030
@SerializedName("total_count")
3131
protected Long totalCount;
@@ -39,7 +39,7 @@ protected BackupPolicyPlanCollection() { }
3939
*
4040
* @return the first
4141
*/
42-
public BackupPolicyPlanCollectionFirst getFirst() {
42+
public PageLink getFirst() {
4343
return first;
4444
}
4545

@@ -62,7 +62,7 @@ public Long getLimit() {
6262
*
6363
* @return the next
6464
*/
65-
public BackupPolicyPlanCollectionNext getNext() {
65+
public PageLink getNext() {
6666
return next;
6767
}
6868

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyPlanCollectionFirst.java

-38
This file was deleted.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BackupPolicyPlanCollectionNext.java

-38
This file was deleted.

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BareMetalServerCollection.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public class BareMetalServerCollection extends GenericModel {
2525

2626
@SerializedName("bare_metal_servers")
2727
protected List<BareMetalServer> bareMetalServers;
28-
protected BareMetalServerCollectionFirst first;
28+
protected PageLink first;
2929
protected Long limit;
30-
protected BareMetalServerCollectionNext next;
30+
protected PageLink next;
3131
@SerializedName("total_count")
3232
protected Long totalCount;
3333

@@ -51,7 +51,7 @@ public List<BareMetalServer> getBareMetalServers() {
5151
*
5252
* @return the first
5353
*/
54-
public BareMetalServerCollectionFirst getFirst() {
54+
public PageLink getFirst() {
5555
return first;
5656
}
5757

@@ -74,7 +74,7 @@ public Long getLimit() {
7474
*
7575
* @return the next
7676
*/
77-
public BareMetalServerCollectionNext getNext() {
77+
public PageLink getNext() {
7878
return next;
7979
}
8080

modules/vpc/src/main/java/com/ibm/cloud/is/vpc/v1/model/BareMetalServerCollectionFirst.java

-38
This file was deleted.

0 commit comments

Comments
 (0)