B `@sGdddeZdS)cs<eZdZfddZeedddZeedddZZS)SplashSettingscstt|||_dS)N)superr__init___session)selfsession) __class__x/private/var/folders/7j/8686xlfs15q3tgljmghtvg0r0000gn/T/pip-target-isidps9b/lib/python/meraki_v0/api/splash_settings.pyrszSplashSettings.__init__) networkIdnumbercCs,dgdd}d|d|d}|j||S)z **Display the splash page settings for the given SSID** https://developer.cisco.com/meraki/api/#!get-network-ssid-splash-settings - networkId (string) - number (string) zSplash settingsgetNetworkSsidSplashSettings)tags operationz /networks/z/ssids/z/splashSettings)rget)rr r metadataresourcerrr r s z+SplashSettings.getNetworkSsidSplashSettingsc sX|tdgdd}d|d|d}ddgfd d |D}|j|||S) a **Modify the splash page settings for the given SSID** https://developer.cisco.com/meraki/api/#!update-network-ssid-splash-settings - networkId (string) - number (string) - splashUrl (string): [optional] The custom splash URL of the click-through splash page. Note that the URL can be configured without necessarily being used. In order to enable the custom URL, see 'useSplashUrl' - useSplashUrl (boolean): [optional] Boolean indicating whether the user will be redirected to the custom splash url. A custom splash URL must be set if this is true. Note that depending on your SSID's access control settings, it may not be possible to use the custom splash URL. zSplash settingsupdateNetworkSsidSplashSettings)r rz /networks/z/ssids/z/splashSettingsZ splashUrlZ useSplashUrlcs&i|]\}}|kr||qSr)strip).0kv) body_paramsrr +szBSplashSettings.updateNetworkSsidSplashSettings..)updatelocalsitemsrput)rr r kwargsrrpayloadr)rr rs z.SplashSettings.updateNetworkSsidSplashSettings)__name__ __module__ __qualname__rstrr r __classcell__rr)rr rs rN)objectrrrrr