Class: TencentCloud::Monitor::V20180724::DescribeGrafanaInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeGrafanaInstancesResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeGrafanaInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceset = nil, totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeGrafanaInstancesResponse
constructor
A new instance of DescribeGrafanaInstancesResponse.
Constructor Details
#initialize(instanceset = nil, totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeGrafanaInstancesResponse
Returns a new instance of DescribeGrafanaInstancesResponse.
6050 6051 6052 6053 6054 6055 |
# File 'lib/v20180724/models.rb', line 6050 def initialize(instanceset=nil, totalcount=nil, instances=nil, requestid=nil) @InstanceSet = instanceset @TotalCount = totalcount @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
6048 6049 6050 |
# File 'lib/v20180724/models.rb', line 6048 def Instances @Instances end |
#InstanceSet ⇒ Object
6048 6049 6050 |
# File 'lib/v20180724/models.rb', line 6048 def InstanceSet @InstanceSet end |
#RequestId ⇒ Object
6048 6049 6050 |
# File 'lib/v20180724/models.rb', line 6048 def RequestId @RequestId end |
#TotalCount ⇒ Object
6048 6049 6050 |
# File 'lib/v20180724/models.rb', line 6048 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 |
# File 'lib/v20180724/models.rb', line 6057 def deserialize(params) unless params['InstanceSet'].nil? @InstanceSet = [] params['InstanceSet'].each do |i| grafanainstanceinfo_tmp = GrafanaInstanceInfo.new grafanainstanceinfo_tmp.deserialize(i) @InstanceSet << grafanainstanceinfo_tmp end end @TotalCount = params['TotalCount'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| grafanainstanceinfo_tmp = GrafanaInstanceInfo.new grafanainstanceinfo_tmp.deserialize(i) @Instances << grafanainstanceinfo_tmp end end @RequestId = params['RequestId'] end |