Class: TencentCloud::Tcr::V20190924::DescribeNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeNamespacesResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeNamespaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespacelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeNamespacesResponse
constructor
A new instance of DescribeNamespacesResponse.
Constructor Details
#initialize(namespacelist = nil, totalcount = nil, requestid = nil) ⇒ DescribeNamespacesResponse
Returns a new instance of DescribeNamespacesResponse.
3536 3537 3538 3539 3540 |
# File 'lib/v20190924/models.rb', line 3536 def initialize(namespacelist=nil, totalcount=nil, requestid=nil) @NamespaceList = namespacelist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NamespaceList ⇒ Object
3534 3535 3536 |
# File 'lib/v20190924/models.rb', line 3534 def NamespaceList @NamespaceList end |
#RequestId ⇒ Object
3534 3535 3536 |
# File 'lib/v20190924/models.rb', line 3534 def RequestId @RequestId end |
#TotalCount ⇒ Object
3534 3535 3536 |
# File 'lib/v20190924/models.rb', line 3534 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 |
# File 'lib/v20190924/models.rb', line 3542 def deserialize(params) unless params['NamespaceList'].nil? @NamespaceList = [] params['NamespaceList'].each do |i| tcrnamespaceinfo_tmp = TcrNamespaceInfo.new tcrnamespaceinfo_tmp.deserialize(i) @NamespaceList << tcrnamespaceinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |