TextFileTypeMetadata

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

Bases: object

Metadata for files with text content.

Attributes

FORMAT_TYPE_DELIMITED A constant which can be used with the format_type property of a TextFileTypeMetadata.
format_type [Required] Gets the format_type of this TextFileTypeMetadata.

Methods

__init__(**kwargs) Initializes a new TextFileTypeMetadata object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
FORMAT_TYPE_DELIMITED = 'DELIMITED'

A constant which can be used with the format_type property of a TextFileTypeMetadata. This constant has a value of “DELIMITED”

__init__(**kwargs)

Initializes a new TextFileTypeMetadata object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:format_type (str) – The value to assign to the format_type property of this TextFileTypeMetadata. Allowed values for this property are: “DELIMITED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
format_type

[Required] Gets the format_type of this TextFileTypeMetadata. It defines the format type of text files.

Allowed values for this property are: “DELIMITED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The format_type of this TextFileTypeMetadata.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.