Class: TencentCloud::Mna::V20210119::UpdateHardwareRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::UpdateHardwareRequest
- Defined in:
- lib/v20210119/models.rb
Overview
UpdateHardware请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hardwareid = nil, sn = nil, description = nil) ⇒ UpdateHardwareRequest
constructor
A new instance of UpdateHardwareRequest.
Constructor Details
#initialize(hardwareid = nil, sn = nil, description = nil) ⇒ UpdateHardwareRequest
Returns a new instance of UpdateHardwareRequest.
2733 2734 2735 2736 2737 |
# File 'lib/v20210119/models.rb', line 2733 def initialize(hardwareid=nil, sn=nil, description=nil) @HardwareId = hardwareid @SN = sn @Description = description end |
Instance Attribute Details
#Description ⇒ Object
2731 2732 2733 |
# File 'lib/v20210119/models.rb', line 2731 def Description @Description end |
#HardwareId ⇒ Object
2731 2732 2733 |
# File 'lib/v20210119/models.rb', line 2731 def HardwareId @HardwareId end |
#SN ⇒ Object
2731 2732 2733 |
# File 'lib/v20210119/models.rb', line 2731 def SN @SN end |
Instance Method Details
#deserialize(params) ⇒ Object
2739 2740 2741 2742 2743 |
# File 'lib/v20210119/models.rb', line 2739 def deserialize(params) @HardwareId = params['HardwareId'] @SN = params['SN'] @Description = params['Description'] end |