Class: TencentCloud::Chc::V20230418::CreatePowerOffWorkOrderRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::CreatePowerOffWorkOrderRequest
- Defined in:
- lib/v20230418/models.rb
Overview
CreatePowerOffWorkOrder请求参数结构体
Instance Attribute Summary collapse
- #DeviceSnList ⇒ Object
- #DeviceType ⇒ Object
- #IdcId ⇒ Object
- #IsPowerOffConfirm ⇒ Object
- #PowerOffConfirmInfo ⇒ Object
- #Remark ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(idcid = nil, devicetype = nil, ispoweroffconfirm = nil, devicesnlist = nil, poweroffconfirminfo = nil, remark = nil) ⇒ CreatePowerOffWorkOrderRequest
constructor
A new instance of CreatePowerOffWorkOrderRequest.
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
#DeviceSnList ⇒ Object
497 498 499 |
# File 'lib/v20230418/models.rb', line 497 def DeviceSnList @DeviceSnList end |
#DeviceType ⇒ Object
497 498 499 |
# File 'lib/v20230418/models.rb', line 497 def DeviceType @DeviceType end |
#IdcId ⇒ Object
497 498 499 |
# File 'lib/v20230418/models.rb', line 497 def IdcId @IdcId end |
#IsPowerOffConfirm ⇒ Object
497 498 499 |
# File 'lib/v20230418/models.rb', line 497 def IsPowerOffConfirm @IsPowerOffConfirm end |
#PowerOffConfirmInfo ⇒ Object
497 498 499 |
# File 'lib/v20230418/models.rb', line 497 def PowerOffConfirmInfo @PowerOffConfirmInfo end |
#Remark ⇒ Object
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 |