StandardMetadata Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.StandardMetadata

Implements

public final class StandardMetadata
implements JsonSerializable<StandardMetadata>

The standard metadata.

Constructor Summary

Constructor Description
StandardMetadata()

Creates an instance of StandardMetadata class.

Method Summary

Modifier and Type Method and Description
String createdBy()

Get the createdBy property: Standard Created by object id (GUID).

OffsetDateTime createdOn()

Get the createdOn property: Standard creation date.

static StandardMetadata fromJson(JsonReader jsonReader)

Reads an instance of StandardMetadata from the JsonReader.

String lastUpdatedBy()

Get the lastUpdatedBy property: Standard last updated by object id (GUID).

OffsetDateTime lastUpdatedOn()

Get the lastUpdatedOn property: Standard last update date.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StandardMetadata

public StandardMetadata()

Creates an instance of StandardMetadata class.

Method Details

createdBy

public String createdBy()

Get the createdBy property: Standard Created by object id (GUID).

Returns:

the createdBy value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: Standard creation date.

Returns:

the createdOn value.

fromJson

public static StandardMetadata fromJson(JsonReader jsonReader)

Reads an instance of StandardMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StandardMetadata if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StandardMetadata.

lastUpdatedBy

public String lastUpdatedBy()

Get the lastUpdatedBy property: Standard last updated by object id (GUID).

Returns:

the lastUpdatedBy value.

lastUpdatedOn

public OffsetDateTime lastUpdatedOn()

Get the lastUpdatedOn property: Standard last update date.

Returns:

the lastUpdatedOn value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to