/**
 * Copyright (c) 2015 Bosch Software Innovations GmbH and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipse.hawkbit.mgmt.json.model.artifact;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Hashes for given Artifact.
 *
 *
 */
public class MgmtArtifactHash {

    @JsonProperty
    private String sha1;

    @JsonProperty
    private String md5;

    /**
     * Default constructor.
     */
    public MgmtArtifactHash() {
        // used for jackson to instantiate
    }

    /**
     * Public constructor.
     */
    public MgmtArtifactHash(final String sha1, final String md5) {
        this.sha1 = sha1;
        this.md5 = md5;
    }

    public String getSha1() {
        return sha1;
    }

    public String getMd5() {
        return md5;
    }

}
