Class: TencentCloud::Dlc::V20210125::OtherCHDFSBinding

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

Overview

非DLC产品CHDFS绑定

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productname = nil, superuser = nil, vpcinfo = nil, isbind = nil) ⇒ OtherCHDFSBinding



13149
13150
13151
13152
13153
13154
# File 'lib/v20210125/models.rb', line 13149

def initialize(productname=nil, superuser=nil, vpcinfo=nil, isbind=nil)
  @ProductName = productname
  @SuperUser = superuser
  @VpcInfo = vpcinfo
  @IsBind = isbind
end

Instance Attribute Details

#IsBindObject



13147
13148
13149
# File 'lib/v20210125/models.rb', line 13147

def IsBind
  @IsBind
end

#ProductNameObject



13147
13148
13149
# File 'lib/v20210125/models.rb', line 13147

def ProductName
  @ProductName
end

#SuperUserObject



13147
13148
13149
# File 'lib/v20210125/models.rb', line 13147

def SuperUser
  @SuperUser
end

#VpcInfoObject



13147
13148
13149
# File 'lib/v20210125/models.rb', line 13147

def VpcInfo
  @VpcInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
# File 'lib/v20210125/models.rb', line 13156

def deserialize(params)
  @ProductName = params['ProductName']
  @SuperUser = params['SuperUser']
  unless params['VpcInfo'].nil?
    @VpcInfo = []
    params['VpcInfo'].each do |i|
      chdfsproductvpcinfo_tmp = CHDFSProductVpcInfo.new
      chdfsproductvpcinfo_tmp.deserialize(i)
      @VpcInfo << chdfsproductvpcinfo_tmp
    end
  end
  @IsBind = params['IsBind']
end