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

package com.azure.resourcemanager.databox.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Copy Log Details for a disk. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "copyLogDetailsType")
@JsonTypeName("DataBoxDisk")
@Immutable
public final class DataBoxDiskCopyLogDetails extends CopyLogDetails {
    /*
     * Disk Serial Number.
     */
    @JsonProperty(value = "diskSerialNumber", access = JsonProperty.Access.WRITE_ONLY)
    private String diskSerialNumber;

    /*
     * Link for copy error logs.
     */
    @JsonProperty(value = "errorLogLink", access = JsonProperty.Access.WRITE_ONLY)
    private String errorLogLink;

    /*
     * Link for copy verbose logs.
     */
    @JsonProperty(value = "verboseLogLink", access = JsonProperty.Access.WRITE_ONLY)
    private String verboseLogLink;

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

    /**
     * Get the diskSerialNumber property: Disk Serial Number.
     *
     * @return the diskSerialNumber value.
     */
    public String diskSerialNumber() {
        return this.diskSerialNumber;
    }

    /**
     * Get the errorLogLink property: Link for copy error logs.
     *
     * @return the errorLogLink value.
     */
    public String errorLogLink() {
        return this.errorLogLink;
    }

    /**
     * Get the verboseLogLink property: Link for copy verbose logs.
     *
     * @return the verboseLogLink value.
     */
    public String verboseLogLink() {
        return this.verboseLogLink;
    }

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