text: /**
   * BaaSCaradhrasAPIDocumentationLib
   *
   * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
   */
  
  'use strict';
  
  const BaseModel = require('./BaseModel');
  
  /**
   * Creates an instance of MTransportcardsRecharge2Request
   */
  class MTransportcardsRecharge2Request extends BaseModel {
      /**
       * @constructor
       * @param   {Object}  obj    The object passed to constructor
       */
      constructor(obj) {
          super(obj);
          if (obj === undefined || obj === null) return;
          this.accountId = this.constructor.getValue(obj.accountId);
          this.cardNumber = this.constructor.getValue(obj.cardNumber);
          this.creditType = this.constructor.getValue(obj.creditType);
          this.productCode = this.constructor.getValue(obj.productCode);
          this.value = this.constructor.getValue(obj.value);
          this.amount = this.constructor.getValue(obj.amount);
      }
  
      /**
       * Function containing information about the fields of this model
       * @return   {array}   Array of objects containing information about the fields
       */
      static mappingInfo() {
          return super.mappingInfo().concat([
              { name: 'accountId', realName: 'accountId' },
              { name: 'cardNumber', realName: 'cardNumber' },
              { name: 'creditType', realName: 'creditType' },
              { name: 'productCode', realName: 'productCode' },
              { name: 'value', realName: 'value' },
              { name: 'amount', realName: 'amount' },
          ]);
      }
  
      /**
       * Function containing information about discriminator values
       * mapped with their corresponding model class names
       *
       * @return   {object}  Object containing Key-Value pairs mapping discriminator
       *                     values with their corresponding model classes
       */
      static discriminatorMap() {
          return {};
      }
  }
  
  module.exports = MTransportcardsRecharge2Request;
  