<commit_before>//
//  PBRecentActivityReward.swift
//  Pods
//
//  Created by <NAME> on 9/20/2559 BE.
//
//

import UIKit
import ObjectMapper

public class PBRecentActivityReward: PBRecentActivity {
    
    public var message:String?
    public var rewardId:String?
    public var rewardName:String?
    public var value:Int?
    public var goodsId:String?
    public var questId:String?
    public var missionId:String?
    public var quizId:String?
    public var stringFilter:String?
    
    public override init() {
        super.init()
    }
    
    required public init?(_ map: Map) {
        super.init(map)
    }
    
    override public func mapping(map: Map) {
        super.mapping(map)
        message <- map["message"]
        rewardId <- map["reward_id"]
        rewardName <- map["reward_name"]
        value <- map["value"]
        goodsId <- map["goods_id"]
        questId <- map["quest_id"]
        missionId <- map["mission_id"]
        quizId <- map["quiz_id"]
        stringFilter <- map["string_filter"]
        
    }
}
<commit_msg>Added badge to recent activity reward<commit_after>//
//  PBRecentActivityReward.swift
//  Pods
//
//  Created by <NAME> on 9/20/2559 BE.
//
//

import UIKit
import ObjectMapper

public class PBRecentActivityReward: PBRecentActivity {
    
    public var message:String?
    public var rewardId:String?
    public var rewardName:String?
    public var value:Int?
    public var goodsId:String?
    public var questId:String?
    public var missionId:String?
    public var quizId:String?
    public var stringFilter:String?
    public var badge:PBBadge?
    
    public override init() {
        super.init()
    }
    
    required public init?(_ map: Map) {
        super.init(map)
    }
    
    override public func mapping(map: Map) {
        super.mapping(map)
        message <- map["message"]
        rewardId <- map["reward_id"]
        rewardName <- map["reward_name"]
        value <- map["value"]
        goodsId <- map["goods_id"]
        questId <- map["quest_id"]
        missionId <- map["mission_id"]
        quizId <- map["quiz_id"]
        stringFilter <- map["string_filter"]
        badge <- map["badge"]
        
    }
}

{'fraction_non_alphanumeric': 0.11444141689373297, 'fraction_numerical': 0.006357856494096276, 'mean_word_length': 2.3028485757121437, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6885994', 'n_tokens_mistral': 716, 'n_tokens_neox': 676, 'n_words': 166}