toloka.client.operations.UserBonusCreateBatchOperation
| Source code
UserBonusCreateBatchOperation( self, *, id: Optional[str] = None, status: Union[Operation.Status, str, None] = None, submitted: Optional[datetime] = None, started: Optional[datetime] = None, finished: Optional[datetime] = None, progress: Optional[int] = None, parameters: Optional[Parameters] = None, details: Optional[Details] = None)
Operation returned by the TolokaClient.create_user_bonuses_async()
method.
All parameters are for reference only and describe the initial parameters of the request that this operation monitors.
Parameters | Type | Description |
---|---|---|
id | Optional[str] | Operation ID. |
status | Optional[Operation.Status] | The status of the operation. |
submitted | Optional[datetime] | The UTC date and time the request was sent. |
started | Optional[datetime] | The UTC date and time the operation started. |
finished | Optional[datetime] | The UTC date and time the operation finished. |
progress | Optional[int] | The percentage of the operation completed. |
parameters | Optional[Parameters] | Operation parameters (depending on the operation type). |
details | Optional[Details] | Details of the operation completion. |
skip_invalid_items | - | Validation parameters for JSON objects:
|
pool_id | - | |
total_count | - | The number of bonuses in the request. |
valid_count | - | The number of JSON objects with bonus information that have passed validation. |
not_valid_count | - | The number of JSON objects with bonus information that failed validation. |
success_count | - | Number of bonuses issued. |
failed_count | - | The number of bonuses that were not issued. |