// 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;

/** Device details. */
@Immutable
public final class DeviceDetails {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(DeviceDetails.class);

    /*
     * device serial number
     */
    @JsonProperty(value = "serialNumber", access = JsonProperty.Access.WRITE_ONLY)
    private String serialNumber;

    /*
     * Management Resource Id
     */
    @JsonProperty(value = "managementResourceId", access = JsonProperty.Access.WRITE_ONLY)
    private String managementResourceId;

    /*
     * Management Resource Tenant ID
     */
    @JsonProperty(value = "managementResourceTenantId", access = JsonProperty.Access.WRITE_ONLY)
    private String managementResourceTenantId;

    /**
     * Get the serialNumber property: device serial number.
     *
     * @return the serialNumber value.
     */
    public String serialNumber() {
        return this.serialNumber;
    }

    /**
     * Get the managementResourceId property: Management Resource Id.
     *
     * @return the managementResourceId value.
     */
    public String managementResourceId() {
        return this.managementResourceId;
    }

    /**
     * Get the managementResourceTenantId property: Management Resource Tenant ID.
     *
     * @return the managementResourceTenantId value.
     */
    public String managementResourceTenantId() {
        return this.managementResourceTenantId;
    }

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