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