toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'constraints': pulumi.Input.mapInputValue<List<PermissionConstraintResponse>, List<Map<String, dynamic>>>(constraints, (value) => pulumi.Input.encodeList<PermissionConstraintResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
'hosts': hosts,
'methods': methods,
'notHosts': notHosts,
'notMethods': notMethods,
'notPaths': notPaths,
'notPorts': notPorts,
'paths': paths,
'ports': ports,
};
}