Class: TencentCloud::Tem::V20210701::LogConfigListPage

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

Overview

LogConfig 列表结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(records = nil, continuetoken = nil) ⇒ LogConfigListPage

Returns a new instance of LogConfigListPage.



3336
3337
3338
3339
# File 'lib/v20210701/models.rb', line 3336

def initialize(records=nil, continuetoken=nil)
  @Records = records
  @ContinueToken = continuetoken
end

Instance Attribute Details

#ContinueTokenObject

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

Parameters:

  • Records:

    记录

  • ContinueToken:

    翻页游标



3334
3335
3336
# File 'lib/v20210701/models.rb', line 3334

def ContinueToken
  @ContinueToken
end

#RecordsObject

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

Parameters:

  • Records:

    记录

  • ContinueToken:

    翻页游标



3334
3335
3336
# File 'lib/v20210701/models.rb', line 3334

def Records
  @Records
end

Instance Method Details

#deserialize(params) ⇒ Object



3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
# File 'lib/v20210701/models.rb', line 3341

def deserialize(params)
  unless params['Records'].nil?
    @Records = []
    params['Records'].each do |i|
      logconfig_tmp = LogConfig.new
      logconfig_tmp.deserialize(i)
      @Records << logconfig_tmp
    end
  end
  @ContinueToken = params['ContinueToken']
end