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.



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

#CustomerReceiptObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def CustomerReceipt
  @CustomerReceipt
end

#DeviceTypeObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def DeviceType
  @DeviceType
end

#HandoverMethodObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def HandoverMethod
  @HandoverMethod
end

#IdcIdObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def IdcId
  @IdcId
end

#LogisticsReceiptObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def LogisticsReceipt
  @LogisticsReceipt
end

#OtherDeviceListObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



1048
1049
1050
# File 'lib/v20230418/models.rb', line 1048

def OtherDeviceList
  @OtherDeviceList
end

#RemarkObject

Parameters:

  • IdcId:

    机房id

  • DeviceType:

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

  • HandoverMethod:

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

  • LogisticsReceipt:

    物流上门收货必传

  • CustomerReceipt:

    客户上门自提必传

  • Remark:

    备注信息

  • OtherDeviceList:

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



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