func (s *SyscallEnforcermentArg) Validate() error {
	if err := s.Op.Validate(); err != nil {
		return elemental.NewError("Validation Error", "Unknown syscall operator", "elemental", http.StatusUnprocessableEntity)
	}

	if err := s.Action.Validate(); err != nil {
		return elemental.NewError("Validation Error", "Unknown syscall enforcement action", "elemental", http.StatusUnprocessableEntity)
	}

	return nil
}
// Validate validates the syscall enforcement arguments.
Validate validates the syscall enforcement arguments.
// Validate validates the syscall enforcement arguments .
func (s *SyscallEnforcermentArg) Validate() error {
	if err := s.Op.Validate(); err != nil {
		return elemental.NewError("Validation Error", "Unknown syscall operator", "elemental", http.StatusUnprocessableEntity)
	}
	if err := s.Action.Validate(); err != nil {
		return elemental.NewError("Validation Error", "Unknown syscall enforcement action", "elemental", http.StatusUnprocessableEntity)
	}
	return nil
}
func ( s * SyscallEnforcermentArg ) Validate ( ) error { if err := s . Op . Validate ( ) ; err != nil { return elemental . NewError ( " " , " " , " " , http . StatusUnprocessableEntity ) } if err := s . Action . Validate ( ) ; err != nil { return elemental . NewError ( " " , " " , " " , http . StatusUnprocessableEntity ) } return nil }
Validate validates the syscall enforcement arguments.
Validate validates the syscall enforcement arguments .