Class PostInfo
- java.lang.Object
-
- io.datahubproject.openapi.generated.PostInfo
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class PostInfo extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValueInformation about a DataHub Post.
-
-
Constructor Summary
Constructors Constructor Description PostInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostInfocontent(PostContent content)PostInfocreated(java.lang.Long created)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull @Valid PostContentgetContent()Get content@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetCreated()The time at which the post was initially created minimum: -9223372036854775808 maximum: 9223372036854775807@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetLastModified()The time at which the post was last modified minimum: -9223372036854775808 maximum: 9223372036854775807@NotNull @Valid PostTypegetType()Get typeinthashCode()PostInfolastModified(java.lang.Long lastModified)voidsetContent(PostContent content)voidsetCreated(java.lang.Long created)voidsetLastModified(java.lang.Long lastModified)voidsetType(PostType type)java.lang.StringtoString()PostInfotype(PostType type)
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
getType
@NotNull @Valid public @NotNull @Valid PostType getType()
Get type- Returns:
- type
-
setType
public void setType(PostType type)
-
content
public PostInfo content(PostContent content)
-
getContent
@NotNull @Valid public @NotNull @Valid PostContent getContent()
Get content- Returns:
- content
-
setContent
public void setContent(PostContent content)
-
created
public PostInfo created(java.lang.Long created)
-
getCreated
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getCreated()
The time at which the post was initially created minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- created
-
setCreated
public void setCreated(java.lang.Long created)
-
lastModified
public PostInfo lastModified(java.lang.Long lastModified)
-
getLastModified
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getLastModified()
The time at which the post was last modified minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- lastModified
-
setLastModified
public void setLastModified(java.lang.Long lastModified)
-
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
-
-