001/*
002 * (C) Copyright 2015 Nuxeo SA (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library 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 GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *      André Justo
016 */
017
018package org.nuxeo.ecm.media.publishing.wistia.model;
019
020import org.codehaus.jackson.annotate.JsonIgnoreProperties;
021
022@JsonIgnoreProperties(ignoreUnknown = true)
023public class Stats {
024
025    protected int averagePercentWatched;
026
027    protected int pageLoads;
028
029    protected int percentOfVisitorsClickingPlay;
030
031    protected int plays;
032
033    protected int visitors;
034
035    public int getAveragePercentWatched() {
036        return averagePercentWatched;
037    }
038
039    public void setAveragePercentWatched(int averagePercentWatched) {
040        this.averagePercentWatched = averagePercentWatched;
041    }
042
043    public int getPageLoads() {
044        return pageLoads;
045    }
046
047    public void setPageLoads(int pageLoads) {
048        this.pageLoads = pageLoads;
049    }
050
051    public int getPercentOfVisitorsClickingPlay() {
052        return percentOfVisitorsClickingPlay;
053    }
054
055    public void setPercentOfVisitorsClickingPlay(int percentOfVisitorsClickingPlay) {
056        this.percentOfVisitorsClickingPlay = percentOfVisitorsClickingPlay;
057    }
058
059    public int getPlays() {
060        return plays;
061    }
062
063    public void setPlays(int plays) {
064        this.plays = plays;
065    }
066
067    public int getVisitors() {
068        return visitors;
069    }
070
071    public void setVisitors(int visitors) {
072        this.visitors = visitors;
073    }
074}