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, supports_incremental: nil, syncable: 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, supports_incremental: nil, syncable: nil, tags: nil) ⇒ ActionMetaItem
Returns a new instance of ActionMetaItem.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/shared/actionmetaitem.rb', line 37 def initialize(action_details: nil, authentication: nil, description: nil, id: nil, label: nil, required_scopes: nil, schema_type: nil, supports_incremental: nil, syncable: nil, tags: nil) @action_details = action_details @authentication = authentication @description = description @id = id @label = label @required_scopes = required_scopes @schema_type = schema_type @supports_incremental = supports_incremental @syncable = syncable @tags = end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/stack_one/models/shared/actionmetaitem.rb', line 51 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 @supports_incremental == other.supports_incremental return false unless @syncable == other.syncable return false unless @tags == other. true end |