docs: def to_dict(self):
          """
          Converts object into a dictionary.
          """
          data = {
              'id': self.id,
              'referenceId': self.reference_id,
              'type': self.type,
              'displayName': self.display_name,
              'remoteUrl': self.remote_url}
          for key in data.keys():
              if data[key] == None:
                  data.pop(key)
          return data