def validate_max_num(self, cls, model):
     " Validate that max_num is an integer. "
     check_type(cls, 'max_num', int)
 def validate_extra(self, cls, model):
     " Validate that extra is an integer. "
     check_type(cls, 'extra', int)
 def validate_list_max_show_all(self, cls, model):
     " Validate that list_max_show_all is an integer. "
     check_type(cls, 'list_max_show_all', int)
 def validate_list_per_page(self, cls, model):
     " Validate that list_per_page is an integer. "
     check_type(cls, 'list_per_page', int)
 def validate_save_on_top(self, cls, model):
     " Validate save_on_top is a boolean. "
     check_type(cls, 'save_on_top', bool)
 def validate_save_as(self, cls, model):
     " Validate save_as is a boolean. "
     check_type(cls, 'save_as', bool)