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

io.kubernetes.client.openapi.models.EventsV1EventSeriesFluentImpl Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import java.lang.Integer;
import java.time.OffsetDateTime;
import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class EventsV1EventSeriesFluentImpl> extends BaseFluent implements EventsV1EventSeriesFluent{
  public EventsV1EventSeriesFluentImpl() {
  }
  public EventsV1EventSeriesFluentImpl(EventsV1EventSeries instance) {
    this.withCount(instance.getCount());

    this.withLastObservedTime(instance.getLastObservedTime());

  }
  private Integer count;
  private OffsetDateTime lastObservedTime;
  public Integer getCount() {
    return this.count;
  }
  public A withCount(Integer count) {
    this.count=count; return (A) this;
  }
  public Boolean hasCount() {
    return this.count != null;
  }
  public OffsetDateTime getLastObservedTime() {
    return this.lastObservedTime;
  }
  public A withLastObservedTime(OffsetDateTime lastObservedTime) {
    this.lastObservedTime=lastObservedTime; return (A) this;
  }
  public Boolean hasLastObservedTime() {
    return this.lastObservedTime != null;
  }
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    EventsV1EventSeriesFluentImpl that = (EventsV1EventSeriesFluentImpl) o;
    if (count != null ? !count.equals(that.count) :that.count != null) return false;
    if (lastObservedTime != null ? !lastObservedTime.equals(that.lastObservedTime) :that.lastObservedTime != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(count,  lastObservedTime,  super.hashCode());
  }
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (count != null) { sb.append("count:"); sb.append(count + ","); }
    if (lastObservedTime != null) { sb.append("lastObservedTime:"); sb.append(lastObservedTime); }
    sb.append("}");
    return sb.toString();
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy