def __init__(self, **kwargs):
    self.admin = kwargs['admin']
    self.admin_id = kwargs['admin_id']
    self.region_type = kwargs['region_type']
    self.country = kwargs['country']
    self.country_id = kwargs['country_id']
    self.admin1 = kwargs.get('admin1')
    self.admin1_id = kwargs.get('admin1_id')
    self.admin2 = kwargs.get('admin2')
    self.admin2_id = kwargs.get('admin2_id')
    self.admin3 = kwargs.get('admin3')
    self.admin3_id = kwargs.get('admin3_id')
    self.region_coordinate = kwargs.get('region_coordinate')
    self.alias = kwargs.get('alias')
    if (self.region_type == Region.ADMIN3):
        (self.admin3_id, self.admin_3) = (self.admin_id, self.admin)
def __init__(self, **kwargs):
    self.admin = kwargs['admin']
    self.admin_id = kwargs['admin_id']
    self.region_type = kwargs['region_type']
    self.country = kwargs['country']
    self.country_id = kwargs['country_id']
    self.admin1 = kwargs.get('admin1')
    self.admin1_id = kwargs.get('admin1_id')
    self.admin2 = kwargs.get('admin2')
    self.admin2_id = kwargs.get('admin2_id')
    self.admin3 = kwargs.get('admin3')
    self.admin3_id = kwargs.get('admin3_id')
    self.region_coordinate = kwargs.get('region_coordinate')
    self.alias = kwargs.get('alias')
    if (self.region_type == Region.ADMIN3):
        (self.admin3_id, self.admin_3) = (self.admin_id, self.admin)