Class: TencentCloud::Ssl::V20191205::ApiGatewayInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::ApiGatewayInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
apigateway实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, instancelist = nil, totalcount = nil, error = nil) ⇒ ApiGatewayInstanceList
constructor
A new instance of ApiGatewayInstanceList.
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
#Error ⇒ Object
63 64 65 |
# File 'lib/v20191205/models.rb', line 63 def Error @Error end |
#InstanceList ⇒ Object
63 64 65 |
# File 'lib/v20191205/models.rb', line 63 def InstanceList @InstanceList end |
#Region ⇒ Object
63 64 65 |
# File 'lib/v20191205/models.rb', line 63 def Region @Region end |
#TotalCount ⇒ Object
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.new .deserialize(i) @InstanceList << end end @TotalCount = params['TotalCount'] @Error = params['Error'] end |