<commit_before>//
//  BaseModel.swift
//  Umbrella
//
//  Created by <NAME> on 29/11/15.
//  Copyright © 2015 dooz. All rights reserved.
//

import Foundation

public protocol BaseModel: class {
/**
* Set all properties from the received JSON at initialization
*/
	init(json: AnyObject)
/**
* An url is formed from <ServiceParameter.serverURL+BaseModel.contextPath>.
*/<commit_msg>We need an unique identifier of some kind<commit_after>//
//  BaseModel.swift
//  Umbrella
//
//  Created by <NAME> on 29/11/15.
//  Copyright © 2015 dooz. All rights reserved.
//

import Foundation

public protocol BaseModel: class {
	
	var objectId: String? {get set}
/**
* Set all properties from the received JSON at initialization
*/
	init(json: AnyObject)
/**
* An url is formed from <ServiceParameter.serverURL+BaseModel.contextPath>.
*/
{'fraction_non_alphanumeric': 0.12363636363636364, 'fraction_numerical': 0.024242424242424242, 'mean_word_length': 3.489130434782609, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6793914', 'n_tokens_mistral': 270, 'n_tokens_neox': 249, 'n_words': 88}