public MetadataNested<T> editMetadata(){ return withNewMetadataLike(getMetadata()); } public T withNewMetadata( String resourceVersion, String selfLink){
public class MetadataNested<N> extends ListMetaFluent<MetadataNested<N>> implements Nested<N>{ private final ListMetaBuilder builder; MetadataNested (){ this.builder = new ListMetaBuilder(this); } MetadataNested ( ListMeta item){ this.builder = new ListMetaBuilder(item); } public N endMetadata(){ return and(); } public N and(){ return (N) DeploymentConfigListFluent.this.withMetadata(builder.build()); } }
public List<DeploymentConfig> getItems(){ return build(items); } public T withItems( List<DeploymentConfig> items){
public DeploymentConfigList build(){ DeploymentConfigList buildable = new DeploymentConfigList(fluent.getApiVersion(),fluent.getItems(),fluent.getKind(),fluent.getMetadata()); validate(buildable); return buildable; }
public DeploymentConfigListBuilder(DeploymentConfigListFluent<?> fluent,DeploymentConfigList instance,Boolean validationEnabled){ this.fluent = fluent; fluent.withApiVersion(instance.getApiVersion()); fluent.withItems(instance.getItems()); fluent.withKind(instance.getKind()); fluent.withMetadata(instance.getMetadata()); this.validationEnabled = validationEnabled; } public DeploymentConfigListBuilder(DeploymentConfigList instance){
public T withNewMetadata( String resourceVersion, String selfLink){ return withMetadata(new ListMeta(resourceVersion, selfLink)); } public T addToAdditionalProperties( String key, Object value){
public T withItems( List<DeploymentConfig> items){ this.items.clear();if (items != null) {for (DeploymentConfig item : items){this.addToItems(item);}} return (T) this; } public ItemsNested<T> addNewItem(){
public DeploymentConfigList build(){ DeploymentConfigList buildable = new DeploymentConfigList(fluent.getApiVersion(),fluent.getItems(),fluent.getKind(),fluent.getMetadata()); validate(buildable); return buildable; }
public DeploymentConfigListBuilder( DeploymentConfigListFluent<?> fluent , DeploymentConfigList instance ){ this.fluent = fluent; fluent.withApiVersion(instance.getApiVersion()); fluent.withItems(instance.getItems()); fluent.withKind(instance.getKind()); fluent.withMetadata(instance.getMetadata()); } public DeploymentConfigListBuilder( DeploymentConfigList instance ){
public T withNewMetadata( String resourceVersion, String selfLink){ return withMetadata(new ListMeta(resourceVersion, selfLink)); } public T addToAdditionalProperties( String key, Object value){
public T withItems( List<DeploymentConfig> items){ this.items.clear();if (items != null) {for (DeploymentConfig item : items){this.addToItems(item);}} return (T) this; } public ItemsNested<T> addNewItem(){
public DeploymentConfigList build(){ DeploymentConfigList buildable = new DeploymentConfigList(fluent.getApiVersion(),fluent.getItems(),fluent.getKind(),fluent.getMetadata()); validate(buildable); return buildable; }
public DeploymentConfigListBuilder( DeploymentConfigListFluent<?> fluent , DeploymentConfigList instance ){ this.fluent = fluent; fluent.withApiVersion(instance.getApiVersion()); fluent.withItems(instance.getItems()); fluent.withKind(instance.getKind()); fluent.withMetadata(instance.getMetadata()); } public DeploymentConfigListBuilder( DeploymentConfigList instance ){
public MetadataNested<T> editMetadata(){ return withNewMetadataLike(getMetadata()); } public T withNewMetadata( String resourceVersion, String selfLink){
public class MetadataNested<N> extends ListMetaFluent<MetadataNested<N>> implements Nested<N>{ private final ListMetaBuilder builder; MetadataNested ( ListMeta item){ this.builder = new ListMetaBuilder(this, item); } MetadataNested (){ this.builder = new ListMetaBuilder(this); } public N endMetadata(){ return and(); } public N and(){ return (N) DeploymentConfigListFluent.this.withMetadata(builder.build()); } }
public List<DeploymentConfig> getItems(){ return build(items); } public T withItems( List<DeploymentConfig> items){