// 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;

/** An inference made by the Onco Phenotype model regarding a patient. */
@Immutable
public final class OncoPhenotypeInference {
    /*
     * The type of the Onco Phenotype inference
     */
    @JsonProperty(value = "type", required = true)
    private OncoPhenotypeInferenceType type;

    /*
     * The value of the inference, as relevant for the given inference type.
     */
    @JsonProperty(value = "value", required = true)
    private String value;

    /*
     * The description corresponding to the inference value.
     */
    @JsonProperty(value = "description")
    private String description;

    /*
     * Confidence score for this inference.
     */
    @JsonProperty(value = "confidenceScore")
    private Double confidenceScore;

    /*
     * The evidence corresponding to the inference value.
     */
    @JsonProperty(value = "evidence")
    private List<InferenceEvidence> evidence;

    /*
     * An identifier for a clinical case, if there are multiple clinical cases regarding the same patient.
     */
    @JsonProperty(value = "caseId")
    private String caseId;

    /**
     * Creates an instance of OncoPhenotypeInference class.
     *
     * @param type the type value to set.
     * @param value the value value to set.
     */
    @JsonCreator
    private OncoPhenotypeInference(
            @JsonProperty(value = "type", required = true) OncoPhenotypeInferenceType type,
            @JsonProperty(value = "value", required = true) String value) {
        this.type = type;
        this.value = value;
    }

    /**
     * Get the type property: The type of the Onco Phenotype inference.
     *
     * @return the type value.
     */
    public OncoPhenotypeInferenceType getType() {
        return this.type;
    }

    /**
     * Get the value property: The value of the inference, as relevant for the given inference type.
     *
     * @return the value value.
     */
    public String getValue() {
        return this.value;
    }

    /**
     * Get the description property: The description corresponding to the inference value.
     *
     * @return the description value.
     */
    public String getDescription() {
        return this.description;
    }

    /**
     * Get the confidenceScore property: Confidence score for this inference.
     *
     * @return the confidenceScore value.
     */
    public Double getConfidenceScore() {
        return this.confidenceScore;
    }

    /**
     * Get the evidence property: The evidence corresponding to the inference value.
     *
     * @return the evidence value.
     */
    public List<InferenceEvidence> getEvidence() {
        return this.evidence;
    }

    /**
     * Get the caseId property: An identifier for a clinical case, if there are multiple clinical cases regarding the
     * same patient.
     *
     * @return the caseId value.
     */
    public String getCaseId() {
        return this.caseId;
    }
}
