1
2
3
4
5
6 package com.hack23.cia.service.api.user;
7
8 import com.hack23.cia.model.application.dto.common.UserSessionDTO;
9
10 /***
11 * The Class ExternalUrlResponse.
12 */
13 public class ExternalUrlResponse extends AbstractUserResponse {
14
15 /*** The Constant serialVersionUID. */
16 private static final long serialVersionUID = 1L;
17
18 /*** The title. */
19 private final String title;
20
21 /*** The url. */
22 private final String url;
23
24 /***
25 * Instantiates a new external url response.
26 *
27 * @param userSessionDTO the user session dto
28 * @param title the title
29 * @param url the url
30 */
31 public ExternalUrlResponse(final UserSessionDTO userSessionDTO,
32 final String title, final String url) {
33 super(userSessionDTO);
34 this.title = title;
35 this.url = url;
36 }
37
38 /***
39 * Gets the title.
40 *
41 * @return the title
42 */
43 public final String getTitle() {
44 return title;
45 }
46
47 /***
48 * Gets the url.
49 *
50 * @return the url
51 */
52 public final String getUrl() {
53 return url;
54 }
55 }