Class: TencentCloud::Cdn::V20180606::MapInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::MapInfo
- Defined in:
- lib/v20180606/models.rb
Overview
名称与ID映射关系
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil) ⇒ MapInfo
constructor
A new instance of MapInfo.
Constructor Details
#initialize(id = nil, name = nil) ⇒ MapInfo
Returns a new instance of MapInfo.
9734 9735 9736 9737 |
# File 'lib/v20180606/models.rb', line 9734 def initialize(id=nil, name=nil) @Id = id @Name = name end |
Instance Attribute Details
#Id ⇒ Object
9732 9733 9734 |
# File 'lib/v20180606/models.rb', line 9732 def Id @Id end |
#Name ⇒ Object
9732 9733 9734 |
# File 'lib/v20180606/models.rb', line 9732 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
9739 9740 9741 9742 |
# File 'lib/v20180606/models.rb', line 9739 def deserialize(params) @Id = params['Id'] @Name = params['Name'] end |