InstancesCount.fromJson constructor

InstancesCount.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InstancesCount.fromJson(Map<String, dynamic> json) {
  return InstancesCount(
    assigning: json['Assigning'] as int?,
    booting: json['Booting'] as int?,
    connectionLost: json['ConnectionLost'] as int?,
    deregistering: json['Deregistering'] as int?,
    online: json['Online'] as int?,
    pending: json['Pending'] as int?,
    rebooting: json['Rebooting'] as int?,
    registered: json['Registered'] as int?,
    registering: json['Registering'] as int?,
    requested: json['Requested'] as int?,
    runningSetup: json['RunningSetup'] as int?,
    setupFailed: json['SetupFailed'] as int?,
    shuttingDown: json['ShuttingDown'] as int?,
    startFailed: json['StartFailed'] as int?,
    stopFailed: json['StopFailed'] as int?,
    stopped: json['Stopped'] as int?,
    stopping: json['Stopping'] as int?,
    terminated: json['Terminated'] as int?,
    terminating: json['Terminating'] as int?,
    unassigning: json['Unassigning'] as int?,
  );
}