com.jdroid.github.RepositoryBranch Maven / Gradle / Ivy
/******************************************************************************
* 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;
/**
* Repository branch model class
*/
public class RepositoryBranch implements Serializable {
/** serialVersionUID */
private static final long serialVersionUID = 4927461901146433920L;
private String name;
private TypedResource commit;
/**
* @return name
*/
public String getName() {
return name;
}
/**
* @param name
* @return this branch
*/
public RepositoryBranch setName(String name) {
this.name = name;
return this;
}
/**
* @return commit
*/
public TypedResource getCommit() {
return commit;
}
/**
* @param commit
* @return this branch
*/
public RepositoryBranch setCommit(TypedResource commit) {
this.commit = commit;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy