fastpixapi 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +56 -48
  3. data/lib/crystalline/types.rb +3 -3
  4. data/lib/crystalline.rb +4 -5
  5. data/lib/fastpix_client/dimensions.rb +54 -61
  6. data/lib/fastpix_client/drm_configurations.rb +49 -56
  7. data/lib/fastpix_client/errors.rb +36 -25
  8. data/lib/fastpix_client/fastpixapi.rb +2 -4
  9. data/lib/fastpix_client/in_video_ai_features.rb +108 -168
  10. data/lib/fastpix_client/input_video.rb +70 -77
  11. data/lib/fastpix_client/live_playback.rb +82 -99
  12. data/lib/fastpix_client/manage_live_stream.rb +149 -264
  13. data/lib/fastpix_client/manage_videos.rb +249 -566
  14. data/lib/fastpix_client/metrics.rb +79 -123
  15. data/lib/fastpix_client/models/components/addtrackrequest.rb +6 -2
  16. data/lib/fastpix_client/models/components/addtrackrequest.rbi +2 -0
  17. data/lib/fastpix_client/models/components/addtrackresponse.rb +6 -2
  18. data/lib/fastpix_client/models/components/addtrackresponse.rbi +2 -0
  19. data/lib/fastpix_client/models/components/audiotrack.rb +6 -2
  20. data/lib/fastpix_client/models/components/audiotrack.rbi +2 -0
  21. data/lib/fastpix_client/models/components/createlivestreamresponsedto.rb +10 -18
  22. data/lib/fastpix_client/models/components/createmediarequest.rb +9 -18
  23. data/lib/fastpix_client/models/components/generatetrackresponse.rb +6 -2
  24. data/lib/fastpix_client/models/components/generatetrackresponse.rbi +2 -0
  25. data/lib/fastpix_client/models/components/getallmediaresponse.rb +20 -38
  26. data/lib/fastpix_client/models/components/getallmediaresponse.rbi +2 -0
  27. data/lib/fastpix_client/models/components/getallmediaresponse_mp4support.rb +32 -12
  28. data/lib/fastpix_client/models/components/getallmediaresponse_mp4support.rbi +11 -1
  29. data/lib/fastpix_client/models/components/getallmediaresponse_sourceresolution.rb +2 -0
  30. data/lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb +9 -20
  31. data/lib/fastpix_client/models/components/{getmediaresponse.rb → getmediadetailresponse.rb} +25 -43
  32. data/lib/fastpix_client/models/components/{getmediaresponse.rbi → getmediadetailresponse.rbi} +4 -2
  33. data/lib/fastpix_client/models/components/{getmediaresponse_maxresolution.rb → getmediadetailresponse_maxresolution.rb} +2 -2
  34. data/lib/fastpix_client/models/components/getmediadetailresponse_maxresolution.rbi +11 -0
  35. data/lib/fastpix_client/models/components/{getmediaresponse_mediaquality.rb → getmediadetailresponse_mediaquality.rb} +2 -2
  36. data/lib/fastpix_client/models/components/getmediadetailresponse_mediaquality.rbi +11 -0
  37. data/lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rb +48 -0
  38. data/lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rbi +21 -0
  39. data/lib/fastpix_client/models/components/{getmediaresponse_sourceresolution.rb → getmediadetailresponse_sourceresolution.rb} +4 -2
  40. data/lib/fastpix_client/models/components/getmediadetailresponse_sourceresolution.rbi +11 -0
  41. data/lib/fastpix_client/models/components/{getmediaresponse_status.rb → getmediadetailresponse_status.rb} +2 -2
  42. data/lib/fastpix_client/models/components/getmediadetailresponse_status.rbi +11 -0
  43. data/lib/fastpix_client/models/components/{getmediaresponse_track.rb → getmediadetailresponse_track.rb} +1 -1
  44. data/lib/fastpix_client/models/components/getmediadetailresponse_track.rbi +11 -0
  45. data/lib/fastpix_client/models/components/live_media_clips.rb +16 -30
  46. data/lib/fastpix_client/models/components/live_media_clips.rbi +2 -0
  47. data/lib/fastpix_client/models/components/live_media_clips_mp4support.rb +32 -12
  48. data/lib/fastpix_client/models/components/live_media_clips_mp4support.rbi +11 -1
  49. data/lib/fastpix_client/models/components/live_media_clips_sourceresolution.rb +2 -0
  50. data/lib/fastpix_client/models/components/media.rb +18 -35
  51. data/lib/fastpix_client/models/components/media.rbi +2 -0
  52. data/lib/fastpix_client/models/components/media_mp4support.rb +32 -12
  53. data/lib/fastpix_client/models/components/media_mp4support.rbi +11 -1
  54. data/lib/fastpix_client/models/components/media_sourceresolution.rb +2 -0
  55. data/lib/fastpix_client/models/components/patchresponsedata.rb +9 -18
  56. data/lib/fastpix_client/models/components/sourceaccessmedia.rb +18 -35
  57. data/lib/fastpix_client/models/components/sourceaccessmedia.rbi +2 -0
  58. data/lib/fastpix_client/models/components/sourceaccessmedia_mp4support.rb +32 -12
  59. data/lib/fastpix_client/models/components/sourceaccessmedia_mp4support.rbi +11 -1
  60. data/lib/fastpix_client/models/components/sourceaccessmedia_sourceresolution.rb +2 -0
  61. data/lib/fastpix_client/models/components/subtitletrack.rb +6 -2
  62. data/lib/fastpix_client/models/components/subtitletrack.rbi +2 -0
  63. data/lib/fastpix_client/models/components/tracksubtitlesgeneraterequest.rb +6 -2
  64. data/lib/fastpix_client/models/components/tracksubtitlesgeneraterequest.rbi +2 -0
  65. data/lib/fastpix_client/models/components/update_media.rb +18 -35
  66. data/lib/fastpix_client/models/components/update_media.rbi +2 -0
  67. data/lib/fastpix_client/models/components/update_media_maxresolution.rb +0 -1
  68. data/lib/fastpix_client/models/components/update_media_mp4support.rb +32 -12
  69. data/lib/fastpix_client/models/components/update_media_mp4support.rbi +11 -1
  70. data/lib/fastpix_client/models/components/updatetrackrequest.rb +7 -7
  71. data/lib/fastpix_client/models/components/updatetrackrequest.rbi +2 -2
  72. data/lib/fastpix_client/models/components/updatetrackresponse.rb +6 -2
  73. data/lib/fastpix_client/models/components/updatetrackresponse.rbi +2 -0
  74. data/lib/fastpix_client/models/components/videotrack.rb +6 -2
  75. data/lib/fastpix_client/models/components/videotrack.rbi +2 -0
  76. data/lib/fastpix_client/models/components/videotrackforgetall.rb +6 -2
  77. data/lib/fastpix_client/models/components/videotrackforgetall.rbi +2 -0
  78. data/lib/fastpix_client/models/components/views.rb +51 -124
  79. data/lib/fastpix_client/models/components.rb +7 -7
  80. data/lib/fastpix_client/models/errors/empty_response_error.rb +15 -0
  81. data/lib/fastpix_client/models/errors.rb +1 -0
  82. data/lib/fastpix_client/models/operations/get_media_response.rb +1 -1
  83. data/lib/fastpix_client/models/operations/get_media_responsebody.rb +2 -2
  84. data/lib/fastpix_client/models/operations/push_media_settings.rb +9 -20
  85. data/lib/fastpix_client/playback.rb +122 -213
  86. data/lib/fastpix_client/playlist.rb +152 -297
  87. data/lib/fastpix_client/sdk_hooks/registration.rb +2 -2
  88. data/lib/fastpix_client/sdk_hooks/types.rb +4 -0
  89. data/lib/fastpix_client/sdkconfiguration.rb +3 -3
  90. data/lib/fastpix_client/signing_keys.rb +76 -120
  91. data/lib/fastpix_client/simulcast_stream.rb +100 -144
  92. data/lib/fastpix_client/start_live_stream.rb +55 -37
  93. data/lib/fastpix_client/utils/forms.rb +97 -101
  94. data/lib/fastpix_client/utils/headers.rb +44 -34
  95. data/lib/fastpix_client/utils/query_params.rb +39 -29
  96. data/lib/fastpix_client/utils/request_bodies.rb +4 -8
  97. data/lib/fastpix_client/utils/security.rb +30 -18
  98. data/lib/fastpix_client/utils/url.rb +83 -60
  99. data/lib/fastpix_client/utils/utils.rb +19 -37
  100. data/lib/fastpix_client/views.rb +69 -93
  101. data/lib/fastpixapi.rb +10 -10
  102. data/lib/openssl_patch.rb +24 -24
  103. metadata +17 -18
  104. data/lib/fastpix_client/models/components/getmediaresponse_maxresolution.rbi +0 -11
  105. data/lib/fastpix_client/models/components/getmediaresponse_mediaquality.rbi +0 -11
  106. data/lib/fastpix_client/models/components/getmediaresponse_mp4support.rb +0 -28
  107. data/lib/fastpix_client/models/components/getmediaresponse_mp4support.rbi +0 -11
  108. data/lib/fastpix_client/models/components/getmediaresponse_sourceresolution.rbi +0 -11
  109. data/lib/fastpix_client/models/components/getmediaresponse_status.rbi +0 -11
  110. data/lib/fastpix_client/models/components/getmediaresponse_track.rbi +0 -11
  111. data/test/sdk_examples_test.rb +0 -20
  112. data/test/test_helper.rb +0 -29
