class Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta
Model object.
Attributes
@return [Integer] First time the device used the application in milliseconds since January 1st, 1970 UTC.
@return [Integer] Timestamp corresponding to the info object in milliseconds since January 1st, 1970 UTC.
@return [Integer] Timestamp corresponding to the location object in milliseconds since January 1st, 1970 UTC.
@return [Integer] Last time the device used the application in milliseconds since January 1st, 1970 UTC.
@return [Boolean] Boolean indicating if native push notifications (like Android’s GCM or Apple’s APNS) are enabled for the application. This boolean is set to true when the application registers successfully to the native push service, and set to false when the native push service reports to Mobile Engagement that the application can no longer be pushed (which means that it has been uninstalled). This report is performed a few hours after Mobile Engagement has tried to perform a native push to a device on which the application has been uninstalled.
Private Class Methods
Mapper for DeviceMeta
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/device_meta.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeviceMeta', type: { name: 'Composite', class_name: 'DeviceMeta', model_properties: { first_seen: { client_side_validation: true, required: false, serialized_name: 'firstSeen', type: { name: 'Number' } }, last_seen: { client_side_validation: true, required: false, serialized_name: 'lastSeen', type: { name: 'Number' } }, last_info: { client_side_validation: true, required: false, serialized_name: 'lastInfo', type: { name: 'Number' } }, last_location: { client_side_validation: true, required: false, serialized_name: 'lastLocation', type: { name: 'Number' } }, native_push_enabled: { client_side_validation: true, required: false, serialized_name: 'nativePushEnabled', type: { name: 'Boolean' } } } } } end