Class: TencentCloud::Antiddos::V20200309::DescribeListBGPIPInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::DescribeListBGPIPInstancesResponse
- Defined in:
- lib/v20200309/models.rb
Overview
DescribeListBGPIPInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, instancelist = nil, requestid = nil) ⇒ DescribeListBGPIPInstancesResponse
constructor
A new instance of DescribeListBGPIPInstancesResponse.
Constructor Details
#initialize(total = nil, instancelist = nil, requestid = nil) ⇒ DescribeListBGPIPInstancesResponse
Returns a new instance of DescribeListBGPIPInstancesResponse.
4559 4560 4561 4562 4563 |
# File 'lib/v20200309/models.rb', line 4559 def initialize(total=nil, instancelist=nil, requestid=nil) @Total = total @InstanceList = instancelist @RequestId = requestid end |
Instance Attribute Details
#InstanceList ⇒ Object
4557 4558 4559 |
# File 'lib/v20200309/models.rb', line 4557 def InstanceList @InstanceList end |
#RequestId ⇒ Object
4557 4558 4559 |
# File 'lib/v20200309/models.rb', line 4557 def RequestId @RequestId end |
#Total ⇒ Object
4557 4558 4559 |
# File 'lib/v20200309/models.rb', line 4557 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 |
# File 'lib/v20200309/models.rb', line 4565 def deserialize(params) @Total = params['Total'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| bgpipinstance_tmp = BGPIPInstance.new bgpipinstance_tmp.deserialize(i) @InstanceList << bgpipinstance_tmp end end @RequestId = params['RequestId'] end |