Class: TencentCloud::Cdn::V20180606::DescribeCdnIpResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeCdnIpResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeCdnIp返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ips = nil, requestid = nil) ⇒ DescribeCdnIpResponse
constructor
A new instance of DescribeCdnIpResponse.
Constructor Details
#initialize(ips = nil, requestid = nil) ⇒ DescribeCdnIpResponse
Returns a new instance of DescribeCdnIpResponse.
3952 3953 3954 3955 |
# File 'lib/v20180606/models.rb', line 3952 def initialize(ips=nil, requestid=nil) @Ips = ips @RequestId = requestid end |
Instance Attribute Details
#Ips ⇒ Object
3950 3951 3952 |
# File 'lib/v20180606/models.rb', line 3950 def Ips @Ips end |
#RequestId ⇒ Object
3950 3951 3952 |
# File 'lib/v20180606/models.rb', line 3950 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 |
# File 'lib/v20180606/models.rb', line 3957 def deserialize(params) unless params['Ips'].nil? @Ips = [] params['Ips'].each do |i| cdnip_tmp = CdnIp.new cdnip_tmp.deserialize(i) @Ips << cdnip_tmp end end @RequestId = params['RequestId'] end |