Skip to content

Commit

Permalink
release 3.1.17 source code for cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Dec 29, 2022
1 parent 094dd1f commit 1c125f3
Show file tree
Hide file tree
Showing 27 changed files with 1,230 additions and 127 deletions.
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
# 3.1.17 2022-12-29

### HuaweiCloud SDK EIP

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Add the request parameter `extendParam` to the interface `ChangeBandwidthToPeriod`
- Add the request parameter `extendParam` to the interface `ChangePublicipToPeriod`
- Changes of the interface `ListBandwidthPkg`:
- Add the response parameter `tenantId`
- Remove the response parameter `tenant_id`
- The request parameter `associate_instance_type`, `associate_instance_id` changed to required of the interface `UpdateAssociatePublicip`
- The request parameter `associate_instance_type`, `associate_instance_id` changed to required of the interface `AssociatePublicips`

### HuaweiCloud SDK IMS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Add the response parameters `sub_jobs_result`, `sub_jobs_list` to the interface `ShowJob`
- Add the response parameters `sub_jobs_result`, `sub_jobs_list` to the interface `ShowJobProgress`

### HuaweiCloud SDK VOD

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- The request parameter `name` changed to not required of the interface `UpdateTranscodeTemplate`
- Changes of the interface `UpdateTemplateGroupCollection`:
- The request parameter `collection_id` changed to required
- The request parameter `name`, `template_group_list` changed to not required

### HuaweiCloud SDK VPC

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `ListVpcs`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `CreateVpc`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `ShowVpc`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `UpdateVpc`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `ListSubnets`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `CreateSubnet`
- Add the response parameters `tenant_id`, `created_at`, `updated_at` to the interface `ShowSubnet`
- Add the response parameters `created_at`, `updated_at` to the interface `ListRouteTables`
- Add the response parameters `created_at`, `updated_at` to the interface `CreateRouteTable`
- Add the response parameters `created_at`, `updated_at` to the interface `ShowRouteTable`
- Add the response parameters `created_at`, `updated_at` to the interface `UpdateRouteTable`
- Add the response parameters `created_at`, `updated_at` to the interface `AssociateRouteTable`
- Add the response parameters `created_at`, `updated_at` to the interface `DisassociateRouteTable`

# 3.1.16 2022-12-26

### HuaweiCloud SDK VOD
Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
# 3.1.17 2022-12-29

### HuaweiCloud SDK EIP

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`ChangeBandwidthToPeriod`新增请求参数 `extendParam`
- 接口`ChangePublicipToPeriod`新增请求参数 `extendParam`
- 接口`ListBandwidthPkg`:
- 新增响应参数 `tenantId`
- 移除响应参数 `tenant_id`
- 接口`UpdateAssociatePublicip`请求参数`associate_instance_type``associate_instance_id`改为必填
- 接口`AssociatePublicips`请求参数`associate_instance_type``associate_instance_id`改为必填

### HuaweiCloud SDK IMS

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`ShowJob`新增响应参数 `sub_jobs_result``sub_jobs_list`
- 接口`ShowJobProgress`新增响应参数 `sub_jobs_result``sub_jobs_list`

### HuaweiCloud SDK VOD

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`UpdateTranscodeTemplate`请求参数`name`改为非必填
- 接口`UpdateTemplateGroupCollection`:
- 请求参数`collection_id`改为必填
- 请求参数`name``template_group_list`改为非必填

### HuaweiCloud SDK VPC

- _新增特性_
-
- _解决问题_
-
- _特性变更_
- 接口`ListVpcs`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`CreateVpc`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`ShowVpc`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`UpdateVpc`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`ListSubnets`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`CreateSubnet`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`ShowSubnet`新增响应参数 `tenant_id``created_at``updated_at`
- 接口`ListRouteTables`新增响应参数 `created_at``updated_at`
- 接口`CreateRouteTable`新增响应参数 `created_at``updated_at`
- 接口`ShowRouteTable`新增响应参数 `created_at``updated_at`
- 接口`UpdateRouteTable`新增响应参数 `created_at``updated_at`
- 接口`AssociateRouteTable`新增响应参数 `created_at``updated_at`
- 接口`DisassociateRouteTable`新增响应参数 `created_at``updated_at`

# 3.1.16 2022-12-26

