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

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

There is a newer version: 0.9.4
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;

/**
 * Team model class.
 */
public class Team implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -1844276044857264413L;

	private int id;

	private int membersCount;

	private int reposCount;

	private String name;

	private String permission;

	private String url;

	/**
	 * @return id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 * @return this team
	 */
	public Team setId(int id) {
		this.id = id;
		return this;
	}

	/**
	 * @return membersCount
	 */
	public int getMembersCount() {
		return membersCount;
	}

	/**
	 * @param membersCount
	 * @return this team
	 */
	public Team setMembersCount(int membersCount) {
		this.membersCount = membersCount;
		return this;
	}

	/**
	 * @return reposCount
	 */
	public int getReposCount() {
		return reposCount;
	}

	/**
	 * @param reposCount
	 * @return this team
	 */
	public Team setReposCount(int reposCount) {
		this.reposCount = reposCount;
		return this;
	}

	/**
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 * @return this team
	 */
	public Team setName(String name) {
		this.name = name;
		return this;
	}

	/**
	 * @return permission
	 */
	public String getPermission() {
		return permission;
	}

	/**
	 * @param permission
	 * @return this team
	 */
	public Team setPermission(String permission) {
		this.permission = permission;
		return this;
	}

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy