AppVersionSnapshotToolsetOpenApiToolsetApiAuthenticationApiKeyConfig.fromMap constructor
AppVersionSnapshotToolsetOpenApiToolsetApiAuthenticationApiKeyConfig.fromMap()
Implementation
factory AppVersionSnapshotToolsetOpenApiToolsetApiAuthenticationApiKeyConfig.fromMap(Map<String, dynamic> map) {
return AppVersionSnapshotToolsetOpenApiToolsetApiAuthenticationApiKeyConfig(
apiKeySecretVersion: (() { final guardedValue = map['apiKeySecretVersion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
keyName: (() { final guardedValue = map['keyName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
requestLocation: (() { final guardedValue = map['requestLocation']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}