@@ -26,13 +26,8 @@ module FastpixClient
26
26
  field :creator_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('creatorId') } }
27
27
  # Determines the media's status, which can be one of the possible values.
28
28
  field :status, Crystalline::Nilable.new(Models::Components::GetAllMediaResponseStatus), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::GetAllMediaResponseStatus, true) } }
29
- # Determines the type of MP4 support for the media.
30
- # - **none**: Disables MP4 support.
31
- # - **capped_4k**: Enables MP4 downloads with resolutions up to 4K.
32
- # - **audioOnly**: Provides an MP4 stream containing only the audio.
33
- # - **audioOnly,capped_4k**: Enables both MP4 video downloads (up to 4K) and an audio-only stream.
34
- #
35
- field :mp4_support, Crystalline::Nilable.new(Models::Components::GetAllMediaResponseMp4Support), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mp4Support'), 'decoder': Utils.enum_from_string(Models::Components::GetAllMediaResponseMp4Support, true) } }
29
+ # The MP4 renditions generated for the media. Present only when MP4 support is enabled.
30
+ field :mp4_support, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::GetAllMediaResponseMp4Support)), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mp4Support') } }
36
31
  # A collection of Playback ID objects utilized for crafting HLS playback URLs.
37
32
  field :playback_ids, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::PlaybackId)), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('playbackIds') } }
