Class AddCommunityRequest
- Object
-
- AddCommunityRequest
-
- All Implemented Interfaces:
Serializable
public class AddCommunityRequest extends Object implements Serializable
The properties of the community to be added- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddCommunityRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddCommunityRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddCommunityRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDescription()
The description of the new community.UUID
getId()
The ID of the new community.@NotNull String
getName()
Required. The name (required) of the new community.UUID
getParentId()
The ID of the parent for the new community.int
hashCode()
void
setDescription(String description)
The description of the new community.void
setId(UUID id)
The ID of the new community.void
setName(@NotNull String name)
Required. The name (required) of the new community.void
setParentId(UUID parentId)
The ID of the parent for the new community.String
toString()
-
-
-
Method Detail
-
builder
public static AddCommunityRequest.Builder builder()
-
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 classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-