Class: TencentCloud::Ecm::V20190719::Position
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::Position
- Defined in:
- lib/v20190719/models.rb
Overview
描述实例的位置相关信息。
Instance Attribute Summary collapse
-
#Area ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#City ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Country ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Ipv6Supported ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Province ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RegionInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ZoneInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zoneinfo = nil, country = nil, area = nil, province = nil, city = nil, regioninfo = nil, ipv6supported = nil) ⇒ Position
constructor
A new instance of Position.
Constructor Details
#initialize(zoneinfo = nil, country = nil, area = nil, province = nil, city = nil, regioninfo = nil, ipv6supported = nil) ⇒ Position
Returns a new instance of Position.
9071 9072 9073 9074 9075 9076 9077 9078 9079 |
# File 'lib/v20190719/models.rb', line 9071 def initialize(zoneinfo=nil, country=nil, area=nil, province=nil, city=nil, regioninfo=nil, ipv6supported=nil) @ZoneInfo = zoneinfo @Country = country @Area = area @Province = province @City = city @RegionInfo = regioninfo @Ipv6Supported = ipv6supported end |
Instance Attribute Details
#Area ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def Area @Area end |
#City ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def City @City end |
#Country ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def Country @Country end |
#Ipv6Supported ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def Ipv6Supported @Ipv6Supported end |
#Province ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def Province @Province end |
#RegionInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def RegionInfo @RegionInfo end |
#ZoneInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9069 9070 9071 |
# File 'lib/v20190719/models.rb', line 9069 def ZoneInfo @ZoneInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 |
# File 'lib/v20190719/models.rb', line 9081 def deserialize(params) unless params['ZoneInfo'].nil? @ZoneInfo = ZoneInfo.new @ZoneInfo.deserialize(params['ZoneInfo']) end unless params['Country'].nil? @Country = Country.new @Country.deserialize(params['Country']) end unless params['Area'].nil? @Area = Area.new @Area.deserialize(params['Area']) end unless params['Province'].nil? @Province = Province.new @Province.deserialize(params['Province']) end unless params['City'].nil? @City = City.new @City.deserialize(params['City']) end unless params['RegionInfo'].nil? @RegionInfo = RegionInfo.new @RegionInfo.deserialize(params['RegionInfo']) end @Ipv6Supported = params['Ipv6Supported'] end |