Class Request

java.lang.Object
fr.sandro642.github.spring.dto.Request

public class Request extends Object
Data Transfer Object representing a request.
  • Constructor Details

    • Request

      public Request()
      Default constructor
    • Request

      public Request(String infoPort, Long id, String route, String branch, String status)
      Parameterized constructor
      Parameters:
      infoPort - Port information of the request
      id - Unique identifier for the request
      route - Route associated with the request
      branch - Branch associated with the request
      status - Status of the request
  • Method Details

    • getId

      public Long getId()
      Get the unique identifier for the request.
      Returns:
      the id
    • setId

      public void setId(Long id)
      Set the unique identifier for the request.
      Parameters:
      id - the id to set
    • getRoute

      public String getRoute()
      Get the route associated with the request.
      Returns:
      the route
    • setRoute

      public void setRoute(String route)
      Set the route associated with the request.
      Parameters:
      route - the route to set
    • getBranch

      public String getBranch()
      Get the branch associated with the request.
      Returns:
      the branch
    • setBranch

      public void setBranch(String branch)
      Set the branch associated with the request.
      Parameters:
      branch - the branch to set
    • getStatus

      public String getStatus()
      Get the status of the request.
      Returns:
      the status
    • setStatus

      public void setStatus(String status)
      Set the status of the request.
      Parameters:
      status - the status to set