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