def set_student_accommodation_type(self, student_accommodation_type):
        """
        Set the student accomodation type.
        :param student_accommodation_type: StudentAccomodationType
        """
        if not isinstance(student_accommodation_type, StudentAccommodationType):
            raise DaftException("student_accommodation_type should be an instance of StudentAccommodationType.")

        self._student_accommodation_type = str(student_accommodation_type)
def set_student_accommodation_type ( self , student_accommodation_type ) : if not isinstance ( student_accommodation_type , StudentAccommodationType ) : raise DaftException ( "student_accommodation_type should be an instance of StudentAccommodationType." ) self . _student_accommodation_type = str ( student_accommodation_type )
Set the student accomodation type.
        :param student_accommodation_type: StudentAccomodationType