You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: serverapioptions.go
    path of file: ./repos/scan4all/vendor/go.mongodb.org/mongo-driver/mongo/options
    
    the code of the file until where you have to start completion: // Copyright (C) MongoDB, Inc. 2017-present.
//
    
func (sav ServerAPIVersion) Validate() error {
	switch sav {
	case ServerAPIVersion1:
		return nil
	}
	return fmt.Errorf("api version %q not supported; this driver version only supports API version \"1\"", sav)
}