code: def name(self):
          
          name_parts = []
          if self.registry:
              name_parts.append(self.registry)
  
          if self.namespace:
              name_parts.append(self.namespace)
  
          if self.repository:
              name_parts.append(self.repository)
          name = "/".join(name_parts)
  
          if self.digest:
              name += "@{}".format(self.digest)
          elif self.tag:
              name += ":{}".format(self.tag)
  
          return name
docs: Get the string representation of the image
          (registry, namespace, repository and digest together).
  
          :return: str