001/* 
002 * Copyright (C) 2016 Hobrasoft s.r.o.
003 *
004 * This program is free software: you can redistribute it and/or modify
005 * it under the terms of the GNU Affero General Public License as published by
006 * the Free Software Foundation, either version 3 of the License, or
007 * (at your option) any later version.
008 *
009 * This program is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
012 * GNU Affero General Public License for more details.
013 *
014 * You should have received a copy of the GNU Affero General Public License
015 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
016 */
017package cz.hobrasoft.pdfmu.jackson;
018
019import com.fasterxml.jackson.annotation.JsonPropertyDescription;
020
021/**
022 *
023 * @author <a href="mailto:filip.bartek@hobrasoft.cz">Filip Bartek</a>
024 */
025public class VersionSet extends Result {
026
027    @JsonPropertyDescription("PDF version of the input document")
028    public String inputVersion;
029
030    @JsonPropertyDescription("PDF version of the output PDF document.")
031    public String desiredVersion;
032
033    @JsonPropertyDescription("The PDF version was set and the output document was created if it did not exist.")
034    public boolean set;
035
036    public VersionSet(String inputVersion, String desiredVersion, boolean set) {
037        this.inputVersion = inputVersion;
038        this.desiredVersion = desiredVersion;
039        this.set = set;
040    }
041}