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

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

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

/** SiteConfigurationSnapshotInfo resource specific properties. */
@Immutable
public final class SiteConfigurationSnapshotInfoProperties {
    /*
     * The time the snapshot was taken.
     */
    @JsonProperty(value = "time", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime time;

    /*
     * The id of the snapshot
     */
    @JsonProperty(value = "snapshotId", access = JsonProperty.Access.WRITE_ONLY)
    private Integer snapshotId;

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

    /**
     * Get the time property: The time the snapshot was taken.
     *
     * @return the time value.
     */
    public OffsetDateTime time() {
        return this.time;
    }

    /**
     * Get the snapshotId property: The id of the snapshot.
     *
     * @return the snapshotId value.
     */
    public Integer snapshotId() {
        return this.snapshotId;
    }

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