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

package com.azure.resourcemanager.edgeorder.models;

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Returns link related to the product. */
@Immutable
public final class Link {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(Link.class);

    /*
     * Type of link
     */
    @JsonProperty(value = "linkType", access = JsonProperty.Access.WRITE_ONLY)
    private LinkType linkType;

    /*
     * Url of the link
     */
    @JsonProperty(value = "linkUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String linkUrl;

    /**
     * Get the linkType property: Type of link.
     *
     * @return the linkType value.
     */
    public LinkType linkType() {
        return this.linkType;
    }

    /**
     * Get the linkUrl property: Url of the link.
     *
     * @return the linkUrl value.
     */
    public String linkUrl() {
        return this.linkUrl;
    }

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