Class: TencentCloud::Emr::V20190103::SubnetInfo

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

Overview

子网信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subnetname = nil, subnetid = nil) ⇒ SubnetInfo

Returns a new instance of SubnetInfo.



13973
13974
13975
13976
# File 'lib/v20190103/models.rb', line 13973

def initialize(subnetname=nil, subnetid=nil)
  @SubnetName = subnetname
  @SubnetId = subnetid
end

Instance Attribute Details

#SubnetIdObject

Parameters:

  • SubnetName:

    子网信息(名字)

  • SubnetId:

    子网信息(ID)



13971
13972
13973
# File 'lib/v20190103/models.rb', line 13971

def SubnetId
  @SubnetId
end

#SubnetNameObject

Parameters:

  • SubnetName:

    子网信息(名字)

  • SubnetId:

    子网信息(ID)



13971
13972
13973
# File 'lib/v20190103/models.rb', line 13971

def SubnetName
  @SubnetName
end

Instance Method Details

#deserialize(params) ⇒ Object



13978
13979
13980
13981
# File 'lib/v20190103/models.rb', line 13978

def deserialize(params)
  @SubnetName = params['SubnetName']
  @SubnetId = params['SubnetId']
end