Class: TencentCloud::Mna::V20210119::ActivateHardware
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::ActivateHardware
- Defined in:
- lib/v20210119/models.rb
Overview
激活设备
Instance Attribute Summary collapse
-
#AccessScope ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#DataKey ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#Description ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#DeviceId ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#DeviceName ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#FlowTrunc ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#GroupId ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#GroupName ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#LicensePayMode ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#SN ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
-
#Vendor ⇒ Object
0,月度授权 1,永久授权 若不传则默认为月度授权。 当付费方为厂商时,此参数无效.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vendor = nil, sn = nil, devicename = nil, description = nil, datakey = nil, accessscope = nil, licensepaymode = nil, groupid = nil, groupname = nil, flowtrunc = nil, deviceid = nil) ⇒ ActivateHardware
constructor
A new instance of ActivateHardware.
Constructor Details
#initialize(vendor = nil, sn = nil, devicename = nil, description = nil, datakey = nil, accessscope = nil, licensepaymode = nil, groupid = nil, groupname = nil, flowtrunc = nil, deviceid = nil) ⇒ ActivateHardware
Returns a new instance of ActivateHardware.
51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/v20210119/models.rb', line 51 def initialize(vendor=nil, sn=nil, devicename=nil, description=nil, datakey=nil, accessscope=nil, licensepaymode=nil, groupid=nil, groupname=nil, flowtrunc=nil, deviceid=nil) @Vendor = vendor @SN = sn @DeviceName = devicename @Description = description @DataKey = datakey @AccessScope = accessscope @LicensePayMode = licensepaymode @GroupId = groupid @GroupName = groupname @FlowTrunc = flowtrunc @DeviceId = deviceid end |
Instance Attribute Details
#AccessScope ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def AccessScope @AccessScope end |
#DataKey ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def DataKey @DataKey end |
#Description ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def Description @Description end |
#DeviceId ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def DeviceId @DeviceId end |
#DeviceName ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def DeviceName @DeviceName end |
#FlowTrunc ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def FlowTrunc @FlowTrunc end |
#GroupId ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def GroupId @GroupId end |
#GroupName ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def GroupName @GroupName end |
#LicensePayMode ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def LicensePayMode @LicensePayMode end |
#SN ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def SN @SN end |
#Vendor ⇒ Object
0,月度授权1,永久授权若不传则默认为月度授权。当付费方为厂商时,此参数无效
49 50 51 |
# File 'lib/v20210119/models.rb', line 49 def Vendor @Vendor end |
Instance Method Details
#deserialize(params) ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/v20210119/models.rb', line 65 def deserialize(params) @Vendor = params['Vendor'] @SN = params['SN'] @DeviceName = params['DeviceName'] @Description = params['Description'] @DataKey = params['DataKey'] @AccessScope = params['AccessScope'] @LicensePayMode = params['LicensePayMode'] @GroupId = params['GroupId'] @GroupName = params['GroupName'] @FlowTrunc = params['FlowTrunc'] @DeviceId = params['DeviceId'] end |