Class AddCommunityRequest

  • All Implemented Interfaces:
    Serializable

    public class AddCommunityRequest
    extends Object
    implements Serializable
    The properties of the community to be added
    See Also:
    Serialized Form
    • Constructor Detail

      • AddCommunityRequest

        public AddCommunityRequest()
    • Method Detail

      • getParentId

        public UUID getParentId()
        The ID of the parent for the new community.
      • getName

        @NotNull
        public @NotNull String getName()
        Required. The name (required) of the new community. Should be unique across all communities.
      • getDescription

        public String getDescription()
        The description of the new community.
      • getId

        public UUID getId()
        The ID of the new community.
      • setParentId

        public void setParentId​(UUID parentId)
        The ID of the parent for the new community.
      • setName

        public void setName​(@NotNull
                            @NotNull String name)
        Required. The name (required) of the new community. Should be unique across all communities.
      • setDescription

        public void setDescription​(String description)
        The description of the new community.
      • setId

        public void setId​(UUID id)
        The ID of the new community.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

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

        public String toString()
        Overrides:
        toString in class Object