Class: TencentCloud::Cloudhsm::V20191112::UsgPolicy

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

Overview

安全组策略

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, id = nil, addressmodule = nil, proto = nil, port = nil, servicemodule = nil, desc = nil, action = nil) ⇒ UsgPolicy



1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
# File 'lib/v20191112/models.rb', line 1195

def initialize(ip=nil, id=nil, addressmodule=nil, proto=nil, port=nil, servicemodule=nil, desc=nil, action=nil)
  @Ip = ip
  @Id = id
  @AddressModule = addressmodule
  @Proto = proto
  @Port = port
  @ServiceModule = servicemodule
  @Desc = desc
  @Action = action
end

Instance Attribute Details

#ActionObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Action
  @Action
end

#AddressModuleObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def AddressModule
  @AddressModule
end

#DescObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Desc
  @Desc
end

#IdObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Id
  @Id
end

#IpObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Ip
  @Ip
end

#PortObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Port
  @Port
end

#ProtoObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def Proto
  @Proto
end

#ServiceModuleObject



1193
1194
1195
# File 'lib/v20191112/models.rb', line 1193

def ServiceModule
  @ServiceModule
end

Instance Method Details

#deserialize(params) ⇒ Object



1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
# File 'lib/v20191112/models.rb', line 1206

def deserialize(params)
  @Ip = params['Ip']
  @Id = params['Id']
  @AddressModule = params['AddressModule']
  @Proto = params['Proto']
  @Port = params['Port']
  @ServiceModule = params['ServiceModule']
  @Desc = params['Desc']
  @Action = params['Action']
end