// 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 general information. */
@Fluent
public final class ApiResourceGeneralInformation {
    /*
     * The icon url.
     */
    @JsonProperty(value = "iconUrl")
    private String iconUrl;

    /*
     * The display name.
     */
    @JsonProperty(value = "displayName")
    private String displayName;

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

    /*
     * The terms of use url.
     */
    @JsonProperty(value = "termsOfUseUrl")
    private String termsOfUseUrl;

    /*
     * The release tag.
     */
    @JsonProperty(value = "releaseTag")
    private String releaseTag;

    /*
     * The tier.
     */
    @JsonProperty(value = "tier")
    private ApiTier tier;

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

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

    /**
     * Set the iconUrl property: The icon url.
     *
     * @param iconUrl the iconUrl value to set.
     * @return the ApiResourceGeneralInformation object itself.
     */
    public ApiResourceGeneralInformation withIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
        return this;
    }

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

    /**
     * Set the displayName property: The display name.
     *
     * @param displayName the displayName value to set.
     * @return the ApiResourceGeneralInformation object itself.
     */
    public ApiResourceGeneralInformation withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

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

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

    /**
     * Get the termsOfUseUrl property: The terms of use url.
     *
     * @return the termsOfUseUrl value.
     */
    public String termsOfUseUrl() {
        return this.termsOfUseUrl;
    }

    /**
     * Set the termsOfUseUrl property: The terms of use url.
     *
     * @param termsOfUseUrl the termsOfUseUrl value to set.
     * @return the ApiResourceGeneralInformation object itself.
     */
    public ApiResourceGeneralInformation withTermsOfUseUrl(String termsOfUseUrl) {
        this.termsOfUseUrl = termsOfUseUrl;
        return this;
    }

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

    /**
     * Set the releaseTag property: The release tag.
     *
     * @param releaseTag the releaseTag value to set.
     * @return the ApiResourceGeneralInformation object itself.
     */
    public ApiResourceGeneralInformation withReleaseTag(String releaseTag) {
        this.releaseTag = releaseTag;
        return this;
    }

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

    /**
     * Set the tier property: The tier.
     *
     * @param tier the tier value to set.
     * @return the ApiResourceGeneralInformation object itself.
     */
    public ApiResourceGeneralInformation withTier(ApiTier tier) {
        this.tier = tier;
        return this;
    }

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