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.
34971 34972 34973 34974 |
# File 'lib/v20180228/models.rb', line 34971 def initialize(name=nil, machineostype=nil) @Name = name @MachineOSType = machineostype end |
Instance Attribute Details
#MachineOSType ⇒ Object
34969 34970 34971 |
# File 'lib/v20180228/models.rb', line 34969 def MachineOSType @MachineOSType end |
#Name ⇒ Object
34969 34970 34971 |
# File 'lib/v20180228/models.rb', line 34969 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
34976 34977 34978 34979 |
# File 'lib/v20180228/models.rb', line 34976 def deserialize(params) @Name = params['Name'] @MachineOSType = params['MachineOSType'] end |