All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dekorate.helm.model.Chart Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
/**
 * Copyright 2018 The original authors.
 *
 * 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 io.dekorate.helm.model;

import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY;

import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Represents the Helm
 * Chart.yaml file
 */
@JsonInclude(NON_EMPTY)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Chart {
  @JsonProperty
  private String name;
  @JsonProperty
  private String home;
  @JsonProperty
  private List sources;
  @JsonProperty
  private String version;
  @JsonProperty
  private String description;
  @JsonProperty
  private List keywords;
  @JsonProperty
  private List maintainers;
  @JsonProperty
  private String icon;
  @JsonProperty
  private String apiVersion;
  @JsonProperty
  private String condition;
  @JsonProperty
  private String tags;
  @JsonProperty
  private String appVersion;
  @JsonProperty
  private Boolean deprecated;
  @JsonProperty
  private Map annotations;
  @JsonProperty
  private String kubeVersion;
  @JsonProperty
  private List dependencies;
  @JsonProperty
  private String type;

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public List getDependencies() {
    return dependencies;
  }

  public void setDependencies(List dependencies) {
    this.dependencies = dependencies;
  }

  public List getMaintainers() {
    return maintainers;
  }

  public void setMaintainers(List maintainers) {
    this.maintainers = maintainers;
  }

  public String getApiVersion() {
    return apiVersion;
  }

  public void setApiVersion(String apiVersion) {
    this.apiVersion = apiVersion;
  }

  public List getKeywords() {
    return keywords;
  }

  public String getCondition() {
    return condition;
  }

  public void setCondition(String condition) {
    this.condition = condition;
  }

  public String getTags() {
    return tags;
  }

  public void setTags(String tags) {
    this.tags = tags;
  }

  public void setKeywords(List keywords) {
    this.keywords = keywords;
  }

  public List getSources() {
    return sources;
  }

  public void setSources(List sources) {
    this.sources = sources;
  }

  public String getHome() {
    return home;
  }

  public void setHome(String home) {
    this.home = home;
  }

  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }

  public String getAppVersion() {
    return appVersion;
  }

  public void setAppVersion(String appVersion) {
    this.appVersion = appVersion;
  }

  public Boolean getDeprecated() {
    return deprecated;
  }

  public void setDeprecated(Boolean deprecated) {
    this.deprecated = deprecated;
  }

  public Map getAnnotations() {
    return annotations;
  }

  public void setAnnotations(Map annotations) {
    this.annotations = annotations;
  }

  public String getKubeVersion() {
    return kubeVersion;
  }

  public void setKubeVersion(String kubeVersion) {
    this.kubeVersion = kubeVersion;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  @Override
  public String toString() {
    return "Chart{" +
        "name='" + name + '\'' +
        ", home='" + home + '\'' +
        ", version='" + version + '\'' +
        '}';
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy