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

package com.azure.resourcemanager.azurestack.fluent.models;

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

/** Product action log. */
@Immutable
public final class ProductLogInner {
    /*
     * Log ID.
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * Logged product ID.
     */
    @JsonProperty(value = "productId", access = JsonProperty.Access.WRITE_ONLY)
    private String productId;

    /*
     * Logged subscription ID.
     */
    @JsonProperty(value = "subscriptionId", access = JsonProperty.Access.WRITE_ONLY)
    private String subscriptionId;

    /*
     * Logged registration name.
     */
    @JsonProperty(value = "registrationName", access = JsonProperty.Access.WRITE_ONLY)
    private String registrationName;

    /*
     * Logged resource group name.
     */
    @JsonProperty(value = "resourceGroupName", access = JsonProperty.Access.WRITE_ONLY)
    private String resourceGroupName;

    /*
     * Logged operation.
     */
    @JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY)
    private String operation;

    /*
     * Operation start datetime.
     */
    @JsonProperty(value = "startDate", access = JsonProperty.Access.WRITE_ONLY)
    private String startDate;

    /*
     * Operation end datetime.
     */
    @JsonProperty(value = "endDate", access = JsonProperty.Access.WRITE_ONLY)
    private String endDate;

    /*
     * Operation status.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private String status;

    /*
     * Operation error data.
     */
    @JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY)
    private String error;

    /*
     * Operation error details.
     */
    @JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY)
    private String details;

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

    /**
     * Get the id property: Log ID.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

    /**
     * Get the productId property: Logged product ID.
     *
     * @return the productId value.
     */
    public String productId() {
        return this.productId;
    }

    /**
     * Get the subscriptionId property: Logged subscription ID.
     *
     * @return the subscriptionId value.
     */
    public String subscriptionId() {
        return this.subscriptionId;
    }

    /**
     * Get the registrationName property: Logged registration name.
     *
     * @return the registrationName value.
     */
    public String registrationName() {
        return this.registrationName;
    }

    /**
     * Get the resourceGroupName property: Logged resource group name.
     *
     * @return the resourceGroupName value.
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

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

    /**
     * Get the startDate property: Operation start datetime.
     *
     * @return the startDate value.
     */
    public String startDate() {
        return this.startDate;
    }

    /**
     * Get the endDate property: Operation end datetime.
     *
     * @return the endDate value.
     */
    public String endDate() {
        return this.endDate;
    }

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

    /**
     * Get the error property: Operation error data.
     *
     * @return the error value.
     */
    public String error() {
        return this.error;
    }

    /**
     * Get the details property: Operation error details.
     *
     * @return the details value.
     */
    public String details() {
        return this.details;
    }

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