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.
3829 3830 3831 3832 3833 3834 3835 |
# File 'lib/v20170320/models.rb', line 3829 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
3827 3828 3829 |
# File 'lib/v20170320/models.rb', line 3827 def Cpu @Cpu end |
#Device ⇒ Object
3827 3828 3829 |
# File 'lib/v20170320/models.rb', line 3827 def Device @Device end |
#DeviceType ⇒ Object
3827 3828 3829 |
# File 'lib/v20170320/models.rb', line 3827 def DeviceType @DeviceType end |
#Memory ⇒ Object
3827 3828 3829 |
# File 'lib/v20170320/models.rb', line 3827 def Memory @Memory end |
#Type ⇒ Object
3827 3828 3829 |
# File 'lib/v20170320/models.rb', line 3827 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3837 3838 3839 3840 3841 3842 3843 |
# File 'lib/v20170320/models.rb', line 3837 def deserialize(params) @Device = params['Device'] @Type = params['Type'] @DeviceType = params['DeviceType'] @Memory = params['Memory'] @Cpu = params['Cpu'] end |