Class: StackOne::Models::Shared::EventMetaItem
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::EventMetaItem
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/eventmetaitem.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(authentication: nil, description: nil, id: nil, label: nil, release_stage: nil, requires_manual_setup: nil, tags: nil) ⇒ EventMetaItem
constructor
A new instance of EventMetaItem.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(authentication: nil, description: nil, id: nil, label: nil, release_stage: nil, requires_manual_setup: nil, tags: nil) ⇒ EventMetaItem
Returns a new instance of EventMetaItem.
31 32 33 34 35 36 37 38 39 |
# File 'lib/stack_one/models/shared/eventmetaitem.rb', line 31 def initialize(authentication: nil, description: nil, id: nil, label: nil, release_stage: nil, requires_manual_setup: nil, tags: nil) @authentication = authentication @description = description @id = id @label = label @release_stage = release_stage @requires_manual_setup = requires_manual_setup @tags = end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/stack_one/models/shared/eventmetaitem.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @authentication == other.authentication return false unless @description == other.description return false unless @id == other.id return false unless @label == other.label return false unless @release_stage == other.release_stage return false unless @requires_manual_setup == other.requires_manual_setup return false unless @tags == other. true end |