AssetMetadataEntryDetails¶
- class oci.media_services.models.AssetMetadataEntryDetails(**kwargs)¶
Bases:
IngestStreamDistributionChannelDetailsAsset Metadata entry information.
Attributes:
A constant which can be used with the ingest_payload_type property of a IngestStreamDistributionChannelDetails.
Gets the compartment_id of this AssetMetadataEntryDetails.
[Required] Gets the ingest_payload_type of this IngestStreamDistributionChannelDetails.
[Required] Gets the media_asset_id of this AssetMetadataEntryDetails.
Methods:
__init__(**kwargs)Initializes a new AssetMetadataEntryDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- INGEST_PAYLOAD_TYPE_ASSET_METADATA_MEDIA_ASSET = 'ASSET_METADATA_MEDIA_ASSET'¶
A constant which can be used with the ingest_payload_type property of a IngestStreamDistributionChannelDetails. This constant has a value of “ASSET_METADATA_MEDIA_ASSET”
- __init__(**kwargs)¶
Initializes a new AssetMetadataEntryDetails object with values from keyword arguments. The default value of the
ingest_payload_typeattribute of this class isASSET_METADATA_MEDIA_ASSETand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
ingest_payload_type (str) – The value to assign to the ingest_payload_type property of this AssetMetadataEntryDetails. Allowed values for this property are: “ASSET_METADATA_MEDIA_ASSET”
media_asset_id (str) – The value to assign to the media_asset_id property of this AssetMetadataEntryDetails.
compartment_id (str) – The value to assign to the compartment_id property of this AssetMetadataEntryDetails.
- property compartment_id¶
Gets the compartment_id of this AssetMetadataEntryDetails. The compartment ID where the Ingest Workflow Job will be run.
- Returns
The compartment_id of this AssetMetadataEntryDetails.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property ingest_payload_type¶
[Required] Gets the ingest_payload_type of this IngestStreamDistributionChannelDetails. Ingest Payload Type
Allowed values for this property are: “ASSET_METADATA_MEDIA_ASSET”
- Returns
The ingest_payload_type of this IngestStreamDistributionChannelDetails.
- Return type
str
- property media_asset_id¶
[Required] Gets the media_asset_id of this AssetMetadataEntryDetails. The Media Asset ID to ingest into the Distribution Channel.
- Returns
The media_asset_id of this AssetMetadataEntryDetails.
- Return type
str