Interface for capsuling validating for class's own properties
Static
Readonly
Converts the class instance to a plain object.
the plain object representation of the class.
Validates all properties of the class and throws if data is invalid
Interface for capsuling validating for class's own properties