class TencentCloud::Emr::V20190103::JobFlowResourceSpec

流程作业资源描述

def deserialize(params)

def deserialize(params)
  @MasterCount = params['MasterCount']
  unless params['MasterResourceSpec'].nil?
    @MasterResourceSpec = JobFlowResource.new
    @MasterResourceSpec.deserialize(params['MasterResourceSpec'])
  end
  @CoreCount = params['CoreCount']
  unless params['CoreResourceSpec'].nil?
    @CoreResourceSpec = JobFlowResource.new
    @CoreResourceSpec.deserialize(params['CoreResourceSpec'])
  end
  @TaskCount = params['TaskCount']
  @CommonCount = params['CommonCount']
  unless params['TaskResourceSpec'].nil?
    @TaskResourceSpec = JobFlowResource.new
    @TaskResourceSpec.deserialize(params['TaskResourceSpec'])
  end
  unless params['CommonResourceSpec'].nil?
    @CommonResourceSpec = JobFlowResource.new
    @CommonResourceSpec.deserialize(params['CommonResourceSpec'])
  end
end

def initialize(mastercount=nil, masterresourcespec=nil, corecount=nil, coreresourcespec=nil, taskcount=nil, commoncount=nil, taskresourcespec=nil, commonresourcespec=nil)

def initialize(mastercount=nil, masterresourcespec=nil, corecount=nil, coreresourcespec=nil, taskcount=nil, commoncount=nil, taskresourcespec=nil, commonresourcespec=nil)
  @MasterCount = mastercount
  @MasterResourceSpec = masterresourcespec
  @CoreCount = corecount
  @CoreResourceSpec = coreresourcespec
  @TaskCount = taskcount
  @CommonCount = commoncount
  @TaskResourceSpec = taskresourcespec
  @CommonResourceSpec = commonresourcespec
end