Joe Gregorio | a845167 | 2011-09-15 09:53:21 -0400 | [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-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Gets one comment by id.<br> |
| 18 | <br> |
| 19 | Args:<br> |
| 20 | commentId: string, The ID of the comment to get. (required)<br> |
| 21 | postId: string, ID of the post to fetch posts from. (required)<br> |
| 22 | blogId: string, ID of the blog to containing the comment. (required)</tt></dd></dl> |
| 23 | |
| 24 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves the comments for a blog, possibly filtered.<br> |
| 25 | <br> |
| 26 | Args:<br> |
| 27 | startDate: string, Earliest date of comment to fetch.<br> |
| 28 | fetchBodies: boolean, Whether the body content of the comments is included.<br> |
| 29 | pageToken: string, Continuation token if request is paged.<br> |
| 30 | maxResults: integer, Maximum number of comments to include in the result.<br> |
| 31 | postId: string, ID of the post to fetch posts from. (required)<br> |
| 32 | blogId: string, ID of the blog to fetch comments from. (required)</tt></dd></dl> |
| 33 | |
| 34 | <dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves the next page of results.<br> |
| 35 | <br> |
| 36 | Args:<br> |
| 37 | previous_request: The request for the previous page.<br> |
| 38 | previous_response: The response from the request for the previous page.<br> |
| 39 | <br> |
| 40 | Returns:<br> |
| 41 | A request object that you can call 'execute()' on to request the next<br> |
| 42 | page. Returns None if there are no more items in the collection.</tt></dd></dl> |
| 43 | |
| 44 | <hr> |
| 45 | Data descriptors defined here:<br> |
| 46 | <dl><dt><strong>__dict__</strong></dt> |
| 47 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 48 | </dl> |
| 49 | <dl><dt><strong>__weakref__</strong></dt> |
| 50 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 51 | </dl> |
| 52 | </td></tr></table> |
| 53 | </body></html> |