HealthStatusForNetworkEndpoint.fromJson constructor

HealthStatusForNetworkEndpoint.fromJson(
  1. Map json_
)

Implementation

HealthStatusForNetworkEndpoint.fromJson(core.Map json_)
    : this(
        backendService: json_.containsKey('backendService')
            ? BackendServiceReference.fromJson(json_['backendService']
                as core.Map<core.String, core.dynamic>)
            : null,
        forwardingRule: json_.containsKey('forwardingRule')
            ? ForwardingRuleReference.fromJson(json_['forwardingRule']
                as core.Map<core.String, core.dynamic>)
            : null,
        healthCheck: json_.containsKey('healthCheck')
            ? HealthCheckReference.fromJson(
                json_['healthCheck'] as core.Map<core.String, core.dynamic>)
            : null,
        healthCheckService: json_.containsKey('healthCheckService')
            ? HealthCheckServiceReference.fromJson(json_['healthCheckService']
                as core.Map<core.String, core.dynamic>)
            : null,
        healthState: json_.containsKey('healthState')
            ? json_['healthState'] as core.String
            : null,
      );