Class: TencentCloud::Teo::V20220901::DescribeDeployHistoryResponse

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

Overview

DescribeDeployHistory返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, records = nil, requestid = nil) ⇒ DescribeDeployHistoryResponse



8475
8476
8477
8478
8479
# File 'lib/v20220901/models.rb', line 8475

def initialize(totalcount=nil, records=nil, requestid=nil)
  @TotalCount = totalcount
  @Records = records
  @RequestId = requestid
end

Instance Attribute Details

#RecordsObject



8473
8474
8475
# File 'lib/v20220901/models.rb', line 8473

def Records
  @Records
end

#RequestIdObject



8473
8474
8475
# File 'lib/v20220901/models.rb', line 8473

def RequestId
  @RequestId
end

#TotalCountObject



8473
8474
8475
# File 'lib/v20220901/models.rb', line 8473

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
# File 'lib/v20220901/models.rb', line 8481

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Records'].nil?
    @Records = []
    params['Records'].each do |i|
      deployrecord_tmp = DeployRecord.new
      deployrecord_tmp.deserialize(i)
      @Records << deployrecord_tmp
    end
  end
  @RequestId = params['RequestId']
end