Class SystemMetadata
- java.lang.Object
-
- io.datahubproject.openapi.generated.SystemMetadata
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class SystemMetadata extends java.lang.Object
Metadata associated with each metadata change that is processed by the system
-
-
Constructor Summary
Constructors Constructor Description SystemMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getLastObserved()
The timestamp the metadata was observed at minimum: -9223372036854775808 maximum: 9223372036854775807java.util.Map<java.lang.String,java.lang.String>
getProperties()
Additional propertiesjava.lang.String
getRegistryName()
The model registry name that was used to process this eventjava.lang.String
getRegistryVersion()
The model registry version that was used to process this event@NotNull java.lang.String
getRunId()
The run id that produced the metadata.int
hashCode()
SystemMetadata
lastObserved(java.lang.Long lastObserved)
SystemMetadata
properties(java.util.Map<java.lang.String,java.lang.String> properties)
SystemMetadata
putPropertiesItem(java.lang.String key, java.lang.String propertiesItem)
SystemMetadata
registryName(java.lang.String registryName)
SystemMetadata
registryVersion(java.lang.String registryVersion)
SystemMetadata
runId(java.lang.String runId)
void
setLastObserved(java.lang.Long lastObserved)
void
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
void
setRegistryName(java.lang.String registryName)
void
setRegistryVersion(java.lang.String registryVersion)
void
setRunId(java.lang.String runId)
java.lang.String
toString()
-
-
-
Method Detail
-
lastObserved
public SystemMetadata lastObserved(java.lang.Long lastObserved)
-
getLastObserved
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getLastObserved()
The timestamp the metadata was observed at minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- lastObserved
-
setLastObserved
public void setLastObserved(java.lang.Long lastObserved)
-
runId
public SystemMetadata runId(java.lang.String runId)
-
getRunId
@NotNull public @NotNull java.lang.String getRunId()
The run id that produced the metadata. Populated in case of batch-ingestion.- Returns:
- runId
-
setRunId
public void setRunId(java.lang.String runId)
-
registryName
public SystemMetadata registryName(java.lang.String registryName)
-
getRegistryName
public java.lang.String getRegistryName()
The model registry name that was used to process this event- Returns:
- registryName
-
setRegistryName
public void setRegistryName(java.lang.String registryName)
-
registryVersion
public SystemMetadata registryVersion(java.lang.String registryVersion)
-
getRegistryVersion
public java.lang.String getRegistryVersion()
The model registry version that was used to process this event- Returns:
- registryVersion
-
setRegistryVersion
public void setRegistryVersion(java.lang.String registryVersion)
-
properties
public SystemMetadata properties(java.util.Map<java.lang.String,java.lang.String> properties)
-
putPropertiesItem
public SystemMetadata putPropertiesItem(java.lang.String key, java.lang.String propertiesItem)
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
Additional properties- Returns:
- properties
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-