Class: DatadogAPIClient::V2::StatusPagesPagination
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::StatusPagesPagination
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/status_pages_pagination.rb
Overview
Offset-based pagination schema.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#first_offset ⇒ Object
Integer representing the offset to fetch the first page of results.
-
#last_offset ⇒ Object
Integer representing the offset to fetch the last page of results.
-
#limit ⇒ Object
Integer representing the number of elements to returned in the results.
-
#next_offset ⇒ Object
Integer representing the index of the first element in the next page of results.
-
#offset ⇒ Object
Integer representing the index of the first element in the results.
-
#prev_offset ⇒ Object
Integer representing the index of the first element in the previous page of results.
-
#total ⇒ Object
Integer representing the total number of elements available.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 48 def additional_properties @additional_properties end |
#first_offset ⇒ Object
Integer representing the offset to fetch the first page of results.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 25 def first_offset @first_offset end |
#last_offset ⇒ Object
Integer representing the offset to fetch the last page of results.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 28 def last_offset @last_offset end |
#limit ⇒ Object
Integer representing the number of elements to returned in the results.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 31 def limit @limit end |
#next_offset ⇒ Object
Integer representing the index of the first element in the next page of results. Equal to page size added to the current offset.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 34 def next_offset @next_offset end |
#offset ⇒ Object
Integer representing the index of the first element in the results.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 37 def offset @offset end |
#prev_offset ⇒ Object
Integer representing the index of the first element in the previous page of results.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 40 def prev_offset @prev_offset end |
#total ⇒ Object
Integer representing the total number of elements available.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 43 def total @total end |
#type ⇒ Object
Returns the value of attribute type.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/status_pages_pagination.rb', line 46 def type @type end |