Class: TencentCloud::Cdn::V20180606::DescribeCdnOriginIpResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeCdnOriginIpResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeCdnOriginIp返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ips = nil, totalcount = nil, requestid = nil) ⇒ DescribeCdnOriginIpResponse
constructor
A new instance of DescribeCdnOriginIpResponse.
Constructor Details
#initialize(ips = nil, totalcount = nil, requestid = nil) ⇒ DescribeCdnOriginIpResponse
Returns a new instance of DescribeCdnOriginIpResponse.
2777 2778 2779 2780 2781 |
# File 'lib/v20180606/models.rb', line 2777 def initialize(ips=nil, totalcount=nil, requestid=nil) @Ips = ips @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Ips ⇒ Object
2775 2776 2777 |
# File 'lib/v20180606/models.rb', line 2775 def Ips @Ips end |
#RequestId ⇒ Object
2775 2776 2777 |
# File 'lib/v20180606/models.rb', line 2775 def RequestId @RequestId end |
#TotalCount ⇒ Object
2775 2776 2777 |
# File 'lib/v20180606/models.rb', line 2775 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 |
# File 'lib/v20180606/models.rb', line 2783 def deserialize(params) unless params['Ips'].nil? @Ips = [] params['Ips'].each do |i| originip_tmp = OriginIp.new originip_tmp.deserialize(i) @Ips << originip_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |