B `1@sGdddeZdS)csNeZdZfddZeeedddZeedddZeedd d ZZS) ActionBatchInsightcstt|dS)N)superr__init__)self) __class__s/private/var/folders/7j/8686xlfs15q3tgljmghtvg0r0000gn/T/pip-target-isidps9b/lib/python/meraki/api/batch/insight.pyrszActionBatchInsight.__init__)organizationIdnameaddressc  sX|tdddgdd}d|d}dd d gfd d |D}|d |d}|S)a **Add a media server to be monitored for this organization** https://developer.cisco.com/meraki/api-v1/#!create-organization-insight-monitored-media-server - organizationId (string): (required) - name (string): The name of the VoIP provider - address (string): The IP address (IPv4 only) or hostname of the media server to monitor - bestEffortMonitoringEnabled (boolean): Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead. insight configuremonitoredMediaServers-createOrganizationInsightMonitoredMediaServer)tags operationz/organizations/z/insight/monitoredMediaServersr r bestEffortMonitoringEnabledcs&i|]\}}|kr||qSr)strip).0kv) body_paramsrr szTActionBatchInsight.createOrganizationInsightMonitoredMediaServer..create)resourcerbody)updatelocalsitems) rrr r kwargsmetadatarpayloadactionr)rrrs   z@ActionBatchInsight.createOrganizationInsightMonitoredMediaServer)rmonitoredMediaServerIdc s\|tdddgdd}d|d|}dd d gfd d |D}|d |d}|S)aN **Update a monitored media server for this organization** https://developer.cisco.com/meraki/api-v1/#!update-organization-insight-monitored-media-server - organizationId (string): (required) - monitoredMediaServerId (string): (required) - name (string): The name of the VoIP provider - address (string): The IP address (IPv4 only) or hostname of the media server to monitor - bestEffortMonitoringEnabled (boolean): Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead. r r r -updateOrganizationInsightMonitoredMediaServer)rrz/organizations/z/insight/monitoredMediaServers/r r rcs&i|]\}}|kr||qSr)r)rrr)rrrr=szTActionBatchInsight.updateOrganizationInsightMonitoredMediaServer..r)rrr)rrr)rrr"rrrr r!r)rrr#(s  z@ActionBatchInsight.updateOrganizationInsightMonitoredMediaServercCs0dddgdd}d|d|}|dtd }|S) a **Delete a monitored media server from this organization** https://developer.cisco.com/meraki/api-v1/#!delete-organization-insight-monitored-media-server - organizationId (string): (required) - monitoredMediaServerId (string): (required) r r r -deleteOrganizationInsightMonitoredMediaServer)rrz/organizations/z/insight/monitoredMediaServers/destroy)rrr)r )rrr"rrr!rrrr$Js z@ActionBatchInsight.deleteOrganizationInsightMonitoredMediaServer) __name__ __module__ __qualname__rstrrr#r$ __classcell__rr)rrrs !"rN)objectrrrrr