@utilities.arguments_not_none<EOL><INDENT>def set_deadline(self, end):<DEDENT>
<EOL>if self.get_deadline_metadata().is_read_only():<EOL><INDENT>raise errors.NoAccess()<EOL><DEDENT>if not self._is_valid_timestamp(<EOL>end,<EOL>self.get_deadline_metadata()):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>self._my_map['<STR_LIT>'] = end<EOL>
Sets the assessment end time.

        arg:    end (timestamp): assessment end time
        raise:  InvalidArgument - ``end`` is invalid
        raise:  NoAccess - ``Metadata.isReadOnly()`` is ``true``
        *compliance: mandatory -- This method must be implemented.*