Class: StackOne::Models::Shared::ActionBuildResponseDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(status:, actions_indexed: nil, connector_filter: nil, error: nil, message: nil) ⇒ ActionBuildResponseDto

Returns a new instance of ActionBuildResponseDto.



27
28
29
30
31
32
33
# File 'lib/stack_one/models/shared/actionbuildresponsedto.rb', line 27

def initialize(status:, actions_indexed: nil, connector_filter: nil, error: nil, message: nil)
  @status = status
  @actions_indexed = actions_indexed
  @connector_filter = connector_filter
  @error = error
  @message = message
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/stack_one/models/shared/actionbuildresponsedto.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @status == other.status
  return false unless @actions_indexed == other.actions_indexed
  return false unless @connector_filter == other.connector_filter
  return false unless @error == other.error
  return false unless @message == other.message
  true
end