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