Class: TencentCloud::Tcr::V20190924::DescribeTagRetentionExecutionResponse

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

Overview

DescribeTagRetentionExecution返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(retentionexecutionlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeTagRetentionExecutionResponse

Returns a new instance of DescribeTagRetentionExecutionResponse.



4195
4196
4197
4198
4199
# File 'lib/v20190924/models.rb', line 4195

def initialize(retentionexecutionlist=nil, totalcount=nil, requestid=nil)
  @RetentionExecutionList = retentionexecutionlist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestId ⇒ Object

Parameters:

  • RetentionExecutionList: —

    版本保留执行记录列表

  • TotalCount: —

    版本保留执行记录总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4193
4194
4195
# File 'lib/v20190924/models.rb', line 4193

def RequestId
  @RequestId
end

#RetentionExecutionList ⇒ Object

Parameters:

  • RetentionExecutionList: —

    版本保留执行记录列表

  • TotalCount: —

    版本保留执行记录总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4193
4194
4195
# File 'lib/v20190924/models.rb', line 4193

def RetentionExecutionList
  @RetentionExecutionList
end

#TotalCount ⇒ Object

Parameters:

  • RetentionExecutionList: —

    版本保留执行记录列表

  • TotalCount: —

    版本保留执行记录总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4193
4194
4195
# File 'lib/v20190924/models.rb', line 4193

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
# File 'lib/v20190924/models.rb', line 4201

def deserialize(params)
  unless params['RetentionExecutionList'].nil?
    @RetentionExecutionList = []
    params['RetentionExecutionList'].each do |i|
      retentionexecution_tmp = RetentionExecution.new
      retentionexecution_tmp.deserialize(i)
      @RetentionExecutionList << retentionexecution_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end