CreateMediaAssetDetails¶
- class oci.media_services.models.CreateMediaAssetDetails(**kwargs)¶
Bases:
objectThe information about new MediaAsset.
Attributes:
A constant which can be used with the type property of a CreateMediaAssetDetails.
A constant which can be used with the type property of a CreateMediaAssetDetails.
A constant which can be used with the type property of a CreateMediaAssetDetails.
A constant which can be used with the type property of a CreateMediaAssetDetails.
A constant which can be used with the type property of a CreateMediaAssetDetails.
A constant which can be used with the type property of a CreateMediaAssetDetails.
Gets the bucket_name of this CreateMediaAssetDetails.
[Required] Gets the compartment_id of this CreateMediaAssetDetails.
Gets the defined_tags of this CreateMediaAssetDetails.
Gets the display_name of this CreateMediaAssetDetails.
Gets the freeform_tags of this CreateMediaAssetDetails.
Gets the locks of this CreateMediaAssetDetails.
Gets the master_media_asset_id of this CreateMediaAssetDetails.
Gets the media_asset_tags of this CreateMediaAssetDetails.
Gets the media_workflow_job_id of this CreateMediaAssetDetails.
Gets the metadata of this CreateMediaAssetDetails.
Gets the namespace_name of this CreateMediaAssetDetails.
Gets the object_etag of this CreateMediaAssetDetails.
Gets the object_name of this CreateMediaAssetDetails.
Gets the parent_media_asset_id of this CreateMediaAssetDetails.
Gets the segment_range_end_index of this CreateMediaAssetDetails.
Gets the segment_range_start_index of this CreateMediaAssetDetails.
Gets the source_media_workflow_id of this CreateMediaAssetDetails.
Gets the source_media_workflow_version of this CreateMediaAssetDetails.
[Required] Gets the type of this CreateMediaAssetDetails.
Methods:
__init__(**kwargs)Initializes a new CreateMediaAssetDetails object with values from keyword arguments.
- TYPE_AUDIO = 'AUDIO'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “AUDIO”
- TYPE_CAPTION_FILE = 'CAPTION_FILE'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “CAPTION_FILE”
- TYPE_IMAGE = 'IMAGE'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “IMAGE”
- TYPE_PLAYLIST = 'PLAYLIST'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “PLAYLIST”
- TYPE_UNKNOWN = 'UNKNOWN'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “UNKNOWN”
- TYPE_VIDEO = 'VIDEO'¶
A constant which can be used with the type property of a CreateMediaAssetDetails. This constant has a value of “VIDEO”
- __init__(**kwargs)¶
Initializes a new CreateMediaAssetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source_media_workflow_id (str) – The value to assign to the source_media_workflow_id property of this CreateMediaAssetDetails.
media_workflow_job_id (str) – The value to assign to the media_workflow_job_id property of this CreateMediaAssetDetails.
source_media_workflow_version (int) – The value to assign to the source_media_workflow_version property of this CreateMediaAssetDetails.
display_name (str) – The value to assign to the display_name property of this CreateMediaAssetDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateMediaAssetDetails.
type (str) – The value to assign to the type property of this CreateMediaAssetDetails. 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 CreateMediaAssetDetails.
master_media_asset_id (str) – The value to assign to the master_media_asset_id property of this CreateMediaAssetDetails.
bucket_name (str) – The value to assign to the bucket_name property of this CreateMediaAssetDetails.
namespace_name (str) – The value to assign to the namespace_name property of this CreateMediaAssetDetails.
object_name (str) – The value to assign to the object_name property of this CreateMediaAssetDetails.
object_etag (str) – The value to assign to the object_etag property of this CreateMediaAssetDetails.
metadata (list[oci.media_services.models.Metadata]) – The value to assign to the metadata property of this CreateMediaAssetDetails.
segment_range_start_index (int) – The value to assign to the segment_range_start_index property of this CreateMediaAssetDetails.
segment_range_end_index (int) – The value to assign to the segment_range_end_index property of this CreateMediaAssetDetails.
media_asset_tags (list[oci.media_services.models.MediaAssetTag]) – The value to assign to the media_asset_tags property of this CreateMediaAssetDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMediaAssetDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMediaAssetDetails.
locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this CreateMediaAssetDetails.
- property bucket_name¶
Gets the bucket_name of this CreateMediaAssetDetails. The name of the object storage bucket where this asset is located.
- Returns
The bucket_name of this CreateMediaAssetDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateMediaAssetDetails. Compartment Identifier.
- Returns
The compartment_id of this CreateMediaAssetDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateMediaAssetDetails. 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 CreateMediaAssetDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateMediaAssetDetails. Display name for the Media Asset. Does not have to be unique. Avoid entering confidential information.
- Returns
The display_name of this CreateMediaAssetDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateMediaAssetDetails. 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 CreateMediaAssetDetails.
- Return type
dict(str, str)
- property locks¶
Gets the locks of this CreateMediaAssetDetails. Locks associated with this resource.
- Returns
The locks of this CreateMediaAssetDetails.
- Return type
- property master_media_asset_id¶
Gets the master_media_asset_id of this CreateMediaAssetDetails. The ID of the senior most asset from which this asset is derived.
- Returns
The master_media_asset_id of this CreateMediaAssetDetails.
- Return type
str
- property media_asset_tags¶
Gets the media_asset_tags of this CreateMediaAssetDetails. list of tags for the MediaAsset.
- Returns
The media_asset_tags of this CreateMediaAssetDetails.
- Return type
- property media_workflow_job_id¶
Gets the media_workflow_job_id of this CreateMediaAssetDetails. The ID of the MediaWorkflowJob used to produce this asset.
- Returns
The media_workflow_job_id of this CreateMediaAssetDetails.
- Return type
str
- property metadata¶
Gets the metadata of this CreateMediaAssetDetails. List of Metadata.
- Returns
The metadata of this CreateMediaAssetDetails.
- Return type
- property namespace_name¶
Gets the namespace_name of this CreateMediaAssetDetails. The object storage namespace where this asset is located.
- Returns
The namespace_name of this CreateMediaAssetDetails.
- Return type
str
- property object_etag¶
Gets the object_etag of this CreateMediaAssetDetails. eTag of the underlying object storage object.
- Returns
The object_etag of this CreateMediaAssetDetails.
- Return type
str
- property object_name¶
Gets the object_name of this CreateMediaAssetDetails. The object storage object name that identifies this asset.
- Returns
The object_name of this CreateMediaAssetDetails.
- Return type
str
- property parent_media_asset_id¶
Gets the parent_media_asset_id of this CreateMediaAssetDetails. The ID of the parent asset from which this asset is derived.
- Returns
The parent_media_asset_id of this CreateMediaAssetDetails.
- Return type
str
- property segment_range_end_index¶
Gets the segment_range_end_index of this CreateMediaAssetDetails. The end index for video segment files.
- Returns
The segment_range_end_index of this CreateMediaAssetDetails.
- Return type
int
- property segment_range_start_index¶
Gets the segment_range_start_index of this CreateMediaAssetDetails. The start index for video segment files.
- Returns
The segment_range_start_index of this CreateMediaAssetDetails.
- Return type
int
- property source_media_workflow_id¶
Gets the source_media_workflow_id of this CreateMediaAssetDetails. The ID of the MediaWorkflow used to produce this asset.
- Returns
The source_media_workflow_id of this CreateMediaAssetDetails.
- Return type
str
- property source_media_workflow_version¶
Gets the source_media_workflow_version of this CreateMediaAssetDetails. The version of the MediaWorkflow used to produce this asset.
- Returns
The source_media_workflow_version of this CreateMediaAssetDetails.
- Return type
int
- property type¶
[Required] Gets the type of this CreateMediaAssetDetails. The type of the media asset.
Allowed values for this property are: “AUDIO”, “VIDEO”, “PLAYLIST”, “IMAGE”, “CAPTION_FILE”, “UNKNOWN”
- Returns
The type of this CreateMediaAssetDetails.
- Return type
str