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

package com.azure.media.videoanalyzer.edge.models;

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

/** Read-only system metadata associated with a resource. */
@Fluent
public final class SystemData {
    /*
     * Date and time when this resource was first created. Value is represented
     * in UTC according to the ISO8601 date format.
     */
    @JsonProperty(value = "createdAt")
    private OffsetDateTime createdAt;

    /*
     * Date and time when this resource was last modified. Value is represented
     * in UTC according to the ISO8601 date format.
     */
    @JsonProperty(value = "lastModifiedAt")
    private OffsetDateTime lastModifiedAt;

    /**
     * Get the createdAt property: Date and time when this resource was first created. Value is represented in UTC
     * according to the ISO8601 date format.
     *
     * @return the createdAt value.
     */
    public OffsetDateTime getCreatedAt() {
        return this.createdAt;
    }

    /**
     * Set the createdAt property: Date and time when this resource was first created. Value is represented in UTC
     * according to the ISO8601 date format.
     *
     * @param createdAt the createdAt value to set.
     * @return the SystemData object itself.
     */
    public SystemData setCreatedAt(OffsetDateTime createdAt) {
        this.createdAt = createdAt;
        return this;
    }

    /**
     * Get the lastModifiedAt property: Date and time when this resource was last modified. Value is represented in UTC
     * according to the ISO8601 date format.
     *
     * @return the lastModifiedAt value.
     */
    public OffsetDateTime getLastModifiedAt() {
        return this.lastModifiedAt;
    }

    /**
     * Set the lastModifiedAt property: Date and time when this resource was last modified. Value is represented in UTC
     * according to the ISO8601 date format.
     *
     * @param lastModifiedAt the lastModifiedAt value to set.
     * @return the SystemData object itself.
     */
    public SystemData setLastModifiedAt(OffsetDateTime lastModifiedAt) {
        this.lastModifiedAt = lastModifiedAt;
        return this;
    }
}
