model/Receiver.js
function Receiver(id, version, label, description,
  format, caps, tags, device_id, transport, subscription) {
  //  Globally unique identifier for the Receiver
  this.id = this.generateID(id);
  // String formatted PTP timestamp (<seconds>:<nanoseconds>) indicating
  // precisely when an attribute of the resource last changed.
  this.version = this.generateVersion(version);
  // Freeform string label for the Receiver
  this.label = this.generateLabel(label);
  // Detailed description of the Receiver
  this.description = this.generateDescription(description);
  // Type of Flow accepted by the Receiver as a URN
  this.format = this.generateFormat(format);
  // Capabilities (not yet defined)
  this.caps = this.generateCaps(caps);
  // Key value set of freeform string tags to aid in filtering sources.
  // Values should be represented as an array of strings. Can be empty.
  this.tags = this.generateTags(tags);
  // Device ID which this Receiver forms part of.
  this.device_id = this.generateDeviceID(device_id);
  // Transport type accepted by the Receiver in URN format
  this.transport = this.generateTransport(transport);
  // Object containing the 'sender_id' currently subscribed to. Sender_id
  // should be null on initialisation.
  this.subscription = this.generateSubscription(subscription);
  return immutable(this, { prototype : Receiver.prototype });
}
function Receiver(id, version, label, description,
  format, caps, tags, device_id, transport, subscription) {
  //  Globally unique identifier for the Receiver
  this.id = this.generateID(id);
  // String formatted PTP timestamp (<seconds>:<nanoseconds>) indicating
  // precisely when an attribute of the resource last changed.
  this.version = this.generateVersion(version);
  // Freeform string label for the Receiver
  this.label = this.generateLabel(label);
  // Detailed description of the Receiver
  this.description = this.generateDescription(description);
  // Type of Flow accepted by the Receiver as a URN
  this.format = this.generateFormat(format);
  // Capabilities (not yet defined)
  this.caps = this.generateCaps(caps);
  // Key value set of freeform string tags to aid in filtering sources.
  // Values should be represented as an array of strings. Can be empty.
  this.tags = this.generateTags(tags);
  // Device ID which this Receiver forms part of.
  this.device_id = this.generateDeviceID(device_id);
  // Transport type accepted by the Receiver in URN format
  this.transport = this.generateTransport(transport);
  // Object containing the 'sender_id' currently subscribed to. Sender_id
  // should be null on initialisation.
  this.subscription = this.generateSubscription(subscription);
  return immutable(this, { prototype : Receiver.prototype });
}
function Receiver ( id , version , label , description , format , caps , tags , device_id , transport , subscription ) { //  Globally unique identifier for the Receiver
 this . id = this . generateID ( id ) ; // String formatted PTP timestamp (<seconds>:<nanoseconds>) indicating
 // precisely when an attribute of the resource last changed.
 this . version = this . generateVersion ( version ) ; // Freeform string label for the Receiver
 this . label = this . generateLabel ( label ) ; // Detailed description of the Receiver
 this . description = this . generateDescription ( description ) ; // Type of Flow accepted by the Receiver as a URN
 this . format = this . generateFormat ( format ) ; // Capabilities (not yet defined)
 this . caps = this . generateCaps ( caps ) ; // Key value set of freeform string tags to aid in filtering sources.
 // Values should be represented as an array of strings. Can be empty.
 this . tags = this . generateTags ( tags ) ; // Device ID which this Receiver forms part of.
 this . device_id = this . generateDeviceID ( device_id ) ; // Transport type accepted by the Receiver in URN format
 this . transport = this . generateTransport ( transport ) ; // Object containing the 'sender_id' currently subscribed to. Sender_id
 // should be null on initialisation.
 this . subscription = this . generateSubscription ( subscription ) ; return immutable ( this , { prototype : Receiver . prototype } ) ; }
Describes a receiver
Describes a receiver