Set attributes during initialization of an object
@param [to_hash] attributes
the attributes hash to be set
@return [undefined]
@api private
[Validate]