
no.mnemonic.services.triggers.api.model.v1.FunctionInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of triggers-api Show documentation
Show all versions of triggers-api Show documentation
Definition of the Service and REST APIs
package no.mnemonic.services.triggers.api.model.v1;
import java.util.UUID;
public class FunctionInfo {
private final UUID id;
private final String name;
private FunctionInfo(UUID id, String name) {
this.id = id;
this.name = name;
}
public UUID getId() {
return id;
}
public String getName() {
return name;
}
public static Builder builder() {
return new Builder();
}
public static class Builder {
private UUID id;
private String name;
private Builder() {
}
public FunctionInfo build() {
return new FunctionInfo(id, name);
}
public Builder setId(UUID id) {
this.id = id;
return this;
}
public Builder setName(String name) {
this.name = name;
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy