Debian Codegraph @

ansible_collections/cisco/meraki/plugins/doc_fragments/module_info_pagination.py

raw
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 # Copyright (c) 2021, Cisco Systems
5 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 from __future__ import absolute_import, division, print_function
8
9 __metaclass__ = type
10
11
12 class ModuleDocFragment(object):
13
14 # Standard files documentation fragment
15 DOCUMENTATION = r'''
16 options:
17 total_pages:
18 description:
19 - total_pages(int), use with perPage to get total results up to total_pages*perPage; -1 for all pages
20 type: str
21 required: true
22 direction:
23 description:
24 - direction (string), direction to paginate, either "next" (default) or "prev" page
25 type: str
26 default: https://api.meraki.com/api/v1
27 '''