code: func (*TeleportGithubConnectorMarshaler) Unmarshal(bytes []byte) (GithubConnector, error) {
  	var h ResourceHeader
  	if err := json.Unmarshal(bytes, &h); err != nil {
  		return nil, trace.Wrap(err)
  	}
  	switch h.Version {
  	case V3:
  		var c GithubConnectorV3
  		if err := utils.UnmarshalWithSchema(GetGithubConnectorSchema(), &c, bytes); err != nil {
  			return nil, trace.Wrap(err)
  		}
  		if err := c.CheckAndSetDefaults(); err != nil {
  			return nil, trace.Wrap(err)
  		}
  		return &c, nil
  	}
  	return nil, trace.BadParameter(
  		"Github connector resource version %q is not supported", h.Version)
  }
docs: // UnmarshalGithubConnector unmarshals Github connector from JSON