 
     override public func encodeWithCoder(coder: NSCoder) {
         super.encodeWithCoder(coder)
-		coder.encodeInteger(success,forKey:"success")
+		coder.encodeBool(success,forKey:"success")
 		coder.encodeInteger(statusCode,forKey:"statusCode")
 		coder.encodeObject(message,forKey:"message")
 		if let data = self.data {

@objc(Completion) public class Completion : BaseObject{


	//Index of the task
	public var success:Int = 0
	//Total number of tasks
	public var statusCode:Int = 0
	//The Message


    required public init?(coder decoder: NSCoder) {
        super.init(coder: decoder)
		success=decoder.decodeBoolForKey("success") 
		statusCode=decoder.decodeIntegerForKey("statusCode") 
		message=String(decoder.decodeObjectOfClass(NSString.self, forKey: "message")! as NSString)
		data=decoder.decodeObjectOfClass(NSData.self, forKey:"data") as NSData?
