toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'destination': ?destination,
'destinationArn': ?destinationArn,
'destinationIp': ?destinationIp,
'destinationPort': ?destinationPort,
'filterAtDestinations': ?(() { final guardedValue = filterAtDestinations; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetNetworkInsightsPathFilterAtDestination, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'filterAtSources': ?(() { final guardedValue = filterAtSources; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetNetworkInsightsPathFilterAtSource, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'filters': ?(() { final guardedValue = filters; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetNetworkInsightsPathFilter, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'id': ?id,
'networkInsightsPathId': ?networkInsightsPathId,
'protocol': ?protocol,
'region': ?region,
'source': ?source,
'sourceArn': ?sourceArn,
'sourceIp': ?sourceIp,
'tags': ?tags,
};
}