code: function ProcessDataResponse(jsonAnswer) {
      var data = JSON.parse(jsonAnswer);
      data = data.result;
  
      var channels = [];
      for (var deviceId in data) {
          if (data[deviceId] !== undefined) {
              if (data[deviceId].length > 0) {
                  channels = data[deviceId][0].channels;
              }
          }
      }
  
      /**
       * @property channels
       * @type {Array}
       */
      this.channels = channels;
  }
docs: Implementation 
  @class ProcessDataResponse
  @constructor
  @param {String} jsonAnswer