Class: TencentCloud::Tcb::V20180608::CloudBaseRunVpcSubnet

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

Overview

子网信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, cidr = nil, zone = nil, type = nil, target = nil, region = nil, name = nil) ⇒ CloudBaseRunVpcSubnet

Returns a new instance of CloudBaseRunVpcSubnet.



1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'lib/v20180608/models.rb', line 1358

def initialize(id=nil, cidr=nil, zone=nil, type=nil, target=nil, region=nil, name=nil)
  @Id = id
  @Cidr = cidr
  @Zone = zone
  @Type = type
  @Target = target
  @Region = region
  @Name = name
end

Instance Attribute Details

#CidrObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Cidr
  @Cidr
end

#IdObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Name
  @Name
end

#RegionObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Region
  @Region
end

#TargetObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Target
  @Target
end

#TypeObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Type
  @Type
end

#ZoneObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1356
1357
1358
# File 'lib/v20180608/models.rb', line 1356

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



1368
1369
1370
1371
1372
1373
1374
1375
1376
# File 'lib/v20180608/models.rb', line 1368

def deserialize(params)
  @Id = params['Id']
  @Cidr = params['Cidr']
  @Zone = params['Zone']
  @Type = params['Type']
  @Target = params['Target']
  @Region = params['Region']
  @Name = params['Name']
end