Class: TencentCloud::Chc::V20230418::CreateReceivingWorkOrderRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Chc::V20230418::CreateReceivingWorkOrderRequest
- Defined in:
- lib/v20230418/models.rb
Overview
CreateReceivingWorkOrder请求参数结构体
Instance Attribute Summary collapse
- #DeviceRackOnList ⇒ Object
- #DeviceType ⇒ Object
- #EntryTime ⇒ Object
- #ExpressInfo ⇒ Object
- #IdcId ⇒ Object
- #IsExpressDelivery ⇒ Object
- #NetDeviceList ⇒ Object
- #OtherDeviceList ⇒ Object
- #ReceivingOperation ⇒ Object
- #Remark ⇒ Object
- #SelfOperationInfo ⇒ Object
- #ServerDeviceList ⇒ Object
- #StuffOption ⇒ Object
- #WireDeviceList ⇒ Object
- #WithPowerOn ⇒ Object
- #WithRackOn ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(idcid = nil, devicetype = nil, entrytime = nil, receivingoperation = nil, isexpressdelivery = nil, expressinfo = nil, remark = nil, serverdevicelist = nil, netdevicelist = nil, wiredevicelist = nil, otherdevicelist = nil, withrackon = nil, devicerackonlist = nil, stuffoption = nil, selfoperationinfo = nil, withpoweron = nil) ⇒ CreateReceivingWorkOrderRequest
constructor
A new instance of CreateReceivingWorkOrderRequest.
Constructor Details
#initialize(idcid = nil, devicetype = nil, entrytime = nil, receivingoperation = nil, isexpressdelivery = nil, expressinfo = nil, remark = nil, serverdevicelist = nil, netdevicelist = nil, wiredevicelist = nil, otherdevicelist = nil, withrackon = nil, devicerackonlist = nil, stuffoption = nil, selfoperationinfo = nil, withpoweron = nil) ⇒ CreateReceivingWorkOrderRequest
Returns a new instance of CreateReceivingWorkOrderRequest.
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20230418/models.rb', line 901 def initialize(idcid=nil, devicetype=nil, entrytime=nil, receivingoperation=nil, isexpressdelivery=nil, expressinfo=nil, remark=nil, serverdevicelist=nil, netdevicelist=nil, wiredevicelist=nil, otherdevicelist=nil, withrackon=nil, devicerackonlist=nil, stuffoption=nil, selfoperationinfo=nil, withpoweron=nil) @IdcId = idcid @DeviceType = devicetype @EntryTime = entrytime @ReceivingOperation = receivingoperation @IsExpressDelivery = isexpressdelivery @ExpressInfo = expressinfo @Remark = remark @ServerDeviceList = serverdevicelist @NetDeviceList = netdevicelist @WireDeviceList = wiredevicelist @OtherDeviceList = otherdevicelist @WithRackOn = withrackon @DeviceRackOnList = devicerackonlist @StuffOption = stuffoption @SelfOperationInfo = selfoperationinfo @WithPowerOn = withpoweron end |
Instance Attribute Details
#DeviceRackOnList ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def DeviceRackOnList @DeviceRackOnList end |
#DeviceType ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def DeviceType @DeviceType end |
#EntryTime ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def EntryTime @EntryTime end |
#ExpressInfo ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def ExpressInfo @ExpressInfo end |
#IdcId ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def IdcId @IdcId end |
#IsExpressDelivery ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def IsExpressDelivery @IsExpressDelivery end |
#NetDeviceList ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def NetDeviceList @NetDeviceList end |
#OtherDeviceList ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def OtherDeviceList @OtherDeviceList end |
#ReceivingOperation ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def ReceivingOperation @ReceivingOperation end |
#Remark ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def Remark @Remark end |
#SelfOperationInfo ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def SelfOperationInfo @SelfOperationInfo end |
#ServerDeviceList ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def ServerDeviceList @ServerDeviceList end |
#StuffOption ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def StuffOption @StuffOption end |
#WireDeviceList ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def WireDeviceList @WireDeviceList end |
#WithPowerOn ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def WithPowerOn @WithPowerOn end |
#WithRackOn ⇒ Object
899 900 901 |
# File 'lib/v20230418/models.rb', line 899 def WithRackOn @WithRackOn end |
Instance Method Details
#deserialize(params) ⇒ Object
920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
# File 'lib/v20230418/models.rb', line 920 def deserialize(params) @IdcId = params['IdcId'] @DeviceType = params['DeviceType'] @EntryTime = params['EntryTime'] @ReceivingOperation = params['ReceivingOperation'] @IsExpressDelivery = params['IsExpressDelivery'] unless params['ExpressInfo'].nil? @ExpressInfo = ExpressDelivery.new @ExpressInfo.deserialize(params['ExpressInfo']) end @Remark = params['Remark'] unless params['ServerDeviceList'].nil? @ServerDeviceList = [] params['ServerDeviceList'].each do |i| serverreceivinginfo_tmp = ServerReceivingInfo.new serverreceivinginfo_tmp.deserialize(i) @ServerDeviceList << serverreceivinginfo_tmp end end unless params['NetDeviceList'].nil? @NetDeviceList = [] params['NetDeviceList'].each do |i| netreceivinginfo_tmp = NetReceivingInfo.new netreceivinginfo_tmp.deserialize(i) @NetDeviceList << netreceivinginfo_tmp end end unless params['WireDeviceList'].nil? @WireDeviceList = [] params['WireDeviceList'].each do |i| wirereceivinginfo_tmp = WireReceivingInfo.new wirereceivinginfo_tmp.deserialize(i) @WireDeviceList << wirereceivinginfo_tmp end end unless params['OtherDeviceList'].nil? @OtherDeviceList = [] params['OtherDeviceList'].each do |i| otherdevreceivinginfo_tmp = OtherDevReceivingInfo.new otherdevreceivinginfo_tmp.deserialize(i) @OtherDeviceList << otherdevreceivinginfo_tmp end end @WithRackOn = params['WithRackOn'] unless params['DeviceRackOnList'].nil? @DeviceRackOnList = [] params['DeviceRackOnList'].each do |i| devicerackon_tmp = DeviceRackOn.new devicerackon_tmp.deserialize(i) @DeviceRackOnList << devicerackon_tmp end end @StuffOption = params['StuffOption'] unless params['SelfOperationInfo'].nil? @SelfOperationInfo = SelfOperation.new @SelfOperationInfo.deserialize(params['SelfOperationInfo']) end @WithPowerOn = params['WithPowerOn'] end |