GetGeneratorResponseModel class

Available extensions
Annotations

Constructors

GetGeneratorResponseModel({int? id, String? serialnumber, String? displayname, String? lat, String? long, String? address1, String? city, String? state, String? postalcode, dynamic ipaddress, bool? hasAcceptedPrivacyPolicy, bool? isconnected, bool? isShutdownAlert, int? datelastconnected, String? datetimelastconnected, String? lastconnectedrelativetime, String? devicestate, int? alertCnt, String? status, String? modelNumber, int? lastDeviceStateUpdated, String? lastDeviceStateUpdatedDateTimeUTC, String? switchState, String? lastMaintenance, String? nextMaintenance, String? maintenancePeriod})
const
GetGeneratorResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

address1 String?
final
alertCnt int?
final
city String?
final
datelastconnected int?
final
datetimelastconnected String?
final
devicestate String?
final
displayname String?
final
hasAcceptedPrivacyPolicy bool?
final
hashCode int
The hash code for this object.
no setteroverride
id int?
final
ipaddress → dynamic
final
isconnected bool?
final
isShutdownAlert bool?
final
lastconnectedrelativetime String?
final
lastDeviceStateUpdated int?
final
lastDeviceStateUpdatedDateTimeUTC String?
final
lastMaintenance String?
final
lat String?
final
long String?
final
maintenancePeriod String?
final
modelNumber String?
final
nextMaintenance String?
final
postalcode String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialnumber String?
final
state String?
final
status String?
final
switchState String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Constants

fromJsonFactory → const GetGeneratorResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(GetGeneratorResponseModel instance)