Class: TencentCloud::Chc::V20230418::CreateSpeciallyQuitWorkOrderRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::CreateSpeciallyQuitWorkOrderRequest
- Defined in:
- lib/v20230418/models.rb
Overview
CreateSpeciallyQuitWorkOrder请求参数结构体
Instance Attribute Summary collapse
- #CustomerReceipt ⇒ Object
- #DeviceType ⇒ Object
- #HandoverMethod ⇒ Object
- #IdcId ⇒ Object
- #LogisticsReceipt ⇒ Object
- #OtherDeviceList ⇒ Object
- #Remark ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(idcid = nil, devicetype = nil, handovermethod = nil, logisticsreceipt = nil, customerreceipt = nil, remark = nil, otherdevicelist = nil) ⇒ CreateSpeciallyQuitWorkOrderRequest
constructor
A new instance of CreateSpeciallyQuitWorkOrderRequest.
Constructor Details
#initialize(idcid = nil, devicetype = nil, handovermethod = nil, logisticsreceipt = nil, customerreceipt = nil, remark = nil, otherdevicelist = nil) ⇒ CreateSpeciallyQuitWorkOrderRequest
Returns a new instance of CreateSpeciallyQuitWorkOrderRequest.
1050 1051 1052 1053 1054 1055 1056 1057 1058 |
# File 'lib/v20230418/models.rb', line 1050 def initialize(idcid=nil, devicetype=nil, handovermethod=nil, logisticsreceipt=nil, customerreceipt=nil, remark=nil, otherdevicelist=nil) @IdcId = idcid @DeviceType = devicetype @HandoverMethod = handovermethod @LogisticsReceipt = logisticsreceipt @CustomerReceipt = customerreceipt @Remark = remark @OtherDeviceList = otherdevicelist end |
Instance Attribute Details
#CustomerReceipt ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def CustomerReceipt @CustomerReceipt end |
#DeviceType ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def DeviceType @DeviceType end |
#HandoverMethod ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def HandoverMethod @HandoverMethod end |
#IdcId ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def IdcId @IdcId end |
#LogisticsReceipt ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def LogisticsReceipt @LogisticsReceipt end |
#OtherDeviceList ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def OtherDeviceList @OtherDeviceList end |
#Remark ⇒ Object
1048 1049 1050 |
# File 'lib/v20230418/models.rb', line 1048 def Remark @Remark end |
Instance Method Details
#deserialize(params) ⇒ Object
1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/v20230418/models.rb', line 1060 def deserialize(params) @IdcId = params['IdcId'] @DeviceType = params['DeviceType'] @HandoverMethod = params['HandoverMethod'] unless params['LogisticsReceipt'].nil? @LogisticsReceipt = LogisticsReceipt.new @LogisticsReceipt.deserialize(params['LogisticsReceipt']) end unless params['CustomerReceipt'].nil? @CustomerReceipt = CustomerReceipt.new @CustomerReceipt.deserialize(params['CustomerReceipt']) end @Remark = params['Remark'] unless params['OtherDeviceList'].nil? @OtherDeviceList = [] params['OtherDeviceList'].each do |i| otherdevreceivinginfo_tmp = OtherDevReceivingInfo.new otherdevreceivinginfo_tmp.deserialize(i) @OtherDeviceList << otherdevreceivinginfo_tmp end end end |