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

com.manywho.sdk.api.run.elements.config.ServiceRequest Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.manywho.sdk.api.run.elements.config;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.manywho.sdk.api.run.EngineValue;
import com.manywho.sdk.api.run.elements.map.OutcomeAvailable;
import org.apache.commons.collections4.CollectionUtils;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ServiceRequest extends AbstractRequest {
    private String joinPlayerUri;
    private String playerUri;
    private String uri;
    private List inputs;
    private List outcomes;

    public String getJoinPlayerUri() {
        return joinPlayerUri;
    }

    public void setJoinPlayerUri(String joinPlayerUri) {
        this.joinPlayerUri = joinPlayerUri;
    }

    public String getPlayerUri() {
        return playerUri;
    }

    public void setPlayerUri(String playerUri) {
        this.playerUri = playerUri;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public List getInputs() {
        return inputs;
    }

    public boolean hasInputs() {
        return CollectionUtils.isNotEmpty(inputs);
    }

    public void setInputs(List inputs) {
        this.inputs = inputs;
    }

    public List getOutcomes() {
        return outcomes;
    }

    public void setOutcomes(List outcomes) {
        this.outcomes = outcomes;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy