CreateRecordDetails

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

Bases: object

A record represents an entry in a dataset that needs labeling.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateRecordDetails.
dataset_id [Required] Gets the dataset_id of this CreateRecordDetails.
defined_tags Gets the defined_tags of this CreateRecordDetails.
freeform_tags Gets the freeform_tags of this CreateRecordDetails.
name [Required] Gets the name of this CreateRecordDetails.
source_details [Required] Gets the source_details of this CreateRecordDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this CreateRecordDetails.
  • dataset_id (str) – The value to assign to the dataset_id property of this CreateRecordDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateRecordDetails.
  • source_details (oci.data_labeling_service_dataplane.models.CreateSourceDetails) – The value to assign to the source_details property of this CreateRecordDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRecordDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRecordDetails.
compartment_id

[Required] Gets the compartment_id of this CreateRecordDetails. The OCID of the compartment for the record. This is tied to the dataset. It is not changeable on the record itself.

Returns:The compartment_id of this CreateRecordDetails.
Return type:str
dataset_id

[Required] Gets the dataset_id of this CreateRecordDetails. The OCID of the dataset to associate the record with.

Returns:The dataset_id of this CreateRecordDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateRecordDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateRecordDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreateRecordDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

[Required] Gets the name of this CreateRecordDetails. This will be automatically assigned by the service. It will be unique and immutable.

Returns:The name of this CreateRecordDetails.
Return type:str
source_details

[Required] Gets the source_details of this CreateRecordDetails.

Returns:The source_details of this CreateRecordDetails.
Return type:oci.data_labeling_service_dataplane.models.CreateSourceDetails