CreateMediaAssetDetails

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

Bases: object

The information about new MediaAsset.

Attributes

TYPE_AUDIO A constant which can be used with the type property of a CreateMediaAssetDetails.
TYPE_CAPTION_FILE A constant which can be used with the type property of a CreateMediaAssetDetails.
TYPE_IMAGE A constant which can be used with the type property of a CreateMediaAssetDetails.
TYPE_PLAYLIST A constant which can be used with the type property of a CreateMediaAssetDetails.
TYPE_UNKNOWN A constant which can be used with the type property of a CreateMediaAssetDetails.
TYPE_VIDEO A constant which can be used with the type property of a CreateMediaAssetDetails.
bucket_name Gets the bucket_name of this CreateMediaAssetDetails.
compartment_id [Required] Gets the compartment_id of this CreateMediaAssetDetails.
defined_tags Gets the defined_tags of this CreateMediaAssetDetails.
display_name Gets the display_name of this CreateMediaAssetDetails.
freeform_tags Gets the freeform_tags of this CreateMediaAssetDetails.
locks Gets the locks of this CreateMediaAssetDetails.
master_media_asset_id Gets the master_media_asset_id of this CreateMediaAssetDetails.
media_asset_tags Gets the media_asset_tags of this CreateMediaAssetDetails.
media_workflow_job_id Gets the media_workflow_job_id of this CreateMediaAssetDetails.
metadata Gets the metadata of this CreateMediaAssetDetails.
namespace_name Gets the namespace_name of this CreateMediaAssetDetails.
object_etag Gets the object_etag of this CreateMediaAssetDetails.
object_name Gets the object_name of this CreateMediaAssetDetails.
parent_media_asset_id Gets the parent_media_asset_id of this CreateMediaAssetDetails.
segment_range_end_index Gets the segment_range_end_index of this CreateMediaAssetDetails.
segment_range_start_index Gets the segment_range_start_index of this CreateMediaAssetDetails.
source_media_workflow_id Gets the source_media_workflow_id of this CreateMediaAssetDetails.
source_media_workflow_version Gets the source_media_workflow_version of this CreateMediaAssetDetails.
type [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.
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
compartment_id

[Required] Gets the compartment_id of this CreateMediaAssetDetails. Compartment Identifier.

Returns:The compartment_id of this CreateMediaAssetDetails.
Return type:str
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))
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
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)
locks

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

Returns:The locks of this CreateMediaAssetDetails.
Return type:list[oci.media_services.models.ResourceLock]
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
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:list[oci.media_services.models.MediaAssetTag]
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
metadata

Gets the metadata of this CreateMediaAssetDetails. List of Metadata.

Returns:The metadata of this CreateMediaAssetDetails.
Return type:list[oci.media_services.models.Metadata]
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
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
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
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
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
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
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
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
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