Class: FastpixClient::Models::Components::UpdatePlaylistRequest
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::UpdatePlaylistRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/updateplaylistrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, description:) ⇒ UpdatePlaylistRequest
constructor
A new instance of UpdatePlaylistRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, description:) ⇒ UpdatePlaylistRequest
Returns a new instance of UpdatePlaylistRequest.
21 22 23 24 |
# File 'lib/fastpix_client/models/components/updateplaylistrequest.rb', line 21 def initialize(name:, description:) @name = name @description = description end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/fastpix_client/models/components/updateplaylistrequest.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @description == other.description true end |