/**
 * Location of the person
 */
public class Location {
    private float lat;
    private float long;
    public void setLat(float lat) {
        this.lat = lat;
    }
    public float getLat() {
        return this.lat;
    }
    public void setLong(float long) {
        this.long = long;
    }
    public float getLong() {
        return this.long;
    }
}

/**
 * An application
 */
public class Web {
    private String name;
    private String url;
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getUrl() {
        return this.url;
    }
}

/**
 * An simple author element with some description
 */
public class Author {
    private String title;
    private String email;
    private String[] categories;
    private Location[] locations;
    private Location origin;
    public void setTitle(String title) {
        this.title = title;
    }
    public String getTitle() {
        return this.title;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getEmail() {
        return this.email;
    }
    public void setCategories(String[] categories) {
        this.categories = categories;
    }
    public String[] getCategories() {
        return this.categories;
    }
    public void setLocations(Location[] locations) {
        this.locations = locations;
    }
    public Location[] getLocations() {
        return this.locations;
    }
    public void setOrigin(Location origin) {
        this.origin = origin;
    }
    public Location getOrigin() {
        return this.origin;
    }
}

import java.util.HashMap;
public class Meta extends HashMap<String, String> {
}

import java.net.URI;
import java.time.Duration;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.LocalDateTime;
import java.util.HashMap;

/**
 * An general news entry
 */
public class News {
    private Meta config;
    private HashMap<String, String> inlineConfig;
    private String[] tags;
    private Author[] receiver;
    private Object[] resources;
    private byte[] profileImage;
    private boolean read;
    private Object source;
    private Author author;
    private Meta meta;
    private LocalDate sendDate;
    private LocalDateTime readDate;
    private Duration expires;
    private float price;
    private int rating;
    private String content;
    private String question;
    private String version;
    private LocalTime coffeeTime;
    private URI profileUri;
    private String captcha;
    private Object payload;
    public void setConfig(Meta config) {
        this.config = config;
    }
    public Meta getConfig() {
        return this.config;
    }
    public void setInlineConfig(HashMap<String, String> inlineConfig) {
        this.inlineConfig = inlineConfig;
    }
    public HashMap<String, String> getInlineConfig() {
        return this.inlineConfig;
    }
    public void setTags(String[] tags) {
        this.tags = tags;
    }
    public String[] getTags() {
        return this.tags;
    }
    public void setReceiver(Author[] receiver) {
        this.receiver = receiver;
    }
    public Author[] getReceiver() {
        return this.receiver;
    }
    public void setResources(Object[] resources) {
        this.resources = resources;
    }
    public Object[] getResources() {
        return this.resources;
    }
    public void setProfileImage(byte[] profileImage) {
        this.profileImage = profileImage;
    }
    public byte[] getProfileImage() {
        return this.profileImage;
    }
    public void setRead(boolean read) {
        this.read = read;
    }
    public boolean getRead() {
        return this.read;
    }
    public void setSource(Object source) {
        this.source = source;
    }
    public Object getSource() {
        return this.source;
    }
    public void setAuthor(Author author) {
        this.author = author;
    }
    public Author getAuthor() {
        return this.author;
    }
    public void setMeta(Meta meta) {
        this.meta = meta;
    }
    public Meta getMeta() {
        return this.meta;
    }
    public void setSendDate(LocalDate sendDate) {
        this.sendDate = sendDate;
    }
    public LocalDate getSendDate() {
        return this.sendDate;
    }
    public void setReadDate(LocalDateTime readDate) {
        this.readDate = readDate;
    }
    public LocalDateTime getReadDate() {
        return this.readDate;
    }
    public void setExpires(Duration expires) {
        this.expires = expires;
    }
    public Duration getExpires() {
        return this.expires;
    }
    public void setPrice(float price) {
        this.price = price;
    }
    public float getPrice() {
        return this.price;
    }
    public void setRating(int rating) {
        this.rating = rating;
    }
    public int getRating() {
        return this.rating;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getContent() {
        return this.content;
    }
    public void setQuestion(String question) {
        this.question = question;
    }
    public String getQuestion() {
        return this.question;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getVersion() {
        return this.version;
    }
    public void setCoffeeTime(LocalTime coffeeTime) {
        this.coffeeTime = coffeeTime;
    }
    public LocalTime getCoffeeTime() {
        return this.coffeeTime;
    }
    public void setProfileUri(URI profileUri) {
        this.profileUri = profileUri;
    }
    public URI getProfileUri() {
        return this.profileUri;
    }
    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
    public String getCaptcha() {
        return this.captcha;
    }
    public void setPayload(Object payload) {
        this.payload = payload;
    }
    public Object getPayload() {
        return this.payload;
    }
}
