Class: StackOne::Models::Shared::ActionsMeta

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/actionsmeta.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(account_id: nil, actions: nil, authentication: nil, categories: nil, description: nil, icon: nil, integration_id: nil, key: nil, name: nil, release_stage: nil, scope_definitions: nil, version: nil) ⇒ ActionsMeta

Returns a new instance of ActionsMeta.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/stack_one/models/shared/actionsmeta.rb', line 41

def initialize(account_id: nil, actions: nil, authentication: nil, categories: nil, description: nil, icon: nil, integration_id: nil, key: nil, name: nil, release_stage: nil, scope_definitions: nil, version: nil)
  @account_id = 
  @actions = actions
  @authentication = authentication
  @categories = categories
  @description = description
  @icon = icon
  @integration_id = integration_id
  @key = key
  @name = name
  @release_stage = release_stage
  @scope_definitions = scope_definitions
  @version = version
end

Instance Method Details

#==(other) ⇒ Object



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/stack_one/models/shared/actionsmeta.rb', line 57

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @actions == other.actions
  return false unless @authentication == other.authentication
  return false unless @categories == other.categories
  return false unless @description == other.description
  return false unless @icon == other.icon
  return false unless @integration_id == other.integration_id
  return false unless @key == other.key
  return false unless @name == other.name
  return false unless @release_stage == other.release_stage
  return false unless @scope_definitions == other.scope_definitions
  return false unless @version == other.version
  true
end