code: def _save(self, data):
          
          self.name = data.get('name')
          self.type = data.get('type')
          self.state = data.get('state')
          self.dataset = data.get('dataset')
          self.memory = data.get('memory')
          self.disk = data.get('disk')
          self._ips = data.get('ips', [])
          self.metadata = data.get('metadata', {})
          if not hasattr(self, '_credentials'):
              self._credentials = {}
          self._credentials.update(self.metadata.pop('credentials', {}))
          self.boot_script = self.metadata.pop('user-script', None)
          self.created = dt_time(data.get('created'))
          self.updated = dt_time(data.get('updated', data.get('created')))
docs: Take the data from a dict and commit them to appropriate attributes.