Class: AxHub::Data::ListAllItem
- Inherits:
-
Struct
- Object
- Struct
- AxHub::Data::ListAllItem
- Defined in:
- lib/axhub_sdk/data/pagination.rb
Overview
Either an item (type == :item) or a drift marker (type == :drift) when the backend total grows mid-scan.
Instance Attribute Summary collapse
-
#added_since ⇒ Object
Returns the value of attribute added_since.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type:, value: nil, added_since: 0) ⇒ ListAllItem
constructor
A new instance of ListAllItem.
Constructor Details
#initialize(type:, value: nil, added_since: 0) ⇒ ListAllItem
Returns a new instance of ListAllItem.
23 24 25 |
# File 'lib/axhub_sdk/data/pagination.rb', line 23 def initialize(type:, value: nil, added_since: 0) super(type: type, value: value, added_since: added_since) end |
Instance Attribute Details
#added_since ⇒ Object
Returns the value of attribute added_since
22 23 24 |
# File 'lib/axhub_sdk/data/pagination.rb', line 22 def added_since @added_since end |
#type ⇒ Object
Returns the value of attribute type
22 23 24 |
# File 'lib/axhub_sdk/data/pagination.rb', line 22 def type @type end |
#value ⇒ Object
Returns the value of attribute value
22 23 24 |
# File 'lib/axhub_sdk/data/pagination.rb', line 22 def value @value end |