code: def to_api(self) -> str:
      if self == ContainerType.MODEL_VERSION:
          return "modelVersion"
      else:
          return self.value
  
file_path: neptune-client/src/neptune/internal/container_type.py
imports: import enum
  from neptune.internal.id_formats import UniqueId
label_desc: Use image node_id 1 for calling the ContainerType obj's underlying member method code with example usage: obj.to_api() and returns: str, self