Class: TencentCloud::Cdn::V20180606::MapInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

名称与ID映射关系

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil) ⇒ MapInfo



7066
7067
7068
7069
# File 'lib/v20180606/models.rb', line 7066

def initialize(id=nil, name=nil)
  @Id = id
  @Name = name
end

Instance Attribute Details

#IdObject



7064
7065
7066
# File 'lib/v20180606/models.rb', line 7064

def Id
  @Id
end

#NameObject



7064
7065
7066
# File 'lib/v20180606/models.rb', line 7064

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



7071
7072
7073
7074
# File 'lib/v20180606/models.rb', line 7071

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
end