Class: TencentCloud::Chc::V20230418::CreateSpeciallyQuitWorkOrderRequest

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

Overview

CreateSpeciallyQuitWorkOrder请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(idcid = nil, devicetype = nil, handovermethod = nil, logisticsreceipt = nil, customerreceipt = nil, remark = nil, otherdevicelist = nil) ⇒ CreateSpeciallyQuitWorkOrderRequest

Returns a new instance of CreateSpeciallyQuitWorkOrderRequest.



1070
1071
1072
1073
1074
1075
1076
1077
1078
# File 'lib/v20230418/models.rb', line 1070

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

#CustomerReceiptObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def CustomerReceipt
  @CustomerReceipt
end

#DeviceTypeObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def DeviceType
  @DeviceType
end

#HandoverMethodObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def HandoverMethod
  @HandoverMethod
end

#IdcIdObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def IdcId
  @IdcId
end

#LogisticsReceiptObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def LogisticsReceipt
  @LogisticsReceipt
end

#OtherDeviceListObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def OtherDeviceList
  @OtherDeviceList
end

#RemarkObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

    设备类型:otherDevice。此接口只支持其他设备

  • HandoverMethod:

    交接方式 1.物流上门收货 2.客户上门自提

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

    当设备类型为otherDevice,此参数必传



1068
1069
1070
# File 'lib/v20230418/models.rb', line 1068

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
# File 'lib/v20230418/models.rb', line 1080

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