Class: TencentCloud::Tms::V20200713::Device

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

Overview

设备信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DeviceIdObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def DeviceId
  @DeviceId
end

#IDFAObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def IDFA
  @IDFA
end

#IDFVObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def IDFV
  @IDFV
end

#IMEIObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def IMEI
  @IMEI
end

#IPObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def IP
  @IP
end

#MacObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



265
266
267
# File 'lib/v20200713/models.rb', line 265

def Mac
  @Mac
end

#TokenIdObject

Parameters:

  • IP:

    用户IP

  • Mac:

    Mac地址

  • TokenId:

    设备指纹Token

  • DeviceId:

    设备指纹ID

  • IMEI:

    设备序列号

  • IDFA:

    IOS设备,Identifier For Advertising(广告标识符)

  • IDFV:

    IOS设备,IDFV - Identifier For Vendor(应用开发商标识符)



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