// 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 inference results for the Onco Phenotype request. */
@Immutable
public final class OncoPhenotypeResults {
    /*
     * Results for the patients given in the request.
     */
    @JsonProperty(value = "patients", required = true)
    private List<OncoPhenotypePatientResult> patients;

    /*
     * The version of the model used for inference, expressed as the model date.
     */
    @JsonProperty(value = "modelVersion", required = true)
    private String modelVersion;

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

    /**
     * Get the patients property: Results for the patients given in the request.
     *
     * @return the patients value.
     */
    public List<OncoPhenotypePatientResult> getPatients() {
        return this.patients;
    }

    /**
     * Get the modelVersion property: The version of the model used for inference, expressed as the model date.
     *
     * @return the modelVersion value.
     */
    public String getModelVersion() {
        return this.modelVersion;
    }
}
