func convertInstallationHook(dst *installationHook) *scm.InstallationHook {
	if dst == nil {
		return nil
	}
	return &scm.InstallationHook{
		Action:       convertAction(dst.Action),
		Repos:        convertRepositoryList(dst.Repositories),
		Sender:       *convertUser(dst.Sender),
		Installation: convertInstallation(dst.Installation),
	}
}
//
// native data structure conversion
//
native data structure conversion
// // native data structure conversion //
func convertInstallationHook(dst *installationHook) *scm.InstallationHook {
	if dst == nil {
		return nil
	}
	return &scm.InstallationHook{
		Action:       convertAction(dst.Action),
		Repos:        convertRepositoryList(dst.Repositories),
		Sender:       *convertUser(dst.Sender),
		Installation: convertInstallation(dst.Installation),
	}
}
func convertInstallationHook ( dst * installationHook ) * scm . InstallationHook { if dst == nil { return nil } return & scm . InstallationHook { Action : convertAction ( dst . Action ) , Repos : convertRepositoryList ( dst . Repositories ) , Sender : * convertUser ( dst . Sender ) , Installation : convertInstallation ( dst . Installation ) , } }
native data structure conversion
native data structure conversion