38
33
  # A media consists of different media tracks, like video, audio, and subtitle, all combined.
@@ -72,11 +67,13 @@ module FastpixClient
72
67
  field :is_audio_only, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('isAudioOnly') } }
73
68
  # Indicates whether subtitles are available for the media.
74
69
  field :subtitle_available, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('subtitleAvailable') } }
70
+ # Enhance the quality and volume of the audio track. This is available for pre-recorded content only.
71
+ field :optimize_audio, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('optimizeAudio') } }
75
72
  # The aspect ratio of a video is a value that describes the relative shape of a video based on its width and height.
76
73
  field :aspect_ratio, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('aspectRatio') } }
77
74
 
78
- sig { params(id: T.nilable(::String), source_media_id: T.nilable(::String), workspace_id: T.nilable(::String), stream_id: T.nilable(::String), media_quality: T.nilable(Models::Components::GetAllMediaResponseMediaQuality), creator_id: T.nilable(::String), status: T.nilable(Models::Components::GetAllMediaResponseStatus), mp4_support: T.nilable(Models::Components::GetAllMediaResponseMp4Support), playback_ids: T.nilable(T::Array[Models::Components::PlaybackId]), tracks: T.nilable(T::Array[T.any(Models::Components::VideoTrackForGetAll, Models::Components::AudioTrack, Models::Components::SubtitleTrack)]), summary: T.nilable(Models::Components::AiSummaryRecord), chapters: T.nilable(Models::Components::AiResponseRecord), named_entities: T.nilable(Models::Components::AiResponseRecord), moderation: T.nilable(Models::Components::AiResponseRecord), duration: T.nilable(::String), frame_rate: T.nilable(::String), created_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), thumbnail: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), title: T.nilable(::String), max_resolution: T.nilable(Models::Components::GetAllMediaResponseMaxResolution), source_resolution: T.nilable(Models::Components::GetAllMediaResponseSourceResolution), source_access: T.nilable(T::Boolean), generated_subtitles: T.nilable(T::Array[Models::Components::TracksSubtitles]), is_audio_only: T.nilable(T::Boolean), subtitle_available: T.nilable(T::Boolean), aspect_ratio: T.nilable(::String)).void }
79
- def initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetAllMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetAllMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil)
75
+ sig { params(id: T.nilable(::String), source_media_id: T.nilable(::String), workspace_id: T.nilable(::String), stream_id: T.nilable(::String), media_quality: T.nilable(Models::Components::GetAllMediaResponseMediaQuality), creator_id: T.nilable(::String), status: T.nilable(Models::Components::GetAllMediaResponseStatus), mp4_support: T.nilable(T::Array[Models::Components::GetAllMediaResponseMp4Support]), playback_ids: T.nilable(T::Array[Models::Components::PlaybackId]), tracks: T.nilable(T::Array[T.any(Models::Components::VideoTrackForGetAll, Models::Components::AudioTrack, Models::Components::SubtitleTrack)]), summary: T.nilable(Models::Components::AiSummaryRecord), chapters: T.nilable(Models::Components::AiResponseRecord), named_entities: T.nilable(Models::Components::AiResponseRecord), moderation: T.nilable(Models::Components::AiResponseRecord), duration: T.nilable(::String), frame_rate: T.nilable(::String), created_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), thumbnail: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), title: T.nilable(::String), max_resolution: T.nilable(Models::Components::GetAllMediaResponseMaxResolution), source_resolution: T.nilable(Models::Components::GetAllMediaResponseSourceResolution), source_access: T.nilable(T::Boolean), generated_subtitles: T.nilable(T::Array[Models::Components::TracksSubtitles]), is_audio_only: T.nilable(T::Boolean), subtitle_available: T.nilable(T::Boolean), optimize_audio: T.nilable(T::Boolean), aspect_ratio: T.nilable(::String)).void }
76
+ def initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetAllMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetAllMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, optimize_audio: nil, aspect_ratio: nil)
80
77
  @id = id
81
78
  @source_media_id = source_media_id
82
79
  @workspace_id = workspace_id
@@ -104,41 +101,26 @@ module FastpixClient
104
101
  @generated_subtitles = generated_subtitles
105
102
  @is_audio_only = is_audio_only
106
103
  @subtitle_available = subtitle_available
104
+ @optimize_audio = optimize_audio
107
105
  @aspect_ratio = aspect_ratio
108
106
  end
109
107
 
110
108
  sig { params(other: T.untyped).returns(T::Boolean) }
111
109
  def ==(other)
112
110
  return false unless other.is_a? self.class
