class TencentCloud::Hasim::V20210716::LinkDetailInfo
云兔连接详细信息
def deserialize(params)
def deserialize(params) @ID = params['ID'] @Status = params['Status'] @ActiveTime = params['ActiveTime'] @ExpireTime = params['ExpireTime'] @DataUse = params['DataUse'] @AudioUse = params['AudioUse'] @SmsUse = params['SmsUse'] @LinkedState = params['LinkedState'] @TacticID = params['TacticID'] @TacticStatus = params['TacticStatus'] @TacticExpireTime = params['TacticExpireTime'] @IsActiveLog = params['IsActiveLog'] @TeleOperator = params['TeleOperator'] unless params['Report'].nil? @Report = DeviceReport.new @Report.deserialize(params['Report']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end unless params['Cards'].nil? @Cards = [] params['Cards'].each do |i| teleoperatorcard_tmp = TeleOperatorCard.new teleoperatorcard_tmp.deserialize(i) @Cards << teleoperatorcard_tmp end end @CardID = params['CardID'] end
def initialize(id=nil, status=nil, activetime=nil, expiretime=nil, datause=nil, audiouse=nil, smsuse=nil, linkedstate=nil, tacticid=nil, tacticstatus=nil, tacticexpiretime=nil, isactivelog=nil, teleoperator=nil, report=nil, tags=nil, cards=nil, cardid=nil)
def initialize(id=nil, status=nil, activetime=nil, expiretime=nil, datause=nil, audiouse=nil, smsuse=nil, linkedstate=nil, tacticid=nil, tacticstatus=nil, tacticexpiretime=nil, isactivelog=nil, teleoperator=nil, report=nil, tags=nil, cards=nil, cardid=nil) @ID = id @Status = status @ActiveTime = activetime @ExpireTime = expiretime @DataUse = datause @AudioUse = audiouse @SmsUse = smsuse @LinkedState = linkedstate @TacticID = tacticid @TacticStatus = tacticstatus @TacticExpireTime = tacticexpiretime @IsActiveLog = isactivelog @TeleOperator = teleoperator @Report = report @Tags = tags @Cards = cards @CardID = cardid end