public class UserListFluentImpl<A extends UserListFluent<A>> extends BaseFluent<A> implements UserListFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
UserListFluentImpl.ItemsNestedImpl<N> |
class |
UserListFluentImpl.MetadataNestedImpl<N> |
UserListFluent.ItemsNested<N>, UserListFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
UserListFluentImpl() |
UserListFluentImpl(UserList instance) |
public UserListFluentImpl()
public UserListFluentImpl(UserList instance)
public String getApiVersion()
getApiVersion
in interface UserListFluent<A extends UserListFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface UserListFluent<A extends UserListFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface UserListFluent<A extends UserListFluent<A>>
public A addToItems(int index, User item)
addToItems
in interface UserListFluent<A extends UserListFluent<A>>
public A setToItems(int index, User item)
setToItems
in interface UserListFluent<A extends UserListFluent<A>>
public A addToItems(User... items)
addToItems
in interface UserListFluent<A extends UserListFluent<A>>
public A addAllToItems(Collection<User> items)
addAllToItems
in interface UserListFluent<A extends UserListFluent<A>>
public A removeFromItems(User... items)
removeFromItems
in interface UserListFluent<A extends UserListFluent<A>>
public A removeAllFromItems(Collection<User> items)
removeAllFromItems
in interface UserListFluent<A extends UserListFluent<A>>
@Deprecated public List<User> getItems()
getItems
in interface UserListFluent<A extends UserListFluent<A>>
public List<User> buildItems()
buildItems
in interface UserListFluent<A extends UserListFluent<A>>
public User buildItem(int index)
buildItem
in interface UserListFluent<A extends UserListFluent<A>>
public User buildFirstItem()
buildFirstItem
in interface UserListFluent<A extends UserListFluent<A>>
public User buildLastItem()
buildLastItem
in interface UserListFluent<A extends UserListFluent<A>>
public User buildMatchingItem(Predicate<UserBuilder> predicate)
buildMatchingItem
in interface UserListFluent<A extends UserListFluent<A>>
public A withItems(List<User> items)
withItems
in interface UserListFluent<A extends UserListFluent<A>>
public A withItems(User... items)
withItems
in interface UserListFluent<A extends UserListFluent<A>>
public Boolean hasItems()
hasItems
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> addNewItem()
addNewItem
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> addNewItemLike(User item)
addNewItemLike
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> setNewItemLike(int index, User item)
setNewItemLike
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> editItem(int index)
editItem
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> editFirstItem()
editFirstItem
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> editLastItem()
editLastItem
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.ItemsNested<A> editMatchingItem(Predicate<UserBuilder> predicate)
editMatchingItem
in interface UserListFluent<A extends UserListFluent<A>>
public String getKind()
getKind
in interface UserListFluent<A extends UserListFluent<A>>
public A withKind(String kind)
withKind
in interface UserListFluent<A extends UserListFluent<A>>
public Boolean hasKind()
hasKind
in interface UserListFluent<A extends UserListFluent<A>>
@Deprecated public ListMeta getMetadata()
getMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public ListMeta buildMetadata()
buildMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public A withMetadata(ListMeta metadata)
withMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public A withNewMetadata(String _continue, String resourceVersion, String selfLink)
withNewMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.MetadataNested<A> withNewMetadataLike(ListMeta item)
withNewMetadataLike
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.MetadataNested<A> editMetadata()
editMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface UserListFluent<A extends UserListFluent<A>>
public UserListFluent.MetadataNested<A> editOrNewMetadataLike(ListMeta item)
editOrNewMetadataLike
in interface UserListFluent<A extends UserListFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.