As long as you and the other person know exactly what you mean by "a class", then yes. Do you mean "I will teach only one hour a week" where one hour is the length of one period of teaching? Or do you mean "I will teach only one specific group of children" (in the UK, up to 30 children together can be referred to as "a class") but without specifying how may times a week you are happy to teach them?