AllowedHostPathPatch.fromMap constructor
AllowedHostPathPatch.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AllowedHostPathPatch.fromMap(Map<String, dynamic> map) {
return AllowedHostPathPatch(
pathPrefix: (() { final guardedValue = map['pathPrefix']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
readOnly: (() { final guardedValue = map['readOnly']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
);
}