package com.commafeed.frontend.model.request;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.Data;

import com.wordnik.swagger.annotations.ApiClass;
import com.wordnik.swagger.annotations.ApiProperty;

@SuppressWarnings("serial")
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
@ApiClass("Feed modification request")
@Data
public class FeedModificationRequest implements Serializable {

	@ApiProperty(value = "id", required = true)
	private Long id;

	@ApiProperty(value = "new name, null if not changed")
	private String name;

	@ApiProperty(value = "new parent category id")
	private String categoryId;

	@ApiProperty(value = "new display position, null if not changed")
	private Integer position;

}
