update(docID, {
    hours, verifiedOn, isVerified,
  }) {
    const updateData = {};
    if (hours) updateData.hours = hours;
    if (verifiedOn) updateData.verifiedOn = verifiedOn;
    if (isVerified) updateData.isVerified = isVerified;
    this._collection.update(docID, { $set: updateData });
  }
/**
   * Updates a new Hours item.
   * @param hours the quantity of hours of the item.
   * @param verifiedOn the date the item was verified on
   * @param isVerified if the item was verified by the organization.
   * @return {never}
   */
Updates a new Hours item.
@param hours the quantity of hours of the item.
@param verifiedOn the date the item was verified on
@param isVerified if the item was verified by the organization.
@return {never}
Updates a new Hours item . @param hours the quantity of hours of the item . @param verifiedOn the date the item was verified on @param isVerified if the item was verified by the organization . @return { never }
update(docID, {
    hours, verifiedOn, isVerified,
  }) {
    const updateData = {};
    if (hours) updateData.hours = hours;
    if (verifiedOn) updateData.verifiedOn = verifiedOn;
    if (isVerified) updateData.isVerified = isVerified;
    this._collection.update(docID, { $set: updateData });
  }
update ( docID , { hours , verifiedOn , isVerified , } ) { const updateData = { } ; if ( hours ) updateData . hours = hours ; if ( verifiedOn ) updateData . verifiedOn = verifiedOn ; if ( isVerified ) updateData . isVerified = isVerified ; this . _collection . update ( docID , { $set : updateData } ) ; }
Updates a new Hours item.
Updates a new Hours item .