func (s *Watch) SetDefaults() {
	s.Workers = 10
	s.FirstCheckNotif = utl.NewFalse()
	s.CompareDigest = utl.NewTrue()
}
SetDefaults sets the default values
package model
import (
	"github.com/crazy-max/diun/v4/pkg/utl"
)
type Watch struct {
	Workers         int           `yaml:"workers,omitempty" json:"workers,omitempty" validate:"required,min=1"`
	Schedule        string        `yaml:"schedule,omitempty" json:"schedule,omitempty"`
	FirstCheckNotif *bool         `yaml:"firstCheckNotif,omitempty" json:"firstCheckNotif,omitempty" validate:"required"`
	CompareDigest   *bool         `yaml:"compareDigest,omitempty" json:"compareDigest,omitempty" validate:"required"`
	Healthchecks    *Healthchecks `yaml:"healthchecks,omitempty" json:"healthchecks,omitempty"`
}
func (s *Watch) GetDefaults() *Watch {
	n := &Watch{}
	n.SetDefaults()
	return n
}