113
- return false unless @id == other.id
114
- return false unless @source_media_id == other.source_media_id
115
- return false unless @workspace_id == other.workspace_id
116
- return false unless @stream_id == other.stream_id
117
- return false unless @media_quality == other.media_quality
118
- return false unless @creator_id == other.creator_id
119
- return false unless @status == other.status
120
- return false unless @mp4_support == other.mp4_support
121
- return false unless @playback_ids == other.playback_ids
122
- return false unless @tracks == other.tracks
123
- return false unless @summary == other.summary
124
- return false unless @chapters == other.chapters
125
- return false unless @named_entities == other.named_entities
126
- return false unless @moderation == other.moderation
127
- return false unless @duration == other.duration
128
- return false unless @frame_rate == other.frame_rate
129
- return false unless @created_at == other.created_at
130
- return false unless @updated_at == other.updated_at
131
- return false unless @thumbnail == other.thumbnail
132
- return false unless @metadata == other.metadata
133
- return false unless @title == other.title
134
- return false unless @max_resolution == other.max_resolution
135
- return false unless @source_resolution == other.source_resolution
136
- return false unless @source_access == other.source_access
137
- return false unless @generated_subtitles == other.generated_subtitles
138
- return false unless @is_audio_only == other.is_audio_only
139
- return false unless @subtitle_available == other.subtitle_available
140
- return false unless @aspect_ratio == other.aspect_ratio
141
- true
111
+
112
+ [@id, @source_media_id, @workspace_id, @stream_id, @media_quality,
113
+ @creator_id, @status, @mp4_support, @playback_ids, @tracks,
114
+ @summary, @chapters, @named_entities, @moderation, @duration,
115
+ @frame_rate, @created_at, @updated_at, @thumbnail, @metadata,
116
+ @title, @max_resolution, @source_resolution, @source_access, @generated_subtitles,
117
+ @is_audio_only, @subtitle_available, @optimize_audio, @aspect_ratio] ==
118
+ [other.id, other.source_media_id, other.workspace_id, other.stream_id, other.media_quality,
119
+ other.creator_id, other.status, other.mp4_support, other.playback_ids, other.tracks,
120
+ other.summary, other.chapters, other.named_entities, other.moderation, other.duration,
121
+ other.frame_rate, other.created_at, other.updated_at, other.thumbnail, other.metadata,
122
+ other.title, other.max_resolution, other.source_resolution, other.source_access, other.generated_subtitles,
123
+ other.is_audio_only, other.subtitle_available, other.optimize_audio, other.aspect_ratio]
142
124
  end
143
125
  end
144
126
  end
@@ -62,6 +62,8 @@ class FastpixClient::Models::Components::GetAllMediaResponse
62
62
  def is_audio_only=(str_); end
63
63
  def subtitle_available(); end
64
64
  def subtitle_available=(str_); end
65
+ def optimize_audio(); end
66
+ def optimize_audio=(str_); end
65
67
  def aspect_ratio(); end
66
68
  def aspect_ratio=(str_); end
67
69
  end
@@ -7,20 +7,40 @@
7
7
  module FastpixClient
8
8
  module Models
9
9
  module Components
10
- # GetAllMediaResponseMp4Support - Determines the type of MP4 support for the media.
11
- # - **none**: Disables MP4 support.
12
- # - **capped_4k**: Enables MP4 downloads with resolutions up to 4K.
13
- # - **audioOnly**: Provides an MP4 stream containing only the audio.
14
- # - **audioOnly,capped_4k**: Enables both MP4 video downloads (up to 4K) and an audio-only stream.
15
- #
16
- class GetAllMediaResponseMp4Support < T::Enum
10
+ # GetAllMediaResponseMp4Support - One MP4 rendition generated for the media when MP4 support is requested.
11
+ class GetAllMediaResponseMp4Support
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
17
14
 
15
+ # The MP4 rendition type. `capped_4k` is a downloadable MP4 video capped at 4K resolution, `audioOnly` is a downloadable m4a audio-only file.
16
+ field :type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('type') } }
17
+ # Generation status of this MP4 rendition. One of `preparing`, `ready`, or `failed`.
18
+ field :status, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('status') } }
19
+ # Pixel height of the rendition. Omitted for the `audioOnly` type.
20
+ field :height, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('height') } }
21
+ # Pixel width of the rendition. Omitted for the `audioOnly` type.
22
+ field :width, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('width') } }
23
+ # File extension of the downloadable rendition. One of `mp4` or `m4a`.
24
+ field :ext, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('ext') } }
18
25
 
19
- enums do
20
- NONE = new('none')
21
- CAPPED_4K = new('capped_4k')
22
- AUDIO_ONLY = new('audioOnly')
23
- AUDIO_ONLY_CAPPED_4K = new('audioOnly,capped_4k')
26
+ sig { params(type: T.nilable(::String), status: T.nilable(::String), height: T.nilable(::Integer), width: T.nilable(::Integer), ext: T.nilable(::String)).void }
27
+ def initialize(type: nil, status: nil, height: nil, width: nil, ext: nil)
28
+ @type = type
29
+ @status = status
30
+ @height = height
31
+ @width = width
32
+ @ext = ext
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @type == other.type
39
+ return false unless @status == other.status
40
+ return false unless @height == other.height
41
+ return false unless @width == other.width
42
+ return false unless @ext == other.ext
43
+ true
24
44
  end
