I want a class and not an interface so that I can have methods. I want everything public to be read-only for immutability. Is there a way to do the following without writing