### HuaweiCloud SDK VOD
Expand Down
10 changes: 5 additions & 5 deletions eip/include/huaweicloud/eip/v2/model/BwChangeToPeriodReq.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/core/utils/Object.h>
#include <huaweicloud/eip/v2/model/CreatePrePaidPublicipExtendParamOption.h>
#include <string>
#include <vector>

Expand Down Expand Up @@ -50,19 +50,19 @@ class HUAWEICLOUD_EIP_V2_EXPORT BwChangeToPeriodReq
void setBandwidthIds(const std::vector<std::string>& value);

/// <summary>
/// 按需转包周期参数
///
/// </summary>

Object getExtendParam() const;
CreatePrePaidPublicipExtendParamOption getExtendParam() const;
bool extendParamIsSet() const;
void unsetextendParam();
void setExtendParam(const Object& value);
void setExtendParam(const CreatePrePaidPublicipExtendParamOption& value);


protected:
std::vector<std::string> bandwidthIds_;
bool bandwidthIdsIsSet_;
Object extendParam_;
CreatePrePaidPublicipExtendParamOption extendParam_;
bool extendParamIsSet_;

};
Expand Down
10 changes: 5 additions & 5 deletions eip/include/huaweicloud/eip/v2/model/ChangeToPeriodReq.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/core/utils/Object.h>
#include <huaweicloud/eip/v2/model/CreatePrePaidPublicipExtendParamOption.h>
#include <string>
#include <vector>

Expand Down Expand Up @@ -50,19 +50,19 @@ class HUAWEICLOUD_EIP_V2_EXPORT ChangeToPeriodReq
void setPublicipIds(const std::vector<std::string>& value);

/// <summary>
/// 按需转包周期参数
///
/// </summary>

Object getExtendParam() const;
CreatePrePaidPublicipExtendParamOption getExtendParam() const;
bool extendParamIsSet() const;
void unsetextendParam();
void setExtendParam(const Object& value);
void setExtendParam(const CreatePrePaidPublicipExtendParamOption& value);


protected:
std::vector<std::string> publicipIds_;
bool publicipIdsIsSet_;
Object extendParam_;
CreatePrePaidPublicipExtendParamOption extendParam_;
bool extendParamIsSet_;

};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/eip/v2/model/SubJobs.h>
#include <huaweicloud/eip/v2/model/SubJobsInfo.h>
#include <string>

