toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'asPaths': pulumi.Input.mapInputValue<List<RouterStatusBestRoutesForRouterAsPath>, List<Map<String, dynamic>>>(asPaths, (value) => pulumi.Input.encodeList<RouterStatusBestRoutesForRouterAsPath, Map<String, dynamic>>(value, (value) => value.toMap())),
    'creationTimestamp': creationTimestamp,
    'deletionPolicy': deletionPolicy,
    'description': description,
    'destRange': destRange,
    'name': name,
    'network': network,
    'nextHopGateway': nextHopGateway,
    'nextHopHub': nextHopHub,
    'nextHopIlb': nextHopIlb,
    'nextHopInstance': nextHopInstance,
    'nextHopInstanceZone': nextHopInstanceZone,
    'nextHopInterRegionCost': nextHopInterRegionCost,
    'nextHopIp': nextHopIp,
    'nextHopMed': nextHopMed,
    'nextHopNetwork': nextHopNetwork,
    'nextHopOrigin': nextHopOrigin,
    'nextHopPeering': nextHopPeering,
    'nextHopVpnTunnel': nextHopVpnTunnel,
    'params': pulumi.Input.mapInputValue<List<RouterStatusBestRoutesForRouterParam>, List<Map<String, dynamic>>>(params, (value) => pulumi.Input.encodeList<RouterStatusBestRoutesForRouterParam, Map<String, dynamic>>(value, (value) => value.toMap())),
    'priority': priority,
    'project': project,
    'routeStatus': routeStatus,
    'routeType': routeType,
    'selfLink': selfLink,
    'tags': tags,
    'warnings': pulumi.Input.mapInputValue<List<RouterStatusBestRoutesForRouterWarning>, List<Map<String, dynamic>>>(warnings, (value) => pulumi.Input.encodeList<RouterStatusBestRoutesForRouterWarning, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}