Class: StackOne::Models::Shared::AuthConfigsPaginated
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::AuthConfigsPaginated
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/authconfigspaginated.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(data:, page:, page_size:, total:) ⇒ AuthConfigsPaginated
constructor
A new instance of AuthConfigsPaginated.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(data:, page:, page_size:, total:) ⇒ AuthConfigsPaginated
Returns a new instance of AuthConfigsPaginated.
25 26 27 28 29 30 |
# File 'lib/stack_one/models/shared/authconfigspaginated.rb', line 25 def initialize(data:, page:, page_size:, total:) @data = data @page = page @page_size = page_size @total = total end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/stack_one/models/shared/authconfigspaginated.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @data == other.data return false unless @page == other.page return false unless @page_size == other.page_size return false unless @total == other.total true end |