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 Assets { 024 025 protected String url; 026 027 protected int width; 028 029 protected int height; 030 031 protected long fileSize; 032 033 protected String contentType; 034 035 protected String type; 036 037 public String getUrl() { 038 return url; 039 } 040 041 public void setUrl(String url) { 042 this.url = url; 043 } 044 045 public int getWidth() { 046 return width; 047 } 048 049 public void setWidth(int width) { 050 this.width = width; 051 } 052 053 public int getHeight() { 054 return height; 055 } 056 057 public void setHeight(int height) { 058 this.height = height; 059 } 060 061 public long getFileSize() { 062 return fileSize; 063 } 064 065 public void setFileSize(long fileSize) { 066 this.fileSize = fileSize; 067 } 068 069 public String getContentType() { 070 return contentType; 071 } 072 073 public void setContentType(String contentType) { 074 this.contentType = contentType; 075 } 076 077 public String getType() { 078 return type; 079 } 080 081 public void setType(String type) { 082 this.type = type; 083 } 084}