25
45
  end
26
46
  end
@@ -8,4 +8,14 @@ end
8
8
 
9
9
 
10
10
  class FastpixClient::Models::Components::GetAllMediaResponseMp4Support
11
- end
11
+ def type(); end
12
+ def type=(str_); end
13
+ def status(); end
14
+ def status=(str_); end
15
+ def height(); end
16
+ def height=(str_); end
17
+ def width(); end
18
+ def width=(str_); end
19
+ def ext(); end
20
+ def ext=(str_); end
21
+ end
@@ -22,6 +22,8 @@ module FastpixClient
22
22
  SEVEN_HUNDRED_AND_TWENTY = new('720')
23
23
  FOUR_HUNDRED_AND_EIGHTYP = new('480p')
24
24
  FOUR_HUNDRED_AND_EIGHTY = new('480')
25
+ THREE_HUNDRED_AND_SIXTYP = new('360p')
26
+ THREE_HUNDRED_AND_SIXTY = new('360')
25
27
  end
26
28
  end
27
29
  end
@@ -77,26 +77,15 @@ module FastpixClient
77
77
  sig { params(other: T.untyped).returns(T::Boolean) }
78
78
  def ==(other)
79
79
  return false unless other.is_a? self.class
80
- return false unless @stream_id == other.stream_id
81
- return false unless @stream_key == other.stream_key
82
- return false unless @srt_secret == other.srt_secret
83
- return false unless @trial == other.trial
84
- return false unless @status == other.status
85
- return false unless @max_resolution == other.max_resolution
86
- return false unless @max_duration == other.max_duration
87
- return false unless @created_at == other.created_at
88
- return false unless @enable_recording == other.enable_recording
89
- return false unless @enable_dvr_mode == other.enable_dvr_mode
90
- return false unless @media_policy == other.media_policy
91
- return false unless @metadata == other.metadata
92
- return false unless @low_latency == other.low_latency
93
- return false unless @closed_captions == other.closed_captions
94
- return false unless @playback_ids == other.playback_ids
95
- return false unless @simulcast_responses == other.simulcast_responses
96
- return false unless @media_ids == other.media_ids
97
- return false unless @srt_playback_response == other.srt_playback_response
98
- return false unless @reconnect_window == other.reconnect_window
99
- true
80
+
81
+ [@stream_id, @stream_key, @srt_secret, @trial, @status,
82
+ @max_resolution, @max_duration, @created_at, @enable_recording, @enable_dvr_mode,
83
+ @media_policy, @metadata, @low_latency, @closed_captions, @playback_ids,
84
+ @simulcast_responses, @media_ids, @srt_playback_response, @reconnect_window] ==
85
+ [other.stream_id, other.stream_key, other.srt_secret, other.trial, other.status,
86
+ other.max_resolution, other.max_duration, other.created_at, other.enable_recording, other.enable_dvr_mode,
87
+ other.media_policy, other.metadata, other.low_latency, other.closed_captions, other.playback_ids,
88
+ other.simulcast_responses, other.media_ids, other.srt_playback_response, other.reconnect_window]
100
89
  end
101
90
  end
102
91
  end
@@ -8,7 +8,7 @@ module FastpixClient
8
8
  module Models
9
9
  module Components
10
10
 
11
- class GetMediaResponse
11
+ class GetMediaDetailResponse
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
@@ -21,18 +21,13 @@ module FastpixClient
21
21
  # The ID of the livestream for which the clips were created.
22
22
  field :stream_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('streamId') } }
23
23
  # The quality tier applied to the media.
24
- field :media_quality, Crystalline::Nilable.new(Models::Components::GetMediaResponseMediaQuality), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mediaQuality'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaResponseMediaQuality, true) } }
24
+ field :media_quality, Crystalline::Nilable.new(Models::Components::GetMediaDetailResponseMediaQuality), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mediaQuality'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaDetailResponseMediaQuality, true) } }
25
25
  # The unique identifier of the user who created this media.
26
26
  field :creator_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('creatorId') } }
27
27
  # Determines the media's status, which can be one of the possible values.
28
- field :status, Crystalline::Nilable.new(Models::Components::GetMediaResponseStatus), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaResponseStatus, true) } }
29
- # Determines the type of MP4 support for the media.
30
- # - **none**: Disables MP4 support.
31
- # - **capped_4k**: Enables MP4 downloads with resolutions up to 4K.
32
- # - **audioOnly**: Provides an MP4 stream containing only the audio.
33
- # - **audioOnly,capped_4k**: Enables both MP4 video downloads (up to 4K) and an audio-only stream.
34
- #
35
- field :mp4_support, Crystalline::Nilable.new(Models::Components::GetMediaResponseMp4Support), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mp4Support'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaResponseMp4Support, true) } }
28
+ field :status, Crystalline::Nilable.new(Models::Components::GetMediaDetailResponseStatus), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaDetailResponseStatus, true) } }
29
+ # The MP4 renditions generated for the media. Present only when MP4 support is enabled.
30
+ field :mp4_support, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::GetMediaDetailResponseMp4Support)), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('mp4Support') } }
36
31
  # A collection of Playback ID objects utilized for crafting HLS playback URLs.
