class TencentCloud::Emr::V20190103::RunJobFlowRequest

RunJobFlow请求参数结构体

def deserialize(params)

def deserialize(params)
  @Name = params['Name']
  @CreateCluster = params['CreateCluster']
  unless params['Steps'].nil?
    @Steps = []
    params['Steps'].each do |i|
      step_tmp = Step.new
      step_tmp.deserialize(i)
      @Steps << step_tmp
    end
  end
  @InstancePolicy = params['InstancePolicy']
  @ProductVersion = params['ProductVersion']
  @SecurityClusterFlag = params['SecurityClusterFlag']
  @Software = params['Software']
  unless params['BootstrapActions'].nil?
    @BootstrapActions = []
    params['BootstrapActions'].each do |i|
      bootstrapaction_tmp = BootstrapAction.new
      bootstrapaction_tmp.deserialize(i)
      @BootstrapActions << bootstrapaction_tmp
    end
  end
  unless params['Configurations'].nil?
    @Configurations = []
    params['Configurations'].each do |i|
      configuration_tmp = Configuration.new
      configuration_tmp.deserialize(i)
      @Configurations << configuration_tmp
    end
  end
  @LogUri = params['LogUri']
  @InstanceId = params['InstanceId']
  @ApplicationRole = params['ApplicationRole']
  @ClientToken = params['ClientToken']
  unless params['Instance'].nil?
    @Instance = ClusterSetting.new
    @Instance.deserialize(params['Instance'])
  end
end

def initialize(name=nil, createcluster=nil, steps=nil, instancepolicy=nil, productversion=nil, securityclusterflag=nil, software=nil, bootstrapactions=nil, configurations=nil, loguri=nil, instanceid=nil, applicationrole=nil, clienttoken=nil, instance=nil)

def initialize(name=nil, createcluster=nil, steps=nil, instancepolicy=nil, productversion=nil, securityclusterflag=nil, software=nil, bootstrapactions=nil, configurations=nil, loguri=nil, instanceid=nil, applicationrole=nil, clienttoken=nil, instance=nil)
  @Name = name
  @CreateCluster = createcluster
  @Steps = steps
  @InstancePolicy = instancepolicy
  @ProductVersion = productversion
  @SecurityClusterFlag = securityclusterflag
  @Software = software
  @BootstrapActions = bootstrapactions
  @Configurations = configurations
  @LogUri = loguri
  @InstanceId = instanceid
  @ApplicationRole = applicationrole
  @ClientToken = clienttoken
  @Instance = instance
end