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

package com.azure.resourcemanager.logic.models;

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

/** The Api Operation Annotation. */
@Fluent
public final class ApiOperationAnnotation {
    /*
     * The status annotation.
     */
    @JsonProperty(value = "status")
    private StatusAnnotation status;

    /*
     * The family.
     */
    @JsonProperty(value = "family")
    private String family;

    /*
     * The revision.
     */
    @JsonProperty(value = "revision")
    private Integer revision;

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

    /**
     * Get the status property: The status annotation.
     *
     * @return the status value.
     */
    public StatusAnnotation status() {
        return this.status;
    }

    /**
     * Set the status property: The status annotation.
     *
     * @param status the status value to set.
     * @return the ApiOperationAnnotation object itself.
     */
    public ApiOperationAnnotation withStatus(StatusAnnotation status) {
        this.status = status;
        return this;
    }

    /**
     * Get the family property: The family.
     *
     * @return the family value.
     */
    public String family() {
        return this.family;
    }

    /**
     * Set the family property: The family.
     *
     * @param family the family value to set.
     * @return the ApiOperationAnnotation object itself.
     */
    public ApiOperationAnnotation withFamily(String family) {
        this.family = family;
        return this;
    }

    /**
     * Get the revision property: The revision.
     *
     * @return the revision value.
     */
    public Integer revision() {
        return this.revision;
    }

    /**
     * Set the revision property: The revision.
     *
     * @param revision the revision value to set.
     * @return the ApiOperationAnnotation object itself.
     */
    public ApiOperationAnnotation withRevision(Integer revision) {
        this.revision = revision;
        return this;
    }

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