37
32
  field :playback_ids, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::PlaybackId)), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('playbackIds') } }
38
33
  # A media consists of different media tracks, like video, audio, and subtitle, all combined.
@@ -61,9 +56,9 @@ module FastpixClient
61
56
  # Title of the media file.
62
57
  field :title, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('title') } }
63
58
  # The maximum resolution specified by the user for the media.
64
- field :max_resolution, Crystalline::Nilable.new(Models::Components::GetMediaResponseMaxResolution), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('maxResolution'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaResponseMaxResolution, true) } }
59
+ field :max_resolution, Crystalline::Nilable.new(Models::Components::GetMediaDetailResponseMaxResolution), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('maxResolution'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaDetailResponseMaxResolution, true) } }
65
60
  # The actual resolution of the uploaded media. This represents the native quality of the source media.
66
- field :source_resolution, Crystalline::Nilable.new(Models::Components::GetMediaResponseSourceResolution), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('sourceResolution'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaResponseSourceResolution, true) } }
61
+ field :source_resolution, Crystalline::Nilable.new(Models::Components::GetMediaDetailResponseSourceResolution), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('sourceResolution'), 'decoder': Utils.enum_from_string(Models::Components::GetMediaDetailResponseSourceResolution, true) } }
67
62
  # The sourceAccess parameter determines whether the original media file is accessible. Set to true to enable access or false to restrict it.
68
63
  field :source_access, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('sourceAccess') } }
69
64
  # List of generated subtitle tracks associated with the media.
@@ -72,11 +67,13 @@ module FastpixClient
72
67
  field :is_audio_only, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('isAudioOnly') } }
73
68
  # Indicates whether subtitles are available for the media.
74
69
  field :subtitle_available, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('subtitleAvailable') } }
70
+ # Enhance the quality and volume of the audio track. This is available for pre-recorded content only.
71
+ field :optimize_audio, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('optimizeAudio') } }
75
72
  # The aspect ratio of a video is a value that describes the relative shape of a video based on its width and height.
76
73
  field :aspect_ratio, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('aspectRatio') } }
77
74
 
78
- sig { params(id: T.nilable(::String), source_media_id: T.nilable(::String), workspace_id: T.nilable(::String), stream_id: T.nilable(::String), media_quality: T.nilable(Models::Components::GetMediaResponseMediaQuality), creator_id: T.nilable(::String), status: T.nilable(Models::Components::GetMediaResponseStatus), mp4_support: T.nilable(Models::Components::GetMediaResponseMp4Support), playback_ids: T.nilable(T::Array[Models::Components::PlaybackId]), tracks: T.nilable(T::Array[T.any(Models::Components::VideoTrack, Models::Components::AudioTrack, Models::Components::SubtitleTrack)]), summary: T.nilable(Models::Components::AiSummaryRecord), chapters: T.nilable(Models::Components::AiResponseRecord), named_entities: T.nilable(Models::Components::AiResponseRecord), moderation: T.nilable(Models::Components::AiResponseRecord), duration: T.nilable(::String), frame_rate: T.nilable(::String), created_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), thumbnail: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), title: T.nilable(::String), max_resolution: T.nilable(Models::Components::GetMediaResponseMaxResolution), source_resolution: T.nilable(Models::Components::GetMediaResponseSourceResolution), source_access: T.nilable(T::Boolean), generated_subtitles: T.nilable(T::Array[Models::Components::TracksSubtitles]), is_audio_only: T.nilable(T::Boolean), subtitle_available: T.nilable(T::Boolean), aspect_ratio: T.nilable(::String)).void }
79
- def initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetMediaResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetMediaResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, aspect_ratio: nil)
75
+ sig { params(id: T.nilable(::String), source_media_id: T.nilable(::String), workspace_id: T.nilable(::String), stream_id: T.nilable(::String), media_quality: T.nilable(Models::Components::GetMediaDetailResponseMediaQuality), creator_id: T.nilable(::String), status: T.nilable(Models::Components::GetMediaDetailResponseStatus), mp4_support: T.nilable(T::Array[Models::Components::GetMediaDetailResponseMp4Support]), playback_ids: T.nilable(T::Array[Models::Components::PlaybackId]), tracks: T.nilable(T::Array[T.any(Models::Components::VideoTrack, Models::Components::AudioTrack, Models::Components::SubtitleTrack)]), summary: T.nilable(Models::Components::AiSummaryRecord), chapters: T.nilable(Models::Components::AiResponseRecord), named_entities: T.nilable(Models::Components::AiResponseRecord), moderation: T.nilable(Models::Components::AiResponseRecord), duration: T.nilable(::String), frame_rate: T.nilable(::String), created_at: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), thumbnail: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), title: T.nilable(::String), max_resolution: T.nilable(Models::Components::GetMediaDetailResponseMaxResolution), source_resolution: T.nilable(Models::Components::GetMediaDetailResponseSourceResolution), source_access: T.nilable(T::Boolean), generated_subtitles: T.nilable(T::Array[Models::Components::TracksSubtitles]), is_audio_only: T.nilable(T::Boolean), subtitle_available: T.nilable(T::Boolean), optimize_audio: T.nilable(T::Boolean), aspect_ratio: T.nilable(::String)).void }
76
+ def initialize(id: nil, source_media_id: nil, workspace_id: nil, stream_id: nil, media_quality: nil, creator_id: nil, status: nil, mp4_support: nil, playback_ids: nil, tracks: nil, summary: nil, chapters: nil, named_entities: nil, moderation: nil, duration: nil, frame_rate: nil, created_at: nil, updated_at: nil, thumbnail: nil, metadata: nil, title: nil, max_resolution: Models::Components::GetMediaDetailResponseMaxResolution::ONE_THOUSAND_AND_EIGHTYP, source_resolution: Models::Components::GetMediaDetailResponseSourceResolution::ONE_THOUSAND_AND_EIGHTYP, source_access: nil, generated_subtitles: nil, is_audio_only: nil, subtitle_available: nil, optimize_audio: nil, aspect_ratio: nil)
80
77
  @id = id
