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.



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

#MachineOSTypeObject

Parameters:

  • Name:

    系统名称

  • MachineOSType:

    操作系统类型枚举值



34969
34970
34971
# File 'lib/v20180228/models.rb', line 34969

def MachineOSType
  @MachineOSType
end

#NameObject

Parameters:

  • Name:

    系统名称

  • MachineOSType:

    操作系统类型枚举值



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