Class: TencentCloud::Weilingwith::V20230427::AdministrativeDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::AdministrativeDetail
- Defined in:
- lib/v20230427/models.rb
Overview
行政区划详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(administrativetypecode = nil, administrativecode = nil, administrativename = nil) ⇒ AdministrativeDetail
constructor
A new instance of AdministrativeDetail.
Constructor Details
#initialize(administrativetypecode = nil, administrativecode = nil, administrativename = nil) ⇒ AdministrativeDetail
Returns a new instance of AdministrativeDetail.
268 269 270 271 272 |
# File 'lib/v20230427/models.rb', line 268 def initialize(administrativetypecode=nil, administrativecode=nil, administrativename=nil) @AdministrativeTypeCode = administrativetypecode @AdministrativeCode = administrativecode @AdministrativeName = administrativename end |
Instance Attribute Details
#AdministrativeCode ⇒ Object
266 267 268 |
# File 'lib/v20230427/models.rb', line 266 def AdministrativeCode @AdministrativeCode end |
#AdministrativeName ⇒ Object
266 267 268 |
# File 'lib/v20230427/models.rb', line 266 def AdministrativeName @AdministrativeName end |
#AdministrativeTypeCode ⇒ Object
266 267 268 |
# File 'lib/v20230427/models.rb', line 266 def AdministrativeTypeCode @AdministrativeTypeCode end |
Instance Method Details
#deserialize(params) ⇒ Object
274 275 276 277 278 |
# File 'lib/v20230427/models.rb', line 274 def deserialize(params) @AdministrativeTypeCode = params['AdministrativeTypeCode'] @AdministrativeCode = params['AdministrativeCode'] @AdministrativeName = params['AdministrativeName'] end |