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

edu.stanford.protege.webprotege.filesub.SubmitFileRequest Maven / Gradle / Ivy

package edu.stanford.protege.webprotege.filesub;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import edu.stanford.protege.webprotege.common.Request;

import static edu.stanford.protege.webprotege.filesub.SubmitFileRequest.CHANNEL;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2024-04-26
 */
@JsonTypeName(CHANNEL)
public record SubmitFileRequest(@JsonProperty("fileContents") String fileContents) implements Request {

    static final String CHANNEL = "webprotege.files.SubmitFile";

    @Override
    public String getChannel() {
        return CHANNEL;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy