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

io.alauda.kubernetes.api.model.RepositoryCommitFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.Valid;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class RepositoryCommitFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements RepositoryCommitFluent{

    private String commitAt;
    private String commitID;
    private String commitMessage;
    private String committerEmail;
    private String committerName;

    public RepositoryCommitFluentImpl(){
    }
    public RepositoryCommitFluentImpl(RepositoryCommit instance){
            this.withCommitAt(instance.getCommitAt()); 
            this.withCommitID(instance.getCommitID()); 
            this.withCommitMessage(instance.getCommitMessage()); 
            this.withCommitterEmail(instance.getCommitterEmail()); 
            this.withCommitterName(instance.getCommitterName()); 
    }

    public String getCommitAt(){
            return this.commitAt;
    }

    public A withCommitAt(String commitAt){
            this.commitAt=commitAt; return (A) this;
    }

    public Boolean hasCommitAt(){
            return this.commitAt!=null;
    }

    public String getCommitID(){
            return this.commitID;
    }

    public A withCommitID(String commitID){
            this.commitID=commitID; return (A) this;
    }

    public Boolean hasCommitID(){
            return this.commitID!=null;
    }

    public String getCommitMessage(){
            return this.commitMessage;
    }

    public A withCommitMessage(String commitMessage){
            this.commitMessage=commitMessage; return (A) this;
    }

    public Boolean hasCommitMessage(){
            return this.commitMessage!=null;
    }

    public String getCommitterEmail(){
            return this.committerEmail;
    }

    public A withCommitterEmail(String committerEmail){
            this.committerEmail=committerEmail; return (A) this;
    }

    public Boolean hasCommitterEmail(){
            return this.committerEmail!=null;
    }

    public String getCommitterName(){
            return this.committerName;
    }

    public A withCommitterName(String committerName){
            this.committerName=committerName; return (A) this;
    }

    public Boolean hasCommitterName(){
            return this.committerName!=null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            RepositoryCommitFluentImpl that = (RepositoryCommitFluentImpl) o;
            if (commitAt != null ? !commitAt.equals(that.commitAt) :that.commitAt != null) return false;
            if (commitID != null ? !commitID.equals(that.commitID) :that.commitID != null) return false;
            if (commitMessage != null ? !commitMessage.equals(that.commitMessage) :that.commitMessage != null) return false;
            if (committerEmail != null ? !committerEmail.equals(that.committerEmail) :that.committerEmail != null) return false;
            if (committerName != null ? !committerName.equals(that.committerName) :that.committerName != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy