package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.lang.Byte;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface V1CertificateSigningRequestStatusFluent<A extends V1CertificateSigningRequestStatusFluent<A>> extends Fluent<A>{
  public A withCertificate(byte... certificate);
  public byte[] getCertificate();
  public A addToCertificate(int index,Byte item);
  public A setToCertificate(int index,Byte item);
  public A addToCertificate(java.lang.Byte... items);
  public A addAllToCertificate(Collection<Byte> items);
  public A removeFromCertificate(java.lang.Byte... items);
  public A removeAllFromCertificate(Collection<Byte> items);
  public Boolean hasCertificate();
  public A addToConditions(int index,V1CertificateSigningRequestCondition item);
  public A setToConditions(int index,V1CertificateSigningRequestCondition item);
  public A addToConditions(io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition... items);
  public A addAllToConditions(Collection<V1CertificateSigningRequestCondition> items);
  public A removeFromConditions(io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition... items);
  public A removeAllFromConditions(Collection<V1CertificateSigningRequestCondition> items);
  public A removeMatchingFromConditions(Predicate<V1CertificateSigningRequestConditionBuilder> predicate);
  
  /**
   * This method has been deprecated, please use method buildConditions instead.
   * @return The buildable object.
   */
  @Deprecated
  public List<V1CertificateSigningRequestCondition> getConditions();
  public List<V1CertificateSigningRequestCondition> buildConditions();
  public V1CertificateSigningRequestCondition buildCondition(int index);
  public V1CertificateSigningRequestCondition buildFirstCondition();
  public V1CertificateSigningRequestCondition buildLastCondition();
  public V1CertificateSigningRequestCondition buildMatchingCondition(Predicate<V1CertificateSigningRequestConditionBuilder> predicate);
  public Boolean hasMatchingCondition(Predicate<V1CertificateSigningRequestConditionBuilder> predicate);
  public A withConditions(List<V1CertificateSigningRequestCondition> conditions);
  public A withConditions(io.kubernetes.client.openapi.models.V1CertificateSigningRequestCondition... conditions);
  public Boolean hasConditions();
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> addNewCondition();
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> addNewConditionLike(V1CertificateSigningRequestCondition item);
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> setNewConditionLike(int index,V1CertificateSigningRequestCondition item);
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> editCondition(int index);
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> editFirstCondition();
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> editLastCondition();
  public V1CertificateSigningRequestStatusFluent.ConditionsNested<A> editMatchingCondition(Predicate<V1CertificateSigningRequestConditionBuilder> predicate);
  public interface ConditionsNested<N> extends Nested<N>,V1CertificateSigningRequestConditionFluent<V1CertificateSigningRequestStatusFluent.ConditionsNested<N>>{
    public N and();
    public N endCondition();
    
  }
  
}