Class: TencentCloud::Mna::V20210119::Hardware

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

Overview

新建Hardware入参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sn = nil, licensechargingmode = nil, description = nil, hardwareid = nil) ⇒ Hardware

Returns a new instance of Hardware.



2137
2138
2139
2140
2141
2142
# File 'lib/v20210119/models.rb', line 2137

def initialize(sn=nil, licensechargingmode=nil, description=nil, hardwareid=nil)
  @SN = sn
  @LicenseChargingMode = licensechargingmode
  @Description = description
  @HardwareId = hardwareid
end

Instance Attribute Details

#DescriptionObject

1,租户付费2,厂商月付费3,厂商永久授权

Parameters:

  • SN:

    硬件序列号

  • LicenseChargingMode:

    license计费模式:

  • Description:

    设备描述

  • HardwareId:

    硬件ID,入参无需传递



2135
2136
2137
# File 'lib/v20210119/models.rb', line 2135

def Description
  @Description
end

#HardwareIdObject

1,租户付费2,厂商月付费3,厂商永久授权

Parameters:

  • SN:

    硬件序列号

  • LicenseChargingMode:

    license计费模式:

  • Description:

    设备描述

  • HardwareId:

    硬件ID,入参无需传递



2135
2136
2137
# File 'lib/v20210119/models.rb', line 2135

def HardwareId
  @HardwareId
end

#LicenseChargingModeObject

1,租户付费2,厂商月付费3,厂商永久授权

Parameters:

  • SN:

    硬件序列号

  • LicenseChargingMode:

    license计费模式:

  • Description:

    设备描述

  • HardwareId:

    硬件ID,入参无需传递



2135
2136
2137
# File 'lib/v20210119/models.rb', line 2135

def LicenseChargingMode
  @LicenseChargingMode
end

#SNObject

1,租户付费2,厂商月付费3,厂商永久授权

Parameters:

  • SN:

    硬件序列号

  • LicenseChargingMode:

    license计费模式:

  • Description:

    设备描述

  • HardwareId:

    硬件ID,入参无需传递



2135
2136
2137
# File 'lib/v20210119/models.rb', line 2135

def SN
  @SN
end

Instance Method Details

#deserialize(params) ⇒ Object



2144
2145
2146
2147
2148
2149
# File 'lib/v20210119/models.rb', line 2144

def deserialize(params)
  @SN = params['SN']
  @LicenseChargingMode = params['LicenseChargingMode']
  @Description = params['Description']
  @HardwareId = params['HardwareId']
end