Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashProgramInformationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_packagev2/cfn_origin_endpoint.rb

Overview

Details about the content that you want MediaPackage to pass through in the manifest to the playback device.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(copyright: nil, language_code: nil, more_information_url: nil, source: nil, title: nil) ⇒ DashProgramInformationProperty

Returns a new instance of DashProgramInformationProperty.

Parameters:

  • copyright (String, nil) (defaults to: nil)

    A copyright statement about the content.

  • language_code (String, nil) (defaults to: nil)

    The language code for this manifest.

  • more_information_url (String, nil) (defaults to: nil)

    An absolute URL that contains more information about this content.

  • source (String, nil) (defaults to: nil)

    Information about the content provider.

  • title (String, nil) (defaults to: nil)

    The title for the manifest.



1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1216

def initialize(copyright: nil, language_code: nil, more_information_url: nil, source: nil, title: nil)
  @copyright = copyright
  Jsii::Type.check_type(@copyright, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "copyright") unless @copyright.nil?
  @language_code = language_code
  Jsii::Type.check_type(@language_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "languageCode") unless @language_code.nil?
  @more_information_url = more_information_url
  Jsii::Type.check_type(@more_information_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "moreInformationUrl") unless @more_information_url.nil?
  @source = source
  Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "source") unless @source.nil?
  @title = title
  Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") unless @title.nil?
end

Instance Attribute Details

A copyright statement about the content.



1233
1234
1235
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1233

def copyright
  @copyright
end

#language_codeString? (readonly)

The language code for this manifest.



1238
1239
1240
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1238

def language_code
  @language_code
end

#more_information_urlString? (readonly)

An absolute URL that contains more information about this content.



1243
1244
1245
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1243

def more_information_url
  @more_information_url
end

#sourceString? (readonly)

Information about the content provider.



1248
1249
1250
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1248

def source
  @source
end

#titleString? (readonly)

The title for the manifest.



1253
1254
1255
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1253

def title
  @title
end

Class Method Details

.jsii_propertiesObject



1255
1256
1257
1258
1259
1260
1261
1262
1263
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1255

def self.jsii_properties
  {
    :copyright => "copyright",
    :language_code => "languageCode",
    :more_information_url => "moreInformationUrl",
    :source => "source",
    :title => "title",
  }
end

Instance Method Details

#to_jsiiObject



1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
# File 'media_packagev2/cfn_origin_endpoint.rb', line 1265

def to_jsii
  result = {}
  result.merge!({
    "copyright" => @copyright,
    "languageCode" => @language_code,
    "moreInformationUrl" => @more_information_url,
    "source" => @source,
    "title" => @title,
  })
  result.compact
end