Skip to content

Commit

Permalink
Merge pull request #77 from NaverCloudPlatform/fix/param_type
Browse files Browse the repository at this point in the history
fix(vmysql): modify type
  • Loading branch information
youngmn authored Sep 20, 2024
2 parents ed07e6e + 9c6f5f5 commit 646a314
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
38 changes: 19 additions & 19 deletions services/vmysql/cloud_mysql_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,59 +11,59 @@ package vmysql
type CloudMysqlInstance struct {

// CloudMysql인스턴스번호
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"`
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"`

// CloudMysql서비스이름
CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"`
CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"`

// CloudMysql인스턴스상태이름
CloudMysqlInstanceStatusName *string `json:"cloudMysqlInstanceStatusName,omitempty"`
CloudMysqlInstanceStatusName *string `json:"cloudMysqlInstanceStatusName,omitempty"`

// CloudMysql인스턴스상태
CloudMysqlInstanceStatus *CommonCode `json:"cloudMysqlInstanceStatus,omitempty"`
CloudMysqlInstanceStatus *CommonCode `json:"cloudMysqlInstanceStatus,omitempty"`

// CloudMysql인스턴스OP
CloudMysqlInstanceOperation *CommonCode `json:"cloudMysqlInstanceOperation,omitempty"`
CloudMysqlInstanceOperation *CommonCode `json:"cloudMysqlInstanceOperation,omitempty"`

// CloudMysql이미지상품코드
CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"`
CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"`

// CloudMysql엔진버전
EngineVersion *string `json:"engineVersion,omitempty"`
EngineVersion *string `json:"engineVersion,omitempty"`

// CloudMysql라이선스
License *CommonCode `json:"license,omitempty"`
License *CommonCode `json:"license,omitempty"`

// CloudMysql포트
CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"`
CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"`

// 고가용성여부
IsHa *bool `json:"isHa,omitempty"`
IsHa *bool `json:"isHa,omitempty"`

// 멀티존여부
IsMultiZone *bool `json:"isMultiZone,omitempty"`
IsMultiZone *bool `json:"isMultiZone,omitempty"`

// 서버 세대 코드
GenerationCode *string `json:"generationCode,omitempty"`
GenerationCode *string `json:"generationCode,omitempty"`

// 백업여부
IsBackup *bool `json:"isBackup,omitempty"`
IsBackup *bool `json:"isBackup,omitempty"`

// 백업파일보관기간
BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"`
BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"`

// 백업시간
BackupTime *string `json:"backupTime,omitempty"`
BackupTime *string `json:"backupTime,omitempty"`

// 생성일자
CreateDate *string `json:"createDate,omitempty"`
CreateDate *string `json:"createDate,omitempty"`

// ACG번호리스트
AccessControlGroupNoList *AccessControlGroupNoList `json:"accessControlGroupNoList,omitempty"`
AccessControlGroupNoList []*string `json:"accessControlGroupNoList,omitempty"`

// CloudMysqlConfig리스트
CloudMysqlConfigList *CloudMysqlConfigList `json:"cloudMysqlConfigList,omitempty"`
CloudMysqlConfigList []*string `json:"cloudMysqlConfigList,omitempty"`

// CloudMysql서버인스턴스리스트
CloudMysqlServerInstanceList []*CloudMysqlServerInstance `json:"cloudMysqlServerInstanceList,omitempty"`
CloudMysqlServerInstanceList []*CloudMysqlServerInstance `json:"cloudMysqlServerInstanceList,omitempty"`
}
11 changes: 5 additions & 6 deletions services/vmysql/get_cloud_mysql_database_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
package vmysql

type GetCloudMysqlDatabaseListResponse struct {
RequestId *string `json:"requestId,omitempty"`

RequestId *string `json:"requestId,omitempty"`
ReturnCode *string `json:"returnCode,omitempty"`

ReturnCode *string `json:"returnCode,omitempty"`
ReturnMessage *string `json:"returnMessage,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`

TotalRows *int32 `json:"totalRows,omitempty"`
TotalRows *int32 `json:"totalRows,omitempty"`

// CloudMysqlDatabase리스트
CloudMysqlInstanceList []*CloudMysqlDatabase `json:"cloudMysqlInstanceList,omitempty"`
CloudMysqlDatabaseList []*CloudMysqlDatabase `json:"cloudMysqlDatabaseList,omitempty"`
}

0 comments on commit 646a314

Please sign in to comment.