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

com.clinia.model.datacatalog.V1ConnectionSchedule 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.datacatalog;

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

/** V1ConnectionSchedule */
public class V1ConnectionSchedule {

  @JsonProperty("status")
  private V1ConnectionScheduleStatus status;

  @JsonProperty("config")
  private V1ScheduleConfig config;

  /** Get status */
  @javax.annotation.Nullable
  public V1ConnectionScheduleStatus getStatus() {
    return status;
  }

  public V1ConnectionSchedule setConfig(V1ScheduleConfig config) {
    this.config = config;
    return this;
  }

  /** Get config */
  @javax.annotation.Nonnull
  public V1ScheduleConfig getConfig() {
    return config;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V1ConnectionSchedule v1ConnectionSchedule = (V1ConnectionSchedule) o;
    return Objects.equals(this.status, v1ConnectionSchedule.status) && Objects.equals(this.config, v1ConnectionSchedule.config);
  }

  @Override
  public int hashCode() {
    return Objects.hash(status, config);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1ConnectionSchedule {\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    config: ").append(toIndentedString(config)).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