Class: StackOne::Models::Shared::ApplicationChangesPaginated

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(data: nil, next_: nil, raw: nil) ⇒ ApplicationChangesPaginated

Returns a new instance of ApplicationChangesPaginated.



23
24
25
26
27
# File 'lib/stack_one/models/shared/applicationchangespaginated.rb', line 23

def initialize(data: nil, next_: nil, raw: nil)
  @data = data
  @next_ = next_
  @raw = raw
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/stack_one/models/shared/applicationchangespaginated.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @data == other.data
  return false unless @next_ == other.next_
  return false unless @raw == other.raw
  true
end