
io.fabric8.repo.git.RepositoryDTO Maven / Gradle / Ivy
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package io.fabric8.repo.git;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*/
public class RepositoryDTO extends EntitySupport {
private String name;
private OwnerDTO owner;
private String fullName;
private String description;
@JsonProperty("private")
private Boolean privateRepository;
private Boolean fork;
private String url;
private String htmlUrl;
private String cloneUrl;
private String sshUrl;
private PermissionsDTO permissions;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Boolean getFork() {
return fork;
}
public void setFork(Boolean fork) {
this.fork = fork;
}
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getHtmlUrl() {
return htmlUrl;
}
public void setHtmlUrl(String htmlUrl) {
this.htmlUrl = htmlUrl;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public OwnerDTO getOwner() {
return owner;
}
public void setOwner(OwnerDTO owner) {
this.owner = owner;
}
public Boolean getPrivateRepository() {
return privateRepository;
}
public void setPrivateRepository(Boolean privateRepository) {
this.privateRepository = privateRepository;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getCloneUrl() {
return cloneUrl;
}
public void setCloneUrl(String cloneUrl) {
this.cloneUrl = cloneUrl;
}
public PermissionsDTO getPermissions() {
return permissions;
}
public void setPermissions(PermissionsDTO permissions) {
this.permissions = permissions;
}
public String getSshUrl() {
return sshUrl;
}
public void setSshUrl(String sshUrl) {
this.sshUrl = sshUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy