Exemple #1
0
  public static Suspension getLoadBalancerSuspensionDetails(
      String reason, int ticketId, String user) {
    Suspension suspension = new Suspension();

    Ticket ticket = new Ticket();
    ticket.setTicketId("1234");
    ticket.setComment("My first ticket! Yuppee!");

    suspension.setReason(reason);
    suspension.setTicket(ticket);
    suspension.setUser(user);
    return suspension;
  }