<commit_before>//
//  BigcommerceOrderStatus.swift
//  Pods
//
//  Created by <NAME> on 8/11/15.
//
//

import Foundation

open class BigcommerceOrderStatus: NSObject {
    open var id: Int = 0
    open var name: String = ""
    open var order: Int = 0
    
    public init(jsonDictionary:NSDictionary) {
        //Load the JSON dictionary into the order object
        
        if let idString = jsonDictionary["id"] as? String {
            if let id = Int(idString) {
                self.id = id
            }<commit_msg>Address order statuses id parsing issue.<commit_after>//
//  BigcommerceOrderStatus.swift
//  Pods
//
//  Created by <NAME> on 8/11/15.
//
//

import Foundation

open class BigcommerceOrderStatus: NSObject {
    open var id: Int = 0
    open var name: String = ""
    open var order: Int = 0
    
    public init(jsonDictionary:NSDictionary) {
        //Load the JSON dictionary into the order object
        
        if let idString = jsonDictionary["id"] as? String {
            if let id = Int(idString) {
                self.id = id
            }
        } else if let id = jsonDictionary["id"] as? Int {
            self.id = id
{'fraction_non_alphanumeric': 0.10086206896551723, 'fraction_numerical': 0.01206896551724138, 'mean_word_length': 1.9097744360902256, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4139094', 'n_tokens_mistral': 352, 'n_tokens_neox': 335, 'n_words': 114}