|
Methods defined here:
- __init__(self)
- get = method(self, **kwargs)
- Returns the votes by the authenticated user for the specified submission within the specified series.
Args:
seriesId: integer, The decimal ID of the Series. (required)
unauthToken: string, User identifier for unauthenticated usage mode
userId: string, A parameter
submissionId: integer, The decimal ID of the Submission within the Series. (required)
Returns:
An object of the form
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
- insert = method(self, **kwargs)
- Inserts a new vote by the authenticated user for the specified submission within the specified series.
Args:
seriesId: integer, The decimal ID of the Series. (required)
body: object, The request body. (required)
The object takes the form of:
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
unauthToken: string, User identifier for unauthenticated usage mode
submissionId: integer, The decimal ID of the Submission within the Series. (required)
Returns:
An object of the form
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
- list = method(self, **kwargs)
- Lists the votes by the authenticated user for the given series.
Args:
seriesId: integer, The decimal ID of the Series. (required)
max_results: integer, Maximum number of results to return.
start_index: integer, Index of the first result to be retrieved.
Returns:
An object of the form
{
"items": [
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
},
],
"kind": "moderator#voteList",
}
- patch = method(self, **kwargs)
- Updates the votes by the authenticated user for the specified submission within the specified series. This method supports patch semantics.
Args:
seriesId: integer, The decimal ID of the Series. (required)
body: object, The request body. (required)
The object takes the form of:
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
unauthToken: string, User identifier for unauthenticated usage mode
userId: string, A parameter
submissionId: integer, The decimal ID of the Submission within the Series. (required)
Returns:
An object of the form
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
- update = method(self, **kwargs)
- Updates the votes by the authenticated user for the specified submission within the specified series.
Args:
seriesId: integer, The decimal ID of the Series. (required)
body: object, The request body. (required)
The object takes the form of:
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
unauthToken: string, User identifier for unauthenticated usage mode
userId: string, A parameter
submissionId: integer, The decimal ID of the Submission within the Series. (required)
Returns:
An object of the form
{
"vote": "A String",
"flag": "A String",
"id": {
"seriesId": "A String",
"submissionId": "A String",
},
"kind": "moderator#vote",
}
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|