-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added models and responses. updated ignore file.
- Loading branch information
Showing
10 changed files
with
1,053 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/.idea | ||
/emailparser.iml | ||
|
||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
src/main/java/com/fruitfactory/models/OFAttachment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
package com.fruitfactory.models; | ||
|
||
import com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.annotations.SerializedName; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* Created by Yariki on 1/29/2017. | ||
*/ | ||
public class OFAttachment { | ||
@SerializedName("entryid") | ||
public String entryid; | ||
|
||
@SerializedName("filename") | ||
public String filename; | ||
|
||
@SerializedName("path") | ||
public String path; | ||
|
||
@SerializedName("size") | ||
public long size; | ||
|
||
@SerializedName("mimetag") | ||
public String mimetag; | ||
|
||
@SerializedName("content") | ||
public String content; | ||
|
||
@SerializedName("analyzedcontent") | ||
public String analyzedcontent; | ||
|
||
@SerializedName("emailid") | ||
public String emailid; | ||
|
||
@SerializedName("outlookemailid") | ||
public String outlookemailid; | ||
|
||
@SerializedName("datecreated") | ||
public Date datecreated; | ||
|
||
@SerializedName("storeid") | ||
public String storeid; | ||
|
||
public OFAttachment() { | ||
} | ||
|
||
public String getEntryid() { | ||
return entryid; | ||
} | ||
|
||
public void setEntryid(String entryid) { | ||
this.entryid = entryid; | ||
} | ||
|
||
public String getFilename() { | ||
return filename; | ||
} | ||
|
||
public void setFilename(String filename) { | ||
this.filename = filename; | ||
} | ||
|
||
public String getPath() { | ||
return path; | ||
} | ||
|
||
public void setPath(String path) { | ||
this.path = path; | ||
} | ||
|
||
public long getSize() { | ||
return size; | ||
} | ||
|
||
public void setSize(long size) { | ||
this.size = size; | ||
} | ||
|
||
public String getMimetag() { | ||
return mimetag; | ||
} | ||
|
||
public void setMimetag(String mimetag) { | ||
this.mimetag = mimetag; | ||
} | ||
|
||
public String getContent() { | ||
return content; | ||
} | ||
|
||
public void setContent(String content) { | ||
this.content = content; | ||
} | ||
|
||
public String getAnalyzedcontent() { | ||
return analyzedcontent; | ||
} | ||
|
||
public void setAnalyzedcontent(String analyzedcontent) { | ||
this.analyzedcontent = analyzedcontent; | ||
} | ||
|
||
public String getEmailid() { | ||
return emailid; | ||
} | ||
|
||
public void setEmailid(String emailid) { | ||
this.emailid = emailid; | ||
} | ||
|
||
public String getOutlookemailid() { | ||
return outlookemailid; | ||
} | ||
|
||
public void setOutlookemailid(String outlookemailid) { | ||
this.outlookemailid = outlookemailid; | ||
} | ||
|
||
public Date getDatecreated() { | ||
return datecreated; | ||
} | ||
|
||
public void setDatecreated(Date datecreated) { | ||
this.datecreated = datecreated; | ||
} | ||
|
||
public String getStoreid() { | ||
return storeid; | ||
} | ||
|
||
public void setStoreid(String storeid) { | ||
this.storeid = storeid; | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
src/main/java/com/fruitfactory/models/OFAttachmentSimple.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
package com.fruitfactory.models; | ||
|
||
import com.carrotsearch.ant.tasks.junit4.dependencies.com.google.gson.annotations.SerializedName; | ||
|
||
/** | ||
* Created by Yariki on 1/29/2017. | ||
*/ | ||
public class OFAttachmentSimple { | ||
|
||
@SerializedName("entryid") | ||
public String entryId; | ||
|
||
@SerializedName("filename") | ||
public String fileName; | ||
|
||
@SerializedName("path") | ||
public String path; | ||
|
||
@SerializedName("size") | ||
public long size; | ||
|
||
@SerializedName("mimetag") | ||
public String mimeTag; | ||
|
||
public OFAttachmentSimple() { | ||
} | ||
|
||
public String getEntryId() { | ||
return entryId; | ||
} | ||
|
||
public void setEntryId(String entryId) { | ||
this.entryId = entryId; | ||
} | ||
|
||
public String getFileName() { | ||
return fileName; | ||
} | ||
|
||
public void setFileName(String fileName) { | ||
this.fileName = fileName; | ||
} | ||
|
||
public String getPath() { | ||
return path; | ||
} | ||
|
||
public void setPath(String path) { | ||
this.path = path; | ||
} | ||
|
||
public long getSize() { | ||
return size; | ||
} | ||
|
||
public void setSize(long size) { | ||
this.size = size; | ||
} | ||
|
||
public String getMimeTag() { | ||
return mimeTag; | ||
} | ||
|
||
public void setMimeTag(String mimeTag) { | ||
this.mimeTag = mimeTag; | ||
} | ||
} |
Oops, something went wrong.