All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tenxerconsulting.swagger.doclet.sample.CommentThread Maven / Gradle / Ivy

The newest version!
package com.tenxerconsulting.swagger.doclet.sample;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonView;

@SuppressWarnings("javadoc")
public class CommentThread {

	public interface CommentThreadView {
		// noop
	}

	public interface CommentView extends Comment.UserView {
		// noop
	}

	@JsonView(CommentThread.CommentThreadView.class)
	protected String name;

	@JsonView(CommentThread.CommentView.class)
	protected List comments;

	/**
	 * This gets the name
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * This sets the name
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This gets the comments
	 * @return the comments
	 */
	public List getComments() {
		return this.comments;
	}

	/**
	 * This sets the comments
	 * @param comments the comments to set
	 */
	public void setComments(List comments) {
		this.comments = comments;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy