Class: TencentCloud::Cwp::V20180228::Place

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

Overview

登录地信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cityid = nil, provinceid = nil, countryid = nil, location = nil) ⇒ Place

Returns a new instance of Place.



35031
35032
35033
35034
35035
35036
# File 'lib/v20180228/models.rb', line 35031

def initialize(cityid=nil, provinceid=nil, countryid=nil, location=nil)
  @CityId = cityid
  @ProvinceId = provinceid
  @CountryId = countryid
  @Location = location
end

Instance Attribute Details

#CityIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

    国家ID,暂只支持境内:1。

  • Location:

    位置名称



35029
35030
35031
# File 'lib/v20180228/models.rb', line 35029

def CityId
  @CityId
end

#CountryIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

    国家ID,暂只支持境内:1。

  • Location:

    位置名称



35029
35030
35031
# File 'lib/v20180228/models.rb', line 35029

def CountryId
  @CountryId
end

#LocationObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

    国家ID,暂只支持境内:1。

  • Location:

    位置名称



35029
35030
35031
# File 'lib/v20180228/models.rb', line 35029

def Location
  @Location
end

#ProvinceIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

    国家ID,暂只支持境内:1。

  • Location:

    位置名称



35029
35030
35031
# File 'lib/v20180228/models.rb', line 35029

def ProvinceId
  @ProvinceId
end

Instance Method Details

#deserialize(params) ⇒ Object



35038
35039
35040
35041
35042
35043
# File 'lib/v20180228/models.rb', line 35038

def deserialize(params)
  @CityId = params['CityId']
  @ProvinceId = params['ProvinceId']
  @CountryId = params['CountryId']
  @Location = params['Location']
end