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.
881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/v20230418/models.rb', line 881 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
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def DeviceRackOnList @DeviceRackOnList end |
#DeviceType ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def DeviceType @DeviceType end |
#EntryTime ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def EntryTime @EntryTime end |
#ExpressInfo ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def ExpressInfo @ExpressInfo end |
#IdcId ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def IdcId @IdcId end |
#IsExpressDelivery ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def IsExpressDelivery @IsExpressDelivery end |
#NetDeviceList ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def NetDeviceList @NetDeviceList end |
#OtherDeviceList ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def OtherDeviceList @OtherDeviceList end |
#ReceivingOperation ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def ReceivingOperation @ReceivingOperation end |
#Remark ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def Remark @Remark end |
#SelfOperationInfo ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def SelfOperationInfo @SelfOperationInfo end |
#ServerDeviceList ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def ServerDeviceList @ServerDeviceList end |
#StuffOption ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def StuffOption @StuffOption end |
#WireDeviceList ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def WireDeviceList @WireDeviceList end |
#WithPowerOn ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def WithPowerOn @WithPowerOn end |
#WithRackOn ⇒ Object
879 880 881 |
# File 'lib/v20230418/models.rb', line 879 def WithRackOn @WithRackOn end |
Instance Method Details
#deserialize(params) ⇒ Object
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 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 |
# File 'lib/v20230418/models.rb', line 900 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 |