Class: TencentCloud::Chc::V20230418::CreatePowerOffWorkOrderRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230418/models.rb

Overview

CreatePowerOffWorkOrder请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(idcid = nil, devicetype = nil, ispoweroffconfirm = nil, devicesnlist = nil, poweroffconfirminfo = nil, remark = nil) ⇒ CreatePowerOffWorkOrderRequest



499
500
501
502
503
504
505
506
# File 'lib/v20230418/models.rb', line 499

def initialize(idcid=nil, devicetype=nil, ispoweroffconfirm=nil, devicesnlist=nil, poweroffconfirminfo=nil, remark=nil)
  @IdcId = idcid
  @DeviceType = devicetype
  @IsPowerOffConfirm = ispoweroffconfirm
  @DeviceSnList = devicesnlist
  @PowerOffConfirmInfo = poweroffconfirminfo
  @Remark = remark
end

Instance Attribute Details

#DeviceSnListObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def DeviceSnList
  @DeviceSnList
end

#DeviceTypeObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def DeviceType
  @DeviceType
end

#IdcIdObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def IdcId
  @IdcId
end

#IsPowerOffConfirmObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def IsPowerOffConfirm
  @IsPowerOffConfirm
end

#PowerOffConfirmInfoObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def PowerOffConfirmInfo
  @PowerOffConfirmInfo
end

#RemarkObject



497
498
499
# File 'lib/v20230418/models.rb', line 497

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



508
509
510
511
512
513
514
515
516
517
518
# File 'lib/v20230418/models.rb', line 508

def deserialize(params)
  @IdcId = params['IdcId']
  @DeviceType = params['DeviceType']
  @IsPowerOffConfirm = params['IsPowerOffConfirm']
  @DeviceSnList = params['DeviceSnList']
  unless params['PowerOffConfirmInfo'].nil?
    @PowerOffConfirmInfo = PowerOffConfirm.new
    @PowerOffConfirmInfo.deserialize(params['PowerOffConfirmInfo'])
  end
  @Remark = params['Remark']
end