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.
3992 3993 3994 3995 3996 |
# File 'lib/v20180606/models.rb', line 3992 def initialize(ips=nil, totalcount=nil, requestid=nil) @Ips = ips @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Ips ⇒ Object
3990 3991 3992 |
# File 'lib/v20180606/models.rb', line 3990 def Ips @Ips end |
#RequestId ⇒ Object
3990 3991 3992 |
# File 'lib/v20180606/models.rb', line 3990 def RequestId @RequestId end |
#TotalCount ⇒ Object
3990 3991 3992 |
# File 'lib/v20180606/models.rb', line 3990 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 |
# File 'lib/v20180606/models.rb', line 3998 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 |