78 lines
1.9 KiB
Java
78 lines
1.9 KiB
Java
/* Copyright 2017 Thomas Schneider
|
|
*
|
|
* This file is a part of Mastodon Etalab for mastodon.etalab.gouv.fr
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* Mastodon Etalab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
* Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with Thomas Schneider; if not,
|
|
* see <http://www.gnu.org/licenses>. */
|
|
package fr.gouv.etalab.mastodon.client.Entities;
|
|
|
|
/**
|
|
* Created by Thomas on 23/04/2017.
|
|
*/
|
|
|
|
public class Attachment {
|
|
|
|
private String id;
|
|
private String type;
|
|
private String url;
|
|
private String remote_url;
|
|
private String preview_url;
|
|
private String text_url;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public String getRemote_url() {
|
|
return remote_url;
|
|
}
|
|
|
|
public void setRemote_url(String remote_url) {
|
|
this.remote_url = remote_url;
|
|
}
|
|
|
|
public String getPreview_url() {
|
|
return preview_url;
|
|
}
|
|
|
|
public void setPreview_url(String preview_url) {
|
|
this.preview_url = preview_url;
|
|
}
|
|
|
|
public String getText_url() {
|
|
return text_url;
|
|
}
|
|
|
|
public void setText_url(String text_url) {
|
|
this.text_url = text_url;
|
|
}
|
|
}
|