DeviceDTO constructor
const
DeviceDTO({ - int? id,
- String? serialNumber,
- String? displayName,
- DeviceHostDTO? deviceHost,
- bool? hasAcceptedPrivacyPolicy,
- AddressDTO? address,
- ProductDTO? product,
- String? productDisplayName,
- String? controllerType,
- String? firmwareVersion,
- String? currentFirmware,
- bool? isConnected,
- DateTime? lastConnectedTimestamp,
- ConnectionTypeDTO? connectionType,
- String? deviceIpAddress,
- String? macAddress,
- AlertDTO? shutdownReason,
- DeviceStatusDTO? status,
- DateTime? statusUpdateTimestamp,
- DateTime? latestParameterUpdateTimestamp,
- List<DealerOrgDTO>? dealerOrgs,
- int? alertCount,
- GensetModelDTO? model,
- String? modelDisplayName,
- DateTime? lastMaintenanceTimestamp,
- DateTime? nextMaintenanceTimestamp,
- int? maintenancePeriodDays,
- bool? hasServiceAgreement,
- double? totalRuntimeHours,
- ServiceAgreementStatusDTO? serviceAgreementStatus,
- DateTime? cellularExpiryDate,
- double? cellularDataPercentage,
- CellularDataStatusDTO? cellularDataStatus,
- CellKitPaymentStatusDTO? cellKitPaymentStatus,
- double? uptimePercent,
})
Implementation
const DeviceDTO({
this.id,
this.serialNumber,
this.displayName,
this.deviceHost,
this.hasAcceptedPrivacyPolicy,
this.address,
this.product,
this.productDisplayName,
this.controllerType,
this.firmwareVersion,
this.currentFirmware,
this.isConnected,
this.lastConnectedTimestamp,
this.connectionType,
this.deviceIpAddress,
this.macAddress,
this.shutdownReason,
this.status,
this.statusUpdateTimestamp,
this.latestParameterUpdateTimestamp,
this.dealerOrgs,
this.alertCount,
this.model,
this.modelDisplayName,
this.lastMaintenanceTimestamp,
this.nextMaintenanceTimestamp,
this.maintenancePeriodDays,
this.hasServiceAgreement,
this.totalRuntimeHours,
this.serviceAgreementStatus,
this.cellularExpiryDate,
this.cellularDataPercentage,
this.cellularDataStatus,
this.cellKitPaymentStatus,
this.uptimePercent,
});