A child of married parents is Swiss through either parent. For a Swiss father not married to the mother, the rules depend on your date of birth.