Show / Hide Table of Contents

Class CreateRecordDetails

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

Inheritance
object
CreateRecordDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatalabelingservicedataplaneService.Models
Assembly: OCI.DotNetSDK.Datalabelingservicedataplane.dll
Syntax
public class CreateRecordDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment for the record. This is tied to the dataset. It is not changeable on the record itself.

Remarks

Required

DatasetId

Declaration
[Required(ErrorMessage = "DatasetId is required.")]
[JsonProperty(PropertyName = "datasetId")]
public string DatasetId { get; set; }
Property Value
Type Description
string

The OCID of the dataset to associate the record with.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

The defined tags for this resource. Each key is predefined and scoped to a namespace. For Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name is automatically assigned by the service. It is unique and immutable.

Remarks

Required

RecordMetadata

Declaration
[JsonProperty(PropertyName = "recordMetadata")]
public RecordMetadata RecordMetadata { get; set; }
Property Value
Type Description
RecordMetadata

SourceDetails

Declaration
[Required(ErrorMessage = "SourceDetails is required.")]
[JsonProperty(PropertyName = "sourceDetails")]
public CreateSourceDetails SourceDetails { get; set; }
Property Value
Type Description
CreateSourceDetails
Remarks

Required

In this article
Back to top