src/rest-client/src/kip17/model/GetKip17TokenHistoryResponse.js
/**
     * Constructs a <code>GetKip17TokenHistoryResponse</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 {GetKip17TokenHistoryResponse} obj Optional instance to populate.
     * @return {GetKip17TokenHistoryResponse} The populated <code>GetKip17TokenHistoryResponse</code> instance.
     * @memberof GetKip17TokenHistoryResponse
     */
Constructs a GetKip17TokenHistoryResponse 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 {GetKip17TokenHistoryResponse} obj Optional instance to populate.
Constructs a GetKip17TokenHistoryResponse 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 { GetKip17TokenHistoryResponse } obj Optional instance to populate .
static constructFromObject(data, obj) {
        if (data) {
            obj = obj || new GetKip17TokenHistoryResponse()
            if (data.hasOwnProperty('cursor')) {
                obj.cursor = ApiClient.convertToType(data.cursor, 'String')
            }
            if (data.hasOwnProperty('items')) {
                obj.items = ApiClient.convertToType(data.items, [GetKip17TokenHistoryResponseItem])
            }
        }
        return obj
    }
static constructFromObject ( data , obj ) { if ( data ) { obj = obj || new GetKip17TokenHistoryResponse ( ) if ( data . hasOwnProperty ( 'cursor' ) ) { obj . cursor = ApiClient . convertToType ( data . cursor , 'String' ) } if ( data . hasOwnProperty ( 'items' ) ) { obj . items = ApiClient . convertToType ( data . items , [ GetKip17TokenHistoryResponseItem ] ) } } return obj }
Constructs a <code>GetKip17TokenHistoryResponse</code> from a plain JavaScript object, optionally creating a new instance.
Constructs a <code > GetKip17TokenHistoryResponse< / code > from a plain JavaScript object optionally creating a new instance .