Class PostKey
- java.lang.Object
-
- io.datahubproject.openapi.generated.PostKey
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue
,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-05-10T05:58:32.374063Z[Etc/UTC]") public class PostKey extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue
Key for a Post.
-
-
Constructor Summary
Constructors Constructor Description PostKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@NotNull java.lang.String
getId()
A unique id for the DataHub Post record.int
hashCode()
PostKey
id(java.lang.String id)
void
setId(java.lang.String id)
java.lang.String
toString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
id
public PostKey id(java.lang.String id)
-
getId
@NotNull public @NotNull java.lang.String getId()
A unique id for the DataHub Post record. Generated on the server side at Post creation time.- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
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
-
-