@@ -1247,7 +1247,7 @@ type setSnapshotResponse struct {
12471247type GetServerTypesAvailabilityRequest struct {
12481248 Zone scw.Zone `json:"-"`
12491249
1250- PerPage * int32 `json:"-"`
1250+ PerPage * uint32 `json:"-"`
12511251
12521252 Page * int32 `json:"-"`
12531253}
@@ -1295,7 +1295,7 @@ func (s *API) GetServerTypesAvailability(req *GetServerTypesAvailabilityRequest,
12951295type ListServersTypesRequest struct {
12961296 Zone scw.Zone `json:"-"`
12971297
1298- PerPage * int32 `json:"-"`
1298+ PerPage * uint32 `json:"-"`
12991299
13001300 Page * int32 `json:"-"`
13011301}
@@ -1345,7 +1345,7 @@ type ListServersRequest struct {
13451345 // PerPage a positive integer lower or equal to 100 to select the number of items to display
13461346 //
13471347 // Default value: 20
1348- PerPage * int32 `json:"-"`
1348+ PerPage * uint32 `json:"-"`
13491349 // Page a positive integer to choose the page to display
13501350 Page * int32 `json:"-"`
13511351 // Organization list only servers of this organization
@@ -1915,7 +1915,7 @@ type ListImagesRequest struct {
19151915
19161916 Organization * string `json:"-"`
19171917
1918- PerPage * int32 `json:"-"`
1918+ PerPage * uint32 `json:"-"`
19191919
19201920 Page * int32 `json:"-"`
19211921
@@ -2211,7 +2211,7 @@ type ListSnapshotsRequest struct {
22112211
22122212 Organization * string `json:"-"`
22132213
2214- PerPage * int32 `json:"-"`
2214+ PerPage * uint32 `json:"-"`
22152215
22162216 Page * int32 `json:"-"`
22172217
@@ -2487,7 +2487,7 @@ type ListVolumesRequest struct {
24872487 // PerPage a positive integer lower or equal to 100 to select the number of items to display
24882488 //
24892489 // Default value: 20
2490- PerPage * int32 `json:"-"`
2490+ PerPage * uint32 `json:"-"`
24912491 // Page a positive integer to choose the page to display
24922492 Page * int32 `json:"-"`
24932493 // Organization display volumes of this organization
@@ -2715,7 +2715,7 @@ type ListSecurityGroupsRequest struct {
27152715
27162716 Organization * string `json:"-"`
27172717
2718- PerPage * int32 `json:"-"`
2718+ PerPage * uint32 `json:"-"`
27192719
27202720 Page * int32 `json:"-"`
27212721
@@ -3005,7 +3005,7 @@ type ListSecurityGroupRulesRequest struct {
30053005
30063006 SecurityGroupID string `json:"-"`
30073007
3008- PerPage * int32 `json:"-"`
3008+ PerPage * uint32 `json:"-"`
30093009
30103010 Page * int32 `json:"-"`
30113011}
@@ -3304,7 +3304,7 @@ type ListComputeClustersRequest struct {
33043304 // PerPage a positive integer lower or equal to 100 to select the number of items to display
33053305 //
33063306 // Default value: 20
3307- PerPage * int32 `json:"-"`
3307+ PerPage * uint32 `json:"-"`
33083308 // Page a positive integer to choose the page to display
33093309 Page * int32 `json:"-"`
33103310 // Organization list only compute-clusters of this organization
@@ -3812,7 +3812,7 @@ type ListIPsRequest struct {
38123812
38133813 Name * string `json:"-"`
38143814
3815- PerPage * int32 `json:"-"`
3815+ PerPage * uint32 `json:"-"`
38163816
38173817 Page * int32 `json:"-"`
38183818}
@@ -4118,7 +4118,7 @@ type ListBootscriptsRequest struct {
41184118
41194119 Public * bool `json:"-"`
41204120
4121- PerPage * int32 `json:"-"`
4121+ PerPage * uint32 `json:"-"`
41224122
41234123 Page * int32 `json:"-"`
41244124}
0 commit comments