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.



35409
35410
35411
35412
35413
35414
# File 'lib/v20180228/models.rb', line 35409

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:

    位置名称



35407
35408
35409
# File 'lib/v20180228/models.rb', line 35407

def CityId
  @CityId
end

#CountryIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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

  • Location:

    位置名称



35407
35408
35409
# File 'lib/v20180228/models.rb', line 35407

def CountryId
  @CountryId
end

#LocationObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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

  • Location:

    位置名称



35407
35408
35409
# File 'lib/v20180228/models.rb', line 35407

def Location
  @Location
end

#ProvinceIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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

  • Location:

    位置名称



35407
35408
35409
# File 'lib/v20180228/models.rb', line 35407

def ProvinceId
  @ProvinceId
end

Instance Method Details

#deserialize(params) ⇒ Object



35416
35417
35418
35419
35420
35421
# File 'lib/v20180228/models.rb', line 35416

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