src/rest-client/src/wallet/model/AccountCountByKRN.js
/**
     * Constructs a <code>AccountCountByKRN</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {AccountCountByKRN} obj Optional instance to populate.
     * @return {AccountCountByKRN} The populated <code>AccountCountByKRN</code> instance.
     * @memberof AccountCountByKRN
     */
Constructs a AccountCountByKRN from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
@param {Object} data The plain JavaScript object bearing properties of interest.
@param {AccountCountByKRN} obj Optional instance to populate.
Constructs a AccountCountByKRN from a plain JavaScript object optionally creating a new instance . Copies all relevant properties from data to obj if supplied or a new instance if not . @param { Object } data The plain JavaScript object bearing properties of interest . @param { AccountCountByKRN } obj Optional instance to populate .
static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new AccountCountByKRN()
            if (data.hasOwnProperty('accountId')) {
                obj.accountId = ApiClient.convertToType(data.accountId, 'String')
            }
            if (data.hasOwnProperty('count')) {
                obj.count = ApiClient.convertToType(data.count, 'Number')
            }
            if (data.hasOwnProperty('krn')) {
                obj.krn = ApiClient.convertToType(data.krn, 'String')
            }
        }
        return obj
    }
static constructFromObject ( data , obj ) { if ( data ) { obj = obj || new AccountCountByKRN ( ) if ( data . hasOwnProperty ( 'accountId' ) ) { obj . accountId = ApiClient . convertToType ( data . accountId , 'String' ) } if ( data . hasOwnProperty ( 'count' ) ) { obj . count = ApiClient . convertToType ( data . count , 'Number' ) } if ( data . hasOwnProperty ( 'krn' ) ) { obj . krn = ApiClient . convertToType ( data . krn , 'String' ) } } return obj }
Constructs a <code>AccountCountByKRN</code> from a plain JavaScript object, optionally creating a new instance.
Constructs a <code > AccountCountByKRN< / code > from a plain JavaScript object optionally creating a new instance .