/** * Copyright (C) 2014 Arnaud Piroelle (contact@arnaudpiroelle.com) * * 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.arnaudpiroelle.marvel.api.params.name.comic; /** * Created by Arnaud on 04/03/2014. */ public enum GetComicStoriesParamName { /** * Description: Return only stories which have been modified since the specified date. * Parameter type: query * Data type: Date */ MODIFIED_SINCE("modifiedSince"), /** * Description: Return only stories contained the specified series (accepts a comma-separated list of ids). * Parameter type: query * Data type: int */ SERIES("series"), /** * Description: Return only stories which take place during the specified events (accepts a comma-separated list of ids). * Parameter type: query * Data type: int */ EVENTS("events"), /** * Description: Return only stories which feature work by the specified creators (accepts a comma-separated list of ids). * Parameter type: query * Data type: int */ CREATORS("creators"), /** * Description: Return only stories which feature the specified characters (accepts a comma-separated list of ids). * Parameter type: query * Data type: int */ CHARACTERS("characters"), /** * Description: Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed. * Parameter type: query * Data type: string */ ORDER_BY("orderBy"), /** * Description: Limit the result set to the specified number of resources. * Parameter type: query * Data type: int */ LIMIT("limit"), /** * Description: Skip the specified number of resources in the result set. * Parameter type: query * Data type: int */ OFFSET("offset"); private String label; private GetComicStoriesParamName(String value) { this.label = value; } @Override public String toString() { return this.label; } }