Class: TencentCloud::Ecm::V20190719::Country

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

Overview

国家信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(countryid = nil, countryname = nil) ⇒ Country

Returns a new instance of Country.



1076
1077
1078
1079
# File 'lib/v20190719/models.rb', line 1076

def initialize(countryid=nil, countryname=nil)
  @CountryId = countryid
  @CountryName = countryname
end

Instance Attribute Details

#CountryIdObject

Parameters:

  • CountryId:

    国家ID

  • CountryName:

    国家名称



1074
1075
1076
# File 'lib/v20190719/models.rb', line 1074

def CountryId
  @CountryId
end

#CountryNameObject

Parameters:

  • CountryId:

    国家ID

  • CountryName:

    国家名称



1074
1075
1076
# File 'lib/v20190719/models.rb', line 1074

def CountryName
  @CountryName
end

Instance Method Details

#deserialize(params) ⇒ Object



1081
1082
1083
1084
# File 'lib/v20190719/models.rb', line 1081

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