Message
public Message Message(@Json(name = "id" ) String id, @Json(name = "grant_id" ) String grantId, @Json(name = "from" ) List<EmailName> from, @Json(name = "date" ) Long date, @Json(name = "object" ) String obj, @Json(name = "bcc" ) List<EmailName> bcc, @Json(name = "cc" ) List<EmailName> cc, @Json(name = "reply_to" ) List<EmailName> replyTo, @Json(name = "snippet" ) String snippet, @Json(name = "subject" ) String subject, @Json(name = "thread_id" ) String threadId, @Json(name = "body" ) String body, @Json(name = "starred" ) Boolean starred, @Json(name = "unread" ) Boolean unread, @Json(name = "folders" ) List<String> folders, @Json(name = "to" ) List<EmailName> to, @Json(name = "attachments" ) List<Attachment> attachments, @Json(name = "headers" ) List<MessageHeaders> headers, @Json(name = "created_at" ) Long createdAt, @Json(name = "metadata" ) Map<String, Object> metadata)