Package fr.sandro642.github.spring.dto
Class Request
java.lang.Object
fr.sandro642.github.spring.dto.Request
Data Transfer Object representing a request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the branch associated with the request.getId()Get the unique identifier for the request.getRoute()Get the route associated with the request.Get the status of the request.voidSet the branch associated with the request.voidSet the unique identifier for the request.voidSet the route associated with the request.voidSet the status of the request.
-
Constructor Details
-
Request
public Request()Default constructor -
Request
Parameterized constructor- Parameters:
infoPort- Port information of the requestid- Unique identifier for the requestroute- Route associated with the requestbranch- Branch associated with the requeststatus- Status of the request
-
-
Method Details
-
getId
Get the unique identifier for the request.- Returns:
- the id
-
setId
Set the unique identifier for the request.- Parameters:
id- the id to set
-
getRoute
Get the route associated with the request.- Returns:
- the route
-
setRoute
Set the route associated with the request.- Parameters:
route- the route to set
-
getBranch
Get the branch associated with the request.- Returns:
- the branch
-
setBranch
Set the branch associated with the request.- Parameters:
branch- the branch to set
-
getStatus
Get the status of the request.- Returns:
- the status
-
setStatus
Set the status of the request.- Parameters:
status- the status to set
-