Class: TencentCloud::Weilingwith::V20230427::AdministrativeDetail

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

Overview

行政区划详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AdministrativeCodeObject

Parameters:

  • AdministrativeTypeCode:

    行政区域类型编码

  • AdministrativeCode:

    行政区域编码

  • AdministrativeName:

    行政区域名称



266
267
268
# File 'lib/v20230427/models.rb', line 266

def AdministrativeCode
  @AdministrativeCode
end

#AdministrativeNameObject

Parameters:

  • AdministrativeTypeCode:

    行政区域类型编码

  • AdministrativeCode:

    行政区域编码

  • AdministrativeName:

    行政区域名称



266
267
268
# File 'lib/v20230427/models.rb', line 266

def AdministrativeName
  @AdministrativeName
end

#AdministrativeTypeCodeObject

Parameters:

  • AdministrativeTypeCode:

    行政区域类型编码

  • AdministrativeCode:

    行政区域编码

  • AdministrativeName:

    行政区域名称



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