MediaAssetTag

class oci.media_services.models.MediaAssetTag(**kwargs)

Bases: object

Tags of the MediaAsset.

Attributes:

TYPE_SYSTEM

A constant which can be used with the type property of a MediaAssetTag.

TYPE_USER

A constant which can be used with the type property of a MediaAssetTag.

type

Gets the type of this MediaAssetTag.

value

[Required] Gets the value of this MediaAssetTag.

Methods:

__init__(**kwargs)

Initializes a new MediaAssetTag object with values from keyword arguments.

TYPE_SYSTEM = 'SYSTEM'

A constant which can be used with the type property of a MediaAssetTag. This constant has a value of “SYSTEM”

TYPE_USER = 'USER'

A constant which can be used with the type property of a MediaAssetTag. This constant has a value of “USER”

__init__(**kwargs)

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

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

  • value (str) – The value to assign to the value property of this MediaAssetTag.

property type

Gets the type of this MediaAssetTag. Type of the tag.

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

Returns

The type of this MediaAssetTag.

Return type

str

property value

[Required] Gets the value of this MediaAssetTag. Tag of the MediaAsset.

Returns

The value of this MediaAssetTag.

Return type

str