Add Support Real time mock table.

This commit is contained in:
sdk-team
2024-12-18 07:26:57 +00:00
parent ff5406a429
commit 04ef9028c2
3 changed files with 10 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.2029 1.36.2030

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
std::string getLastSyncConfig()const; std::string getLastSyncConfig()const;
std::string getType()const; std::string getType()const;
std::vector<FieldsItem> getFields()const; std::vector<FieldsItem> getFields()const;
std::string getMockTableName()const;
std::string getRegisterDatasourceName()const; std::string getRegisterDatasourceName()const;
std::string getFeatureEntityId()const; std::string getFeatureEntityId()const;
std::vector<std::string> getTags()const; std::vector<std::string> getTags()const;
@@ -88,6 +89,7 @@ namespace AlibabaCloud
std::string lastSyncConfig_; std::string lastSyncConfig_;
std::string type_; std::string type_;
std::vector<FieldsItem> fields_; std::vector<FieldsItem> fields_;
std::string mockTableName_;
std::string registerDatasourceName_; std::string registerDatasourceName_;
std::string featureEntityId_; std::string featureEntityId_;
std::vector<std::string> tags_; std::vector<std::string> tags_;

View File

@@ -97,6 +97,8 @@ void GetFeatureViewResult::parse(const std::string &payload)
lastSyncConfig_ = value["LastSyncConfig"].asString(); lastSyncConfig_ = value["LastSyncConfig"].asString();
if(!value["PublishTableScript"].isNull()) if(!value["PublishTableScript"].isNull())
publishTableScript_ = value["PublishTableScript"].asString(); publishTableScript_ = value["PublishTableScript"].asString();
if(!value["MockTableName"].isNull())
mockTableName_ = value["MockTableName"].asString();
} }
@@ -190,6 +192,11 @@ std::vector<GetFeatureViewResult::FieldsItem> GetFeatureViewResult::getFields()c
return fields_; return fields_;
} }
std::string GetFeatureViewResult::getMockTableName()const
{
return mockTableName_;
}
std::string GetFeatureViewResult::getRegisterDatasourceName()const std::string GetFeatureViewResult::getRegisterDatasourceName()const
{ {
return registerDatasourceName_; return registerDatasourceName_;