Class: TencentCloud::Ims::V20201229::Device
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::Device
- Defined in:
- lib/v20201229/models.rb
Overview
用于表示业务用户对应的设备信息
Instance Attribute Summary collapse
-
#DeviceId ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#IDFA ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#IDFV ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#IMEI ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#Ip ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#IpType ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#Mac ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
-
#TokenId ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, mac = nil, tokenid = nil, deviceid = nil, imei = nil, idfa = nil, idfv = nil, iptype = 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, iptype = nil) ⇒ Device
Returns a new instance of Device.
116 117 118 119 120 121 122 123 124 125 |
# File 'lib/v20201229/models.rb', line 116 def initialize(ip=nil, mac=nil, tokenid=nil, deviceid=nil, imei=nil, idfa=nil, idfv=nil, iptype=nil) @Ip = ip @Mac = mac @TokenId = tokenid @DeviceId = deviceid @IMEI = imei @IDFA = idfa @IDFV = idfv @IpType = iptype end |
Instance Attribute Details
#DeviceId ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def DeviceId @DeviceId end |
#IDFA ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def IDFA @IDFA end |
#IDFV ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def IDFV @IDFV end |
#IMEI ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def IMEI @IMEI end |
#Ip ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def Ip @Ip end |
#IpType ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def IpType @IpType end |
#Mac ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def Mac @Mac end |
#TokenId ⇒ Object
备注:苹果公司自2021年iOS14更新后允许用户手动关闭或者开启IDFA,故此字符串标记有效性可能有所降低。
114 115 116 |
# File 'lib/v20201229/models.rb', line 114 def TokenId @TokenId end |
Instance Method Details
#deserialize(params) ⇒ Object
127 128 129 130 131 132 133 134 135 136 |
# File 'lib/v20201229/models.rb', line 127 def deserialize(params) @Ip = params['Ip'] @Mac = params['Mac'] @TokenId = params['TokenId'] @DeviceId = params['DeviceId'] @IMEI = params['IMEI'] @IDFA = params['IDFA'] @IDFV = params['IDFV'] @IpType = params['IpType'] end |