1: <?php
2:
3: namespace Genetsis\core\activityid;
4:
5: /**
6: * Use to pass all necessary params to an ActivityID Request
7: *
8: * @package Genetsis
9: * @category Bean
10: * @version 1.0
11: * @access private
12: */
13: class Request
14: {
15: /** @var integer User Id */
16: private $user_id = null;
17: /** @var string Section Name */
18: private $section_name = null;
19: /** @var string Source */
20: private $source = null;
21: /** @var string Object Id */
22: private $object_id = null;
23: /** @var string Object Type */
24: private $object_type = null;
25: /** @var string Display Name */
26: private $display_name = null;
27: /** @var string Url */
28: private $url = null;
29: /** @var string Target Id */
30: private $target_id = null;
31: /** @var string Target Object Type */
32: private $target_object_type = null;
33: /** @var string Content */
34: private $content = null;
35: /** @var string In Reply to id */
36: private $in_reply_to_id = null;
37: /** @var string In Reply to objectType */
38: private $in_reply_to_object_type = null;
39: /** @var string In Reply to Url */
40: private $in_reply_to_url = null;
41: /** @var string In Reply to Display Name */
42: private $in_reply_to_display_name = null;
43: /** @var string Context Object Type */
44: private $context_object_type = null;
45: /** @var string Context Object Type */
46: private $context_display_name = null;
47: /** @var string Context Object Type */
48: private $context_type = null;
49: /** @var string Rating */
50: private $rating = null;
51: /** @var string Quality */
52: private $quality = null;
53: /** @var \Genetsis\core\activityid\Location Request location property */
54: private $location = null;
55:
56: /**
57: * @return string
58: */
59: public function getContent()
60: {
61: return $this->content;
62: }
63:
64: /**
65: * @param string $content
66: */
67: public function setContent($content)
68: {
69: $this->content = $content;
70: }
71:
72: /**
73: * @return string
74: */
75: public function getContextDisplayName()
76: {
77: return $this->context_display_name;
78: }
79:
80: /**
81: * @param string $context_display_name
82: */
83: public function setContextDisplayName($context_display_name)
84: {
85: $this->context_display_name = $context_display_name;
86: }
87:
88: /**
89: * @return string
90: */
91: public function getContextObjectType()
92: {
93: return $this->context_object_type;
94: }
95:
96: /**
97: * @param string $context_object_type
98: */
99: public function setContextObjectType($context_object_type)
100: {
101: $this->context_object_type = $context_object_type;
102: }
103:
104: /**
105: * @return string
106: */
107: public function getContextType()
108: {
109: return $this->context_type;
110: }
111:
112: /**
113: * @param string $context_type
114: */
115: public function setContextType($context_type)
116: {
117: $this->context_type = $context_type;
118: }
119:
120: /**
121: * @return string
122: */
123: public function getDisplayName()
124: {
125: return $this->display_name;
126: }
127:
128: /**
129: * @param string $display_name
130: */
131: public function setDisplayName($display_name)
132: {
133: $this->display_name = $display_name;
134: }
135:
136: /**
137: * @return string
138: */
139: public function getInReplyToDisplayName()
140: {
141: return $this->in_reply_to_display_name;
142: }
143:
144: /**
145: * @param string $in_reply_to_display_name
146: */
147: public function setInReplyToDisplayName($in_reply_to_display_name)
148: {
149: $this->in_reply_to_display_name = $in_reply_to_display_name;
150: }
151:
152: /**
153: * @return string
154: */
155: public function getInReplyToId()
156: {
157: return $this->in_reply_to_id;
158: }
159:
160: /**
161: * @param string $in_reply_to_id
162: */
163: public function setInReplyToId($in_reply_to_id)
164: {
165: $this->in_reply_to_id = $in_reply_to_id;
166: }
167:
168: /**
169: * @return string
170: */
171: public function getInReplyToObjectType()
172: {
173: return $this->in_reply_to_object_type;
174: }
175:
176: /**
177: * @param string $in_reply_to_object_type
178: */
179: public function setInReplyToObjectType($in_reply_to_object_type)
180: {
181: $this->in_reply_to_object_type = $in_reply_to_object_type;
182: }
183:
184: /**
185: * @return string
186: */
187: public function getInReplyToUrl()
188: {
189: return $this->in_reply_to_url;
190: }
191:
192: /**
193: * @param string $in_reply_to_url
194: */
195: public function setInReplyToUrl($in_reply_to_url)
196: {
197: $this->in_reply_to_url = $in_reply_to_url;
198: }
199:
200: /**
201: * @return \Genetsis\core\activityid\Location
202: */
203: public function getLocation()
204: {
205: return $this->location;
206: }
207:
208: /**
209: * @param \Genetsis\core\activityid\Location $location
210: */
211: public function setLocation($location)
212: {
213: $this->location = $location;
214: }
215:
216: /**
217: * @return string
218: */
219: public function getObjectId()
220: {
221: return $this->object_id;
222: }
223:
224: /**
225: * @param string $object_id
226: */
227: public function setObjectId($object_id)
228: {
229: $this->object_id = $object_id;
230: }
231:
232: /**
233: * @return string
234: */
235: public function getObjectType()
236: {
237: return $this->object_type;
238: }
239:
240: /**
241: * @param string $object_type
242: */
243: public function setObjectType($object_type)
244: {
245: $this->object_type = $object_type;
246: }
247:
248: /**
249: * @return string
250: */
251: public function getQuality()
252: {
253: return $this->quality;
254: }
255:
256: /**
257: * @param string $quality
258: */
259: public function setQuality($quality)
260: {
261: $this->quality = $quality;
262: }
263:
264: /**
265: * @return string
266: */
267: public function getRating()
268: {
269: return $this->rating;
270: }
271:
272: /**
273: * @param string $rating
274: */
275: public function setRating($rating)
276: {
277: $this->rating = $rating;
278: }
279:
280: /**
281: * @return string
282: */
283: public function getSectionName()
284: {
285: return $this->section_name;
286: }
287:
288: /**
289: * @param string $section_name
290: */
291: public function setSectionName($section_name)
292: {
293: $this->section_name = $section_name;
294: }
295:
296: /**
297: * @return string
298: */
299: public function getSource()
300: {
301: return $this->source;
302: }
303:
304: /**
305: * @param string $source
306: */
307: public function setSource($source)
308: {
309: $this->source = $source;
310: }
311:
312: /**
313: * @return string
314: */
315: public function getTargetId()
316: {
317: return $this->target_id;
318: }
319:
320: /**
321: * @param string $target_id
322: */
323: public function setTargetId($target_id)
324: {
325: $this->target_id = $target_id;
326: }
327:
328: /**
329: * @return string
330: */
331: public function getTargetObjectType()
332: {
333: return $this->target_object_type;
334: }
335:
336: /**
337: * @param string $target_object_type
338: */
339: public function setTargetObjectType($target_object_type)
340: {
341: $this->target_object_type = $target_object_type;
342: }
343:
344: /**
345: * @return string
346: */
347: public function getUrl()
348: {
349: return $this->url;
350: }
351:
352: /**
353: * @param string $url
354: */
355: public function setUrl($url)
356: {
357: $this->url = $url;
358: }
359:
360: /**
361: * @return int
362: */
363: public function getUserId()
364: {
365: return $this->user_id;
366: }
367:
368: /**
369: * @param int $user_id
370: */
371: public function setUserId($user_id)
372: {
373: $this->user_id = $user_id;
374: }
375:
376:
377: }
378: