Class: TencentCloud::Mna::V20210119::Hardware
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::Hardware
- Defined in:
- lib/v20210119/models.rb
Overview
新建Hardware入参
Instance Attribute Summary collapse
-
#Description ⇒ Object
1,租户付费 2,厂商月付费 3,厂商永久授权.
-
#HardwareId ⇒ Object
1,租户付费 2,厂商月付费 3,厂商永久授权.
-
#LicenseChargingMode ⇒ Object
1,租户付费 2,厂商月付费 3,厂商永久授权.
-
#SN ⇒ Object
1,租户付费 2,厂商月付费 3,厂商永久授权.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sn = nil, licensechargingmode = nil, description = nil, hardwareid = nil) ⇒ Hardware
constructor
A new instance of Hardware.
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
#Description ⇒ Object
1,租户付费2,厂商月付费3,厂商永久授权
2135 2136 2137 |
# File 'lib/v20210119/models.rb', line 2135 def Description @Description end |
#HardwareId ⇒ Object
1,租户付费2,厂商月付费3,厂商永久授权
2135 2136 2137 |
# File 'lib/v20210119/models.rb', line 2135 def HardwareId @HardwareId end |
#LicenseChargingMode ⇒ Object
1,租户付费2,厂商月付费3,厂商永久授权
2135 2136 2137 |
# File 'lib/v20210119/models.rb', line 2135 def LicenseChargingMode @LicenseChargingMode end |
#SN ⇒ Object
1,租户付费2,厂商月付费3,厂商永久授权
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 |