Class: TencentCloud::Cwp::V20180228::OsName

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

Overview

操作系统名称

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MachineOSTypeObject

Parameters:

  • Name:

    系统名称

  • MachineOSType:

    操作系统类型枚举值



35383
35384
35385
# File 'lib/v20180228/models.rb', line 35383

def MachineOSType
  @MachineOSType
end

#NameObject

Parameters:

  • Name:

    系统名称

  • MachineOSType:

    操作系统类型枚举值



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