Class PostInfo

    • Constructor Detail

      • PostInfo

        public PostInfo()
    • 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)
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object