Class AddStatusRequest
- Object
-
- AddStatusRequest
-
- All Implemented Interfaces:
Serializable
public class AddStatusRequest extends Object implements Serializable
The properties of the Status to be added.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddStatusRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddStatusRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddStatusRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDescription()
The description of the new Status.UUID
getId()
The ID of the new Status.@NotNull String
getName()
Required. The name of the new Status.int
hashCode()
void
setDescription(String description)
The description of the new Status.void
setId(UUID id)
The ID of the new Status.void
setName(@NotNull String name)
Required. The name of the new Status.String
toString()
-
-
-
Method Detail
-
builder
public static AddStatusRequest.Builder builder()
-
getId
public UUID getId()
The ID of the new Status. Should be unique within all Statuses.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-
which is a reserved prefix.
-
getName
@NotNull public @NotNull String getName()
Required. The name of the new Status. Should be unique within all Statuses.
-
getDescription
public String getDescription()
The description of the new Status.
-
setId
public void setId(UUID id)
The ID of the new Status. Should be unique within all Statuses.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-
which is a reserved prefix.
-
setName
public void setName(@NotNull @NotNull String name)
Required. The name of the new Status. Should be unique within all Statuses.
-
setDescription
public void setDescription(String description)
The description of the new Status.
-
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
-
-