Skip to content

Commit c2e966d

Browse files
committed
chore: auto update client api apecloud/apecloud@99998c7
1 parent 9ab507c commit c2e966d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.generator/schemas/adminapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22777,6 +22777,7 @@ components:
2277722777
properties:
2277822778
id:
2277922779
type: integer
22780+
format: int64
2278022781
description: Primary Key for the EngineVersionRecord
2278122782
engineName:
2278222783
type: string

apecloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit ea362eea7a526f313177b2f5abd4d010c1c64cf0
1+
Subproject commit 99998c74816c806ee46a4719d807b188471fa621

api/kbcloud/admin/model_engine_version.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// EngineVersion EngineVersionRecord
1515
type EngineVersion struct {
1616
// Primary Key for the EngineVersionRecord
17-
Id int32 `json:"id"`
17+
Id int64 `json:"id"`
1818
// Name of the engine
1919
EngineName string `json:"engineName"`
2020
// Version of the engine
@@ -44,7 +44,7 @@ type EngineVersion struct {
4444
// This constructor will assign default values to properties that have it defined,
4545
// and makes sure properties required by API are set, but the set of arguments
4646
// will change when the set of required properties is changed.
47-
func NewEngineVersion(id int32, engineName string, version string, kbVersionConstraint string, chartUrl string) *EngineVersion {
47+
func NewEngineVersion(id int64, engineName string, version string, kbVersionConstraint string, chartUrl string) *EngineVersion {
4848
this := EngineVersion{}
4949
this.Id = id
5050
this.EngineName = engineName
@@ -67,25 +67,25 @@ func NewEngineVersionWithDefaults() *EngineVersion {
6767
}
6868

6969
// GetId returns the Id field value.
70-
func (o *EngineVersion) GetId() int32 {
70+
func (o *EngineVersion) GetId() int64 {
7171
if o == nil {
72-
var ret int32
72+
var ret int64
7373
return ret
7474
}
7575
return o.Id
7676
}
7777

7878
// GetIdOk returns a tuple with the Id field value
7979
// and a boolean to check if the value has been set.
80-
func (o *EngineVersion) GetIdOk() (*int32, bool) {
80+
func (o *EngineVersion) GetIdOk() (*int64, bool) {
8181
if o == nil {
8282
return nil, false
8383
}
8484
return &o.Id, true
8585
}
8686

8787
// SetId sets field value.
88-
func (o *EngineVersion) SetId(v int32) {
88+
func (o *EngineVersion) SetId(v int64) {
8989
o.Id = v
9090
}
9191

@@ -454,7 +454,7 @@ func (o EngineVersion) MarshalJSON() ([]byte, error) {
454454
// UnmarshalJSON deserializes the given payload.
455455
func (o *EngineVersion) UnmarshalJSON(bytes []byte) (err error) {
456456
all := struct {
457-
Id *int32 `json:"id"`
457+
Id *int64 `json:"id"`
458458
EngineName *string `json:"engineName"`
459459
Version *string `json:"version"`
460460
KbVersionConstraint *string `json:"kbVersionConstraint"`

0 commit comments

Comments
 (0)