Refactoring: Exctract ResponseCodes class from Endpoint

I have nothing to say ...
Incorrect indentation detected (column 10 instead of 8).