UpdateMediaAssetDetails¶
- class oci.media_services.models.UpdateMediaAssetDetails(**kwargs)¶
Bases:
objectThe information to be updated.
Attributes:
A constant which can be used with the type property of a UpdateMediaAssetDetails.
A constant which can be used with the type property of a UpdateMediaAssetDetails.
A constant which can be used with the type property of a UpdateMediaAssetDetails.
A constant which can be used with the type property of a UpdateMediaAssetDetails.
A constant which can be used with the type property of a UpdateMediaAssetDetails.
A constant which can be used with the type property of a UpdateMediaAssetDetails.
Gets the defined_tags of this UpdateMediaAssetDetails.
Gets the display_name of this UpdateMediaAssetDetails.
Gets the freeform_tags of this UpdateMediaAssetDetails.
Gets the master_media_asset_id of this UpdateMediaAssetDetails.
Gets the media_asset_tags of this UpdateMediaAssetDetails.
Gets the metadata of this UpdateMediaAssetDetails.
Gets the parent_media_asset_id of this UpdateMediaAssetDetails.
Gets the type of this UpdateMediaAssetDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateMediaAssetDetails object with values from keyword arguments.
- TYPE_AUDIO = 'AUDIO'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “AUDIO”
- TYPE_CAPTION_FILE = 'CAPTION_FILE'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “CAPTION_FILE”
- TYPE_IMAGE = 'IMAGE'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “IMAGE”
- TYPE_PLAYLIST = 'PLAYLIST'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “PLAYLIST”
- TYPE_UNKNOWN = 'UNKNOWN'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “UNKNOWN”
- TYPE_VIDEO = 'VIDEO'¶
A constant which can be used with the type property of a UpdateMediaAssetDetails. This constant has a value of “VIDEO”
- __init__(**kwargs)¶
Initializes a new UpdateMediaAssetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateMediaAssetDetails.
type (str) – The value to assign to the type property of this UpdateMediaAssetDetails. Allowed values for this property are: “AUDIO”, “VIDEO”, “PLAYLIST”, “IMAGE”, “CAPTION_FILE”, “UNKNOWN”
parent_media_asset_id (str) – The value to assign to the parent_media_asset_id property of this UpdateMediaAssetDetails.
master_media_asset_id (str) – The value to assign to the master_media_asset_id property of this UpdateMediaAssetDetails.
metadata (list[oci.media_services.models.Metadata]) – The value to assign to the metadata property of this UpdateMediaAssetDetails.
media_asset_tags (list[oci.media_services.models.MediaAssetTag]) – The value to assign to the media_asset_tags property of this UpdateMediaAssetDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMediaAssetDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMediaAssetDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateMediaAssetDetails. 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 UpdateMediaAssetDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateMediaAssetDetails. Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Returns
The display_name of this UpdateMediaAssetDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateMediaAssetDetails. 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 UpdateMediaAssetDetails.
- Return type
dict(str, str)
- property master_media_asset_id¶
Gets the master_media_asset_id of this UpdateMediaAssetDetails. The ID of the senior most asset from which this asset is derived.
- Returns
The master_media_asset_id of this UpdateMediaAssetDetails.
- Return type
str
- property media_asset_tags¶
Gets the media_asset_tags of this UpdateMediaAssetDetails. List of tags for the MediaAsset.
- Returns
The media_asset_tags of this UpdateMediaAssetDetails.
- Return type
- property metadata¶
Gets the metadata of this UpdateMediaAssetDetails. List of Metadata.
- Returns
The metadata of this UpdateMediaAssetDetails.
- Return type
- property parent_media_asset_id¶
Gets the parent_media_asset_id of this UpdateMediaAssetDetails. The ID of the parent asset from which this asset is derived.
- Returns
The parent_media_asset_id of this UpdateMediaAssetDetails.
- Return type
str
- property type¶
Gets the type of this UpdateMediaAssetDetails. The type of the media asset.
Allowed values for this property are: “AUDIO”, “VIDEO”, “PLAYLIST”, “IMAGE”, “CAPTION_FILE”, “UNKNOWN”
- Returns
The type of this UpdateMediaAssetDetails.
- Return type
str