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.



1104
1105
1106
1107
1108
1109
1110
1111
1112
# File 'lib/v20180608/models.rb', line 1104

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:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Cidr
  @Cidr
end

#IdObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Name
  @Name
end

#RegionObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Region
  @Region
end

#TargetObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Target
  @Target
end

#TypeObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Type
  @Type
end

#ZoneObject

Parameters:

  • Id:

    子网id

  • Cidr:

    子网的ipv4

  • Zone:

    可用区

  • Type:

    类型

  • Target:

    subnet类型

  • Region:

    地域

  • Name:

    名字



1102
1103
1104
# File 'lib/v20180608/models.rb', line 1102

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



1114
1115
1116
1117
1118
1119
1120
1121
1122
# File 'lib/v20180608/models.rb', line 1114

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