Class: TencentCloud::Cdb::V20170320::DescribeRoGroupsResponse

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

Overview

DescribeRoGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rogroups = nil, requestid = nil) ⇒ DescribeRoGroupsResponse



7881
7882
7883
7884
# File 'lib/v20170320/models.rb', line 7881

def initialize(rogroups=nil, requestid=nil)
  @RoGroups = rogroups
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



7879
7880
7881
# File 'lib/v20170320/models.rb', line 7879

def RequestId
  @RequestId
end

#RoGroupsObject



7879
7880
7881
# File 'lib/v20170320/models.rb', line 7879

def RoGroups
  @RoGroups
end

Instance Method Details

#deserialize(params) ⇒ Object



7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
# File 'lib/v20170320/models.rb', line 7886

def deserialize(params)
  unless params['RoGroups'].nil?
    @RoGroups = []
    params['RoGroups'].each do |i|
      rogroup_tmp = RoGroup.new
      rogroup_tmp.deserialize(i)
      @RoGroups << rogroup_tmp
    end
  end
  @RequestId = params['RequestId']
end