Class: TencentCloud::Cdb::V20170320::CustomConfig
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::CustomConfig
- Defined in:
- lib/v20170320/models.rb
Overview
proxy配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(device = nil, type = nil, devicetype = nil, memory = nil, cpu = nil) ⇒ CustomConfig
constructor
A new instance of CustomConfig.
Constructor Details
#initialize(device = nil, type = nil, devicetype = nil, memory = nil, cpu = nil) ⇒ CustomConfig
Returns a new instance of CustomConfig.
3804 3805 3806 3807 3808 3809 3810 |
# File 'lib/v20170320/models.rb', line 3804 def initialize(device=nil, type=nil, devicetype=nil, memory=nil, cpu=nil) @Device = device @Type = type @DeviceType = devicetype @Memory = memory @Cpu = cpu end |
Instance Attribute Details
#Cpu ⇒ Object
3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3802 def Cpu @Cpu end |
#Device ⇒ Object
3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3802 def Device @Device end |
#DeviceType ⇒ Object
3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3802 def DeviceType @DeviceType end |
#Memory ⇒ Object
3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3802 def Memory @Memory end |
#Type ⇒ Object
3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3802 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3812 3813 3814 3815 3816 3817 3818 |
# File 'lib/v20170320/models.rb', line 3812 def deserialize(params) @Device = params['Device'] @Type = params['Type'] @DeviceType = params['DeviceType'] @Memory = params['Memory'] @Cpu = params['Cpu'] end |