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

com.podio.space.SpaceUpdate Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
package com.podio.space;

import org.codehaus.jackson.annotate.JsonProperty;

public class SpaceUpdate {

	/**
	 * The new name of the space
	 */
	private String name;

	/**
	 * true if new apps should be announced with a status update,
	 * false otherwise
	 */
	private boolean postOnNewApp;

	/**
	 * true if new members should be announced with a status
	 * update, false otherwise
	 */
	private boolean postOnNewMember;

	public SpaceUpdate(String name, boolean postOnNewApp,
			boolean postOnNewMember) {
		super();
		this.name = name;
		this.postOnNewApp = postOnNewApp;
		this.postOnNewMember = postOnNewMember;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@JsonProperty("post_on_new_app")
	public boolean isPostOnNewApp() {
		return postOnNewApp;
	}

	public void setPostOnNewApp(boolean postOnNewApp) {
		this.postOnNewApp = postOnNewApp;
	}

	@JsonProperty("post_on_new_member")
	public boolean isPostOnNewMember() {
		return postOnNewMember;
	}

	public void setPostOnNewMember(boolean postOnNewMember) {
		this.postOnNewMember = postOnNewMember;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy