Class ChangeCommunityRequest

  • All Implemented Interfaces:
    Serializable

    public class ChangeCommunityRequest
    extends Object
    implements Serializable
    The properties of the community to be changed.

    Only properties that are specified in this request and have not null values are updated. All other properties are ignored.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ChangeCommunityRequest.Builder builder()  
      protected boolean canEqual​(Object other)  
      boolean equals​(Object o)  
      String getDescription()
      The new description for the community.
      @NotNull UUID getId()
      Required. The ID of the community to be changed.
      String getName()
      The new name for the community.
      UUID getParentId()
      The ID of the new parent community for the community.
      Boolean getRemoveScopeOverlapOnMove()
      Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.
      int hashCode()  
      void setDescription​(String description)
      The new description for the community.
      void setId​(@NotNull UUID id)
      Required. The ID of the community to be changed.
      void setName​(String name)
      The new name for the community.
      void setParentId​(UUID parentId)
      The ID of the new parent community for the community.
      void setRemoveScopeOverlapOnMove​(Boolean removeScopeOverlapOnMove)
      Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.
      String toString()  
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ChangeCommunityRequest

        public ChangeCommunityRequest()
    • Method Detail

      • getId

        @NotNull
        public @NotNull UUID getId()
        Required. The ID of the community to be changed. Silently ignored if the ID is provided as path parameter of the request.
      • getParentId

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

        public String getName()
        The new name for the community.
      • getDescription

        public String getDescription()
        The new description for the community.
      • getRemoveScopeOverlapOnMove

        public Boolean getRemoveScopeOverlapOnMove()
        Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.
      • setId

        public void setId​(@NotNull
                          @NotNull UUID id)
        Required. The ID of the community to be changed. Silently ignored if the ID is provided as path parameter of the request.
      • setParentId

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

        public void setName​(String name)
        The new name for the community.
      • setDescription

        public void setDescription​(String description)
        The new description for the community.
      • setRemoveScopeOverlapOnMove

        public void setRemoveScopeOverlapOnMove​(Boolean removeScopeOverlapOnMove)
        Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent 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