Class: TencentCloud::Chc::V20230418::WireReceivingInfo

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

Overview

线材收货信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(typename = nil, quantity = nil, unit = nil, receiptnumber = nil, hardwarememo = nil) ⇒ WireReceivingInfo

Returns a new instance of WireReceivingInfo.



3964
3965
3966
3967
3968
3969
3970
# File 'lib/v20230418/models.rb', line 3964

def initialize(typename=nil, quantity=nil, unit=nil, receiptnumber=nil, hardwarememo=nil)
  @TypeName = typename
  @Quantity = quantity
  @Unit = unit
  @ReceiptNumber = receiptnumber
  @HardwareMemo = hardwarememo
end

Instance Attribute Details

#HardwareMemoObject

Parameters:

  • TypeName:,, ('光纤''网线''电源线')

    ypeName: ‘光纤’, ‘网线’, ‘电源线’

  • Quantity:

    数量

  • Unit:,, ('箱''卷''套')

    nit: ‘箱’, ‘卷’, ‘套’

  • ReceiptNumber:

    收货凭证号

  • HardwareMemo:

    硬件备注



3962
3963
3964
# File 'lib/v20230418/models.rb', line 3962

def HardwareMemo
  @HardwareMemo
end

#QuantityObject

Parameters:

  • TypeName:,, ('光纤''网线''电源线')

    ypeName: ‘光纤’, ‘网线’, ‘电源线’

  • Quantity:

    数量

  • Unit:,, ('箱''卷''套')

    nit: ‘箱’, ‘卷’, ‘套’

  • ReceiptNumber:

    收货凭证号

  • HardwareMemo:

    硬件备注



3962
3963
3964
# File 'lib/v20230418/models.rb', line 3962

def Quantity
  @Quantity
end

#ReceiptNumberObject

Parameters:

  • TypeName:,, ('光纤''网线''电源线')

    ypeName: ‘光纤’, ‘网线’, ‘电源线’

  • Quantity:

    数量

  • Unit:,, ('箱''卷''套')

    nit: ‘箱’, ‘卷’, ‘套’

  • ReceiptNumber:

    收货凭证号

  • HardwareMemo:

    硬件备注



3962
3963
3964
# File 'lib/v20230418/models.rb', line 3962

def ReceiptNumber
  @ReceiptNumber
end

#TypeNameObject

Parameters:

  • TypeName:,, ('光纤''网线''电源线')

    ypeName: ‘光纤’, ‘网线’, ‘电源线’

  • Quantity:

    数量

  • Unit:,, ('箱''卷''套')

    nit: ‘箱’, ‘卷’, ‘套’

  • ReceiptNumber:

    收货凭证号

  • HardwareMemo:

    硬件备注



3962
3963
3964
# File 'lib/v20230418/models.rb', line 3962

def TypeName
  @TypeName
end

#UnitObject

Parameters:

  • TypeName:,, ('光纤''网线''电源线')

    ypeName: ‘光纤’, ‘网线’, ‘电源线’

  • Quantity:

    数量

  • Unit:,, ('箱''卷''套')

    nit: ‘箱’, ‘卷’, ‘套’

  • ReceiptNumber:

    收货凭证号

  • HardwareMemo:

    硬件备注



3962
3963
3964
# File 'lib/v20230418/models.rb', line 3962

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



3972
3973
3974
3975
3976
3977
3978
# File 'lib/v20230418/models.rb', line 3972

def deserialize(params)
  @TypeName = params['TypeName']
  @Quantity = params['Quantity']
  @Unit = params['Unit']
  @ReceiptNumber = params['ReceiptNumber']
  @HardwareMemo = params['HardwareMemo']
end