MediaAssetSummary

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

Bases: object

Summary of the MediaAsset.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a MediaAssetSummary.
TYPE_AUDIO A constant which can be used with the type property of a MediaAssetSummary.
TYPE_CAPTION_FILE A constant which can be used with the type property of a MediaAssetSummary.
TYPE_IMAGE A constant which can be used with the type property of a MediaAssetSummary.
TYPE_PLAYLIST A constant which can be used with the type property of a MediaAssetSummary.
TYPE_UNKNOWN A constant which can be used with the type property of a MediaAssetSummary.
TYPE_VIDEO A constant which can be used with the type property of a MediaAssetSummary.
compartment_id [Required] Gets the compartment_id of this MediaAssetSummary.
defined_tags Gets the defined_tags of this MediaAssetSummary.
display_name Gets the display_name of this MediaAssetSummary.
freeform_tags Gets the freeform_tags of this MediaAssetSummary.
id [Required] Gets the id of this MediaAssetSummary.
lifecycle_state [Required] Gets the lifecycle_state of this MediaAssetSummary.
locks Gets the locks of this MediaAssetSummary.
master_media_asset_id Gets the master_media_asset_id of this MediaAssetSummary.
parent_media_asset_id Gets the parent_media_asset_id of this MediaAssetSummary.
system_tags Gets the system_tags of this MediaAssetSummary.
time_created Gets the time_created of this MediaAssetSummary.
time_updated Gets the time_updated of this MediaAssetSummary.
type [Required] Gets the type of this MediaAssetSummary.

Methods

__init__(**kwargs) Initializes a new MediaAssetSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a MediaAssetSummary. This constant has a value of “UPDATING”

TYPE_AUDIO = 'AUDIO'

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

TYPE_CAPTION_FILE = 'CAPTION_FILE'

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

TYPE_IMAGE = 'IMAGE'

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

TYPE_PLAYLIST = 'PLAYLIST'

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

TYPE_UNKNOWN = 'UNKNOWN'

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

TYPE_VIDEO = 'VIDEO'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this MediaAssetSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this MediaAssetSummary.
  • display_name (str) – The value to assign to the display_name property of this MediaAssetSummary.
  • time_created (datetime) – The value to assign to the time_created property of this MediaAssetSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this MediaAssetSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • type (str) – The value to assign to the type property of this MediaAssetSummary. Allowed values for this property are: “AUDIO”, “VIDEO”, “PLAYLIST”, “IMAGE”, “CAPTION_FILE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_updated (datetime) – The value to assign to the time_updated property of this MediaAssetSummary.
  • master_media_asset_id (str) – The value to assign to the master_media_asset_id property of this MediaAssetSummary.
  • parent_media_asset_id (str) – The value to assign to the parent_media_asset_id property of this MediaAssetSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MediaAssetSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MediaAssetSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MediaAssetSummary.
  • locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this MediaAssetSummary.
compartment_id

[Required] Gets the compartment_id of this MediaAssetSummary. The ID of the compartment containing the MediaAsset.

Returns:The compartment_id of this MediaAssetSummary.
Return type:str
defined_tags

Gets the defined_tags of this MediaAssetSummary. 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 MediaAssetSummary.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this MediaAssetSummary. MediaAsset name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this MediaAssetSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this MediaAssetSummary. 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 MediaAssetSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this MediaAssetSummary. Unique identifier that is immutable on creation.

Returns:The id of this MediaAssetSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this MediaAssetSummary. The current state of the MediaAsset.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this MediaAssetSummary.
Return type:str
locks

Gets the locks of this MediaAssetSummary. Locks associated with this resource.

Returns:The locks of this MediaAssetSummary.
Return type:list[oci.media_services.models.ResourceLock]
master_media_asset_id

Gets the master_media_asset_id of this MediaAssetSummary. The ID of the senior most asset from which this asset is derived.

Returns:The master_media_asset_id of this MediaAssetSummary.
Return type:str
parent_media_asset_id

Gets the parent_media_asset_id of this MediaAssetSummary. The ID of the parent asset from which this asset is derived.

Returns:The parent_media_asset_id of this MediaAssetSummary.
Return type:str
system_tags

Gets the system_tags of this MediaAssetSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this MediaAssetSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this MediaAssetSummary. The time the the MediaAsset was created. An RFC3339 formatted datetime string.

Returns:The time_created of this MediaAssetSummary.
Return type:datetime
time_updated

Gets the time_updated of this MediaAssetSummary. The time the MediaAsset was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this MediaAssetSummary.
Return type:datetime
type

[Required] Gets the type of this MediaAssetSummary. The type of the media asset.

Allowed values for this property are: “AUDIO”, “VIDEO”, “PLAYLIST”, “IMAGE”, “CAPTION_FILE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this MediaAssetSummary.
Return type:str