code: def from_inline(cls: Type[UnknownEndpointType], inline: str) -> UnknownEndpointType:
          
          try:
              api = inline.split()[0]
              properties = inline.split()[1:]
              return cls(api, properties)
          except IndexError:
              raise MalformedDocumentError(inline)
docs: Return UnknownEndpoint instance from endpoint string
  
          :param inline: Endpoint string
          :return: