PyContentItemMigrationResult
class PyContentItemMigrationResult(content_item_migration_result)
Bases: Generic
[TContent
], PyResult
IResult object for a content item migration action.
- Parameters: content_item_migration_result (IContentItemMigrationResult [ ])
__init__(content_item_migration_result)
Creates a new PyContentItemMigrationResult object.
Args: : content_item_migration_result: A IContentItemMigrationResult object.
Returns: None.
- Parameters: content_item_migration_result (IContentItemMigrationResult [ ])
- Return type: None
Methods
__init__ (content_item_migration_result) |
Creates a new PyContentItemMigrationResult object. |
---|---|
for_continue_batch (continue_batch) |
Creates a new ContinueBatch value. |
Attributes
continue_batch |
Gets whether or not the current migration batch should continue. |
---|---|
errors |
Gets any exceptions encountered during the operation. |
is_canceled |
Gets whether the item migration was canceled. |
manifest_entry |
Gets the manifest entry for the content item. |
success |
Gets whether the operation was successful. |
property continue_batch : bool
Gets whether or not the current migration batch should continue.
property errors : Sequence[Exception]
Gets any exceptions encountered during the operation.
for_continue_batch(continue_batch)
Creates a new ContinueBatch value.
Args: : continue_batch: Whether or not the current migration batch should continue.
Returns: The new IContentItemMigrationResult object.
- Parameters: continue_batch (bool)
- Return type: Self
property is_canceled : bool
Gets whether the item migration was canceled.
property manifest_entry : PyMigrationManifestEntry
Gets the manifest entry for the content item.
property success : bool
Gets whether the operation was successful.