Supported CheckBlockVolumeName api for Checking the volume name has been already used by the OSS bucket folder.
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2021-12-24 Version: 1.36.993
|
||||||
|
- Supported CheckBlockVolumeName api for Checking the volume name has been already used by the OSS bucket folder.
|
||||||
|
|
||||||
2021-12-23 Version: 1.36.992
|
2021-12-23 Version: 1.36.992
|
||||||
- Fix array params.
|
- Fix array params.
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
|||||||
std::string getIsRequireRecovery()const;
|
std::string getIsRequireRecovery()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
std::string getCode()const;
|
std::string getCode()const;
|
||||||
|
bool getIsAlreadyExist()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -48,6 +49,7 @@ namespace AlibabaCloud
|
|||||||
std::string isRequireRecovery_;
|
std::string isRequireRecovery_;
|
||||||
std::string message_;
|
std::string message_;
|
||||||
std::string code_;
|
std::string code_;
|
||||||
|
bool isAlreadyExist_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,14 +39,16 @@ void CheckBlockVolumeNameResult::parse(const std::string &payload)
|
|||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
if(!value["Success"].isNull())
|
|
||||||
success_ = value["Success"].asString() == "true";
|
|
||||||
if(!value["Code"].isNull())
|
|
||||||
code_ = value["Code"].asString();
|
|
||||||
if(!value["Message"].isNull())
|
|
||||||
message_ = value["Message"].asString();
|
|
||||||
if(!value["IsRequireRecovery"].isNull())
|
if(!value["IsRequireRecovery"].isNull())
|
||||||
isRequireRecovery_ = value["IsRequireRecovery"].asString();
|
isRequireRecovery_ = value["IsRequireRecovery"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["IsAlreadyExist"].isNull())
|
||||||
|
isAlreadyExist_ = value["IsAlreadyExist"].asString() == "true";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,6 +67,11 @@ std::string CheckBlockVolumeNameResult::getCode()const
|
|||||||
return code_;
|
return code_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CheckBlockVolumeNameResult::getIsAlreadyExist()const
|
||||||
|
{
|
||||||
|
return isAlreadyExist_;
|
||||||
|
}
|
||||||
|
|
||||||
bool CheckBlockVolumeNameResult::getSuccess()const
|
bool CheckBlockVolumeNameResult::getSuccess()const
|
||||||
{
|
{
|
||||||
return success_;
|
return success_;
|
||||||
|
|||||||
Reference in New Issue
Block a user