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

io.kubernetes.client.models.V1alpha1VolumeErrorFluentImpl Maven / Gradle / Ivy

package io.kubernetes.client.models;

import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
import org.joda.time.DateTime;

public class V1alpha1VolumeErrorFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1alpha1VolumeErrorFluent{

    private String message;
    private DateTime time;

    public V1alpha1VolumeErrorFluentImpl(){
    }
    public V1alpha1VolumeErrorFluentImpl(V1alpha1VolumeError instance){
            this.withMessage(instance.getMessage());

            this.withTime(instance.getTime());

    }

    public String getMessage(){
            return this.message;
    }

    public A withMessage(String message){
            this.message=message; return (A) this;
    }

    public Boolean hasMessage(){
            return this.message != null;
    }

    public DateTime getTime(){
            return this.time;
    }

    public A withTime(DateTime time){
            this.time=time; return (A) this;
    }

    public Boolean hasTime(){
            return this.time != null;
    }

    public A withNewTime(int arg0,int arg1,int arg2,int arg3,int arg4){
            return (A)withTime(new DateTime(arg0, arg1, arg2, arg3, arg4));
    }

    public A withNewTime(long arg0){
            return (A)withTime(new DateTime(arg0));
    }

    public A withNewTime(Object arg0){
            return (A)withTime(new DateTime(arg0));
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            V1alpha1VolumeErrorFluentImpl that = (V1alpha1VolumeErrorFluentImpl) o;
            if (message != null ? !message.equals(that.message) :that.message != null) return false;
            if (time != null ? !time.equals(that.time) :that.time != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy