Class: TencentCloud::Ecdn::V20191012::DescribeIpStatusResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecdn::V20191012::DescribeIpStatusResponse
- Defined in:
- lib/v20191012/models.rb
Overview
DescribeIpStatus返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ips = nil, totalcount = nil, requestid = nil) ⇒ DescribeIpStatusResponse
constructor
A new instance of DescribeIpStatusResponse.
Constructor Details
#initialize(ips = nil, totalcount = nil, requestid = nil) ⇒ DescribeIpStatusResponse
Returns a new instance of DescribeIpStatusResponse.
573 574 575 576 577 |
# File 'lib/v20191012/models.rb', line 573 def initialize(ips=nil, totalcount=nil, requestid=nil) @Ips = ips @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Ips ⇒ Object
571 572 573 |
# File 'lib/v20191012/models.rb', line 571 def Ips @Ips end |
#RequestId ⇒ Object
571 572 573 |
# File 'lib/v20191012/models.rb', line 571 def RequestId @RequestId end |
#TotalCount ⇒ Object
571 572 573 |
# File 'lib/v20191012/models.rb', line 571 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
579 580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/v20191012/models.rb', line 579 def deserialize(params) unless params['Ips'].nil? @Ips = [] params['Ips'].each do |i| ipstatus_tmp = IpStatus.new ipstatus_tmp.deserialize(i) @Ips << ipstatus_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |