Class: StackOne::Models::Shared::ActionMetaItem
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ActionMetaItem
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/actionmetaitem.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(action_details: nil, authentication: nil, description: nil, id: nil, label: nil, required_scopes: nil, schema_type: nil, tags: nil) ⇒ ActionMetaItem
constructor
A new instance of ActionMetaItem.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(action_details: nil, authentication: nil, description: nil, id: nil, label: nil, required_scopes: nil, schema_type: nil, tags: nil) ⇒ ActionMetaItem
Returns a new instance of ActionMetaItem.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/stack_one/models/shared/actionmetaitem.rb', line 33 def initialize(action_details: nil, authentication: nil, description: nil, id: nil, label: nil, required_scopes: nil, schema_type: nil, tags: nil) @action_details = action_details @authentication = authentication @description = description @id = id @label = label @required_scopes = required_scopes @schema_type = schema_type @tags = end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/stack_one/models/shared/actionmetaitem.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @action_details == other.action_details 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 @required_scopes == other.required_scopes return false unless @schema_type == other.schema_type return false unless @tags == other. true end |