<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def refresh(self):
 """ This method refreshes the object with current metadata from the Gett service. Input: * None Output: * None Example:: share = client.get_share("4ddfds") print share.files[0].filename # prints 'foobar' if share.files[0].destroy():
 share.refresh() print share.files[0].filename # now prints 'barbaz' """

        response = GettRequest().get("/shares/%s" % self.sharename)

        if response.http_status == 200:
            self.__init__(self.user, **response.response)