HardwareEvent$json top-level constant

  1. @Deprecated('Use hardwareEventDescriptor instead')
Map<String, Object> const HardwareEvent$json

Implementation

@$core.Deprecated('Use hardwareEventDescriptor instead')
const HardwareEvent$json = const {
  '1': 'HardwareEvent',
  '2': const [
    const {'1': 'hardware_id', '3': 1, '4': 1, '5': 12, '10': 'hardwareId'},
    const {'1': 'event_id', '3': 2, '4': 1, '5': 12, '10': 'eventId'},
    const {
      '1': 'type',
      '3': 3,
      '4': 1,
      '5': 14,
      '6': '.toit.api.HardwareEvent.Type',
      '10': 'type'
    },
    const {'1': 'job_id', '3': 4, '4': 1, '5': 12, '10': 'jobId'},
    const {
      '1': 'received',
      '3': 5,
      '4': 1,
      '5': 11,
      '6': '.google.protobuf.Timestamp',
      '10': 'received'
    },
    const {
      '1': 'created',
      '3': 6,
      '4': 1,
      '5': 11,
      '6': '.google.protobuf.Timestamp',
      '10': 'created'
    },
    const {'1': 'device_id', '3': 7, '4': 1, '5': 12, '10': 'deviceId'},
    const {
      '1': 'organization_id',
      '3': 8,
      '4': 1,
      '5': 12,
      '10': 'organizationId'
    },
    const {
      '1': 'log',
      '3': 9,
      '4': 1,
      '5': 11,
      '6': '.toit.model.LogData',
      '9': 0,
      '10': 'log'
    },
    const {
      '1': 'metrics',
      '3': 10,
      '4': 1,
      '5': 11,
      '6': '.toit.model.MetricsData',
      '9': 0,
      '10': 'metrics'
    },
    const {
      '1': 'pubsub',
      '3': 11,
      '4': 1,
      '5': 11,
      '6': '.toit.model.pubsub.Message',
      '9': 0,
      '10': 'pubsub'
    },
  ],
  '4': const [HardwareEvent_Type$json],
  '8': const [
    const {'1': 'data'},
  ],
};