If you do get a class one medical and complete you training you have an ongoing problem is that might find it difficult to gain employment with an airline based on your medical records, although they might give another reason.
The airline shouldn't ask for such information. Either you hold a Class 1 medical, or you don't. If you do, that's all they need to know, since your AME will be renewing it each year and it's them you must satisfy, not your employer.
If it delayed your training, or led to a gap, then be honest and say that you temporarily lost your medical.
Germanwings threw a light on mental health problems in aviation but if anything at my airline it's reinforced the fact that it's not necessarily career-ending (or limiting) and support is now there for those who need it, whether through colleagues, managers, or AMEs.