Class: TencentCloud::Cdb::V20170320::DescribeDeployGroupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDeployGroupListResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDeployGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeDeployGroupListResponse
constructor
A new instance of DescribeDeployGroupListResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ DescribeDeployGroupListResponse
Returns a new instance of 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
#Items ⇒ Object
6974 6975 6976 |
# File 'lib/v20170320/models.rb', line 6974 def Items @Items end |
#RequestId ⇒ Object
6974 6975 6976 |
# File 'lib/v20170320/models.rb', line 6974 def RequestId @RequestId end |
#Total ⇒ Object
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 |