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

ml.comet.experiment.model.CreateExperimentRequest Maven / Gradle / Ivy

There is a newer version: 1.1.14
Show newest version
package ml.comet.experiment.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class CreateExperimentRequest {
    private String workspaceName;
    private String projectName;
    private String experimentName;
    private Boolean disableHeartBeat = false;

    public CreateExperimentRequest(String workspaceName, String projectName, String experimentName) {
        this.workspaceName = workspaceName;
        this.projectName = projectName;
        this.experimentName = experimentName;
    }

    public Boolean getDisableHeartBeat() {
        if (disableHeartBeat == null) {
            return false;
        } else {
            return disableHeartBeat;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy