class TencentCloud::Emr::V20190103::CreateSLInstanceRequest

CreateSLInstance请求参数结构体

def deserialize(params)

def deserialize(params)
  @InstanceName = params['InstanceName']
  @PayMode = params['PayMode']
  @DiskType = params['DiskType']
  @DiskSize = params['DiskSize']
  @NodeType = params['NodeType']
  unless params['ZoneSettings'].nil?
    @ZoneSettings = []
    params['ZoneSettings'].each do |i|
      zonesetting_tmp = ZoneSetting.new
      zonesetting_tmp.deserialize(i)
      @ZoneSettings << zonesetting_tmp
    end
  end
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end

def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil)

def initialize(instancename=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, zonesettings=nil, tags=nil)
  @InstanceName = instancename
  @PayMode = paymode
  @DiskType = disktype
  @DiskSize = disksize
  @NodeType = nodetype
  @ZoneSettings = zonesettings
  @Tags = tags
end