UpdateAnnotationDetails

class oci.data_labeling_service_dataplane.models.UpdateAnnotationDetails(**kwargs)

Bases: object

This is the payload sent in the CreateAnnotation operation. It contains all the information required for a user to create an annotation for a record.

Methods

__init__(**kwargs) Initializes a new UpdateAnnotationDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateAnnotationDetails.
entities Gets the entities of this UpdateAnnotationDetails.
freeform_tags Gets the freeform_tags of this UpdateAnnotationDetails.
__init__(**kwargs)

Initializes a new UpdateAnnotationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • entities (list[oci.data_labeling_service_dataplane.models.Entity]) – The value to assign to the entities property of this UpdateAnnotationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAnnotationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAnnotationDetails.
defined_tags

Gets the defined_tags of this UpdateAnnotationDetails. The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateAnnotationDetails.
Return type:dict(str, dict(str, object))
entities

Gets the entities of this UpdateAnnotationDetails. The entity types are validated against the dataset to ensure consistency.

Returns:The entities of this UpdateAnnotationDetails.
Return type:list[oci.data_labeling_service_dataplane.models.Entity]
freeform_tags

Gets the freeform_tags of this UpdateAnnotationDetails. A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateAnnotationDetails.
Return type:dict(str, str)