Class: TencentCloud::Cfw::V20190904::SecurityGroupListData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::SecurityGroupListData
- Defined in:
- lib/v20190904/models.rb
Overview
安全组列表数据
Instance Attribute Summary collapse
- #AssetGroupNameIn ⇒ Object
- #AssetGroupNameOut ⇒ Object
- #BothWay ⇒ Object
- #BothWayInfo ⇒ Object
- #Cidr ⇒ Object
- #Detail ⇒ Object
- #Direction ⇒ Object
- #Id ⇒ Object
- #InstanceName ⇒ Object
- #IsNew ⇒ Object
- #OrderIndex ⇒ Object
- #ParameterName ⇒ Object
- #Port ⇒ Object
- #PrivateIp ⇒ Object
- #Protocol ⇒ Object
- #ProtocolPortName ⇒ Object
- #ProtocolPortType ⇒ Object
- #PublicIp ⇒ Object
- #Region ⇒ Object
- #ServiceTemplateId ⇒ Object
- #SourceId ⇒ Object
- #SourceType ⇒ Object
- #Status ⇒ Object
- #Strategy ⇒ Object
- #SubnetId ⇒ Object
- #TargetId ⇒ Object
- #TargetType ⇒ Object
- #Uuid ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderindex = nil, sourceid = nil, sourcetype = nil, targetid = nil, targettype = nil, protocol = nil, port = nil, strategy = nil, detail = nil, bothway = nil, id = nil, status = nil, isnew = nil, vpcid = nil, subnetid = nil, instancename = nil, publicip = nil, privateip = nil, cidr = nil, servicetemplateid = nil, bothwayinfo = nil, direction = nil, protocolporttype = nil, uuid = nil, region = nil, assetgroupnamein = nil, assetgroupnameout = nil, parametername = nil, protocolportname = nil) ⇒ SecurityGroupListData
constructor
A new instance of SecurityGroupListData.
Constructor Details
#initialize(orderindex = nil, sourceid = nil, sourcetype = nil, targetid = nil, targettype = nil, protocol = nil, port = nil, strategy = nil, detail = nil, bothway = nil, id = nil, status = nil, isnew = nil, vpcid = nil, subnetid = nil, instancename = nil, publicip = nil, privateip = nil, cidr = nil, servicetemplateid = nil, bothwayinfo = nil, direction = nil, protocolporttype = nil, uuid = nil, region = nil, assetgroupnamein = nil, assetgroupnameout = nil, parametername = nil, protocolportname = nil) ⇒ SecurityGroupListData
Returns a new instance of SecurityGroupListData.
10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 |
# File 'lib/v20190904/models.rb', line 10002 def initialize(orderindex=nil, sourceid=nil, sourcetype=nil, targetid=nil, targettype=nil, protocol=nil, port=nil, strategy=nil, detail=nil, bothway=nil, id=nil, status=nil, isnew=nil, vpcid=nil, subnetid=nil, instancename=nil, publicip=nil, privateip=nil, cidr=nil, servicetemplateid=nil, =nil, direction=nil, protocolporttype=nil, uuid=nil, region=nil, assetgroupnamein=nil, assetgroupnameout=nil, parametername=nil, protocolportname=nil) @OrderIndex = orderindex @SourceId = sourceid @SourceType = sourcetype @TargetId = targetid @TargetType = targettype @Protocol = protocol @Port = port @Strategy = strategy @Detail = detail @BothWay = bothway @Id = id @Status = status @IsNew = isnew @VpcId = vpcid @SubnetId = subnetid @InstanceName = instancename @PublicIp = publicip @PrivateIp = privateip @Cidr = cidr @ServiceTemplateId = servicetemplateid @BothWayInfo = @Direction = direction @ProtocolPortType = protocolporttype @Uuid = uuid @Region = region @AssetGroupNameIn = assetgroupnamein @AssetGroupNameOut = assetgroupnameout @ParameterName = parametername @ProtocolPortName = protocolportname end |
Instance Attribute Details
#AssetGroupNameIn ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def AssetGroupNameIn @AssetGroupNameIn end |
#AssetGroupNameOut ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def AssetGroupNameOut @AssetGroupNameOut end |
#BothWay ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def BothWay @BothWay end |
#BothWayInfo ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def BothWayInfo @BothWayInfo end |
#Cidr ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Cidr @Cidr end |
#Detail ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Detail @Detail end |
#Direction ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Direction @Direction end |
#Id ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Id @Id end |
#InstanceName ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def InstanceName @InstanceName end |
#IsNew ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def IsNew @IsNew end |
#OrderIndex ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def OrderIndex @OrderIndex end |
#ParameterName ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def ParameterName @ParameterName end |
#Port ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Port @Port end |
#PrivateIp ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def PrivateIp @PrivateIp end |
#Protocol ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Protocol @Protocol end |
#ProtocolPortName ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def ProtocolPortName @ProtocolPortName end |
#ProtocolPortType ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def ProtocolPortType @ProtocolPortType end |
#PublicIp ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def PublicIp @PublicIp end |
#Region ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Region @Region end |
#ServiceTemplateId ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def ServiceTemplateId @ServiceTemplateId end |
#SourceId ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def SourceId @SourceId end |
#SourceType ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def SourceType @SourceType end |
#Status ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Status @Status end |
#Strategy ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Strategy @Strategy end |
#SubnetId ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def SubnetId @SubnetId end |
#TargetId ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def TargetId @TargetId end |
#TargetType ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def TargetType @TargetType end |
#Uuid ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def Uuid @Uuid end |
#VpcId ⇒ Object
10000 10001 10002 |
# File 'lib/v20190904/models.rb', line 10000 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 |
# File 'lib/v20190904/models.rb', line 10034 def deserialize(params) @OrderIndex = params['OrderIndex'] @SourceId = params['SourceId'] @SourceType = params['SourceType'] @TargetId = params['TargetId'] @TargetType = params['TargetType'] @Protocol = params['Protocol'] @Port = params['Port'] @Strategy = params['Strategy'] @Detail = params['Detail'] @BothWay = params['BothWay'] @Id = params['Id'] @Status = params['Status'] @IsNew = params['IsNew'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @InstanceName = params['InstanceName'] @PublicIp = params['PublicIp'] @PrivateIp = params['PrivateIp'] @Cidr = params['Cidr'] @ServiceTemplateId = params['ServiceTemplateId'] unless params['BothWayInfo'].nil? @BothWayInfo = [] params['BothWayInfo'].each do |i| = SecurityGroupBothWayInfo.new .deserialize(i) @BothWayInfo << end end @Direction = params['Direction'] @ProtocolPortType = params['ProtocolPortType'] @Uuid = params['Uuid'] @Region = params['Region'] @AssetGroupNameIn = params['AssetGroupNameIn'] @AssetGroupNameOut = params['AssetGroupNameOut'] @ParameterName = params['ParameterName'] @ProtocolPortName = params['ProtocolPortName'] end |