All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.openshift.api.model.ParameterFluentImpl Maven / Gradle / Ivy

There is a newer version: 6.13.4
Show newest version
package io.fabric8.openshift.api.model;

import java.util.HashMap;
import java.io.Serializable;
import java.util.Map;
import java.util.Map;
import java.util.AbstractMap;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.kubernetes.api.builder.Fluent;

public class ParameterFluentImpl> extends BaseFluent implements ParameterFluent{

     String description;     String displayName;     String from;     String generate;     String name;     Boolean required;     String value;
public ParameterFluentImpl(){
    
}
public ParameterFluentImpl( Parameter instance ){
    this.withDescription(instance.getDescription()); this.withDisplayName(instance.getDisplayName()); this.withFrom(instance.getFrom()); this.withGenerate(instance.getGenerate()); this.withName(instance.getName()); this.withRequired(instance.getRequired()); this.withValue(instance.getValue()); 
}

    public String getDescription(){
    return this.description;
    }
    public A withDescription( String description){
    this.description=description; return (A) this;
    }
    public String getDisplayName(){
    return this.displayName;
    }
    public A withDisplayName( String displayName){
    this.displayName=displayName; return (A) this;
    }
    public String getFrom(){
    return this.from;
    }
    public A withFrom( String from){
    this.from=from; return (A) this;
    }
    public String getGenerate(){
    return this.generate;
    }
    public A withGenerate( String generate){
    this.generate=generate; return (A) this;
    }
    public String getName(){
    return this.name;
    }
    public A withName( String name){
    this.name=name; return (A) this;
    }
    public Boolean isRequired(){
    return this.required;
    }
    public A withRequired( Boolean required){
    this.required=required; return (A) this;
    }
    public String getValue(){
    return this.value;
    }
    public A withValue( String value){
    this.value=value; return (A) this;
    }
    public boolean equals( Object o){
    
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ParameterFluentImpl that = (ParameterFluentImpl) o;
if (description != null ? !description.equals(that.description) :that.description != null) return false;
if (displayName != null ? !displayName.equals(that.displayName) :that.displayName != null) return false;
if (from != null ? !from.equals(that.from) :that.from != null) return false;
if (generate != null ? !generate.equals(that.generate) :that.generate != null) return false;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (required != null ? !required.equals(that.required) :that.required != null) return false;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;

    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy