package com.catchnotes.api;
public long id;
public String email;
public String username;
public long accountCreatedOn;
public String auth_token;
public long periodLimit;
public long periodUsage;
public long periodStart;
public long periodEnd;
public long subscriptionEnd;
public int accountLevel;
public String accountDescription;
id = -1;
email = "";
username = "";
accountCreatedOn = -1;
auth_token = "";
periodLimit = -1;
periodUsage = -1;
periodStart = -1;
periodEnd = -1;
subscriptionEnd = -1;
accountLevel = -1;
accountDescription = "";
}
public CatchAccount(
long id, String email, String username,
long accountCreatedOn, String auth_token,
int accountLevel, String accountDescription,
long monthlyLimit,
long usage,
long usageStart,
long usageEnd,
long subscriptionEnd) {
this.id = id;
this.email = email;
this.username = username;
this.accountCreatedOn = accountCreatedOn;
this.auth_token = auth_token;
this.periodLimit = monthlyLimit;
this.periodUsage = usage;
this.periodStart = usageStart;
this.periodEnd = usageEnd;
this.subscriptionEnd = subscriptionEnd;
this.accountLevel = accountLevel;
this.accountDescription = accountDescription;
}
@Override
return
"email=\"" + email + "\" " +
"id=" + id + ' ' +
"username=\"" + username + "\" " +
"accountCreatedOn=" + accountCreatedOn + ' ' +
"accountLevel=" + accountLevel + ' ' +
"accountDescription=\"" + accountDescription + "\" " +
"periodLimit=" + periodLimit + ' ' +
"periodUsage=" + periodUsage + ' ' +
"periodStart=" + periodStart + ' ' +
"periodEnd=" + periodEnd + ' ' +
"subscriptionEnd=" + subscriptionEnd + ' ' +
"auth_token=" + auth_token;
}
}