Class: TencentCloud::Iecp::V20210914::DescribeNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::DescribeNamespacesResponse
- Defined in:
- lib/v20210914/models.rb
Overview
DescribeNamespaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, requestid = nil) ⇒ DescribeNamespacesResponse
constructor
A new instance of DescribeNamespacesResponse.
Constructor Details
#initialize(items = nil, requestid = nil) ⇒ DescribeNamespacesResponse
Returns a new instance of DescribeNamespacesResponse.
3576 3577 3578 3579 |
# File 'lib/v20210914/models.rb', line 3576 def initialize(items=nil, requestid=nil) @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
3574 3575 3576 |
# File 'lib/v20210914/models.rb', line 3574 def Items @Items end |
#RequestId ⇒ Object
3574 3575 3576 |
# File 'lib/v20210914/models.rb', line 3574 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 |
# File 'lib/v20210914/models.rb', line 3581 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| namespaceinfo_tmp = NamespaceInfo.new namespaceinfo_tmp.deserialize(i) @Items << namespaceinfo_tmp end end @RequestId = params['RequestId'] end |