Class: TencentCloud::Ssl::V20191205::ApiGatewayInstanceList

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191205/models.rb

Overview

apigateway实例详情 - 异步关联云资源数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ ApiGatewayInstanceList



65
66
67
68
69
70
# File 'lib/v20191205/models.rb', line 65

def initialize(region=nil, instancelist=nil, totalcount=nil, error=nil)
  @Region = region
  @InstanceList = instancelist
  @TotalCount = totalcount
  @Error = error
end

Instance Attribute Details

#ErrorObject



63
64
65
# File 'lib/v20191205/models.rb', line 63

def Error
  @Error
end

#InstanceListObject



63
64
65
# File 'lib/v20191205/models.rb', line 63

def InstanceList
  @InstanceList
end

#RegionObject



63
64
65
# File 'lib/v20191205/models.rb', line 63

def Region
  @Region
end

#TotalCountObject



63
64
65
# File 'lib/v20191205/models.rb', line 63

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/v20191205/models.rb', line 72

def deserialize(params)
  @Region = params['Region']
  unless params['InstanceList'].nil?
    @InstanceList = []
    params['InstanceList'].each do |i|
      apigatewayinstancedetail_tmp = ApiGatewayInstanceDetail.new
      apigatewayinstancedetail_tmp.deserialize(i)
      @InstanceList << apigatewayinstancedetail_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @Error = params['Error']
end