gen/data_types.go
func (a *Action) MandatoryParams() []*ActionParam {
	m := make([]*ActionParam, len(a.Params))
	i := 0
	for _, p := range a.Params {
		if p.Mandatory {
			m[i] = p
			i++
		}
	}
	return m[:i]
}
func (a *Action) MandatoryParams() []*ActionParam {
	m := make([]*ActionParam, len(a.Params))
	i := 0
	for _, p := range a.Params {
		if p.Mandatory {
			m[i] = p
			i++
		}
	}
	return m[:i]
}
// MandatoryParams returns the list of all action mandatory parameters