Outcome of AssignmentsEngine.assign / AssignmentsEngine.unassign. Either a success or a field-scoped error suitable for displaying in the profile editor.
| Name | Type | Description | Notes |
|---|---|---|---|
| success | bool | True when the assignment was persisted. | |
| error | AiErrorData | Why the assignment was rejected. Present on failure. | [optional] |
from docspace_api_sdk.models.ai_assignment_mutation_result import AiAssignmentMutationResult
# TODO update the JSON string below
json = "{}"
# create an instance of AiAssignmentMutationResult from a JSON string
ai_assignment_mutation_result_instance = AiAssignmentMutationResult.from_json(json)
# print the JSON string representation of the object
print(AiAssignmentMutationResult.to_json())
# convert the object into a dict
ai_assignment_mutation_result_dict = ai_assignment_mutation_result_instance.to_dict()
# create an instance of AiAssignmentMutationResult from a dict
ai_assignment_mutation_result_from_dict = AiAssignmentMutationResult.from_dict(ai_assignment_mutation_result_dict)