// 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 resource definition. */
@Fluent
public final class ApiResourceDefinitions {
    /*
     * The original swagger url.
     */
    @JsonProperty(value = "originalSwaggerUrl")
    private String originalSwaggerUrl;

    /*
     * The modified swagger url.
     */
    @JsonProperty(value = "modifiedSwaggerUrl")
    private String modifiedSwaggerUrl;

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

    /**
     * Get the originalSwaggerUrl property: The original swagger url.
     *
     * @return the originalSwaggerUrl value.
     */
    public String originalSwaggerUrl() {
        return this.originalSwaggerUrl;
    }

    /**
     * Set the originalSwaggerUrl property: The original swagger url.
     *
     * @param originalSwaggerUrl the originalSwaggerUrl value to set.
     * @return the ApiResourceDefinitions object itself.
     */
    public ApiResourceDefinitions withOriginalSwaggerUrl(String originalSwaggerUrl) {
        this.originalSwaggerUrl = originalSwaggerUrl;
        return this;
    }

    /**
     * Get the modifiedSwaggerUrl property: The modified swagger url.
     *
     * @return the modifiedSwaggerUrl value.
     */
    public String modifiedSwaggerUrl() {
        return this.modifiedSwaggerUrl;
    }

    /**
     * Set the modifiedSwaggerUrl property: The modified swagger url.
     *
     * @param modifiedSwaggerUrl the modifiedSwaggerUrl value to set.
     * @return the ApiResourceDefinitions object itself.
     */
    public ApiResourceDefinitions withModifiedSwaggerUrl(String modifiedSwaggerUrl) {
        this.modifiedSwaggerUrl = modifiedSwaggerUrl;
        return this;
    }

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