Class DataPlatformSnapshot
- java.lang.Object
-
- io.datahubproject.openapi.generated.DataPlatformSnapshot
-
- All Implemented Interfaces:
OneOfEntityValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class DataPlatformSnapshot extends java.lang.Object implements OneOfEntityValue
A metadata snapshot for a specific dataplatform entity.
-
-
Constructor Summary
Constructors Constructor Description DataPlatformSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataPlatformSnapshot
addAspectsItem(OneOfDataPlatformSnapshotAspectsItems aspectsItem)
DataPlatformSnapshot
aspects(java.util.List<OneOfDataPlatformSnapshotAspectsItems> aspects)
boolean
equals(java.lang.Object o)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@NotNull java.util.List<OneOfDataPlatformSnapshotAspectsItems>
getAspects()
The list of metadata aspects associated with the data platform.@NotNull java.lang.String
getUrn()
URN for the entity the metadata snapshot is associated with.int
hashCode()
void
setAspects(java.util.List<OneOfDataPlatformSnapshotAspectsItems> aspects)
void
setUrn(java.lang.String urn)
java.lang.String
toString()
DataPlatformSnapshot
urn(java.lang.String urn)
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
urn
public DataPlatformSnapshot urn(java.lang.String urn)
-
getUrn
@NotNull public @NotNull java.lang.String getUrn()
URN for the entity the metadata snapshot is associated with.- Returns:
- urn
-
setUrn
public void setUrn(java.lang.String urn)
-
aspects
public DataPlatformSnapshot aspects(java.util.List<OneOfDataPlatformSnapshotAspectsItems> aspects)
-
addAspectsItem
public DataPlatformSnapshot addAspectsItem(OneOfDataPlatformSnapshotAspectsItems aspectsItem)
-
getAspects
@NotNull public @NotNull java.util.List<OneOfDataPlatformSnapshotAspectsItems> getAspects()
The list of metadata aspects associated with the data platform. Depending on the use case, this can either be all, or a selection, of supported aspects.- Returns:
- aspects
-
setAspects
public void setAspects(java.util.List<OneOfDataPlatformSnapshotAspectsItems> aspects)
-
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
-
-