Class: TencentCloud::Waf::V20180125::Area
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::Area
- Defined in:
- lib/v20180125/models.rb
Overview
地域信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(country = nil, region = nil, city = nil) ⇒ Area
constructor
A new instance of Area.
Constructor Details
#initialize(country = nil, region = nil, city = nil) ⇒ Area
Returns a new instance of Area.
1747 1748 1749 1750 1751 |
# File 'lib/v20180125/models.rb', line 1747 def initialize(country=nil, region=nil, city=nil) @Country = country @Region = region @City = city end |
Instance Attribute Details
#City ⇒ Object
1745 1746 1747 |
# File 'lib/v20180125/models.rb', line 1745 def City @City end |
#Country ⇒ Object
1745 1746 1747 |
# File 'lib/v20180125/models.rb', line 1745 def Country @Country end |
#Region ⇒ Object
1745 1746 1747 |
# File 'lib/v20180125/models.rb', line 1745 def Region @Region end |
Instance Method Details
#deserialize(params) ⇒ Object
1753 1754 1755 1756 1757 |
# File 'lib/v20180125/models.rb', line 1753 def deserialize(params) @Country = params['Country'] @Region = params['Region'] @City = params['City'] end |