Class DatasetDeprecation
- java.lang.Object
-
- io.datahubproject.openapi.generated.DatasetDeprecation
-
- All Implemented Interfaces:
OneOfDatasetSnapshotAspectsItems,OneOfEnvelopedAspectValue,OneOfGenericAspectValue,OneOfVersionedAspectAspect
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class DatasetDeprecation extends java.lang.Object implements OneOfDatasetSnapshotAspectsItems, OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfVersionedAspectAspectDataset deprecation status Deprecated! This aspect is deprecated in favor of the more-general-purpose 'Deprecation' aspect.
-
-
Constructor Summary
Constructors Constructor Description DatasetDeprecation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetDeprecationactor(java.lang.String actor)DatasetDeprecationdecommissionTime(java.lang.Long decommissionTime)DatasetDeprecationdeprecated(java.lang.Boolean deprecated)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName formatjava.lang.StringgetActor()The corpuser URN which will be credited for modifying this deprecation content.@Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetDecommissionTime()The time user plan to decommission this dataset.@NotNull java.lang.StringgetNote()Additional information about the dataset deprecation plan, such as the wiki, doc, RB.inthashCode()@NotNull java.lang.BooleanisDeprecated()Whether the dataset is deprecated by owner.DatasetDeprecationnote(java.lang.String note)voidsetActor(java.lang.String actor)voidsetDecommissionTime(java.lang.Long decommissionTime)voidsetDeprecated(java.lang.Boolean deprecated)voidsetNote(java.lang.String note)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
deprecated
public DatasetDeprecation deprecated(java.lang.Boolean deprecated)
-
isDeprecated
@NotNull public @NotNull java.lang.Boolean isDeprecated()
Whether the dataset is deprecated by owner.- Returns:
- deprecated
-
setDeprecated
public void setDeprecated(java.lang.Boolean deprecated)
-
decommissionTime
public DatasetDeprecation decommissionTime(java.lang.Long decommissionTime)
-
getDecommissionTime
@Min(-9223372036854775808L) @Max(9223372036854775807L) public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getDecommissionTime()
The time user plan to decommission this dataset. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- decommissionTime
-
setDecommissionTime
public void setDecommissionTime(java.lang.Long decommissionTime)
-
note
public DatasetDeprecation note(java.lang.String note)
-
getNote
@NotNull public @NotNull java.lang.String getNote()
Additional information about the dataset deprecation plan, such as the wiki, doc, RB.- Returns:
- note
-
setNote
public void setNote(java.lang.String note)
-
actor
public DatasetDeprecation actor(java.lang.String actor)
-
getActor
public java.lang.String getActor()
The corpuser URN which will be credited for modifying this deprecation content.- Returns:
- actor
-
setActor
public void setActor(java.lang.String actor)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-