public class Topic extends Object
generated by graphql-java-generator
See Also:
  • Constructor Details

    • Topic

      public Topic()
  • Method Details

    • setId

      public void setId(String id)
    • getId

      public String getId()
    • setDate

      public void setDate(Date date)
    • getDate

      public Date getDate()
    • setAuthor

      public void setAuthor(Member author)
    • getAuthor

      public Member getAuthor()
    • setPubliclyAvailable

      public void setPubliclyAvailable(Boolean publiclyAvailable)
    • getPubliclyAvailable

      public Boolean getPubliclyAvailable()
    • setNbPosts

      public void setNbPosts(Integer nbPosts)
    • getNbPosts

      public Integer getNbPosts()
    • setTitle

      public void setTitle(String title)
    • getTitle

      public String getTitle()
    • setContent

      public void setContent(String content)
    • getContent

      public String getContent()
    • setPosts

      public void setPosts(List<Post> posts)
    • getPosts

      public List<Post> getPosts()
    • set__typename

      public void set__typename(String __typename)
    • get__typename

      public String get__typename()
    • setAliasValue

      public void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      public Object getAliasValue(String alias)
      Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
      This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.
      alias -
    • toString

      public String toString()
      toString in class Object
    • builder

      public static Topic.Builder builder()