package com.github.codingricky.marvel.model;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.apache.commons.lang3.builder.ToStringBuilder;
@JsonIgnoreProperties
public class Story {
private int id;
private String title;
private String description;
private String resourceURI;
private List<URL> urls;
private String type;
private String modified;
private Image thumbnail;
private ComicList comics;
private SeriesList series;
private EventList events;
private CharacterList characters;
private CreatorList creators;
private ComicSummary originalIssue;
private String start;
private String end;
private StoryList stories;
private StorySummary next;
private StorySummary previous;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getResourceURI() {
return resourceURI;
}
public void setResourceURI(String resourceURI) {
this.resourceURI = resourceURI;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getModified() {
return modified;
}
public void setModified(String modified) {
this.modified = modified;
}
public Image getThumbnail() {
return thumbnail;
}
public void setThumbnail(Image thumbnail) {
this.thumbnail = thumbnail;
}
public ComicList getComics() {
return comics;
}
public void setComics(ComicList comics) {
this.comics = comics;
}
public SeriesList getSeries() {
return series;
}
public void setSeries(SeriesList series) {
this.series = series;
}
public EventList getEvents() {
return events;
}
public void setEvents(EventList events) {
this.events = events;
}
public CharacterList getCharacters() {
return characters;
}
public void setCharacters(CharacterList characters) {
this.characters = characters;
}
public CreatorList getCreators() {
return creators;
}
public void setCreators(CreatorList creators) {
this.creators = creators;
}
public ComicSummary getOriginalIssue() {
return originalIssue;
}
public void setOriginalIssue(ComicSummary originalIssue) {
this.originalIssue = originalIssue;
}
public List<URL> getUrls() {
return urls;
}
public void setUrls(List<URL> urls) {
this.urls = urls;
}
public String getStart() {
return start;
}
public void setStart(String start) {
this.start = start;
}
public String getEnd() {
return end;
}
public void setEnd(String end) {
this.end = end;
}
public StoryList getStories() {
return stories;
}
public StorySummary getNext() {
return next;
}
public void setNext(StorySummary next) {
this.next = next;
}
public StorySummary getPrevious() {
return previous;
}
public void setPrevious(StorySummary previous) {
this.previous = previous;
}
public void setStories(StoryList stories) {
this.stories = stories;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}