Class: TencentCloud::Hunyuan::V20230901::UserLocation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::UserLocation
- Defined in:
- lib/v20230901/models.rb
Overview
用户位置详细信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, approximate = nil) ⇒ UserLocation
constructor
A new instance of UserLocation.
Constructor Details
#initialize(type = nil, approximate = nil) ⇒ UserLocation
Returns a new instance of UserLocation.
3120 3121 3122 3123 |
# File 'lib/v20230901/models.rb', line 3120 def initialize(type=nil, approximate=nil) @Type = type @Approximate = approximate end |
Instance Attribute Details
#Approximate ⇒ Object
3118 3119 3120 |
# File 'lib/v20230901/models.rb', line 3118 def Approximate @Approximate end |
#Type ⇒ Object
3118 3119 3120 |
# File 'lib/v20230901/models.rb', line 3118 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
3125 3126 3127 3128 3129 3130 3131 |
# File 'lib/v20230901/models.rb', line 3125 def deserialize(params) @Type = params['Type'] unless params['Approximate'].nil? @Approximate = Approximate.new @Approximate.deserialize(params['Approximate']) end end |