Class: TencentCloud::Dcdb::V20180411::DescribeDcnDetailResponse

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

Overview

DescribeDcnDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dcndetails = nil, requestid = nil) ⇒ DescribeDcnDetailResponse



3661
3662
3663
3664
# File 'lib/v20180411/models.rb', line 3661

def initialize(dcndetails=nil, requestid=nil)
  @DcnDetails = dcndetails
  @RequestId = requestid
end

Instance Attribute Details

#DcnDetailsObject



3659
3660
3661
# File 'lib/v20180411/models.rb', line 3659

def DcnDetails
  @DcnDetails
end

#RequestIdObject



3659
3660
3661
# File 'lib/v20180411/models.rb', line 3659

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
# File 'lib/v20180411/models.rb', line 3666

def deserialize(params)
  unless params['DcnDetails'].nil?
    @DcnDetails = []
    params['DcnDetails'].each do |i|
      dcndetailitem_tmp = DcnDetailItem.new
      dcndetailitem_tmp.deserialize(i)
      @DcnDetails << dcndetailitem_tmp
    end
  end
  @RequestId = params['RequestId']
end