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

com.clinia.model.registry.V1Pipeline Maven / Gradle / Ivy

// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
// - read more on https://github.com/clinia/api-clients-generation. DO NOT EDIT.

package com.clinia.model.registry;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/** V1Pipeline */
public class V1Pipeline {

  @JsonProperty("steps")
  private List steps = new ArrayList<>();

  public V1Pipeline setSteps(List steps) {
    this.steps = steps;
    return this;
  }

  public V1Pipeline addSteps(V1PipelineProcessor stepsItem) {
    this.steps.add(stepsItem);
    return this;
  }

  /** Get steps */
  @javax.annotation.Nonnull
  public List getSteps() {
    return steps;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V1Pipeline v1Pipeline = (V1Pipeline) o;
    return Objects.equals(this.steps, v1Pipeline.steps);
  }

  @Override
  public int hashCode() {
    return Objects.hash(steps);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1Pipeline {\n");
    sb.append("    steps: ").append(toIndentedString(steps)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy