// Path: postcard/src/main/java/ca/bitwit/postcard/MessageAttachment.java
// public class MessageAttachment{
// 
//     public Double progress; //note: an NSProgress in OBJC
// 
// }


import ca.bitwit.postcard.MessageAttachment;

package ca.bitwit.postcard;



public class MessageLink extends MessageAttachment{

    public String url;
    public String title;
    public String description;
    public String imageLocation;

    private String originalUrlSubmitted;
    private String contentType;
    // private Dictionary metaMap;

    public MessageLink(){
        /*
            self.metaMap = @{
                @"title" : @[
                        @"og:title",
                        @"twitter:title"
                ],
                @"description" : @[
                        @"og:description",
                        @"twitter:description"
                ],
                @"imageURL" : @[
                        @"og:image",
                        @"twitter:image",
                ]
            };
        */
    }

// Path: postcard/src/main/java/ca/bitwit/postcard/MessageAttachment.java
// public class MessageAttachment{
// 
//     public Double progress; //note: an NSProgress in OBJC
// 
// }


// Path: postcard/src/main/java/ca/bitwit/postcard/MessageLink.java
import ca.bitwit.postcard.MessageAttachment;


package ca.bitwit.postcard;



public class MessageLink extends MessageAttachment{

    public String url;
    public String title;
    public String description;
    public String imageLocation;

    private String originalUrlSubmitted;
    private String contentType;
    // private Dictionary metaMap;

    public MessageLink(){
        /*
            self.metaMap = @{
                @"title" : @[
                        @"og:title",
                        @"twitter:title"
                ],
                @"description" : @[
                        @"og:description",
                        @"twitter:description"
                ],
                @"imageURL" : @[
                        @"og:image",
                        @"twitter:image",
                ]
            };
        */
    }

    public void setMessageLinkUrl(String urlString){