/** * 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 CreateRepositoryDTO extends DtoSupport { private String name; private String description; private String homepage; private String gitignoreTemplate; private String licenseTemplate; @JsonProperty("private") private Boolean privateRepository; private Boolean hasIssues; private Boolean hasWiki; private Boolean hasDownloads; private Boolean autoInit; private Number teamId; public Boolean getAutoInit() { return autoInit; } public void setAutoInit(Boolean autoInit) { this.autoInit = autoInit; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getGitignoreTemplate() { return gitignoreTemplate; } public void setGitignoreTemplate(String gitignoreTemplate) { this.gitignoreTemplate = gitignoreTemplate; } public Boolean getHasDownloads() { return hasDownloads; } public void setHasDownloads(Boolean hasDownloads) { this.hasDownloads = hasDownloads; } public Boolean getHasIssues() { return hasIssues; } public void setHasIssues(Boolean hasIssues) { this.hasIssues = hasIssues; } public Boolean getHasWiki() { return hasWiki; } public void setHasWiki(Boolean hasWiki) { this.hasWiki = hasWiki; } public String getHomepage() { return homepage; } public void setHomepage(String homepage) { this.homepage = homepage; } public String getLicenseTemplate() { return licenseTemplate; } public void setLicenseTemplate(String licenseTemplate) { this.licenseTemplate = licenseTemplate; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Boolean getPrivateRepository() { return privateRepository; } public void setPrivateRepository(Boolean privateRepository) { this.privateRepository = privateRepository; } public Number getTeamId() { return teamId; } public void setTeamId(Number teamId) { this.teamId = teamId; } }