MetadataDetails

class oci.capacity_management.models.MetadataDetails(**kwargs)

Bases: object

Used for representing the metadata of the catalog. This denotes the version and format of the CSV file for parsing.

Attributes

FORMAT_VERSION_V1 A constant which can be used with the format_version property of a MetadataDetails.
FORMAT_VERSION_V2 A constant which can be used with the format_version property of a MetadataDetails.
format_version [Required] Gets the format_version of this MetadataDetails.

Methods

__init__(**kwargs) Initializes a new MetadataDetails object with values from keyword arguments.
FORMAT_VERSION_V1 = 'V1'

A constant which can be used with the format_version property of a MetadataDetails. This constant has a value of “V1”

FORMAT_VERSION_V2 = 'V2'

A constant which can be used with the format_version property of a MetadataDetails. This constant has a value of “V2”

__init__(**kwargs)

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

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

[Required] Gets the format_version of this MetadataDetails. The version for the format of the catalog file being uploaded.

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

Returns:The format_version of this MetadataDetails.
Return type:str