Adds two constructors to the model Invalidparam for a better usage when creating ProblemDetails objects.