microsoft-bonsai-api-main/Java/com.microsoft.bonsai.api/simulator/generated/src/main/java/com/microsoft/bonsai/simulatorapi/models/EpisodeStep.java
<filename>microsoft-bonsai-api-main/Java/com.microsoft.bonsai.api/simulator/generated/src/main/java/com/microsoft/bonsai/simulatorapi/models/EpisodeStep.java/**
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

package com.microsoft.bonsai.simulatorapi.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * EpisodeStep event for stepping inthe simulation. this is sent when there is
 * an ongoing active episode.
 */
public class EpisodeStep {
    /**
     * action decided by RL agent.null use this action to advance from current
     * state of simulator.
     */
    @JsonProperty(value = "action")
    private Object action;

    /**
     * Get action decided by RL agent.null use this action to advance from current state of simulator.
     *
     * @return the action value
     */
    public Object action() {
        return this.action;
    }

    /**
     * Set action decided by RL agent.null use this action to advance from current state of simulator.
     *
     * @param action the action value to set
     * @return the EpisodeStep object itself.
     */
    public EpisodeStep withAction(Object action) {
        this.action = action;
        return this;
    }

}
