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

package com.azure.resourcemanager.appservice.models;

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

/** Information about the formal API definition for the app. */
@Fluent
public final class ApiDefinitionInfo {
    /*
     * The URL of the API definition.
     */
    @JsonProperty(value = "url")
    private String url;

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

    /**
     * Get the url property: The URL of the API definition.
     *
     * @return the url value.
     */
    public String url() {
        return this.url;
    }

    /**
     * Set the url property: The URL of the API definition.
     *
     * @param url the url value to set.
     * @return the ApiDefinitionInfo object itself.
     */
    public ApiDefinitionInfo withUrl(String url) {
        this.url = url;
        return this;
    }

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