class TencentCloud::Cdc::V20201214::SetInfo
云硬盘的仓库级别信息
def deserialize(params)
def deserialize(params) @SetId = params['SetId'] @SetName = params['SetName'] @SetType = params['SetType'] @SetSize = params['SetSize'] @SetStatus = params['SetStatus'] @CreateTime = params['CreateTime'] unless params['ReadTraffic'].nil? @ReadTraffic = DetailData.new @ReadTraffic.deserialize(params['ReadTraffic']) end unless params['WriteTraffic'].nil? @WriteTraffic = DetailData.new @WriteTraffic.deserialize(params['WriteTraffic']) end unless params['ReadIO'].nil? @ReadIO = DetailData.new @ReadIO.deserialize(params['ReadIO']) end unless params['WriteIO'].nil? @WriteIO = DetailData.new @WriteIO.deserialize(params['WriteIO']) end unless params['Await'].nil? @Await = DetailData.new @Await.deserialize(params['Await']) end unless params['Util'].nil? @Util = DetailData.new @Util.deserialize(params['Util']) end end
def initialize(setid=nil, setname=nil, settype=nil, setsize=nil, setstatus=nil, createtime=nil, readtraffic=nil, writetraffic=nil, readio=nil, writeio=nil, await=nil, util=nil)
def initialize(setid=nil, setname=nil, settype=nil, setsize=nil, setstatus=nil, createtime=nil, readtraffic=nil, writetraffic=nil, readio=nil, writeio=nil, await=nil, util=nil) @SetId = setid @SetName = setname @SetType = settype @SetSize = setsize @SetStatus = setstatus @CreateTime = createtime @ReadTraffic = readtraffic @WriteTraffic = writetraffic @ReadIO = readio @WriteIO = writeio @Await = await @Util = util end