in src/Emr/V20160408/EmrApiResolver.php [2882:2943]
public function withHostGroup(array $hostGroup)
{
$this->data['HostGroup'] = $hostGroup;
foreach ($hostGroup as $depth1 => $depth1Value) {
if(isset($depth1Value['Period'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
}
if(isset($depth1Value['SysDiskCapacity'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
}
if(isset($depth1Value['DiskCapacity'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
}
if(isset($depth1Value['SysDiskType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
}
if(isset($depth1Value['ClusterId'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
}
if(isset($depth1Value['DiskType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
}
if(isset($depth1Value['HostGroupName'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
}
if(isset($depth1Value['VSwitchId'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
}
if(isset($depth1Value['DiskCount'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
}
if(isset($depth1Value['AutoRenew'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
}
if(isset($depth1Value['HostGroupId'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
}
if(isset($depth1Value['NodeCount'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
}
if(isset($depth1Value['InstanceType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
}
if(isset($depth1Value['Comment'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
}
if(isset($depth1Value['ChargeType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
}
if(isset($depth1Value['MultiInstanceTypes'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
}
if(isset($depth1Value['CreateType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
}
if(isset($depth1Value['HostGroupType'])){
$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
}
}
return $this;
}