Class: FastpixApiSDK::Models::Components::PlaybackIds
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Components::PlaybackIds
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/components/playbackids.rb
Overview
A collection of Playback ID objects utilized for crafting HLS playback urls.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, access_policy: nil) ⇒ PlaybackIds
constructor
A new instance of PlaybackIds.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, access_policy: nil) ⇒ PlaybackIds
Returns a new instance of PlaybackIds.
22 23 24 25 |
# File 'lib/fastpix_api_sdk/models/components/playbackids.rb', line 22 def initialize(id: nil, access_policy: nil) @id = id @access_policy = access_policy end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/fastpix_api_sdk/models/components/playbackids.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @access_policy == other.access_policy true end |