DeviceResourceAuditCompanion class

Constructors

DeviceResourceAuditCompanion.new({Value<int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), Value<double> cpuUsage = const Value.absent(), Value<double> ramInMB = const Value.absent(), Value<double> freeRamInMB = const Value.absent(), Value<double> storageInMB = const Value.absent(), Value<double> freeStorageInMB = const Value.absent()})
const
DeviceResourceAuditCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime> createdAt = const Value.absent(), required double cpuUsage, required double ramInMB, required double freeRamInMB, required double storageInMB, required double freeStorageInMB})

Properties

cpuUsage → Value<double>
final
createdAt → Value<DateTime>
final
freeRamInMB → Value<double>
final
freeStorageInMB → Value<double>
final
hashCode int
The hash code for this object.
no setterinherited
id → Value<int>
final
ramInMB → Value<double>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageInMB → Value<double>
final

Methods

copyWith({Value<int>? id, Value<DateTime>? createdAt, Value<double>? cpuUsage, Value<double>? ramInMB, Value<double>? freeRamInMB, Value<double>? storageInMB, Value<double>? freeStorageInMB}) DeviceResourceAuditCompanion
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toColumns(bool nullToAbsent) Map<String, Expression<Object>>
Converts this object into a map of column names to expressions to insert or update.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

custom({Expression<int>? id, Expression<DateTime>? createdAt, Expression<double>? cpuUsage, Expression<double>? ramInMB, Expression<double>? freeRamInMB, Expression<double>? storageInMB, Expression<double>? freeStorageInMB}) → Insertable<DeviceResourceAuditData>