Class: FastpixClient::Models::Components::PlaylistByIdResponseDataManual
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::PlaylistByIdResponseDataManual
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/playlistbyidresponsedatamanual.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type:, id: nil, name: nil, reference_id: nil, description: nil, media_list: nil, workspace_id: nil, created_at: nil, updated_at: nil, media_count: nil) ⇒ PlaylistByIdResponseDataManual
constructor
A new instance of PlaylistByIdResponseDataManual.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(type:, id: nil, name: nil, reference_id: nil, description: nil, media_list: nil, workspace_id: nil, created_at: nil, updated_at: nil, media_count: nil) ⇒ PlaylistByIdResponseDataManual
Returns a new instance of PlaylistByIdResponseDataManual.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/fastpix_client/models/components/playlistbyidresponsedatamanual.rb', line 37 def initialize(type:, id: nil, name: nil, reference_id: nil, description: nil, media_list: nil, workspace_id: nil, created_at: nil, updated_at: nil, media_count: nil) @type = type @id = id @name = name @reference_id = reference_id @description = description @media_list = media_list @workspace_id = workspace_id @created_at = created_at @updated_at = updated_at @media_count = media_count end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/fastpix_client/models/components/playlistbyidresponsedatamanual.rb', line 51 def ==(other) return false unless other.is_a? self.class return false unless @type == other.type return false unless @id == other.id return false unless @name == other.name return false unless @reference_id == other.reference_id return false unless @description == other.description return false unless @media_list == other.media_list return false unless @workspace_id == other.workspace_id return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @media_count == other.media_count true end |