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

package com.azure.resourcemanager.cognitiveservices.models;

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

/** Cognitive Services account ModelDeprecationInfo. */
@Fluent
public final class ModelDeprecationInfo {
    /*
     * The datetime of deprecation of the fineTune Model.
     */
    @JsonProperty(value = "fineTune")
    private String fineTune;

    /*
     * The datetime of deprecation of the inference Model.
     */
    @JsonProperty(value = "inference")
    private String inference;

    /** Creates an instance of ModelDeprecationInfo class. */
    public ModelDeprecationInfo() {
    }

    /**
     * Get the fineTune property: The datetime of deprecation of the fineTune Model.
     *
     * @return the fineTune value.
     */
    public String fineTune() {
        return this.fineTune;
    }

    /**
     * Set the fineTune property: The datetime of deprecation of the fineTune Model.
     *
     * @param fineTune the fineTune value to set.
     * @return the ModelDeprecationInfo object itself.
     */
    public ModelDeprecationInfo withFineTune(String fineTune) {
        this.fineTune = fineTune;
        return this;
    }

    /**
     * Get the inference property: The datetime of deprecation of the inference Model.
     *
     * @return the inference value.
     */
    public String inference() {
        return this.inference;
    }

    /**
     * Set the inference property: The datetime of deprecation of the inference Model.
     *
     * @param inference the inference value to set.
     * @return the ModelDeprecationInfo object itself.
     */
    public ModelDeprecationInfo withInference(String inference) {
        this.inference = inference;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
