/* * Copyright 2012 buddycloud * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.buddycloud.mediaserver.business.model; /** * Preview's metadata model. * * @author Rodrigo Duarte Sousa - rodrigodsousa@gmail.com */ public class Preview { // { // "id": string, // "shaChecksum": string, // "mediaId": string, // "fileSize": long, // "height": int, // "width": int, // "mimeType": string // } private String id; private String shaChecksum; private Long fileSize; private String mediaId; private Integer height; private Integer width; private String mimeType; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getMediaId() { return mediaId; } public void setMediaId(String mediaId) { this.mediaId = mediaId; } public Long getFileSize() { return fileSize; } public void setFileSize(Long fileSize) { this.fileSize = fileSize; } public Integer getHeight() { return height; } public void setHeight(Integer height) { this.height = height; } public Integer getWidth() { return width; } public void setWidth(Integer width) { this.width = width; } public String getShaChecksum() { return shaChecksum; } public void setShaChecksum(String shaChecksum) { this.shaChecksum = shaChecksum; } public String getMimeType() { return mimeType; } public void setMimeType(String mimeType) { this.mimeType = mimeType; } }