1: <?php
2:
3: namespace SellerLabs\Snagshout\Model;
4:
5: class Links
6: {
7: /**
8: * @var string
9: */
10: protected $prev;
11: /**
12: * @var string
13: */
14: protected $next;
15: /**
16: * @var int
17: */
18: protected $page;
19: /**
20: * @var int
21: */
22: protected $last;
23: /**
24: * @var int
25: */
26: protected $limit;
27: /**
28: * @var int
29: */
30: protected $total;
31: /**
32: * @return string
33: */
34: public function getPrev()
35: {
36: return $this->prev;
37: }
38: /**
39: * @param string $prev
40: *
41: * @return self
42: */
43: public function setPrev($prev = null)
44: {
45: $this->prev = $prev;
46: return $this;
47: }
48: /**
49: * @return string
50: */
51: public function getNext()
52: {
53: return $this->next;
54: }
55: /**
56: * @param string $next
57: *
58: * @return self
59: */
60: public function setNext($next = null)
61: {
62: $this->next = $next;
63: return $this;
64: }
65: /**
66: * @return int
67: */
68: public function getPage()
69: {
70: return $this->page;
71: }
72: /**
73: * @param int $page
74: *
75: * @return self
76: */
77: public function setPage($page = null)
78: {
79: $this->page = $page;
80: return $this;
81: }
82: /**
83: * @return int
84: */
85: public function getLast()
86: {
87: return $this->last;
88: }
89: /**
90: * @param int $last
91: *
92: * @return self
93: */
94: public function setLast($last = null)
95: {
96: $this->last = $last;
97: return $this;
98: }
99: /**
100: * @return int
101: */
102: public function getLimit()
103: {
104: return $this->limit;
105: }
106: /**
107: * @param int $limit
108: *
109: * @return self
110: */
111: public function setLimit($limit = null)
112: {
113: $this->limit = $limit;
114: return $this;
115: }
116: /**
117: * @return int
118: */
119: public function getTotal()
120: {
121: return $this->total;
122: }
123: /**
124: * @param int $total
125: *
126: * @return self
127: */
128: public function setTotal($total = null)
129: {
130: $this->total = $total;
131: return $this;
132: }
133: }