AppVersionSnapshotAppClientCertificateSetting.fromMap constructor

AppVersionSnapshotAppClientCertificateSetting.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AppVersionSnapshotAppClientCertificateSetting.fromMap(Map<String, dynamic> map) {
  return AppVersionSnapshotAppClientCertificateSetting(
    passphrase: (() { final guardedValue = map['passphrase']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    privateKey: (() { final guardedValue = map['privateKey']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    tlsCertificate: (() { final guardedValue = map['tlsCertificate']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}