GatewayServiceMesh.fromJson constructor

GatewayServiceMesh.fromJson(
  1. Map json_
)

Implementation

GatewayServiceMesh.fromJson(core.Map json_)
  : this(
      deployment: json_['deployment'] as core.String?,
      httpRoute: json_['httpRoute'] as core.String?,
      podSelectorLabel: json_['podSelectorLabel'] as core.String?,
      routeDestinations: json_.containsKey('routeDestinations')
          ? RouteDestinations.fromJson(
              json_['routeDestinations']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      routeUpdateWaitTime: json_['routeUpdateWaitTime'] as core.String?,
      service: json_['service'] as core.String?,
      stableCutbackDuration: json_['stableCutbackDuration'] as core.String?,
    );