Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 897 Bytes

external-file.md

File metadata and controls

36 lines (26 loc) · 897 Bytes

External File

An external file reference., Page cover image as an external URL.

This model accepts additional fields of type Object.

Structure

ExternalFile

Fields

Name Type Tags Description
type Type5 Required Always "external".
external External1 Required -
additional_properties Hash[String, Object] Optional -

Example

external_file = ExternalFile.new(
  type: Type5::EXTERNAL,
  external: External1.new(
    url: 'url2',
    additional_properties: {
      'exampleAdditionalProperty' => JSON.parse('{"key1":"val1","key2":"val2"}')
    }
  ),
  additional_properties: {
    'exampleAdditionalProperty' => JSON.parse('{"key1":"val1","key2":"val2"}')
  }
)