Files
Athou_commafeed/src/main/java/com/commafeed/frontend/model/Settings.java

43 lines
1.4 KiB
Java
Raw Normal View History

2013-03-23 19:46:09 +01:00
package com.commafeed.frontend.model;
import java.io.Serializable;
import lombok.Data;
2013-04-17 07:50:25 +02:00
import com.wordnik.swagger.annotations.ApiClass;
import com.wordnik.swagger.annotations.ApiProperty;
2013-03-25 12:24:00 +01:00
@SuppressWarnings("serial")
2013-04-17 07:50:25 +02:00
@ApiClass("User settings")
@Data
2013-03-23 19:46:09 +01:00
public class Settings implements Serializable {
@ApiProperty(value = "user's preferred language, english if none")
private String language;
2013-04-17 07:50:25 +02:00
@ApiProperty(value = "user reads all entries or unread entries only", allowableValues = "all,unread", required = true)
2013-03-23 19:46:09 +01:00
private String readingMode;
2013-04-17 07:50:25 +02:00
@ApiProperty(value = "user reads entries in ascending or descending order", allowableValues = "asc,desc", required = true)
2013-04-10 10:28:48 +02:00
private String readingOrder;
2013-04-17 07:50:25 +02:00
2013-05-04 21:12:51 +02:00
@ApiProperty(value = "user viewing mode, either title-only or expande view", allowableValues = "title,expanded", required = true)
private String viewMode;
2013-04-17 07:50:25 +02:00
@ApiProperty(value = "user wants category and feeds with no unread entries shown", required = true)
private boolean showRead;
2013-04-17 07:50:25 +02:00
2013-05-01 18:06:18 +02:00
@ApiProperty(value = "user wants social buttons (facebook, twitter, ...) shown", required = true)
private boolean socialButtons;
@ApiProperty(value = "In expanded view, scroll through entries mark them as read", required = true)
private boolean scrollMarks;
2013-05-28 22:40:54 +02:00
@ApiProperty(value = "user's selected theme")
private String theme;
2013-04-17 07:50:25 +02:00
@ApiProperty(value = "user's custom css for the website")
2013-04-04 11:36:24 +02:00
private String customCss;
2013-03-23 19:46:09 +01:00
}