io.alauda.devops.api.model.UserRestrictionFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import io.alauda.kubernetes.api.model.LabelSelectorBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.LabelSelector;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import io.alauda.kubernetes.api.model.LabelSelectorFluent;
import java.lang.Boolean;
import java.util.Map;
public interface UserRestrictionFluent> extends Fluent{
public A addToGroups(int index,String item);
public A setToGroups(int index,String item);
public A addToGroups(String... items);
public A addAllToGroups(Collection items);
public A removeFromGroups(String... items);
public A removeAllFromGroups(Collection items);
public List getGroups();
public String getGroup(int index);
public String getFirstGroup();
public String getLastGroup();
public String getMatchingGroup(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withGroups(List groups);
public A withGroups(String... groups);
public Boolean hasGroups();
public A addToLabels(int index,LabelSelector item);
public A setToLabels(int index,LabelSelector item);
public A addToLabels(LabelSelector... items);
public A addAllToLabels(Collection items);
public A removeFromLabels(LabelSelector... items);
public A removeAllFromLabels(Collection items);
/**
* This method has been deprecated, please use method buildLabels instead.
*/
@Deprecated public List getLabels();
public List buildLabels();
public LabelSelector buildLabel(int index);
public LabelSelector buildFirstLabel();
public LabelSelector buildLastLabel();
public LabelSelector buildMatchingLabel(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withLabels(List labels);
public A withLabels(LabelSelector... labels);
public Boolean hasLabels();
public UserRestrictionFluent.LabelsNested addNewLabel();
public UserRestrictionFluent.LabelsNested addNewLabelLike(LabelSelector item);
public UserRestrictionFluent.LabelsNested setNewLabelLike(int index,LabelSelector item);
public UserRestrictionFluent.LabelsNested editLabel(int index);
public UserRestrictionFluent.LabelsNested editFirstLabel();
public UserRestrictionFluent.LabelsNested editLastLabel();
public UserRestrictionFluent.LabelsNested editMatchingLabel(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addToUsers(int index,String item);
public A setToUsers(int index,String item);
public A addToUsers(String... items);
public A addAllToUsers(Collection items);
public A removeFromUsers(String... items);
public A removeAllFromUsers(Collection items);
public List getUsers();
public String getUser(int index);
public String getFirstUser();
public String getLastUser();
public String getMatchingUser(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withUsers(List users);
public A withUsers(String... users);
public Boolean hasUsers();
public interface LabelsNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endLabel();
}
}