Class: TencentCloud::Cdb::V20170320::DescribeDeployGroupListResponse

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

Overview

DescribeDeployGroupList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeDeployGroupListResponse



6976
6977
6978
6979
6980
# File 'lib/v20170320/models.rb', line 6976

def initialize(total=nil, items=nil, requestid=nil)
  @Total = total
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



6974
6975
6976
# File 'lib/v20170320/models.rb', line 6974

def Items
  @Items
end

#RequestIdObject



6974
6975
6976
# File 'lib/v20170320/models.rb', line 6974

def RequestId
  @RequestId
end

#TotalObject



6974
6975
6976
# File 'lib/v20170320/models.rb', line 6974

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
# File 'lib/v20170320/models.rb', line 6982

def deserialize(params)
  @Total = params['Total']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      deploygroupinfo_tmp = DeployGroupInfo.new
      deploygroupinfo_tmp.deserialize(i)
      @Items << deploygroupinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end