io.alauda.devops.api.model.DoneableGitLabWebHookCause Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import io.alauda.kubernetes.api.builder.Function;
import io.alauda.kubernetes.api.model.Doneable;
public class DoneableGitLabWebHookCause extends GitLabWebHookCauseFluentImpl implements Doneable{
private final GitLabWebHookCauseBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableGitLabWebHookCause(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new GitLabWebHookCauseBuilder(this);this.function=function;
}
public DoneableGitLabWebHookCause(GitLabWebHookCause item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new GitLabWebHookCauseBuilder(this, item);this.function=function;
}
public DoneableGitLabWebHookCause(GitLabWebHookCause item){
super(item);this.builder=new GitLabWebHookCauseBuilder(this, item);this.function=new Function() {
public GitLabWebHookCause apply(GitLabWebHookCause item) {
return item;
}
}
;
}
public GitLabWebHookCause done(){
return function.apply(builder.build());
}
}