Class: TencentCloud::Cdn::V20180606::DescribeIpStatusResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeIpStatusResponse
- Defined in:
- lib/v20180606/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.
4779 4780 4781 4782 4783 |
# File 'lib/v20180606/models.rb', line 4779 def initialize(ips=nil, totalcount=nil, requestid=nil) @Ips = ips @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Ips ⇒ Object
4777 4778 4779 |
# File 'lib/v20180606/models.rb', line 4777 def Ips @Ips end |
#RequestId ⇒ Object
4777 4778 4779 |
# File 'lib/v20180606/models.rb', line 4777 def RequestId @RequestId end |
#TotalCount ⇒ Object
4777 4778 4779 |
# File 'lib/v20180606/models.rb', line 4777 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 |
# File 'lib/v20180606/models.rb', line 4785 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 |