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

io.alauda.model.BaseResource Maven / Gradle / Ivy

package io.alauda.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;


@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BaseResource implements Serializable {
    private String name;
    private String uuid;
    private String type;

    public BaseResource() {
    }

    public BaseResource(String name) {
        this.name = name;
    }

    public BaseResource(String name, String uuid) {
        this.name = name;
        this.uuid = uuid;
    }

    public BaseResource(String name, String uuid, String type) {
        this.name = name;
        this.uuid = uuid;
        this.type = type;
    }

    @Override
    public String toString() {
        return "BaseResource{" +
                "name='" + name + '\'' +
                ", uuid='" + uuid + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy