Class: TencentCloud::Weilingwith::V20230427::DeviceType
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::DeviceType
- Defined in:
- lib/v20230427/models.rb
Overview
设备类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(code = nil, name = nil, parentcode = nil, parentname = nil, issubsystem = nil) ⇒ DeviceType
constructor
A new instance of DeviceType.
Constructor Details
#initialize(code = nil, name = nil, parentcode = nil, parentname = nil, issubsystem = nil) ⇒ DeviceType
Returns a new instance of DeviceType.
5195 5196 5197 5198 5199 5200 5201 |
# File 'lib/v20230427/models.rb', line 5195 def initialize(code=nil, name=nil, parentcode=nil, parentname=nil, issubsystem=nil) @Code = code @Name = name @ParentCode = parentcode @ParentName = parentname @IsSubsystem = issubsystem end |
Instance Attribute Details
#Code ⇒ Object
5193 5194 5195 |
# File 'lib/v20230427/models.rb', line 5193 def Code @Code end |
#IsSubsystem ⇒ Object
5193 5194 5195 |
# File 'lib/v20230427/models.rb', line 5193 def IsSubsystem @IsSubsystem end |
#Name ⇒ Object
5193 5194 5195 |
# File 'lib/v20230427/models.rb', line 5193 def Name @Name end |
#ParentCode ⇒ Object
5193 5194 5195 |
# File 'lib/v20230427/models.rb', line 5193 def ParentCode @ParentCode end |
#ParentName ⇒ Object
5193 5194 5195 |
# File 'lib/v20230427/models.rb', line 5193 def ParentName @ParentName end |
Instance Method Details
#deserialize(params) ⇒ Object
5203 5204 5205 5206 5207 5208 5209 |
# File 'lib/v20230427/models.rb', line 5203 def deserialize(params) @Code = params['Code'] @Name = params['Name'] @ParentCode = params['ParentCode'] @ParentName = params['ParentName'] @IsSubsystem = params['IsSubsystem'] end |