CustomerConnectorInfo.fromJson constructor

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

Implementation

factory CustomerConnectorInfo.fromJson(Map<String, dynamic> json) {
  return CustomerConnectorInfo(
    activeConnectors: json['activeConnectors'] as int,
    blackListedConnectors: json['blackListedConnectors'] as int,
    healthyConnectors: json['healthyConnectors'] as int,
    shutdownConnectors: json['shutdownConnectors'] as int,
    totalConnectors: json['totalConnectors'] as int,
    unhealthyConnectors: json['unhealthyConnectors'] as int,
    unknownConnectors: json['unknownConnectors'] as int,
  );
}