Class ChangeRelationRequest
- Object
-
- ChangeRelationRequest
-
- All Implemented Interfaces:
Serializable
public class ChangeRelationRequest extends Object implements Serializable
The properties of the relation to be changed- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeRelationRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeRelationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeRelationRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Long
getEndingDate()
The new ending date for the relation.@NotNull UUID
getId()
Required. The ID of the relation that will be changed.UUID
getSourceId()
The ID of the new source for the relation.Long
getStartingDate()
The new starting date for the relation.UUID
getTargetId()
The ID of the new target for the relation.int
hashCode()
void
setEndingDate(Long endingDate)
The new ending date for the relation.void
setId(@NotNull UUID id)
Required. The ID of the relation that will be changed.void
setSourceId(UUID sourceId)
The ID of the new source for the relation.void
setStartingDate(Long startingDate)
The new starting date for the relation.void
setTargetId(UUID targetId)
The ID of the new target for the relation.String
toString()
-
-
-
Method Detail
-
builder
public static ChangeRelationRequest.Builder builder()
-
getId
@NotNull public @NotNull UUID getId()
Required. The ID of the relation that will be changed.Silently ignored if the ID is provided as path parameter of the request.
-
getSourceId
public UUID getSourceId()
The ID of the new source for the relation.
-
getTargetId
public UUID getTargetId()
The ID of the new target for the relation.
-
getStartingDate
public Long getStartingDate()
The new starting date for the relation.
-
getEndingDate
public Long getEndingDate()
The new ending date for the relation.
-
setId
public void setId(@NotNull @NotNull UUID id)
Required. The ID of the relation that will be changed.Silently ignored if the ID is provided as path parameter of the request.
-
setSourceId
public void setSourceId(UUID sourceId)
The ID of the new source for the relation.
-
setTargetId
public void setTargetId(UUID targetId)
The ID of the new target for the relation.
-
setStartingDate
public void setStartingDate(Long startingDate)
The new starting date for the relation.
-
setEndingDate
public void setEndingDate(Long endingDate)
The new ending date for the relation.
-
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
-
-