/****************************************************************************** * Copyright (c) 2018 Singaram Subramanian * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Singaram Subramanian (Capital One) - (Bug: 529850) * User teams across GitHub organizations implementation *****************************************************************************/ package org.eclipse.egit.github.core; import java.io.Serializable; /** * Organization model class. * * Contains information about the GitHub organization that a particular * GitHub Team is associated with. * * @see Team */ public class Organization implements Serializable { /** serialVersionUID */ private static final long serialVersionUID = -747906610305335107L; private int id; private String login; private String description; private String url; /** * @return the id */ public int getId() { return id; } /** * @param id * the id to set * @return this */ public Organization setId(int id) { this.id = id; return this; } /** * @return the login */ public String getLogin() { return login; } /** * @param login * the login to set * @return this */ public Organization setLogin(String login) { this.login = login; return this; } /** * @return the description */ public String getDescription() { return description; } /** * @param description * the description to set * @return this */ public Organization setDescription(String description) { this.description = description; return this; } /** * @return the url */ public String getUrl() { return url; } /** * @param url * the url to set * @return this */ public Organization setUrl(String url) { this.url = url; return this; } }