Class: TencentCloud::Tms::V20200713::Device
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tms::V20200713::Device
- Defined in:
- lib/v20200713/models.rb
Overview
设备信息
Instance Attribute Summary collapse
- #DeviceId ⇒ Object
- #IDFA ⇒ Object
- #IDFV ⇒ Object
- #IMEI ⇒ Object
- #IP ⇒ Object
- #Mac ⇒ Object
- #TokenId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, mac = nil, tokenid = nil, deviceid = nil, imei = nil, idfa = nil, idfv = nil) ⇒ Device
constructor
A new instance of Device.
Constructor Details
#initialize(ip = nil, mac = nil, tokenid = nil, deviceid = nil, imei = nil, idfa = nil, idfv = nil) ⇒ Device
Returns a new instance of Device.
267 268 269 270 271 272 273 274 275 |
# File 'lib/v20200713/models.rb', line 267 def initialize(ip=nil, mac=nil, tokenid=nil, deviceid=nil, imei=nil, idfa=nil, idfv=nil) @IP = ip @Mac = mac @TokenId = tokenid @DeviceId = deviceid @IMEI = imei @IDFA = idfa @IDFV = idfv end |
Instance Attribute Details
#DeviceId ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def DeviceId @DeviceId end |
#IDFA ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def IDFA @IDFA end |
#IDFV ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def IDFV @IDFV end |
#IMEI ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def IMEI @IMEI end |
#IP ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def IP @IP end |
#Mac ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def Mac @Mac end |
#TokenId ⇒ Object
265 266 267 |
# File 'lib/v20200713/models.rb', line 265 def TokenId @TokenId end |
Instance Method Details
#deserialize(params) ⇒ Object
277 278 279 280 281 282 283 284 285 |
# File 'lib/v20200713/models.rb', line 277 def deserialize(params) @IP = params['IP'] @Mac = params['Mac'] @TokenId = params['TokenId'] @DeviceId = params['DeviceId'] @IMEI = params['IMEI'] @IDFA = params['IDFA'] @IDFV = params['IDFV'] end |