Class: TencentCloud::Cdn::V20180606::DescribeIpStatusResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

DescribeIpStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ips = nil, totalcount = nil, requestid = nil) ⇒ DescribeIpStatusResponse

Returns a new instance of DescribeIpStatusResponse.



4791
4792
4793
4794
4795
# File 'lib/v20180606/models.rb', line 4791

def initialize(ips=nil, totalcount=nil, requestid=nil)
  @Ips = ips
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#IpsObject

Parameters:

  • Ips:

    节点列表

  • TotalCount:

    节点总个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4789
4790
4791
# File 'lib/v20180606/models.rb', line 4789

def Ips
  @Ips
end

#RequestIdObject

Parameters:

  • Ips:

    节点列表

  • TotalCount:

    节点总个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4789
4790
4791
# File 'lib/v20180606/models.rb', line 4789

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Ips:

    节点列表

  • TotalCount:

    节点总个数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4789
4790
4791
# File 'lib/v20180606/models.rb', line 4789

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
# File 'lib/v20180606/models.rb', line 4797

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