Joe Gregorio | afc45f2 | 2011-02-20 16:11:28 -0500 | [diff] [blame^] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: class Resource</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | <p> |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 7 | <tr bgcolor="#ffc8d8"> |
| 8 | <td colspan=3 valign=bottom> <br> |
| 9 | <font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| 10 | |
| 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 12 | <td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr> |
| 13 | <tr><td> </td> |
| 14 | <td width="100%">Methods defined here:<br> |
| 15 | <dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl> |
| 16 | |
| 17 | <dl><dt><a name="Resource-delete"><strong>delete</strong></a> = method(self, **kwargs)</dt><dd><tt>Delete a comment<br> |
| 18 | <br> |
| 19 | Args:<br> |
| 20 | commentId: ID of the comment being referenced. (required)<br> |
| 21 | alt: Specifies an alternative representation type.<br> |
| 22 | postId: ID of the activity for which to delete the comment. (required)<br> |
| 23 | userId: ID of the user being referenced. (required)<br> |
| 24 | hl: Language code to limit language results.</tt></dd></dl> |
| 25 | |
| 26 | <dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Get a comment<br> |
| 27 | <br> |
| 28 | Args:<br> |
| 29 | commentId: ID of the comment being referenced. (required)<br> |
| 30 | alt: Specifies an alternative representation type.<br> |
| 31 | postId: ID of the activity for which to get comments. (required)<br> |
| 32 | userId: ID of the user being referenced. (required)<br> |
| 33 | hl: Language code to limit language results.</tt></dd></dl> |
| 34 | |
| 35 | <dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Create a comment<br> |
| 36 | <br> |
| 37 | Args:<br> |
| 38 | body: The request body.<br> |
| 39 | alt: Specifies an alternative representation type.<br> |
| 40 | postId: ID of the activity on which to comment. (required)<br> |
| 41 | userId: ID of the user on whose behalf to comment. (required)<br> |
| 42 | hl: Language code to limit language results.</tt></dd></dl> |
| 43 | |
| 44 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>List comments<br> |
| 45 | <br> |
| 46 | Args:<br> |
| 47 | c: A continuation token that allows pagination.<br> |
| 48 | userId: ID of the user for whose post to get comments. (required)<br> |
| 49 | max_results: Maximum number of results to include.<br> |
| 50 | hl: Language code to limit language results.<br> |
| 51 | scope: The collection to which the activity belongs. (required)<br> |
| 52 | alt: Specifies an alternative representation type.<br> |
| 53 | postId: ID of the activity for which to get comments. (required)</tt></dd></dl> |
| 54 | |
| 55 | <dl><dt><a name="Resource-update"><strong>update</strong></a> = method(self, **kwargs)</dt><dd><tt>Update a comment<br> |
| 56 | <br> |
| 57 | Args:<br> |
| 58 | body: The request body.<br> |
| 59 | userId: ID of the user being referenced. (required)<br> |
| 60 | abuseType: A parameter<br> |
| 61 | hl: Language code to limit language results.<br> |
| 62 | commentId: ID of the comment being referenced. (required)<br> |
| 63 | scope: The collection to which the activity belongs. (required)<br> |
| 64 | alt: Specifies an alternative representation type.<br> |
| 65 | postId: ID of the activity for which to update the comment. (required)</tt></dd></dl> |
| 66 | |
| 67 | <hr> |
| 68 | Data descriptors defined here:<br> |
| 69 | <dl><dt><strong>__dict__</strong></dt> |
| 70 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 71 | </dl> |
| 72 | <dl><dt><strong>__weakref__</strong></dt> |
| 73 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 74 | </dl> |
| 75 | </td></tr></table> |
| 76 | </body></html> |