Exemplo n.º 1
0
 def __init__(self, **kwargs):
     self.universities = StringUtils.to_list(kwargs.get('universities'))
     self.major = kwargs.get('major')
     self.gender = kwargs.get('gender')
     self.subjects = StringUtils.to_list(kwargs.get('subjects'))
     self.more_than_price = StringUtils.to_int(
         kwargs.get('more_than_price'))
     self.less_than_price = StringUtils.to_int(
         kwargs.get('less_than_price'))
     self.max_zip_code = kwargs.get('max_zip_code')
     self.min_zip_code = kwargs.get('min_zip_code')
     self.next_token = StringUtils.to_int(kwargs.get('next_token'))
     self.per_page = kwargs.get('per_page')
Exemplo n.º 2
0
 def __init__(self, **kwargs):
     self.gender = kwargs.get('gender')
     self.subjects = StringUtils.to_list(kwargs.get('subjects'))
     self.more_than_price = StringUtils.to_int(
         kwargs.get('more_than_price'))
     self.less_than_price = StringUtils.to_int(
         kwargs.get('less_than_price'))
     self.student_status = kwargs.get('student_status')
     self.grade = StringUtils.to_int(kwargs.get('grade'))
     self.max_zip_code = kwargs.get('max_zip_code')
     self.min_zip_code = kwargs.get('min_zip_code')
     self.statuses = kwargs.get('statuses')
     self.next_token = StringUtils.to_int(kwargs.get('next_token'))
     self.per_page = kwargs.get('per_page')