org.zalando.stups.clients.kio.Application Maven / Gradle / Ivy
/**
* Copyright (C) 2015 Zalando SE (http://tech.zalando.com)
*
* Licensed 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 org.zalando.stups.clients.kio;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author jbellmann
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Application extends ApplicationBase {
@JsonProperty("specification_url")
private String specificationUrl;
@JsonProperty("documentation_url")
private String documentationUrl;
@JsonProperty("scm_url")
private String scmUrl;
private boolean active;
@JsonProperty("service_url")
private String serviceUrl;
private String description;
@JsonProperty("required_approvers")
private int requiredApprovers;
public String getSpecificationUrl() {
return specificationUrl;
}
public void setSpecificationUrl(final String specificationUrl) {
this.specificationUrl = specificationUrl;
}
public String getDocumentationUrl() {
return documentationUrl;
}
public void setDocumentationUrl(final String documentationUrl) {
this.documentationUrl = documentationUrl;
}
public String getScmUrl() {
return scmUrl;
}
public void setScmUrl(final String scmUrl) {
this.scmUrl = scmUrl;
}
public boolean isActive() {
return active;
}
public void setActive(final boolean active) {
this.active = active;
}
public String getServiceUrl() {
return serviceUrl;
}
public void setServiceUrl(final String serviceUrl) {
this.serviceUrl = serviceUrl;
}
public String getDescription() {
return description;
}
public void setDescription(final String description) {
this.description = description;
}
public int getRequiredApprovers() {
return requiredApprovers;
}
public void setRequiredApprovers(int requiredApprovers) {
this.requiredApprovers = requiredApprovers;
}
}