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

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

/** Update details for product log. */
@Immutable
public final class MarketplaceProductLogUpdate {
    /*
     * Operation to log.
     */
    @JsonProperty(value = "operation", access = JsonProperty.Access.WRITE_ONLY)
    private String operation;

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

    /*
     * Error related to the operation.
     */
    @JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY)
    private String error;

    /*
     * Error details related to operation.
     */
    @JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY)
    private String details;

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

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

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

    /**
     * Get the error property: Error related to the operation.
     *
     * @return the error value.
     */
    public String error() {
        return this.error;
    }

    /**
     * Get the details property: Error details related to operation.
     *
     * @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() {
    }
}
