File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed
include/alibabacloud/models Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1+ 2025-11-18 Version: 6.0.0
2+ - Update API AddImage: update request parameters body.Size' format has changed.
3+ - Update API GetImage: update response parameters Body.Size' format has changed.
4+ - Update API ListImages: update response parameters Body.Images.$.Size' format has changed.
5+
6+
172025-11-06 Version: 5.1.0
28- Support API CreateImageBuild.
39
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ namespace Models
9999 // size Field Functions
100100 bool hasSize () const { return this ->size_ != nullptr ;};
101101 void deleteSize () { this ->size_ = nullptr ;};
102- inline int32_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0 ) };
103- inline AddImageRequest& setSize (int32_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
102+ inline int64_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0L ) };
103+ inline AddImageRequest& setSize (int64_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
104104
105105
106106 // sourceId Field Functions
@@ -168,7 +168,7 @@ namespace Models
168168 // This parameter is required.
169169 std::shared_ptr<string> name_ = nullptr ;
170170 // The size of the image. Unit: GB.
171- std::shared_ptr<int32_t > size_ = nullptr ;
171+ std::shared_ptr<int64_t > size_ = nullptr ;
172172 std::shared_ptr<string> sourceId_ = nullptr ;
173173 std::shared_ptr<string> sourceType_ = nullptr ;
174174 // The workspace ID. You can call [ListWorkspaces](https://help.aliyun.com/document_detail/449124.html) to obtain the workspace ID.
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ namespace Models
129129 // size Field Functions
130130 bool hasSize () const { return this ->size_ != nullptr ;};
131131 void deleteSize () { this ->size_ = nullptr ;};
132- inline int32_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0 ) };
133- inline GetImageResponseBody& setSize (int32_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
132+ inline int64_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0L ) };
133+ inline GetImageResponseBody& setSize (int64_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
134134
135135
136136 // sourceId Field Functions
@@ -184,7 +184,7 @@ namespace Models
184184 // The request ID.
185185 std::shared_ptr<string> requestId_ = nullptr ;
186186 // The size of the image. Unit: GB.
187- std::shared_ptr<int32_t > size_ = nullptr ;
187+ std::shared_ptr<int64_t > size_ = nullptr ;
188188 // 镜像来源 ID
189189 std::shared_ptr<string> sourceId_ = nullptr ;
190190 // 镜像来源类型
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ namespace Models
129129 // size Field Functions
130130 bool hasSize () const { return this ->size_ != nullptr ;};
131131 void deleteSize () { this ->size_ = nullptr ;};
132- inline int32_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0 ) };
133- inline ListImagesResponseBodyImages& setSize (int32_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
132+ inline int64_t size () const { DARABONBA_PTR_GET_DEFAULT (size_, 0L ) };
133+ inline ListImagesResponseBodyImages& setSize (int64_t size) { DARABONBA_PTR_SET_VALUE (size_, size) };
134134
135135
136136 // sourceId Field Functions
@@ -184,7 +184,7 @@ namespace Models
184184 // The ID of the Alibaba Cloud account.
185185 std::shared_ptr<string> parentUserId_ = nullptr ;
186186 // The image size. Unit: GB.
187- std::shared_ptr<int32_t > size_ = nullptr ;
187+ std::shared_ptr<int64_t > size_ = nullptr ;
188188 // 镜像来源 ID
189189 std::shared_ptr<string> sourceId_ = nullptr ;
190190 // 镜像来源类型
You can’t perform that action at this time.
0 commit comments