transformOffer(offer) {
    const offerPrefix = this.$translate.instant('log_options_pro_offer');
    const offerName = this.$translate.instant(offer.reference);
    const streams = this.$translate.instant('logs_offer_streams');
    const dashboards = this.$translate.instant('logs_offer_tables');
    const inputs = this.$translate.instant('logs_offer_collection_tools');
    _.set(offer, 'name', `${offerPrefix} ${offerName}`);
    _.set(offer, 'streams', `${offer.maxNbStream} ${streams}`);
    _.set(offer, 'dashboards', `${offer.maxNbDashboard} ${dashboards}`);
    _.set(offer, 'inputs', `${offer.maxNbInput} ${inputs}`);
    return offer;
  }
/**
   * returns the transformed offer
   *
   * @param {any} offer
   * @returns the transformed offer
   * @memberof LogsOptionsService
   */
returns the transformed offer
@param {any} offer
@returns the transformed offer
@memberof LogsOptionsService
returns the transformed offer @param { any } offer @returns the transformed offer @memberof LogsOptionsService
transformOffer(offer) {
    const offerPrefix = this.$translate.instant('log_options_pro_offer');
    const offerName = this.$translate.instant(offer.reference);
    const streams = this.$translate.instant('logs_offer_streams');
    const dashboards = this.$translate.instant('logs_offer_tables');
    const inputs = this.$translate.instant('logs_offer_collection_tools');
    _.set(offer, 'name', `${offerPrefix} ${offerName}`);
    _.set(offer, 'streams', `${offer.maxNbStream} ${streams}`);
    _.set(offer, 'dashboards', `${offer.maxNbDashboard} ${dashboards}`);
    _.set(offer, 'inputs', `${offer.maxNbInput} ${inputs}`);
    return offer;
  }
transformOffer ( offer ) { const offerPrefix = this . $translate . instant ( 'log_options_pro_offer' ) ; const offerName = this . $translate . instant ( offer . reference ) ; const streams = this . $translate . instant ( 'logs_offer_streams' ) ; const dashboards = this . $translate . instant ( 'logs_offer_tables' ) ; const inputs = this . $translate . instant ( 'logs_offer_collection_tools' ) ; _ . set ( offer , 'name' , ` ${ offerPrefix } ${ offerName } ` ) ; _ . set ( offer , 'streams' , ` ${ offer . maxNbStream } ${ streams } ` ) ; _ . set ( offer , 'dashboards' , ` ${ offer . maxNbDashboard } ${ dashboards } ` ) ; _ . set ( offer , 'inputs' , ` ${ offer . maxNbInput } ${ inputs } ` ) ; return offer ; }
returns the transformed offer
 @param {any} offer
 @returns the transformed offer
 @memberof LogsOptionsService
returns the transformed offer @param { any } offer @returns the transformed offer @memberof LogsOptionsService