Class: TencentCloud::Yunjing::V20180228::Place

Inherits:
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) ⇒ Place

Returns a new instance of Place.



5729
5730
5731
5732
5733
# File 'lib/v20180228/models.rb', line 5729

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

Instance Attribute Details

#CityIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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



5727
5728
5729
# File 'lib/v20180228/models.rb', line 5727

def CityId
  @CityId
end

#CountryIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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



5727
5728
5729
# File 'lib/v20180228/models.rb', line 5727

def CountryId
  @CountryId
end

#ProvinceIdObject

Parameters:

  • CityId:

    城市 ID。

  • ProvinceId:

    省份 ID。

  • CountryId:

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



5727
5728
5729
# File 'lib/v20180228/models.rb', line 5727

def ProvinceId
  @ProvinceId
end

Instance Method Details

#deserialize(params) ⇒ Object



5735
5736
5737
5738
5739
# File 'lib/v20180228/models.rb', line 5735

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