code: function CoggleApiDiagram(coggle_api, diagram_resource){
      this.apiclient = coggle_api;
      this.id        = diagram_resource._id;
      this.title     = diagram_resource.title;
  }
docs: !jsjsdoc
  
  doc.CoggleApiDiagram = {
  $brief: "Coggle API Diagram object.",
  }
  
  doc.CoggleApiDiagram.$constructor = {
  $brief: "Create a new instance of a Coggle API Diagram object.",
  $parameters: {
  coggle_api: {
  $type:'CoggleApi',
  $brief:'The API client used for accessing this diagram.'
  },
  diagram_resource: {
  $type:'Object',
  $brief:'Diagram Resource object, with at least `_id` and `title` fields'
  }
  }
  }