Skip to content

Commit 1242ecc

Browse files
committed
Code Cleanup
1 parent 8c63bee commit 1242ecc

File tree

6 files changed

+0
-72
lines changed

6 files changed

+0
-72
lines changed

src/main/java/me/shivzee/util/Account.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,6 @@ public class Account {
1313
private String createdAt;
1414
private String updatedAt;
1515

16-
public Account(){
17-
this.id = "";
18-
this.address = "";
19-
this.quota = "";
20-
this.used = "";
21-
this.isDisabled = false;
22-
this.isDeleted = false;
23-
this.createdAt = "";
24-
this.updatedAt = "";
25-
}
26-
public Account(String id, String address, String quota, String used, Boolean isDisabled, Boolean isDeleted, String createdAt, String updatedAt) {
27-
this.id = id;
28-
this.address = address;
29-
this.quota = quota;
30-
this.used = used;
31-
this.isDisabled = isDisabled;
32-
this.isDeleted = isDeleted;
33-
this.createdAt = createdAt;
34-
this.updatedAt = updatedAt;
35-
}
36-
3716
/**
3817
* Get the UserID
3918
* @return the user id of the account

src/main/java/me/shivzee/util/Attachment.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,6 @@ public class Attachment {
2424
private String downloadUrl;
2525
private String bearerToken;
2626

27-
public Attachment(String id, String filename, String contentType, String disposition, String transferEncoding, Boolean related, Long size, String downloadUrl, String bearerToken) {
28-
this.id = id;
29-
this.filename = filename;
30-
this.contentType = contentType;
31-
this.disposition = disposition;
32-
this.transferEncoding = transferEncoding;
33-
this.related = related;
34-
this.size = size;
35-
this.downloadUrl = downloadUrl;
36-
this.bearerToken = bearerToken;
37-
}
3827

3928
/**
4029
* Get the Attachment ID

src/main/java/me/shivzee/util/Domain.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ public class Domain {
1212
private String createdAt;
1313
private String updatedAt;
1414

15-
public Domain(String id, String domain, boolean isActive, boolean isPrivate, String createdAt, String updatedAt) {
16-
this.id = id;
17-
this.domain = domain;
18-
this.isActive = isActive;
19-
this.isPrivate = isPrivate;
20-
this.createdAt = createdAt;
21-
this.updatedAt = updatedAt;
22-
}
2315

2416
/**
2517
* Get Domain ID

src/main/java/me/shivzee/util/Message.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,6 @@ public class Message {
4141
private String updatedAt;
4242
private String bearerToken;
4343

44-
public Message(String id, String msgid, Sender from, List<Receiver> to, String subject, String text, Boolean seen, Boolean flagged, Boolean isDeleted, Boolean retention, String retentionDate, List<String> html, Boolean hasAttachments, List<Attachment> attachments, Long size, String downloadUrl, String createdAt, String updatedAt ,String bearerToken, String rawJson) {
45-
this.id = id;
46-
this.msgid = msgid;
47-
this.from = from;
48-
this.to = to;
49-
this.subject = subject;
50-
this.text = text;
51-
this.seen = seen;
52-
this.flagged = flagged;
53-
this.isDeleted = isDeleted;
54-
this.retention = retention;
55-
this.retentionDate = retentionDate;
56-
this.html = html;
57-
this.hasAttachments = hasAttachments;
58-
this.attachments = attachments;
59-
this.size = size;
60-
this.downloadUrl = downloadUrl;
61-
this.createdAt = createdAt;
62-
this.updatedAt = updatedAt;
63-
this.bearerToken = bearerToken;
64-
}
65-
6644
/**
6745
* Get the Email/Message ID
6846
* @return the id of the message

src/main/java/me/shivzee/util/Receiver.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ public class Receiver {
88
private String address;
99
private String name;
1010

11-
public Receiver(String address, String name) {
12-
this.address = address;
13-
this.name = name;
14-
}
15-
1611
/**
1712
* Get Email
1813
* @return the email address

src/main/java/me/shivzee/util/Sender.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ public class Sender {
44
private String address;
55
private String name;
66

7-
public Sender(String address , String name){
8-
this.address = address;
9-
this.name = name;
10-
}
11-
127
public String getAddress() {
138
return address;
149
}

0 commit comments

Comments
 (0)