UpdateMediaAssetDetails¶
-
class
oci.media_services.models.UpdateMediaAssetDetails(**kwargs)¶ Bases:
objectThe information to be updated.
Attributes
TYPE_AUDIOA constant which can be used with the type property of a UpdateMediaAssetDetails. TYPE_CAPTION_FILEA constant which can be used with the type property of a UpdateMediaAssetDetails. TYPE_IMAGEA constant which can be used with the type property of a UpdateMediaAssetDetails. TYPE_PLAYLISTA constant which can be used with the type property of a UpdateMediaAssetDetails. TYPE_UNKNOWNA constant which can be used with the type property of a UpdateMediaAssetDetails. TYPE_VIDEOA constant which can be used with the type property of a UpdateMediaAssetDetails. defined_tagsGets the defined_tags of this UpdateMediaAssetDetails. display_nameGets the display_name of this UpdateMediaAssetDetails. freeform_tagsGets the freeform_tags of this UpdateMediaAssetDetails. master_media_asset_idGets the master_media_asset_id of this UpdateMediaAssetDetails. media_asset_tagsGets the media_asset_tags of this UpdateMediaAssetDetails. metadataGets the metadata of this UpdateMediaAssetDetails. parent_media_asset_idGets the parent_media_asset_id of this UpdateMediaAssetDetails. typeGets 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.
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))
-
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
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)
-
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
Gets the media_asset_tags of this UpdateMediaAssetDetails. List of tags for the MediaAsset.
Returns: The media_asset_tags of this UpdateMediaAssetDetails. Return type: list[oci.media_services.models.MediaAssetTag]
-
metadata¶ Gets the metadata of this UpdateMediaAssetDetails. List of Metadata.
Returns: The metadata of this UpdateMediaAssetDetails. Return type: list[oci.media_services.models.Metadata]
-
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
-
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
-