Class: TencentCloud::Ckafka::V20190819::ListCvmAndIpInfoRsp
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::ListCvmAndIpInfoRsp
- Defined in:
- lib/v20190819/models.rb
Overview
CVM和IP 信息列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cvmlist = nil, totalcount = nil) ⇒ ListCvmAndIpInfoRsp
constructor
A new instance of ListCvmAndIpInfoRsp.
Constructor Details
#initialize(cvmlist = nil, totalcount = nil) ⇒ ListCvmAndIpInfoRsp
Returns a new instance of ListCvmAndIpInfoRsp.
8777 8778 8779 8780 |
# File 'lib/v20190819/models.rb', line 8777 def initialize(cvmlist=nil, totalcount=nil) @CvmList = cvmlist @TotalCount = totalcount end |
Instance Attribute Details
#CvmList ⇒ Object
8775 8776 8777 |
# File 'lib/v20190819/models.rb', line 8775 def CvmList @CvmList end |
#TotalCount ⇒ Object
8775 8776 8777 |
# File 'lib/v20190819/models.rb', line 8775 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 |
# File 'lib/v20190819/models.rb', line 8782 def deserialize(params) unless params['CvmList'].nil? @CvmList = [] params['CvmList'].each do |i| cvmandipinfo_tmp = CvmAndIpInfo.new cvmandipinfo_tmp.deserialize(i) @CvmList << cvmandipinfo_tmp end end @TotalCount = params['TotalCount'] end |