Class: TencentCloud::Tic::V20201117::DescribeStacksResponse

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

Overview

DescribeStacks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, stacks = nil, requestid = nil) ⇒ DescribeStacksResponse

Returns a new instance of DescribeStacksResponse.



479
480
481
482
483
# File 'lib/v20201117/models.rb', line 479

def initialize(totalcount=nil, stacks=nil, requestid=nil)
  @TotalCount = totalcount
  @Stacks = stacks
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的资源栈数量

  • Stacks:

    资源栈详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



477
478
479
# File 'lib/v20201117/models.rb', line 477

def RequestId
  @RequestId
end

#StacksObject

Parameters:

  • TotalCount:

    符合条件的资源栈数量

  • Stacks:

    资源栈详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



477
478
479
# File 'lib/v20201117/models.rb', line 477

def Stacks
  @Stacks
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的资源栈数量

  • Stacks:

    资源栈详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



477
478
479
# File 'lib/v20201117/models.rb', line 477

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



485
486
487
488
489
490
491
492
493
494
495
496
# File 'lib/v20201117/models.rb', line 485

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Stacks'].nil?
    @Stacks = []
    params['Stacks'].each do |i|
      stackinfo_tmp = StackInfo.new
      stackinfo_tmp.deserialize(i)
      @Stacks << stackinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end