class TencentCloud::Emr::V20190103::ScaleOutInstanceRequest

ScaleOutInstance请求参数结构体

def deserialize(params)

def deserialize(params)
  @TimeUnit = params['TimeUnit']
  @TimeSpan = params['TimeSpan']
  @InstanceId = params['InstanceId']
  @PayMode = params['PayMode']
  @ClientToken = params['ClientToken']
  unless params['PreExecutedFileSettings'].nil?
    @PreExecutedFileSettings = []
    params['PreExecutedFileSettings'].each do |i|
      preexecutefilesettings_tmp = PreExecuteFileSettings.new
      preexecutefilesettings_tmp.deserialize(i)
      @PreExecutedFileSettings << preexecutefilesettings_tmp
    end
  end
  @TaskCount = params['TaskCount']
  @CoreCount = params['CoreCount']
  @UnNecessaryNodeList = params['UnNecessaryNodeList']
  @RouterCount = params['RouterCount']
  @SoftDeployInfo = params['SoftDeployInfo']
  @ServiceNodeInfo = params['ServiceNodeInfo']
  @DisasterRecoverGroupIds = params['DisasterRecoverGroupIds']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @HardwareResourceType = params['HardwareResourceType']
  unless params['PodSpec'].nil?
    @PodSpec = PodSpec.new
    @PodSpec.deserialize(params['PodSpec'])
  end
  @ClickHouseClusterName = params['ClickHouseClusterName']
  @ClickHouseClusterType = params['ClickHouseClusterType']
  @YarnNodeLabel = params['YarnNodeLabel']
  unless params['PodParameter'].nil?
    @PodParameter = PodParameter.new
    @PodParameter.deserialize(params['PodParameter'])
  end
  @MasterCount = params['MasterCount']
  @StartServiceAfterScaleOut = params['StartServiceAfterScaleOut']
  @ZoneId = params['ZoneId']
  @SubnetId = params['SubnetId']
  @ScaleOutServiceConfAssign = params['ScaleOutServiceConfAssign']
  @AutoRenew = params['AutoRenew']
  @ResourceBaseType = params['ResourceBaseType']
  @ComputeResourceId = params['ComputeResourceId']
end

def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil)

def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil)
  @TimeUnit = timeunit
  @TimeSpan = timespan
  @InstanceId = instanceid
  @PayMode = paymode
  @ClientToken = clienttoken
  @PreExecutedFileSettings = preexecutedfilesettings
  @TaskCount = taskcount
  @CoreCount = corecount
  @UnNecessaryNodeList = unnecessarynodelist
  @RouterCount = routercount
  @SoftDeployInfo = softdeployinfo
  @ServiceNodeInfo = servicenodeinfo
  @DisasterRecoverGroupIds = disasterrecovergroupids
  @Tags = tags
  @HardwareResourceType = hardwareresourcetype
  @PodSpec = podspec
  @ClickHouseClusterName = clickhouseclustername
  @ClickHouseClusterType = clickhouseclustertype
  @YarnNodeLabel = yarnnodelabel
  @PodParameter = podparameter
  @MasterCount = mastercount
  @StartServiceAfterScaleOut = startserviceafterscaleout
  @ZoneId = zoneid
  @SubnetId = subnetid
  @ScaleOutServiceConfAssign = scaleoutserviceconfassign
  @AutoRenew = autorenew
  @ResourceBaseType = resourcebasetype
  @ComputeResourceId = computeresourceid
end