in pai-dlc-20201203/include/alibabacloud/pai_dlc_20201203.hpp [2891:3078]
map<string, boost::any> toMap() override {
map<string, boost::any> res;
if (accessibility) {
res["Accessibility"] = boost::any(*accessibility);
}
if (clusterId) {
res["ClusterId"] = boost::any(*clusterId);
}
if (codeSource) {
res["CodeSource"] = codeSource ? boost::any(codeSource->toMap()) : boost::any(map<string,boost::any>({}));
}
if (credentialConfig) {
res["CredentialConfig"] = credentialConfig ? boost::any(credentialConfig->toMap()) : boost::any(map<string,boost::any>({}));
}
if (dataSources) {
vector<boost::any> temp1;
for(auto item1:*dataSources){
temp1.push_back(boost::any(item1.toMap()));
}
res["DataSources"] = boost::any(temp1);
}
if (displayName) {
res["DisplayName"] = boost::any(*displayName);
}
if (duration) {
res["Duration"] = boost::any(*duration);
}
if (elasticSpec) {
res["ElasticSpec"] = elasticSpec ? boost::any(elasticSpec->toMap()) : boost::any(map<string,boost::any>({}));
}
if (enablePreemptibleJob) {
res["EnablePreemptibleJob"] = boost::any(*enablePreemptibleJob);
}
if (enabledDebugger) {
res["EnabledDebugger"] = boost::any(*enabledDebugger);
}
if (envs) {
res["Envs"] = boost::any(*envs);
}
if (gmtCreateTime) {
res["GmtCreateTime"] = boost::any(*gmtCreateTime);
}
if (gmtFailedTime) {
res["GmtFailedTime"] = boost::any(*gmtFailedTime);
}
if (gmtFinishTime) {
res["GmtFinishTime"] = boost::any(*gmtFinishTime);
}
if (gmtModifiedTime) {
res["GmtModifiedTime"] = boost::any(*gmtModifiedTime);
}
if (gmtRunningTime) {
res["GmtRunningTime"] = boost::any(*gmtRunningTime);
}
if (gmtStoppedTime) {
res["GmtStoppedTime"] = boost::any(*gmtStoppedTime);
}
if (gmtSubmittedTime) {
res["GmtSubmittedTime"] = boost::any(*gmtSubmittedTime);
}
if (gmtSuccessedTime) {
res["GmtSuccessedTime"] = boost::any(*gmtSuccessedTime);
}
if (isDeleted) {
res["IsDeleted"] = boost::any(*isDeleted);
}
if (jobId) {
res["JobId"] = boost::any(*jobId);
}
if (jobMaxRunningTimeMinutes) {
res["JobMaxRunningTimeMinutes"] = boost::any(*jobMaxRunningTimeMinutes);
}
if (jobSpecs) {
vector<boost::any> temp1;
for(auto item1:*jobSpecs){
temp1.push_back(boost::any(item1.toMap()));
}
res["JobSpecs"] = boost::any(temp1);
}
if (jobType) {
res["JobType"] = boost::any(*jobType);
}
if (nodeCount) {
res["NodeCount"] = boost::any(*nodeCount);
}
if (nodeNames) {
res["NodeNames"] = boost::any(*nodeNames);
}
if (pods) {
vector<boost::any> temp1;
for(auto item1:*pods){
temp1.push_back(boost::any(item1.toMap()));
}
res["Pods"] = boost::any(temp1);
}
if (priority) {
res["Priority"] = boost::any(*priority);
}
if (reasonCode) {
res["ReasonCode"] = boost::any(*reasonCode);
}
if (reasonMessage) {
res["ReasonMessage"] = boost::any(*reasonMessage);
}
if (requestCPU) {
res["RequestCPU"] = boost::any(*requestCPU);
}
if (requestGPU) {
res["RequestGPU"] = boost::any(*requestGPU);
}
if (requestMemory) {
res["RequestMemory"] = boost::any(*requestMemory);
}
if (resourceId) {
res["ResourceId"] = boost::any(*resourceId);
}
if (resourceLevel) {
res["ResourceLevel"] = boost::any(*resourceLevel);
}
if (resourceName) {
res["ResourceName"] = boost::any(*resourceName);
}
if (resourceQuotaName) {
res["ResourceQuotaName"] = boost::any(*resourceQuotaName);
}
if (resourceType) {
res["ResourceType"] = boost::any(*resourceType);
}
if (restartTimes) {
res["RestartTimes"] = boost::any(*restartTimes);
}
if (settings) {
res["Settings"] = settings ? boost::any(settings->toMap()) : boost::any(map<string,boost::any>({}));
}
if (status) {
res["Status"] = boost::any(*status);
}
if (statusHistory) {
vector<boost::any> temp1;
for(auto item1:*statusHistory){
temp1.push_back(boost::any(item1.toMap()));
}
res["StatusHistory"] = boost::any(temp1);
}
if (subStatus) {
res["SubStatus"] = boost::any(*subStatus);
}
if (systemEnvs) {
res["SystemEnvs"] = boost::any(*systemEnvs);
}
if (tenantId) {
res["TenantId"] = boost::any(*tenantId);
}
if (thirdpartyLibDir) {
res["ThirdpartyLibDir"] = boost::any(*thirdpartyLibDir);
}
if (thirdpartyLibs) {
res["ThirdpartyLibs"] = boost::any(*thirdpartyLibs);
}
if (useOversoldResource) {
res["UseOversoldResource"] = boost::any(*useOversoldResource);
}
if (userCommand) {
res["UserCommand"] = boost::any(*userCommand);
}
if (userId) {
res["UserId"] = boost::any(*userId);
}
if (userScript) {
res["UserScript"] = boost::any(*userScript);
}
if (userVpc) {
res["UserVpc"] = userVpc ? boost::any(userVpc->toMap()) : boost::any(map<string,boost::any>({}));
}
if (username) {
res["Username"] = boost::any(*username);
}
if (workingDir) {
res["WorkingDir"] = boost::any(*workingDir);
}
if (workspaceId) {
res["WorkspaceId"] = boost::any(*workspaceId);
}
if (workspaceName) {
res["WorkspaceName"] = boost::any(*workspaceName);
}
return res;
}