3 ] @s,ddlmZmZmZmZGdddeZdS))NamespacedClient query_params _make_path SKIP_IN_PATHc@seZdZedddZeddddZedddZedd d Zed dd d Zed dddZ ed ddddZ dS) LicenseClientNcCs|jjdd|dS)z] ``_ DELETEz /_license)params) transportperform_request)selfrr K/tmp/pip-build-z81i1n8o/elasticsearch/elasticsearch/client/xpack/license.pydeleteszLicenseClient.deletelocalcCs|jjdd|dS)z ``_ :arg local: Return local information, do not retrieve the state from master node (default: false) GETz /_license)r)r r )r rr r r get szLicenseClient.getcCs|jjdd|dS)z] ``_ rz/_license/basic_status)r)r r )r rr r r get_basic_statusszLicenseClient.get_basic_statuscCs|jjdd|dS)z] ``_ rz/_license/trial_status)r)r r )r rr r r get_trial_statusszLicenseClient.get_trial_statusZ acknowledgecCs|jjdd||dS)z ``_ :arg body: licenses to be installed :arg acknowledge: whether the user has acknowledged acknowledge messages (default: false) PUTz /_license)rbody)r r )r rrr r r post(s zLicenseClient.postcCs|jjdd|dS)z ``_ :arg acknowledge: whether the user has acknowledged acknowledge messages (default: false) POSTz/_license/start_basic)r)r r )r rr r r post_start_basic5szLicenseClient.post_start_basicZdoc_typecCs|jjdd|dS)a ``_ :arg acknowledge: whether the user has acknowledged acknowledge messages (default: false) :arg doc_type: The type of trial license to generate (default: "trial") rz/_license/start_trial)r)r r )r rr r r post_start_trialAs zLicenseClient.post_start_trial)N)N)N)N)NN)N)N) __name__ __module__ __qualname__rrrrrrrrr r r r rs      rN)utilsrrrrrr r r r s