Class Deprecation
- java.lang.Object
-
- io.datahubproject.openapi.generated.Deprecation
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue,OneOfMLFeatureSnapshotAspectsItems,OneOfMLFeatureTableSnapshotAspectsItems,OneOfMLModelDeploymentSnapshotAspectsItems,OneOfMLModelGroupSnapshotAspectsItems,OneOfMLModelSnapshotAspectsItems,OneOfMLPrimaryKeySnapshotAspectsItems
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class Deprecation extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfMLFeatureSnapshotAspectsItems, OneOfMLFeatureTableSnapshotAspectsItems, OneOfMLModelDeploymentSnapshotAspectsItems, OneOfMLModelGroupSnapshotAspectsItems, OneOfMLModelSnapshotAspectsItems, OneOfMLPrimaryKeySnapshotAspectsItemsDeprecation status of an entity
-
-
Constructor Summary
Constructors Constructor Description Deprecation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Deprecationactor(java.lang.String actor)DeprecationdecommissionTime(java.lang.Long decommissionTime)Deprecationdeprecated(java.lang.Boolean deprecated)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull java.lang.StringgetActor()The user URN which will be credited for modifying this deprecation content.@Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetDecommissionTime()The time user plan to decommission this entity.@NotNull java.lang.StringgetNote()Additional information about the entity deprecation plan, such as the wiki, doc, RB.inthashCode()@NotNull java.lang.BooleanisDeprecated()Whether the entity is deprecated.Deprecationnote(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 Deprecation deprecated(java.lang.Boolean deprecated)
-
isDeprecated
@NotNull public @NotNull java.lang.Boolean isDeprecated()
Whether the entity is deprecated.- Returns:
- deprecated
-
setDeprecated
public void setDeprecated(java.lang.Boolean deprecated)
-
decommissionTime
public Deprecation 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 entity. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- decommissionTime
-
setDecommissionTime
public void setDecommissionTime(java.lang.Long decommissionTime)
-
note
public Deprecation note(java.lang.String note)
-
getNote
@NotNull public @NotNull java.lang.String getNote()
Additional information about the entity deprecation plan, such as the wiki, doc, RB.- Returns:
- note
-
setNote
public void setNote(java.lang.String note)
-
actor
public Deprecation actor(java.lang.String actor)
-
getActor
@NotNull public @NotNull java.lang.String getActor()
The user 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
-
-