// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.ai.personalizer.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** A ranked action with its resulting probability. */
@Immutable
public final class PersonalizerRankedAction {
    /*
     * Id of the action
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * Probability of the action
     */
    @JsonProperty(value = "probability", access = JsonProperty.Access.WRITE_ONLY)
    private Float probability;

    /**
     * Get the id property: Id of the action.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Get the probability property: Probability of the action.
     *
     * @return the probability value.
     */
    public Float getProbability() {
        return this.probability;
    }
}