namespace HuaweiCloud {
Expand Down Expand Up @@ -106,10 +106,10 @@ class HUAWEICLOUD_EIP_V2_EXPORT ShowResourcesJobDetailResponse
///
/// </summary>

SubJobs getEntities() const;
SubJobsInfo getEntities() const;
bool entitiesIsSet() const;
void unsetentities();
void setEntities(const SubJobs& value);
void setEntities(const SubJobsInfo& value);


protected:
Expand All @@ -127,7 +127,7 @@ class HUAWEICLOUD_EIP_V2_EXPORT ShowResourcesJobDetailResponse
bool errorCodeIsSet_;
std::string failReason_;
bool failReasonIsSet_;
SubJobs entities_;
SubJobsInfo entities_;
bool entitiesIsSet_;

#ifdef RTTR_FLAG
Expand Down
65 changes: 65 additions & 0 deletions eip/include/huaweicloud/eip/v2/model/SubJobsInfo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

#ifndef HUAWEICLOUD_SDK_EIP_V2_MODEL_SubJobsInfo_H_
#define HUAWEICLOUD_SDK_EIP_V2_MODEL_SubJobsInfo_H_

#include <huaweicloud/eip/v2/EipExport.h>

#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/core/utils/Object.h>
#include <vector>

namespace HuaweiCloud {
namespace Sdk {
namespace Eip {
namespace V2 {
namespace Model {

using namespace HuaweiCloud::Sdk::Core::Utils;
using namespace HuaweiCloud::Sdk::Core::Http;
/// <summary>
///
/// </summary>
class HUAWEICLOUD_EIP_V2_EXPORT SubJobsInfo
: public ModelBase
{
public:
SubJobsInfo();
virtual ~SubJobsInfo();

/////////////////////////////////////////////
/// ModelBase overrides

void validate() override;

web::json::value toJson() const override;
bool fromJson(const web::json::value& json) override;

/////////////////////////////////////////////
/// SubJobsInfo members

/// <summary>
/// 子job信息,类型与主job一致
/// </summary>

std::vector<Object>& getSubJobs();
bool subJobsIsSet() const;
void unsetsubJobs();
void setSubJobs(const std::vector<Object>& value);


protected:
std::vector<Object> subJobs_;
bool subJobsIsSet_;

};


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_EIP_V2_MODEL_SubJobsInfo_H_
6 changes: 3 additions & 3 deletions eip/src/v2/model/BandwidthPkgResp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ web::json::value BandwidthPkgResp::toJson() const
val[utility::conversions::to_string_t("pkgSize")] = ModelBase::toJson(pkgSize_);
}
if(tenantIdIsSet_) {
val[utility::conversions::to_string_t("tenant_id")] = ModelBase::toJson(tenantId_);
val[utility::conversions::to_string_t("tenantId")] = ModelBase::toJson(tenantId_);
}
if(billingInfoIsSet_) {
val[utility::conversions::to_string_t("billingInfo")] = ModelBase::toJson(billingInfo_);
Expand Down Expand Up @@ -128,8 +128,8 @@ bool BandwidthPkgResp::fromJson(const web::json::value& val)
setPkgSize(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("tenant_id"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("tenant_id"));
if(val.has_field(utility::conversions::to_string_t("tenantId"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("tenantId"));
if(!fieldValue.is_null())
{
std::string refVal;
Expand Down
6 changes: 3 additions & 3 deletions eip/src/v2/model/BwChangeToPeriodReq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ bool BwChangeToPeriodReq::fromJson(const web::json::value& val)
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("extendParam"));
if(!fieldValue.is_null())
{
Object refVal;
CreatePrePaidPublicipExtendParamOption refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setExtendParam(refVal);
}
Expand Down Expand Up @@ -84,12 +84,12 @@ void BwChangeToPeriodReq::unsetbandwidthIds()
bandwidthIdsIsSet_ = false;
}

Object BwChangeToPeriodReq::getExtendParam() const
CreatePrePaidPublicipExtendParamOption BwChangeToPeriodReq::getExtendParam() const
{
return extendParam_;
}

void BwChangeToPeriodReq::setExtendParam(const Object& value)
void BwChangeToPeriodReq::setExtendParam(const CreatePrePaidPublicipExtendParamOption& value)
{
extendParam_ = value;
extendParamIsSet_ = true;
Expand Down
6 changes: 3 additions & 3 deletions eip/src/v2/model/ChangeToPeriodReq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ bool ChangeToPeriodReq::fromJson(const web::json::value& val)
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("extendParam"));
if(!fieldValue.is_null())
{
Object refVal;
CreatePrePaidPublicipExtendParamOption refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setExtendParam(refVal);
}
Expand Down Expand Up @@ -84,12 +84,12 @@ void ChangeToPeriodReq::unsetpublicipIds()
publicipIdsIsSet_ = false;
}

Object ChangeToPeriodReq::getExtendParam() const
CreatePrePaidPublicipExtendParamOption ChangeToPeriodReq::getExtendParam() const
{
return extendParam_;
}

void ChangeToPeriodReq::setExtendParam(const Object& value)
void ChangeToPeriodReq::setExtendParam(const CreatePrePaidPublicipExtendParamOption& value)
{
extendParam_ = value;
extendParamIsSet_ = true;
Expand Down
6 changes: 3 additions & 3 deletions eip/src/v2/model/ShowResourcesJobDetailResponse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ bool ShowResourcesJobDetailResponse::fromJson(const web::json::value& val)
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("entities"));
if(!fieldValue.is_null())
{
SubJobs refVal;
SubJobsInfo refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setEntities(refVal);
}
Expand Down Expand Up @@ -295,12 +295,12 @@ void ShowResourcesJobDetailResponse::unsetfailReason()
failReasonIsSet_ = false;
}

SubJobs ShowResourcesJobDetailResponse::getEntities() const
SubJobsInfo ShowResourcesJobDetailResponse::getEntities() const
{
return entities_;
}

void ShowResourcesJobDetailResponse::setEntities(const SubJobs& value)
void ShowResourcesJobDetailResponse::setEntities(const SubJobsInfo& value)
{
entities_ = value;
entitiesIsSet_ = true;
Expand Down
Loading

0 comments on commit 1c125f3

Please sign in to comment.