MachineAttributes constructor

MachineAttributes({
  1. required String fingerprint,
  2. int? cores,
  3. String? name,
  4. String? ip,
  5. String? hostname,
  6. String? platform,
  7. int? maxProcesses,
  8. bool? requireHeartbeat,
  9. MachineAttributesHeartbeatStatusEnum? heartbeatStatus,
  10. int? heartbeatDuration,
  11. DateTime? lastHeartbeat,
  12. DateTime? nextHeartbeat,
  13. DateTime? lastCheckOut,
  14. Map<String, Object> metadata = const {},
  15. DateTime? created,
  16. DateTime? updated,
})

Returns a new MachineAttributes instance.

Implementation

MachineAttributes({
  required this.fingerprint,
  this.cores,
  this.name,
  this.ip,
  this.hostname,
  this.platform,
  this.maxProcesses,
  this.requireHeartbeat,
  this.heartbeatStatus,
  this.heartbeatDuration,
  this.lastHeartbeat,
  this.nextHeartbeat,
  this.lastCheckOut,
  this.metadata = const {},
  this.created,
  this.updated,
});