def __init__(self, **kwargs):
    super(Resource, self).__init__(**kwargs)
    self.id = None
    self.name = None
    self.type = None
    self.location = kwargs.get('location', None)
    self.tags = kwargs.get('tags', None)
def __init__(self, **kwargs):
    super(Resource, self).__init__(**kwargs)
    self.id = None
    self.name = None
    self.type = None
    self.location = kwargs.get('location', None)
    self.tags = kwargs.get('tags', None)