Class: TencentCloud::Tcr::V20190924::DescribeInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeInstancesResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, registries = nil, requestid = nil) ⇒ DescribeInstancesResponse
constructor
A new instance of DescribeInstancesResponse.
Constructor Details
#initialize(totalcount = nil, registries = nil, requestid = nil) ⇒ DescribeInstancesResponse
Returns a new instance of DescribeInstancesResponse.
3310 3311 3312 3313 3314 |
# File 'lib/v20190924/models.rb', line 3310 def initialize(totalcount=nil, registries=nil, requestid=nil) @TotalCount = totalcount @Registries = registries @RequestId = requestid end |
Instance Attribute Details
#Registries ⇒ Object
3308 3309 3310 |
# File 'lib/v20190924/models.rb', line 3308 def Registries @Registries end |
#RequestId ⇒ Object
3308 3309 3310 |
# File 'lib/v20190924/models.rb', line 3308 def RequestId @RequestId end |
#TotalCount ⇒ Object
3308 3309 3310 |
# File 'lib/v20190924/models.rb', line 3308 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 |
# File 'lib/v20190924/models.rb', line 3316 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Registries'].nil? @Registries = [] params['Registries'].each do |i| registry_tmp = Registry.new registry_tmp.deserialize(i) @Registries << registry_tmp end end @RequestId = params['RequestId'] end |