'Convert ValidatedBase object to a dictionary.
Recursively traverses all of its elements and converts everything to
simplified collections.
Subclasses should override this method.
Returns:
A dictionary mapping all attributes to simple values or collections.'

def ToDict(self):

    raise NotImplementedError('Subclasses    of    ValidatedBase    must    override    ToDict.')