81
78
  @source_media_id = source_media_id
82
79
  @workspace_id = workspace_id
@@ -104,41 +101,26 @@ module FastpixClient
104
101
  @generated_subtitles = generated_subtitles
105
102
  @is_audio_only = is_audio_only
106
103
  @subtitle_available = subtitle_available
104
+ @optimize_audio = optimize_audio
107
105
  @aspect_ratio = aspect_ratio
108
106
  end
109
107
 
110
108
  sig { params(other: T.untyped).returns(T::Boolean) }
111
109
  def ==(other)
112
110
  return false unless other.is_a? self.class
113
- return false unless @id == other.id
114
- return false unless @source_media_id == other.source_media_id
115
- return false unless @workspace_id == other.workspace_id
116
- return false unless @stream_id == other.stream_id
117
- return false unless @media_quality == other.media_quality
118
- return false unless @creator_id == other.creator_id
119
- return false unless @status == other.status
120
- return false unless @mp4_support == other.mp4_support
121
- return false unless @playback_ids == other.playback_ids
122
- return false unless @tracks == other.tracks
123
- return false unless @summary == other.summary
124
- return false unless @chapters == other.chapters
125
- return false unless @named_entities == other.named_entities
126
- return false unless @moderation == other.moderation
127
- return false unless @duration == other.duration
128
- return false unless @frame_rate == other.frame_rate
129
- return false unless @created_at == other.created_at
130
- return false unless @updated_at == other.updated_at
131
- return false unless @thumbnail == other.thumbnail
132
- return false unless @metadata == other.metadata
133
- return false unless @title == other.title
134
- return false unless @max_resolution == other.max_resolution
135
- return false unless @source_resolution == other.source_resolution
136
- return false unless @source_access == other.source_access
137
- return false unless @generated_subtitles == other.generated_subtitles
138
- return false unless @is_audio_only == other.is_audio_only
139
- return false unless @subtitle_available == other.subtitle_available
140
- return false unless @aspect_ratio == other.aspect_ratio
141
- true
111
+
112
+ [@id, @source_media_id, @workspace_id, @stream_id, @media_quality,
113
+ @creator_id, @status, @mp4_support, @playback_ids, @tracks,
114
+ @summary, @chapters, @named_entities, @moderation, @duration,
115
+ @frame_rate, @created_at, @updated_at, @thumbnail, @metadata,
116
+ @title, @max_resolution, @source_resolution, @source_access, @generated_subtitles,
117
+ @is_audio_only, @subtitle_available, @optimize_audio, @aspect_ratio] ==
118
+ [other.id, other.source_media_id, other.workspace_id, other.stream_id, other.media_quality,
119
+ other.creator_id, other.status, other.mp4_support, other.playback_ids, other.tracks,
120
+ other.summary, other.chapters, other.named_entities, other.moderation, other.duration,
121
+ other.frame_rate, other.created_at, other.updated_at, other.thumbnail, other.metadata,
122
+ other.title, other.max_resolution, other.source_resolution, other.source_access, other.generated_subtitles,
123
+ other.is_audio_only, other.subtitle_available, other.optimize_audio, other.aspect_ratio]
142
124
  end
143
125
  end
144
126
  end
@@ -2,12 +2,12 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
 
5
- class FastpixClient::Models::Components::GetMediaResponse
5
+ class FastpixClient::Models::Components::GetMediaDetailResponse
6
6
  extend ::Crystalline::MetadataFields::ClassMethods
7
7
  end
8
8
 
9
9
 
10
- class FastpixClient::Models::Components::GetMediaResponse
10
+ class FastpixClient::Models::Components::GetMediaDetailResponse
11
11
  def id(); end
12
12
  def id=(str_); end
13
13
  def source_media_id(); end
@@ -62,6 +62,8 @@ class FastpixClient::Models::Components::GetMediaResponse
62
62
  def is_audio_only=(str_); end
63
63
  def subtitle_available(); end
64
64
  def subtitle_available=(str_); end
65
+ def optimize_audio(); end
66
+ def optimize_audio=(str_); end
65
67
  def aspect_ratio(); end
