toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (defaultRouteAction != null)
        'defaultRouteAction': defaultRouteAction!,
      if (defaultService != null) 'defaultService': defaultService!,
      if (defaultUrlRedirect != null)
        'defaultUrlRedirect': defaultUrlRedirect!,
      if (description != null) 'description': description!,
      if (fingerprint != null) 'fingerprint': fingerprint!,
      if (headerAction != null) 'headerAction': headerAction!,
      if (hostRules != null) 'hostRules': hostRules!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (pathMatchers != null) 'pathMatchers': pathMatchers!,
      if (region != null) 'region': region!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (tests != null) 'tests': tests!,
    };