Class: KintsugiSDK::Models::Shared::PageTransactionRead
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Shared::PageTransactionRead
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/shared/page_transactionread_.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(items:, total:, page:, size:, pages: nil) ⇒ PageTransactionRead
constructor
A new instance of PageTransactionRead.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(items:, total:, page:, size:, pages: nil) ⇒ PageTransactionRead
Returns a new instance of PageTransactionRead.
28 29 30 31 32 33 34 |
# File 'lib/kintsugi_sdk/models/shared/page_transactionread_.rb', line 28 def initialize(items:, total:, page:, size:, pages: nil) @items = items @total = total @page = page @size = size @pages = pages end |
Instance Method Details
#==(other) ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/kintsugi_sdk/models/shared/page_transactionread_.rb', line 37 def ==(other) return false unless other.is_a? self.class return false unless @items == other.items return false unless @total == other.total return false unless @page == other.page return false unless @size == other.size return false unless @pages == other.pages true end |