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

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

#IdObject

Parameters:

  • Id:

    对象 Id

  • Name:

    对象名称



9732
9733
9734
# File 'lib/v20180606/models.rb', line 9732

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    对象 Id

  • Name:

    对象名称



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