What is meant by literary genre?

It is a pattern of writing, within which some things are asserted by the author, others not. e.g, in a modern historical novel the author asserts the main line is history, does not assert the fill-ins.