All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.messaging.eventgrid.systemevents.DeviceTwinMetadata Maven / Gradle / Ivy

There is a newer version: 4.27.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

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

/** Metadata information for the properties JSON document. */
@Fluent
public final class DeviceTwinMetadata {
    /*
     * The ISO8601 timestamp of the last time the properties were updated.
     */
    @JsonProperty(value = "lastUpdated")
    private String lastUpdated;

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

    /**
     * Get the lastUpdated property: The ISO8601 timestamp of the last time the properties were updated.
     *
     * @return the lastUpdated value.
     */
    public String getLastUpdated() {
        return this.lastUpdated;
    }

    /**
     * Set the lastUpdated property: The ISO8601 timestamp of the last time the properties were updated.
     *
     * @param lastUpdated the lastUpdated value to set.
     * @return the DeviceTwinMetadata object itself.
     */
    public DeviceTwinMetadata setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy