Skip to content

Commit f7a8787

Browse files
committed
Update API AddImage: update request parameters body.Size' format has changed.
1 parent 944e6d7 commit f7a8787

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

aiworkspace-20210204/ChangeLog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
2025-11-06 Version: 5.1.0
28
- Support API CreateImageBuild.
39

aiworkspace-20210204/include/alibabacloud/models/AddImageRequest.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

aiworkspace-20210204/include/alibabacloud/models/GetImageResponseBody.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
// 镜像来源类型

aiworkspace-20210204/include/alibabacloud/models/ListImagesResponseBodyImages.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
// 镜像来源类型

0 commit comments

Comments
 (0)