 }
 
 extension Pagination: Serializable {
-    init(dictionary: NSDictionary?) {
+    public init(dictionary: NSDictionary?) {
         total       <== (self, dictionary, "total")
         count       <== (self, dictionary, "count")
         perPage     <== (self, dictionary, "per_page")

    }
}

struct Meta {
    var pagination = Pagination()
}

extension Meta: Serializable {
    init(dictionary: NSDictionary?) {
        pagination <== (self, dictionary, "pagination")
    }
    
    func encodableRepresentation() -> NSCoding {
        let dict = NSMutableDictionary()
        (dict, "pagination") <== pagination
        return dict


protocol PaginatedResponseProtocol { }

public final class PaginatedResponse<T:Serializable> {
    var data:[T] = [T]()
    var meta:Meta = Meta()
}
