GetUserAuthenticationMode.fromMap constructor

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

Implementation

factory GetUserAuthenticationMode.fromMap(Map<String, dynamic> map) {
  return GetUserAuthenticationMode(
    passwordCount: (() { final guardedValue = map['passwordCount']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
    type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}