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

com.jdroid.github.Tree Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/******************************************************************************
 *  Copyright (c) 2011 GitHub Inc.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Contributors:
 *    Kevin Sawicki (GitHub Inc.) - initial API and implementation
 *****************************************************************************/
package com.jdroid.github;

import java.io.Serializable;
import java.util.List;

/**
 * Tree model class
 */
public class Tree implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = 6518261551932913340L;

	private List tree;

	private String sha;

	private String url;

	/**
	 * @return tree
	 */
	public List getTree() {
		return tree;
	}

	/**
	 * @param tree
	 * @return this tree
	 */
	public Tree setTree(List tree) {
		this.tree = tree;
		return this;
	}

	/**
	 * @return sha
	 */
	public String getSha() {
		return sha;
	}

	/**
	 * @param sha
	 * @return this tree
	 */
	public Tree setSha(String sha) {
		this.sha = sha;
		return this;
	}

	/**
	 * @return url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 * @return this tree
	 */
	public Tree setUrl(String url) {
		this.url = url;
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy