B ` @sGdddeZdS)cs<eZdZfddZd edddZeedd d ZZS) BluetoothClientscstt|||_dS)N)superr__init___session)selfsession) __class__z/private/var/folders/7j/8686xlfs15q3tgljmghtvg0r0000gn/T/pip-target-isidps9b/lib/python/meraki_v0/api/bluetooth_clients.pyrszBluetoothClients.__init__next) networkIdc s^|tdgdd}d|d}dddd d d gfd d |D}|j|||||S)a# **List the Bluetooth clients seen by APs in this network** https://developer.cisco.com/meraki/api/#!get-network-bluetooth-clients - networkId (string) - total_pages (integer or string): total number of pages to retrieve, -1 or "all" for all pages - direction (string): direction to paginate, either "next" (default) or "prev" page - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 7 days from today. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 7 days. The default is 1 day. - perPage (integer): The number of entries per page returned. Acceptable range is 5 - 1000. Default is 10. - startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - includeConnectivityHistory (boolean): Include the connectivity history for this client zBluetooth clientsgetNetworkBluetoothClients)tags operationz /networks/z/bluetoothClientst0ZtimespanZperPageZ startingAfterZ endingBeforeincludeConnectivityHistorycs&i|]\}}|kr||qSr)strip).0kv) query_paramsrr sz?BluetoothClients.getNetworkBluetoothClients..)updatelocalsitemsrZ get_pages)rr Z total_pages directionkwargsmetadataresourceparamsr)rr r s  z+BluetoothClients.getNetworkBluetoothClients)r bluetoothClientIdc sV|tdgdd}d|d|}ddgfdd |D}|j|||S) a **Return a Bluetooth client. Bluetooth clients can be identified by their ID or their MAC.** https://developer.cisco.com/meraki/api/#!get-network-bluetooth-client - networkId (string) - bluetoothClientId (string) - includeConnectivityHistory (boolean): Include the connectivity history for this client - connectivityHistoryTimespan (integer): The timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used. zBluetooth clientsgetNetworkBluetoothClient)rrz /networks/z/bluetoothClients/rZconnectivityHistoryTimespancs&i|]\}}|kr||qSr)r)rrr)rrr r8sz>BluetoothClients.getNetworkBluetoothClient..)rrrrget)rr r rrrrr)rr r!$s z*BluetoothClients.getNetworkBluetoothClient)r r )__name__ __module__ __qualname__rstrr r! __classcell__rr)rr rs rN)objectrrrrr