Class: TencentCloud::Cwp::V20180228::OsName
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::OsName
- Defined in:
- lib/v20180228/models.rb
Overview
操作系统名称
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, machineostype = nil) ⇒ OsName
constructor
A new instance of OsName.
Constructor Details
#initialize(name = nil, machineostype = nil) ⇒ OsName
Returns a new instance of OsName.
35385 35386 35387 35388 |
# File 'lib/v20180228/models.rb', line 35385 def initialize(name=nil, machineostype=nil) @Name = name @MachineOSType = machineostype end |
Instance Attribute Details
#MachineOSType ⇒ Object
35383 35384 35385 |
# File 'lib/v20180228/models.rb', line 35383 def MachineOSType @MachineOSType end |
#Name ⇒ Object
35383 35384 35385 |
# File 'lib/v20180228/models.rb', line 35383 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
35390 35391 35392 35393 |
# File 'lib/v20180228/models.rb', line 35390 def deserialize(params) @Name = params['Name'] @MachineOSType = params['MachineOSType'] end |