001/*
002 * (C) Copyright 2015 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *      André Justo
018 */
019
020package org.nuxeo.ecm.media.publishing.wistia.model;
021
022import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
023
024@JsonIgnoreProperties(ignoreUnknown = true)
025public class Stats {
026
027    protected int averagePercentWatched;
028
029    protected int pageLoads;
030
031    protected int percentOfVisitorsClickingPlay;
032
033    protected int plays;
034
035    protected int visitors;
036
037    public int getAveragePercentWatched() {
038        return averagePercentWatched;
039    }
040
041    public void setAveragePercentWatched(int averagePercentWatched) {
042        this.averagePercentWatched = averagePercentWatched;
043    }
044
045    public int getPageLoads() {
046        return pageLoads;
047    }
048
049    public void setPageLoads(int pageLoads) {
050        this.pageLoads = pageLoads;
051    }
052
053    public int getPercentOfVisitorsClickingPlay() {
054        return percentOfVisitorsClickingPlay;
055    }
056
057    public void setPercentOfVisitorsClickingPlay(int percentOfVisitorsClickingPlay) {
058        this.percentOfVisitorsClickingPlay = percentOfVisitorsClickingPlay;
059    }
060
061    public int getPlays() {
062        return plays;
063    }
064
065    public void setPlays(int plays) {
066        this.plays = plays;
067    }
068
069    public int getVisitors() {
070        return visitors;
071    }
072
073    public void setVisitors(int visitors) {
074        this.visitors = visitors;
075    }
076}