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

package com.azure.health.insights.cancerprofiling.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The results of the model's work for a single patient. */
@Immutable
public final class OncoPhenotypePatientResult {
    /*
     * The identifier given for the patient in the request.
     */
    @JsonProperty(value = "id", required = true)
    private String id;

    /*
     * The model's inferences for the given patient.
     */
    @JsonProperty(value = "inferences", required = true)
    private List<OncoPhenotypeInference> inferences;

    /**
     * Creates an instance of OncoPhenotypePatientResult class.
     *
     * @param id the id value to set.
     * @param inferences the inferences value to set.
     */
    @JsonCreator
    private OncoPhenotypePatientResult(
            @JsonProperty(value = "id", required = true) String id,
            @JsonProperty(value = "inferences", required = true) List<OncoPhenotypeInference> inferences) {
        this.id = id;
        this.inferences = inferences;
    }

    /**
     * Get the id property: The identifier given for the patient in the request.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Get the inferences property: The model's inferences for the given patient.
     *
     * @return the inferences value.
     */
    public List<OncoPhenotypeInference> getInferences() {
        return this.inferences;
    }
}
