InterconnectDiagnostics.fromJson constructor

InterconnectDiagnostics.fromJson(
  1. Map json_
)

Implementation

InterconnectDiagnostics.fromJson(core.Map json_)
    : this(
        arpCaches: json_.containsKey('arpCaches')
            ? (json_['arpCaches'] as core.List)
                .map((value) => InterconnectDiagnosticsARPEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        bundleAggregationType: json_.containsKey('bundleAggregationType')
            ? json_['bundleAggregationType'] as core.String
            : null,
        bundleOperationalStatus: json_.containsKey('bundleOperationalStatus')
            ? json_['bundleOperationalStatus'] as core.String
            : null,
        links: json_.containsKey('links')
            ? (json_['links'] as core.List)
                .map((value) => InterconnectDiagnosticsLinkStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        macAddress: json_.containsKey('macAddress')
            ? json_['macAddress'] as core.String
            : null,
      );