Class: TencentCloud::Cpdp::V20190820::FreezeOrders

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

Overview

冻结订单列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, count = nil) ⇒ FreezeOrders

Returns a new instance of FreezeOrders.



10993
10994
10995
10996
# File 'lib/v20190820/models.rb', line 10993

def initialize(list=nil, count=nil)
  @List = list
  @Count = count
end

Instance Attribute Details

#CountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    列表

  • Count:

    总数



10991
10992
10993
# File 'lib/v20190820/models.rb', line 10991

def Count
  @Count
end

#ListObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • List:

    列表

  • Count:

    总数



10991
10992
10993
# File 'lib/v20190820/models.rb', line 10991

def List
  @List
end

Instance Method Details

#deserialize(params) ⇒ Object



10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
# File 'lib/v20190820/models.rb', line 10998

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      freezeorderresult_tmp = FreezeOrderResult.new
      freezeorderresult_tmp.deserialize(i)
      @List << freezeorderresult_tmp
    end
  end
  @Count = params['Count']
end