All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jeremybrooks.jinx.response.stats.Referrer Maven / Gradle / Ivy

/*
 * Jinx is Copyright 2010-2018 by Jeremy Brooks and Contributors
 *
 * Jinx is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Jinx is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Jinx.  If not, see .
 */

package net.jeremybrooks.jinx.response.stats;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * @author Jeremy Brooks
 */
public class Referrer implements Serializable {
  private static final long serialVersionUID = 287354812907645565L;
  private String url;
  private Integer views;
  @SerializedName("searchterm")
  private String searchTerm;


  public String getUrl() {
    return url;
  }

  public Integer getViews() {
    return views;
  }

  public String getSearchTerm() {
    return searchTerm;
  }

  @Override
  public String toString() {
    return "net.jeremybrooks.jinx.response.stats.Referrer{" +
        "url='" + url + '\'' +
        ", views=" + views +
        ", searchTerm='" + searchTerm + '\'' +
        '}';
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy