Class DiagramResponseParser

java.lang.Object
com.cognite.client.servicesV1.parser.DiagramResponseParser

public class DiagramResponseParser extends Object
  • Constructor Details

    • DiagramResponseParser

      public DiagramResponseParser()
  • Method Details

    • ParseDiagramAnnotationResponse

      public static DiagramResponse ParseDiagramAnnotationResponse(String json) throws Exception
      Parses a P&ID annotation detection response json string to pnid_status proto object.
      Parameters:
      json -
      Returns:
      Throws:
      Exception
    • ParseDiagramConvertResponse

      public static ConvertResponse ParseDiagramConvertResponse(String json) throws Exception
      Parses a diagram convert response json string to ConvertResponse proto object.
      Parameters:
      json -
      Returns:
      Throws:
      Exception