66
68
  def aspect_ratio=(str_); end
67
69
  end
@@ -7,8 +7,8 @@
7
7
  module FastpixClient
8
8
  module Models
9
9
  module Components
10
- # GetMediaResponseMaxResolution - The maximum resolution specified by the user for the media.
11
- class GetMediaResponseMaxResolution < T::Enum
10
+ # GetMediaDetailResponseMaxResolution - The maximum resolution specified by the user for the media.
11
+ class GetMediaDetailResponseMaxResolution < T::Enum
12
12
 
13
13
 
14
14
  enums do
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseMaxResolution
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseMaxResolution
11
+ end
@@ -7,8 +7,8 @@
7
7
  module FastpixClient
8
8
  module Models
9
9
  module Components
10
- # GetMediaResponseMediaQuality - The quality tier applied to the media.
11
- class GetMediaResponseMediaQuality < T::Enum
10
+ # GetMediaDetailResponseMediaQuality - The quality tier applied to the media.
11
+ class GetMediaDetailResponseMediaQuality < T::Enum
12
12
 
13
13
 
14
14
  enums do
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseMediaQuality
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseMediaQuality
11
+ end
@@ -0,0 +1,48 @@
1
+ # Generated code for FastPix API SDK.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module FastpixClient
8
+ module Models
9
+ module Components
10
+ # GetMediaDetailResponseMp4Support - One MP4 rendition generated for the media when MP4 support is requested.
11
+ class GetMediaDetailResponseMp4Support
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The MP4 rendition type. `capped_4k` is a downloadable MP4 video capped at 4K resolution, `audioOnly` is a downloadable m4a audio-only file.
16
+ field :type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('type') } }
17
+ # Generation status of this MP4 rendition. One of `preparing`, `ready`, or `failed`.
18
+ field :status, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('status') } }
19
+ # Pixel height of the rendition. Omitted for the `audioOnly` type.
20
+ field :height, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('height') } }
21
+ # Pixel width of the rendition. Omitted for the `audioOnly` type.
22
+ field :width, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('width') } }
23
+ # File extension of the downloadable rendition. One of `mp4` or `m4a`.
24
+ field :ext, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::FastpixClient::Utils.field_name('ext') } }
25
+
26
+ sig { params(type: T.nilable(::String), status: T.nilable(::String), height: T.nilable(::Integer), width: T.nilable(::Integer), ext: T.nilable(::String)).void }
27
+ def initialize(type: nil, status: nil, height: nil, width: nil, ext: nil)
28
+ @type = type
29
+ @status = status
30
+ @height = height
31
+ @width = width
32
+ @ext = ext
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @type == other.type
39
+ return false unless @status == other.status
40
+ return false unless @height == other.height
41
+ return false unless @width == other.width
42
+ return false unless @ext == other.ext
43
+ true
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseMp4Support
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseMp4Support
11
+ def type(); end
12
+ def type=(str_); end
13
+ def status(); end
14
+ def status=(str_); end
15
+ def height(); end
16
+ def height=(str_); end
17
+ def width(); end
18
+ def width=(str_); end
19
+ def ext(); end
20
+ def ext=(str_); end
21
+ end
@@ -7,8 +7,8 @@
7
7
  module FastpixClient
8
8
  module Models
9
9
  module Components
10
- # GetMediaResponseSourceResolution - The actual resolution of the uploaded media. This represents the native quality of the source media.
11
- class GetMediaResponseSourceResolution < T::Enum
10
+ # GetMediaDetailResponseSourceResolution - The actual resolution of the uploaded media. This represents the native quality of the source media.
11
+ class GetMediaDetailResponseSourceResolution < T::Enum
12
12
 
13
13
 
14
14
  enums do
@@ -22,6 +22,8 @@ module FastpixClient
22
22
  SEVEN_HUNDRED_AND_TWENTY = new('720')
23
23
  FOUR_HUNDRED_AND_EIGHTYP = new('480p')
24
24
  FOUR_HUNDRED_AND_EIGHTY = new('480')
25
+ THREE_HUNDRED_AND_SIXTYP = new('360p')
26
+ THREE_HUNDRED_AND_SIXTY = new('360')
25
27
  end
26
28
  end
27
29
  end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseSourceResolution
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseSourceResolution
11
+ end
@@ -7,8 +7,8 @@
7
7
  module FastpixClient
8
8
  module Models
9
9
  module Components
10
- # GetMediaResponseStatus - Determines the media's status, which can be one of the possible values.
11
- class GetMediaResponseStatus < T::Enum
10
+ # GetMediaDetailResponseStatus - Determines the media's status, which can be one of the possible values.
11
+ class GetMediaDetailResponseStatus < T::Enum
12
12
 
13
13
 
14
14
  enums do
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseStatus
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseStatus
11
+ end
@@ -8,7 +8,7 @@ module FastpixClient
8
8
  module Models
9
9
  module Components
10
10
 
11
- class GetMediaResponseTrack
11
+ class GetMediaDetailResponseTrack
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class FastpixClient::Models::Components::GetMediaDetailResponseTrack
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class FastpixClient::Models::Components::GetMediaDetailResponseTrack
11
+ end