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

package com.azure.resourcemanager.connectedvmware.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;

/** The resource status information. */
@Immutable
public final class ResourceStatus {
    /*
     * The type of the condition.
     */
    @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
    private String type;

    /*
     * Status of the condition.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private String status;

    /*
     * The reason for the condition's status.
     */
    @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
    private String reason;

    /*
     * A human readable message indicating details about the status.
     */
    @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
    private String message;

    /*
     * Severity with which to treat failures of this type of condition.
     */
    @JsonProperty(value = "severity", access = JsonProperty.Access.WRITE_ONLY)
    private String severity;

    /*
     * The last update time for this condition.
     */
    @JsonProperty(value = "lastUpdatedAt", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime lastUpdatedAt;

    /**
     * Get the type property: The type of the condition.
     *
     * @return the type value.
     */
    public String type() {
        return this.type;
    }

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

    /**
     * Get the reason property: The reason for the condition's status.
     *
     * @return the reason value.
     */
    public String reason() {
        return this.reason;
    }

    /**
     * Get the message property: A human readable message indicating details about the status.
     *
     * @return the message value.
     */
    public String message() {
        return this.message;
    }

    /**
     * Get the severity property: Severity with which to treat failures of this type of condition.
     *
     * @return the severity value.
     */
    public String severity() {
        return this.severity;
    }

    /**
     * Get the lastUpdatedAt property: The last update time for this condition.
     *
     * @return the lastUpdatedAt value.
     */
    public OffsetDateTime lastUpdatedAt() {
        return this.lastUpdatedAt;
    }

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