/** * Copyright (c) 2012 Cloudsmith Inc. and other contributors, as listed below. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Cloudsmith * */ package org.cloudsmith.geppetto.forge.v2.service; import com.google.gson.annotations.Expose; /** * Object used when paginating. */ public class ListPreferences { @Expose private int limit; @Expose private int offset; @Expose private String sort_by; @Expose private String sort_order; /** * @return the limit */ public int getLimit() { return limit; } /** * @return the offset */ public int getOffset() { return offset; } /** * @return the sortBy */ public String getSortBy() { return sort_by; } /** * @return the sortOrder */ public String getSortOrder() { return sort_order; } /** * @param limit * the limit to set */ public void setLimit(int limit) { this.limit = limit; } /** * @param offset * the offset to set */ public void setOffset(int offset) { this.offset = offset; } /** * @param sortBy * the sortBy to set */ public void setSortBy(String sortBy) { this.sort_by = sortBy; } /** * @param sortOrder * the sortOrder to set */ public void setSortOrder(String sortOrder) { this.sort_order = sortOrder; } }