Class: TencentCloud::Scf::V20180416::ListNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::ListNamespacesResponse
- Defined in:
- lib/v20180416/models.rb
Overview
ListNamespaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespaces = nil, totalcount = nil, requestid = nil) ⇒ ListNamespacesResponse
constructor
A new instance of ListNamespacesResponse.
Constructor Details
#initialize(namespaces = nil, totalcount = nil, requestid = nil) ⇒ ListNamespacesResponse
Returns a new instance of ListNamespacesResponse.
3500 3501 3502 3503 3504 |
# File 'lib/v20180416/models.rb', line 3500 def initialize(namespaces=nil, totalcount=nil, requestid=nil) @Namespaces = namespaces @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Namespaces ⇒ Object
3498 3499 3500 |
# File 'lib/v20180416/models.rb', line 3498 def Namespaces @Namespaces end |
#RequestId ⇒ Object
3498 3499 3500 |
# File 'lib/v20180416/models.rb', line 3498 def RequestId @RequestId end |
#TotalCount ⇒ Object
3498 3499 3500 |
# File 'lib/v20180416/models.rb', line 3498 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 |
# File 'lib/v20180416/models.rb', line 3506 def deserialize(params) unless params['Namespaces'].nil? @Namespaces = [] params['Namespaces'].each do |i| namespace_tmp = Namespace.new namespace_tmp.deserialize(i) @Namespaces << namespace_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |