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 Account {
024
025    protected int id;
026
027    protected String name;
028
029    protected String url;
030
031    public int getId() {
032        return id;
033    }
034
035    public void setId(int id) {
036        this.id = id;
037    }
038
039    public String getName() {
040        return name;
041    }
042
043    public void setName(String name) {
044        this.name = name;
045    }
046
047    public String getUrl() {
048        return url;
049    }
050
051    public void setUrl(String url) {
052        this.url = url;
053    }
054
055    @Override
056    public String toString() {
057        return "--- Account info ---" +
058                "\nid: \t" + getId() +
059                "\nname: \t" + getName() +
060                "\nurl: \t" + getUrl() + "\n";
061    }
062}