Class: FastpixClient::Models::Components::CreatePlaylistRequestManual
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::CreatePlaylistRequestManual
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/createplaylistrequestmanual.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, reference_id:, type:, description: nil, limit: 1000) ⇒ CreatePlaylistRequestManual
constructor
A new instance of CreatePlaylistRequestManual.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, reference_id:, type:, description: nil, limit: 1000) ⇒ CreatePlaylistRequestManual
Returns a new instance of CreatePlaylistRequestManual.
27 28 29 30 31 32 33 |
# File 'lib/fastpix_client/models/components/createplaylistrequestmanual.rb', line 27 def initialize(name:, reference_id:, type:, description: nil, limit: 1000) @name = name @reference_id = reference_id @type = type @description = description @limit = limit end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/fastpix_client/models/components/createplaylistrequestmanual.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @reference_id == other.reference_id return false unless @type == other.type return false unless @description == other.description return false unless @limit == other.limit true end |