diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml new file mode 100644 index 0000000..7f0a2e8 --- /dev/null +++ b/.github/workflows/python-build.yml @@ -0,0 +1,27 @@ +name: Build and Run Unit Tests. + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + python -m pip install -r requirements.txt + - name: Test + run: python -m unittest discover diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml new file mode 100644 index 0000000..ed8f6f2 --- /dev/null +++ b/.github/workflows/python-release.yml @@ -0,0 +1,34 @@ +name: Build and Publish to PyPI + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.10' + - name: Install Dependencies + run: | + python -m pip install -U pip setuptools wheel + python -m pip install -U build + - name: Build Package + run: python -m build + + - name: Publish Package to TestPypi + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository_url: https://test.pypi.org/legacy/ + + - name: Publish package + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION index 19244e8..d32233f 100644 --- a/.swagger-codegen/VERSION +++ b/.swagger-codegen/VERSION @@ -1 +1 @@ -2.4.21 \ No newline at end of file +2.4.27 \ No newline at end of file diff --git a/.swagger-codegen/config.json b/.swagger-codegen/config.json index f95d87d..8007ab1 100644 --- a/.swagger-codegen/config.json +++ b/.swagger-codegen/config.json @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.116.3" + "packageVersion": "2.129.3" } diff --git a/.swagger-codegen/config.jsone b/.swagger-codegen/config.jsone index bc84ca2..b02a280 100644 --- a/.swagger-codegen/config.jsone +++ b/.swagger-codegen/config.jsone @@ -3,5 +3,5 @@ "gitUserId": "wavefrontHQ", "packageName": "wavefront_api_client", "packageUrl": "https://github.com/wavefrontHQ/python-client", - "packageVersion": "2.111.0" + "packageVersion": "2.128.2" } diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2764adf..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -dist: focal -language: python -python: - - "2.7" - - "3.6" - - "3.7" - - "3.8" - - "3.9" -install: "pip install -r requirements.txt" -script: nosetests -deploy: -- provider: pypi - user: wavefront-cs - server: https://test.pypi.org/legacy/ - password: - secure: "FEWc+UJpnhMuTReVgAS2m1sTCUwkoc0zzVNsGOeYpuQ1OZHXBErA34DfkvIvB/5RRQwmR/9bbgNn1P17ThYVRioUZZ9+TiluwSHd/NT2PrAzxMYIXkyPXm6gPIXj4ZaGh5WH/dF6qQ1woc5/K4UoI+cjJW9eKB1WsNAvj/IqRzRL3zRorP/79/yLCBqdkHNv102MbslsjT5ZEhcsU7iOBah+wxFLVim6j6WuGWKLAyXudBHD3GjzK4BUbbPimzIY31VgQuPg47vukiPejmbJhuz/b/q8G7dASDBakTh+jqh4ESIwJOUxSw8EYFOFtKNoB3N+3rQeCj/1QoK+uH0jwSm8I+S3ILT11ulLMmdrJ+qs75XDZHuFBF1vkKLBCeCn6yQiXmL7smppDyArBSIHeT8g0zHyIvujeQXFDlA3zCzrFwCEi32QyksKpPLLpVTji41d9r6O4iD83HxRb+3OBoJefq8R+GRUWamIO4fm24HQNt3P7TJTUAwlBGquYvJE6LnLtZD1u9SyYPLmPZAoZfAVj4hRryRsNr1JwpcQkEOzhbayuEUSVMrcbYl/XIBxaQvmkUwNjPOJv6ztWRKL8aWxU5vCgKKOM0/YSFAkZXy85jZ/vHic7TuyfNPqLmFiVlG0kmrzm5znVGNxVa3eUaY2+yPcODeC8sHwPHhCey0=" - on: - python: 3.9 -- provider: pypi - user: wavefront-cs - password: - secure: "FEWc+UJpnhMuTReVgAS2m1sTCUwkoc0zzVNsGOeYpuQ1OZHXBErA34DfkvIvB/5RRQwmR/9bbgNn1P17ThYVRioUZZ9+TiluwSHd/NT2PrAzxMYIXkyPXm6gPIXj4ZaGh5WH/dF6qQ1woc5/K4UoI+cjJW9eKB1WsNAvj/IqRzRL3zRorP/79/yLCBqdkHNv102MbslsjT5ZEhcsU7iOBah+wxFLVim6j6WuGWKLAyXudBHD3GjzK4BUbbPimzIY31VgQuPg47vukiPejmbJhuz/b/q8G7dASDBakTh+jqh4ESIwJOUxSw8EYFOFtKNoB3N+3rQeCj/1QoK+uH0jwSm8I+S3ILT11ulLMmdrJ+qs75XDZHuFBF1vkKLBCeCn6yQiXmL7smppDyArBSIHeT8g0zHyIvujeQXFDlA3zCzrFwCEi32QyksKpPLLpVTji41d9r6O4iD83HxRb+3OBoJefq8R+GRUWamIO4fm24HQNt3P7TJTUAwlBGquYvJE6LnLtZD1u9SyYPLmPZAoZfAVj4hRryRsNr1JwpcQkEOzhbayuEUSVMrcbYl/XIBxaQvmkUwNjPOJv6ztWRKL8aWxU5vCgKKOM0/YSFAkZXy85jZ/vHic7TuyfNPqLmFiVlG0kmrzm5znVGNxVa3eUaY2+yPcODeC8sHwPHhCey0=" - on: - python: 3.9 - tags: true diff --git a/README.md b/README.md index 70c6132..04f8dcf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v2 -- Package version: 2.116.3 +- Package version: 2.129.3 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -130,10 +130,13 @@ Class | Method | HTTP request | Description *AlertApi* | [**unsnooze_alert**](docs/AlertApi.md#unsnooze_alert) | **POST** /api/v2/alert/{id}/unsnooze | Unsnooze a specific alert *AlertApi* | [**update_alert**](docs/AlertApi.md#update_alert) | **PUT** /api/v2/alert/{id} | Update a specific alert *ApiTokenApi* | [**create_token**](docs/ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token +*ApiTokenApi* | [**delete_customer_token**](docs/ApiTokenApi.md#delete_customer_token) | **PUT** /api/v2/apitoken/customertokens/revoke | Delete the specified api token for a customer *ApiTokenApi* | [**delete_token**](docs/ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token *ApiTokenApi* | [**delete_token_service_account**](docs/ApiTokenApi.md#delete_token_service_account) | **DELETE** /api/v2/apitoken/serviceaccount/{id}/{token} | Delete the specified api token of the given service account *ApiTokenApi* | [**generate_token_service_account**](docs/ApiTokenApi.md#generate_token_service_account) | **POST** /api/v2/apitoken/serviceaccount/{id} | Create a new api token for the service account *ApiTokenApi* | [**get_all_tokens**](docs/ApiTokenApi.md#get_all_tokens) | **GET** /api/v2/apitoken | Get all api tokens for a user +*ApiTokenApi* | [**get_customer_token**](docs/ApiTokenApi.md#get_customer_token) | **GET** /api/v2/apitoken/customertokens/{id} | Get the specified api token for a customer +*ApiTokenApi* | [**get_customer_tokens**](docs/ApiTokenApi.md#get_customer_tokens) | **GET** /api/v2/apitoken/customertokens | Get all api tokens for a customer *ApiTokenApi* | [**get_tokens_service_account**](docs/ApiTokenApi.md#get_tokens_service_account) | **GET** /api/v2/apitoken/serviceaccount/{id} | Get all api tokens for the given service account *ApiTokenApi* | [**update_token_name**](docs/ApiTokenApi.md#update_token_name) | **PUT** /api/v2/apitoken/{id} | Update the name of the specified api token *ApiTokenApi* | [**update_token_name_service_account**](docs/ApiTokenApi.md#update_token_name_service_account) | **PUT** /api/v2/apitoken/serviceaccount/{id}/{token} | Update the name of the specified api token for the given service account @@ -231,7 +234,9 @@ Class | Method | HTTP request | Description *MonitoredApplicationApi* | [**get_application**](docs/MonitoredApplicationApi.md#get_application) | **GET** /api/v2/monitoredapplication/{application} | Get a specific application *MonitoredApplicationApi* | [**update_service**](docs/MonitoredApplicationApi.md#update_service) | **PUT** /api/v2/monitoredapplication/{application} | Update a specific service *MonitoredServiceApi* | [**batch_update**](docs/MonitoredServiceApi.md#batch_update) | **PUT** /api/v2/monitoredservice/services | Update multiple applications and services in a batch. Batch size is limited to 100. +*MonitoredServiceApi* | [**get_all_components**](docs/MonitoredServiceApi.md#get_all_components) | **GET** /api/v2/monitoredservice/components | Get all monitored services with components *MonitoredServiceApi* | [**get_all_services**](docs/MonitoredServiceApi.md#get_all_services) | **GET** /api/v2/monitoredservice | Get all monitored services +*MonitoredServiceApi* | [**get_component**](docs/MonitoredServiceApi.md#get_component) | **GET** /api/v2/monitoredservice/{application}/{service}/{component} | Get a specific application *MonitoredServiceApi* | [**get_service**](docs/MonitoredServiceApi.md#get_service) | **GET** /api/v2/monitoredservice/{application}/{service} | Get a specific application *MonitoredServiceApi* | [**get_services_of_application**](docs/MonitoredServiceApi.md#get_services_of_application) | **GET** /api/v2/monitoredservice/{application} | Get a specific application *MonitoredServiceApi* | [**update_service**](docs/MonitoredServiceApi.md#update_service) | **PUT** /api/v2/monitoredservice/{application}/{service} | Update a specific service @@ -248,6 +253,12 @@ Class | Method | HTTP request | Description *ProxyApi* | [**update_proxy**](docs/ProxyApi.md#update_proxy) | **PUT** /api/v2/proxy/{id} | Update the name of a specific proxy *QueryApi* | [**query_api**](docs/QueryApi.md#query_api) | **GET** /api/v2/chart/api | Perform a charting query against Wavefront servers that returns the appropriate points in the specified time window and granularity *QueryApi* | [**query_raw**](docs/QueryApi.md#query_raw) | **GET** /api/v2/chart/raw | Perform a raw data query against Wavefront servers that returns second granularity points grouped by tags +*RecentAppMapSearchApi* | [**create_recent_app_map_search**](docs/RecentAppMapSearchApi.md#create_recent_app_map_search) | **POST** /api/v2/recentappmapsearch | Create a search +*RecentAppMapSearchApi* | [**get_all_recent_app_map_searches**](docs/RecentAppMapSearchApi.md#get_all_recent_app_map_searches) | **GET** /api/v2/recentappmapsearch | Get all searches for a user +*RecentAppMapSearchApi* | [**get_recent_app_map_search**](docs/RecentAppMapSearchApi.md#get_recent_app_map_search) | **GET** /api/v2/recentappmapsearch/{id} | Get a specific search +*RecentTracesSearchApi* | [**create_recent_traces_search**](docs/RecentTracesSearchApi.md#create_recent_traces_search) | **POST** /api/v2/recenttracessearch | Create a search +*RecentTracesSearchApi* | [**get_all_recent_traces_searches**](docs/RecentTracesSearchApi.md#get_all_recent_traces_searches) | **GET** /api/v2/recenttracessearch | Get all searches for a user +*RecentTracesSearchApi* | [**get_recent_traces_search**](docs/RecentTracesSearchApi.md#get_recent_traces_search) | **GET** /api/v2/recenttracessearch/{id} | Get a specific search *RoleApi* | [**add_assignees**](docs/RoleApi.md#add_assignees) | **POST** /api/v2/role/{id}/addAssignees | Add multiple users and user groups to a specific role *RoleApi* | [**create_role**](docs/RoleApi.md#create_role) | **POST** /api/v2/role | Create a specific role *RoleApi* | [**delete_role**](docs/RoleApi.md#delete_role) | **DELETE** /api/v2/role/{id} | Delete a specific role @@ -257,12 +268,50 @@ Class | Method | HTTP request | Description *RoleApi* | [**remove_assignees**](docs/RoleApi.md#remove_assignees) | **POST** /api/v2/role/{id}/removeAssignees | Remove multiple users and user groups from a specific role *RoleApi* | [**revoke_permission_from_roles**](docs/RoleApi.md#revoke_permission_from_roles) | **POST** /api/v2/role/revoke/{permission} | Revokes a single permission from role(s) *RoleApi* | [**update_role**](docs/RoleApi.md#update_role) | **PUT** /api/v2/role/{id} | Update a specific role +*SavedAppMapSearchApi* | [**create_saved_app_map_search**](docs/SavedAppMapSearchApi.md#create_saved_app_map_search) | **POST** /api/v2/savedappmapsearch | Create a search +*SavedAppMapSearchApi* | [**default_app_map_search**](docs/SavedAppMapSearchApi.md#default_app_map_search) | **GET** /api/v2/savedappmapsearch/defaultAppMapSearch | Get default app map search for a user +*SavedAppMapSearchApi* | [**default_app_map_search_0**](docs/SavedAppMapSearchApi.md#default_app_map_search_0) | **POST** /api/v2/savedappmapsearch/defaultAppMapSearch | Set default app map search at user level +*SavedAppMapSearchApi* | [**default_customer_app_map_search**](docs/SavedAppMapSearchApi.md#default_customer_app_map_search) | **POST** /api/v2/savedappmapsearch/defaultCustomerAppMapSearch | Set default app map search at customer level +*SavedAppMapSearchApi* | [**delete_saved_app_map_search**](docs/SavedAppMapSearchApi.md#delete_saved_app_map_search) | **DELETE** /api/v2/savedappmapsearch/{id} | Delete a search +*SavedAppMapSearchApi* | [**delete_saved_app_map_search_for_user**](docs/SavedAppMapSearchApi.md#delete_saved_app_map_search_for_user) | **DELETE** /api/v2/savedappmapsearch/owned/{id} | Delete a search belonging to the user +*SavedAppMapSearchApi* | [**get_all_saved_app_map_searches**](docs/SavedAppMapSearchApi.md#get_all_saved_app_map_searches) | **GET** /api/v2/savedappmapsearch | Get all searches for a customer +*SavedAppMapSearchApi* | [**get_all_saved_app_map_searches_for_user**](docs/SavedAppMapSearchApi.md#get_all_saved_app_map_searches_for_user) | **GET** /api/v2/savedappmapsearch/owned | Get all searches for a user +*SavedAppMapSearchApi* | [**get_saved_app_map_search**](docs/SavedAppMapSearchApi.md#get_saved_app_map_search) | **GET** /api/v2/savedappmapsearch/{id} | Get a specific search +*SavedAppMapSearchApi* | [**update_saved_app_map_search**](docs/SavedAppMapSearchApi.md#update_saved_app_map_search) | **PUT** /api/v2/savedappmapsearch/{id} | Update a search +*SavedAppMapSearchApi* | [**update_saved_app_map_search_for_user**](docs/SavedAppMapSearchApi.md#update_saved_app_map_search_for_user) | **PUT** /api/v2/savedappmapsearch/owned/{id} | Update a search belonging to the user +*SavedAppMapSearchGroupApi* | [**add_saved_app_map_search_to_group**](docs/SavedAppMapSearchGroupApi.md#add_saved_app_map_search_to_group) | **POST** /api/v2/savedappmapsearchgroup/{id}/addSearch/{searchId} | Add a search to a search group +*SavedAppMapSearchGroupApi* | [**create_saved_app_map_search_group**](docs/SavedAppMapSearchGroupApi.md#create_saved_app_map_search_group) | **POST** /api/v2/savedappmapsearchgroup | Create a search group +*SavedAppMapSearchGroupApi* | [**delete_saved_app_map_search_group**](docs/SavedAppMapSearchGroupApi.md#delete_saved_app_map_search_group) | **DELETE** /api/v2/savedappmapsearchgroup/{id} | Delete a search group +*SavedAppMapSearchGroupApi* | [**get_all_saved_app_map_search_group**](docs/SavedAppMapSearchGroupApi.md#get_all_saved_app_map_search_group) | **GET** /api/v2/savedappmapsearchgroup | Get all search groups for a user +*SavedAppMapSearchGroupApi* | [**get_saved_app_map_search_group**](docs/SavedAppMapSearchGroupApi.md#get_saved_app_map_search_group) | **GET** /api/v2/savedappmapsearchgroup/{id} | Get a specific search group +*SavedAppMapSearchGroupApi* | [**get_saved_app_map_searches_for_group**](docs/SavedAppMapSearchGroupApi.md#get_saved_app_map_searches_for_group) | **GET** /api/v2/savedappmapsearchgroup/{id}/searches | Get all searches for a search group +*SavedAppMapSearchGroupApi* | [**remove_saved_app_map_search_from_group**](docs/SavedAppMapSearchGroupApi.md#remove_saved_app_map_search_from_group) | **POST** /api/v2/savedappmapsearchgroup/{id}/removeSearch/{searchId} | Remove a search from a search group +*SavedAppMapSearchGroupApi* | [**update_saved_app_map_search_group**](docs/SavedAppMapSearchGroupApi.md#update_saved_app_map_search_group) | **PUT** /api/v2/savedappmapsearchgroup/{id} | Update a search group *SavedSearchApi* | [**create_saved_search**](docs/SavedSearchApi.md#create_saved_search) | **POST** /api/v2/savedsearch | Create a saved search *SavedSearchApi* | [**delete_saved_search**](docs/SavedSearchApi.md#delete_saved_search) | **DELETE** /api/v2/savedsearch/{id} | Delete a specific saved search *SavedSearchApi* | [**get_all_entity_type_saved_searches**](docs/SavedSearchApi.md#get_all_entity_type_saved_searches) | **GET** /api/v2/savedsearch/type/{entitytype} | Get all saved searches for a specific entity type for a user *SavedSearchApi* | [**get_all_saved_searches**](docs/SavedSearchApi.md#get_all_saved_searches) | **GET** /api/v2/savedsearch | Get all saved searches for a user *SavedSearchApi* | [**get_saved_search**](docs/SavedSearchApi.md#get_saved_search) | **GET** /api/v2/savedsearch/{id} | Get a specific saved search *SavedSearchApi* | [**update_saved_search**](docs/SavedSearchApi.md#update_saved_search) | **PUT** /api/v2/savedsearch/{id} | Update a specific saved search +*SavedTracesSearchApi* | [**create_saved_traces_search**](docs/SavedTracesSearchApi.md#create_saved_traces_search) | **POST** /api/v2/savedtracessearch | Create a search +*SavedTracesSearchApi* | [**default_app_map_search**](docs/SavedTracesSearchApi.md#default_app_map_search) | **POST** /api/v2/savedtracessearch/defaultTracesSearch | Set default traces search at user level +*SavedTracesSearchApi* | [**default_customer_traces_search**](docs/SavedTracesSearchApi.md#default_customer_traces_search) | **POST** /api/v2/savedtracessearch/defaultCustomerTracesSearch | Set default traces search at customer level +*SavedTracesSearchApi* | [**default_traces_search**](docs/SavedTracesSearchApi.md#default_traces_search) | **GET** /api/v2/savedtracessearch/defaultTracesSearch | Get default traces search for a user +*SavedTracesSearchApi* | [**delete_saved_traces_search**](docs/SavedTracesSearchApi.md#delete_saved_traces_search) | **DELETE** /api/v2/savedtracessearch/{id} | Delete a search +*SavedTracesSearchApi* | [**delete_saved_traces_search_for_user**](docs/SavedTracesSearchApi.md#delete_saved_traces_search_for_user) | **DELETE** /api/v2/savedtracessearch/owned/{id} | Delete a search belonging to the user +*SavedTracesSearchApi* | [**get_all_saved_traces_searches**](docs/SavedTracesSearchApi.md#get_all_saved_traces_searches) | **GET** /api/v2/savedtracessearch | Get all searches for a customer +*SavedTracesSearchApi* | [**get_all_saved_traces_searches_for_user**](docs/SavedTracesSearchApi.md#get_all_saved_traces_searches_for_user) | **GET** /api/v2/savedtracessearch/owned | Get all searches for a user +*SavedTracesSearchApi* | [**get_saved_traces_search**](docs/SavedTracesSearchApi.md#get_saved_traces_search) | **GET** /api/v2/savedtracessearch/{id} | Get a specific search +*SavedTracesSearchApi* | [**update_saved_traces_search**](docs/SavedTracesSearchApi.md#update_saved_traces_search) | **PUT** /api/v2/savedtracessearch/{id} | Update a search +*SavedTracesSearchApi* | [**update_saved_traces_search_for_user**](docs/SavedTracesSearchApi.md#update_saved_traces_search_for_user) | **PUT** /api/v2/savedtracessearch/owned/{id} | Update a search belonging to the user +*SavedTracesSearchGroupApi* | [**add_saved_traces_search_to_group**](docs/SavedTracesSearchGroupApi.md#add_saved_traces_search_to_group) | **POST** /api/v2/savedtracessearchgroup/{id}/addSearch/{searchId} | Add a search to a search group +*SavedTracesSearchGroupApi* | [**create_saved_traces_search_group**](docs/SavedTracesSearchGroupApi.md#create_saved_traces_search_group) | **POST** /api/v2/savedtracessearchgroup | Create a search group +*SavedTracesSearchGroupApi* | [**delete_saved_traces_search_group**](docs/SavedTracesSearchGroupApi.md#delete_saved_traces_search_group) | **DELETE** /api/v2/savedtracessearchgroup/{id} | Delete a search group +*SavedTracesSearchGroupApi* | [**get_all_saved_traces_search_group**](docs/SavedTracesSearchGroupApi.md#get_all_saved_traces_search_group) | **GET** /api/v2/savedtracessearchgroup | Get all search groups for a user +*SavedTracesSearchGroupApi* | [**get_saved_traces_search_group**](docs/SavedTracesSearchGroupApi.md#get_saved_traces_search_group) | **GET** /api/v2/savedtracessearchgroup/{id} | Get a specific search group +*SavedTracesSearchGroupApi* | [**get_saved_traces_searches_for_group**](docs/SavedTracesSearchGroupApi.md#get_saved_traces_searches_for_group) | **GET** /api/v2/savedtracessearchgroup/{id}/searches | Get all searches for a search group +*SavedTracesSearchGroupApi* | [**remove_saved_traces_search_from_group**](docs/SavedTracesSearchGroupApi.md#remove_saved_traces_search_from_group) | **POST** /api/v2/savedtracessearchgroup/{id}/removeSearch/{searchId} | Remove a search from a search group +*SavedTracesSearchGroupApi* | [**update_saved_traces_search_group**](docs/SavedTracesSearchGroupApi.md#update_saved_traces_search_group) | **PUT** /api/v2/savedtracessearchgroup/{id} | Update a search group *SearchApi* | [**search_account_entities**](docs/SearchApi.md#search_account_entities) | **POST** /api/v2/search/account | Search over a customer's accounts *SearchApi* | [**search_account_for_facet**](docs/SearchApi.md#search_account_for_facet) | **POST** /api/v2/search/account/{facet} | Lists the values of a specific facet over the customer's accounts *SearchApi* | [**search_account_for_facets**](docs/SearchApi.md#search_account_for_facets) | **POST** /api/v2/search/account/facets | Lists the values of one or more facets over the customer's accounts @@ -322,6 +371,10 @@ Class | Method | HTTP request | Description *SearchApi* | [**search_role_entities**](docs/SearchApi.md#search_role_entities) | **POST** /api/v2/search/role | Search over a customer's roles *SearchApi* | [**search_role_for_facet**](docs/SearchApi.md#search_role_for_facet) | **POST** /api/v2/search/role/{facet} | Lists the values of a specific facet over the customer's roles *SearchApi* | [**search_role_for_facets**](docs/SearchApi.md#search_role_for_facets) | **POST** /api/v2/search/role/facets | Lists the values of one or more facets over the customer's roles +*SearchApi* | [**search_saved_app_map_entities**](docs/SearchApi.md#search_saved_app_map_entities) | **POST** /api/v2/search/savedappmapsearch | Search over all the customer's non-deleted saved app map searches +*SearchApi* | [**search_saved_app_map_for_facet**](docs/SearchApi.md#search_saved_app_map_for_facet) | **POST** /api/v2/search/savedappmapsearch/{facet} | Lists the values of a specific facet over the customer's non-deleted app map searches +*SearchApi* | [**search_saved_app_map_for_facets**](docs/SearchApi.md#search_saved_app_map_for_facets) | **POST** /api/v2/search/savedappmapsearch/facets | Lists the values of one or more facets over the customer's non-deleted app map searches +*SearchApi* | [**search_saved_traces_entities**](docs/SearchApi.md#search_saved_traces_entities) | **POST** /api/v2/search/savedtracessearch | Search over all the customer's non-deleted saved traces searches *SearchApi* | [**search_service_account_entities**](docs/SearchApi.md#search_service_account_entities) | **POST** /api/v2/search/serviceaccount | Search over a customer's service accounts *SearchApi* | [**search_service_account_for_facet**](docs/SearchApi.md#search_service_account_for_facet) | **POST** /api/v2/search/serviceaccount/{facet} | Lists the values of a specific facet over the customer's service accounts *SearchApi* | [**search_service_account_for_facets**](docs/SearchApi.md#search_service_account_for_facets) | **POST** /api/v2/search/serviceaccount/facets | Lists the values of one or more facets over the customer's service accounts @@ -334,6 +387,11 @@ Class | Method | HTTP request | Description *SearchApi* | [**search_tagged_source_entities**](docs/SearchApi.md#search_tagged_source_entities) | **POST** /api/v2/search/source | Search over a customer's sources *SearchApi* | [**search_tagged_source_for_facet**](docs/SearchApi.md#search_tagged_source_for_facet) | **POST** /api/v2/search/source/{facet} | Lists the values of a specific facet over the customer's sources *SearchApi* | [**search_tagged_source_for_facets**](docs/SearchApi.md#search_tagged_source_for_facets) | **POST** /api/v2/search/source/facets | Lists the values of one or more facets over the customer's sources +*SearchApi* | [**search_token_entities**](docs/SearchApi.md#search_token_entities) | **POST** /api/v2/search/token | Search over a customer's api tokens +*SearchApi* | [**search_token_for_facet**](docs/SearchApi.md#search_token_for_facet) | **POST** /api/v2/search/token/{facet} | Lists the values of a specific facet over the customer's api tokens +*SearchApi* | [**search_token_for_facets**](docs/SearchApi.md#search_token_for_facets) | **POST** /api/v2/search/token/facets | Lists the values of one or more facets over the customer's api tokens +*SearchApi* | [**search_traces_map_for_facet**](docs/SearchApi.md#search_traces_map_for_facet) | **POST** /api/v2/search/savedtracessearch/{facet} | Lists the values of a specific facet over the customer's non-deleted traces searches +*SearchApi* | [**search_traces_map_for_facets**](docs/SearchApi.md#search_traces_map_for_facets) | **POST** /api/v2/search/savedtracessearch/facets | Lists the values of one or more facets over the customer's non-deleted traces searches *SearchApi* | [**search_user_entities**](docs/SearchApi.md#search_user_entities) | **POST** /api/v2/search/user | Search over a customer's users *SearchApi* | [**search_user_for_facet**](docs/SearchApi.md#search_user_for_facet) | **POST** /api/v2/search/user/{facet} | Lists the values of a specific facet over the customer's users *SearchApi* | [**search_user_for_facets**](docs/SearchApi.md#search_user_for_facets) | **POST** /api/v2/search/user/facets | Lists the values of one or more facets over the customer's users @@ -363,11 +421,15 @@ Class | Method | HTTP request | Description *SpanSamplingPolicyApi* | [**get_span_sampling_policy_version**](docs/SpanSamplingPolicyApi.md#get_span_sampling_policy_version) | **GET** /api/v2/spansamplingpolicy/{id}/history/{version} | Get a specific historical version of a specific sampling policy *SpanSamplingPolicyApi* | [**undelete_span_sampling_policy**](docs/SpanSamplingPolicyApi.md#undelete_span_sampling_policy) | **POST** /api/v2/spansamplingpolicy/{id}/undelete | Restore a deleted span sampling policy *SpanSamplingPolicyApi* | [**update_span_sampling_policy**](docs/SpanSamplingPolicyApi.md#update_span_sampling_policy) | **PUT** /api/v2/spansamplingpolicy/{id} | Update a specific span sampling policy +*UsageApi* | [**add_accounts**](docs/UsageApi.md#add_accounts) | **POST** /api/v2/usage/ingestionpolicy/{id}/addAccounts | Add accounts to ingestion policy +*UsageApi* | [**add_groups**](docs/UsageApi.md#add_groups) | **POST** /api/v2/usage/ingestionpolicy/{id}/addGroups | Add groups to the ingestion policy *UsageApi* | [**create_ingestion_policy**](docs/UsageApi.md#create_ingestion_policy) | **POST** /api/v2/usage/ingestionpolicy | Create a specific ingestion policy *UsageApi* | [**delete_ingestion_policy**](docs/UsageApi.md#delete_ingestion_policy) | **DELETE** /api/v2/usage/ingestionpolicy/{id} | Delete a specific ingestion policy *UsageApi* | [**export_csv**](docs/UsageApi.md#export_csv) | **GET** /api/v2/usage/exportcsv | Export a CSV report *UsageApi* | [**get_all_ingestion_policies**](docs/UsageApi.md#get_all_ingestion_policies) | **GET** /api/v2/usage/ingestionpolicy | Get all ingestion policies for a customer *UsageApi* | [**get_ingestion_policy**](docs/UsageApi.md#get_ingestion_policy) | **GET** /api/v2/usage/ingestionpolicy/{id} | Get a specific ingestion policy +*UsageApi* | [**remove_accounts**](docs/UsageApi.md#remove_accounts) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeAccounts | Remove accounts from ingestion policy +*UsageApi* | [**remove_groups**](docs/UsageApi.md#remove_groups) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeGroups | Remove groups from the ingestion policy *UsageApi* | [**update_ingestion_policy**](docs/UsageApi.md#update_ingestion_policy) | **PUT** /api/v2/usage/ingestionpolicy/{id} | Update a specific ingestion policy *UserApi* | [**add_user_to_user_groups**](docs/UserApi.md#add_user_to_user_groups) | **POST** /api/v2/user/{id}/addUserGroups | Adds specific groups to the user or service account *UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /api/v2/user | Creates an user if the user doesn't already exist. @@ -417,7 +479,11 @@ Class | Method | HTTP request | Description - [AlertSource](docs/AlertSource.md) - [Annotation](docs/Annotation.md) - [Anomaly](docs/Anomaly.md) + - [ApiTokenModel](docs/ApiTokenModel.md) - [AppDynamicsConfiguration](docs/AppDynamicsConfiguration.md) + - [AppSearchFilter](docs/AppSearchFilter.md) + - [AppSearchFilterValue](docs/AppSearchFilterValue.md) + - [AppSearchFilters](docs/AppSearchFilters.md) - [AzureActivityLogConfiguration](docs/AzureActivityLogConfiguration.md) - [AzureBaseCredentials](docs/AzureBaseCredentials.md) - [AzureConfiguration](docs/AzureConfiguration.md) @@ -436,7 +502,10 @@ Class | Method | HTTP request | Description - [DashboardParameterValue](docs/DashboardParameterValue.md) - [DashboardSection](docs/DashboardSection.md) - [DashboardSectionRow](docs/DashboardSectionRow.md) + - [DefaultSavedAppMapSearch](docs/DefaultSavedAppMapSearch.md) + - [DefaultSavedTracesSearch](docs/DefaultSavedTracesSearch.md) - [DerivedMetricDefinition](docs/DerivedMetricDefinition.md) + - [DynatraceConfiguration](docs/DynatraceConfiguration.md) - [EC2Configuration](docs/EC2Configuration.md) - [Event](docs/Event.md) - [EventSearchRequest](docs/EventSearchRequest.md) @@ -489,6 +558,7 @@ Class | Method | HTTP request | Description - [PagedAlert](docs/PagedAlert.md) - [PagedAlertWithStats](docs/PagedAlertWithStats.md) - [PagedAnomaly](docs/PagedAnomaly.md) + - [PagedApiTokenModel](docs/PagedApiTokenModel.md) - [PagedCloudIntegration](docs/PagedCloudIntegration.md) - [PagedCustomerFacingUserObject](docs/PagedCustomerFacingUserObject.md) - [PagedDashboard](docs/PagedDashboard.md) @@ -505,10 +575,16 @@ Class | Method | HTTP request | Description - [PagedMonitoredServiceDTO](docs/PagedMonitoredServiceDTO.md) - [PagedNotificant](docs/PagedNotificant.md) - [PagedProxy](docs/PagedProxy.md) + - [PagedRecentAppMapSearch](docs/PagedRecentAppMapSearch.md) + - [PagedRecentTracesSearch](docs/PagedRecentTracesSearch.md) - [PagedRelatedEvent](docs/PagedRelatedEvent.md) - [PagedReportEventAnomalyDTO](docs/PagedReportEventAnomalyDTO.md) - [PagedRoleDTO](docs/PagedRoleDTO.md) + - [PagedSavedAppMapSearch](docs/PagedSavedAppMapSearch.md) + - [PagedSavedAppMapSearchGroup](docs/PagedSavedAppMapSearchGroup.md) - [PagedSavedSearch](docs/PagedSavedSearch.md) + - [PagedSavedTracesSearch](docs/PagedSavedTracesSearch.md) + - [PagedSavedTracesSearchGroup](docs/PagedSavedTracesSearchGroup.md) - [PagedServiceAccount](docs/PagedServiceAccount.md) - [PagedSource](docs/PagedSource.md) - [PagedSpanSamplingPolicy](docs/PagedSpanSamplingPolicy.md) @@ -521,6 +597,8 @@ Class | Method | HTTP request | Description - [QueryResult](docs/QueryResult.md) - [QueryTypeDTO](docs/QueryTypeDTO.md) - [RawTimeseries](docs/RawTimeseries.md) + - [RecentAppMapSearch](docs/RecentAppMapSearch.md) + - [RecentTracesSearch](docs/RecentTracesSearch.md) - [RelatedAnomaly](docs/RelatedAnomaly.md) - [RelatedData](docs/RelatedData.md) - [RelatedEvent](docs/RelatedEvent.md) @@ -531,8 +609,11 @@ Class | Method | HTTP request | Description - [ResponseContainerAccessPolicyAction](docs/ResponseContainerAccessPolicyAction.md) - [ResponseContainerAccount](docs/ResponseContainerAccount.md) - [ResponseContainerAlert](docs/ResponseContainerAlert.md) + - [ResponseContainerApiTokenModel](docs/ResponseContainerApiTokenModel.md) - [ResponseContainerCloudIntegration](docs/ResponseContainerCloudIntegration.md) - [ResponseContainerDashboard](docs/ResponseContainerDashboard.md) + - [ResponseContainerDefaultSavedAppMapSearch](docs/ResponseContainerDefaultSavedAppMapSearch.md) + - [ResponseContainerDefaultSavedTracesSearch](docs/ResponseContainerDefaultSavedTracesSearch.md) - [ResponseContainerDerivedMetricDefinition](docs/ResponseContainerDerivedMetricDefinition.md) - [ResponseContainerEvent](docs/ResponseContainerEvent.md) - [ResponseContainerExternalLink](docs/ResponseContainerExternalLink.md) @@ -543,6 +624,7 @@ Class | Method | HTTP request | Description - [ResponseContainerIntegration](docs/ResponseContainerIntegration.md) - [ResponseContainerIntegrationStatus](docs/ResponseContainerIntegrationStatus.md) - [ResponseContainerListAccessControlListReadDTO](docs/ResponseContainerListAccessControlListReadDTO.md) + - [ResponseContainerListApiTokenModel](docs/ResponseContainerListApiTokenModel.md) - [ResponseContainerListIntegration](docs/ResponseContainerListIntegration.md) - [ResponseContainerListIntegrationManifestGroup](docs/ResponseContainerListIntegrationManifestGroup.md) - [ResponseContainerListNotificationMessages](docs/ResponseContainerListNotificationMessages.md) @@ -562,6 +644,7 @@ Class | Method | HTTP request | Description - [ResponseContainerPagedAlert](docs/ResponseContainerPagedAlert.md) - [ResponseContainerPagedAlertWithStats](docs/ResponseContainerPagedAlertWithStats.md) - [ResponseContainerPagedAnomaly](docs/ResponseContainerPagedAnomaly.md) + - [ResponseContainerPagedApiTokenModel](docs/ResponseContainerPagedApiTokenModel.md) - [ResponseContainerPagedCloudIntegration](docs/ResponseContainerPagedCloudIntegration.md) - [ResponseContainerPagedCustomerFacingUserObject](docs/ResponseContainerPagedCustomerFacingUserObject.md) - [ResponseContainerPagedDashboard](docs/ResponseContainerPagedDashboard.md) @@ -578,18 +661,30 @@ Class | Method | HTTP request | Description - [ResponseContainerPagedMonitoredServiceDTO](docs/ResponseContainerPagedMonitoredServiceDTO.md) - [ResponseContainerPagedNotificant](docs/ResponseContainerPagedNotificant.md) - [ResponseContainerPagedProxy](docs/ResponseContainerPagedProxy.md) + - [ResponseContainerPagedRecentAppMapSearch](docs/ResponseContainerPagedRecentAppMapSearch.md) + - [ResponseContainerPagedRecentTracesSearch](docs/ResponseContainerPagedRecentTracesSearch.md) - [ResponseContainerPagedRelatedEvent](docs/ResponseContainerPagedRelatedEvent.md) - [ResponseContainerPagedReportEventAnomalyDTO](docs/ResponseContainerPagedReportEventAnomalyDTO.md) - [ResponseContainerPagedRoleDTO](docs/ResponseContainerPagedRoleDTO.md) + - [ResponseContainerPagedSavedAppMapSearch](docs/ResponseContainerPagedSavedAppMapSearch.md) + - [ResponseContainerPagedSavedAppMapSearchGroup](docs/ResponseContainerPagedSavedAppMapSearchGroup.md) - [ResponseContainerPagedSavedSearch](docs/ResponseContainerPagedSavedSearch.md) + - [ResponseContainerPagedSavedTracesSearch](docs/ResponseContainerPagedSavedTracesSearch.md) + - [ResponseContainerPagedSavedTracesSearchGroup](docs/ResponseContainerPagedSavedTracesSearchGroup.md) - [ResponseContainerPagedServiceAccount](docs/ResponseContainerPagedServiceAccount.md) - [ResponseContainerPagedSource](docs/ResponseContainerPagedSource.md) - [ResponseContainerPagedSpanSamplingPolicy](docs/ResponseContainerPagedSpanSamplingPolicy.md) - [ResponseContainerPagedUserGroupModel](docs/ResponseContainerPagedUserGroupModel.md) - [ResponseContainerProxy](docs/ResponseContainerProxy.md) - [ResponseContainerQueryTypeDTO](docs/ResponseContainerQueryTypeDTO.md) + - [ResponseContainerRecentAppMapSearch](docs/ResponseContainerRecentAppMapSearch.md) + - [ResponseContainerRecentTracesSearch](docs/ResponseContainerRecentTracesSearch.md) - [ResponseContainerRoleDTO](docs/ResponseContainerRoleDTO.md) + - [ResponseContainerSavedAppMapSearch](docs/ResponseContainerSavedAppMapSearch.md) + - [ResponseContainerSavedAppMapSearchGroup](docs/ResponseContainerSavedAppMapSearchGroup.md) - [ResponseContainerSavedSearch](docs/ResponseContainerSavedSearch.md) + - [ResponseContainerSavedTracesSearch](docs/ResponseContainerSavedTracesSearch.md) + - [ResponseContainerSavedTracesSearchGroup](docs/ResponseContainerSavedTracesSearchGroup.md) - [ResponseContainerServiceAccount](docs/ResponseContainerServiceAccount.md) - [ResponseContainerSetBusinessFunction](docs/ResponseContainerSetBusinessFunction.md) - [ResponseContainerSetSourceLabelPair](docs/ResponseContainerSetSourceLabelPair.md) @@ -598,16 +693,22 @@ Class | Method | HTTP request | Description - [ResponseContainerString](docs/ResponseContainerString.md) - [ResponseContainerTagsResponse](docs/ResponseContainerTagsResponse.md) - [ResponseContainerUserApiToken](docs/ResponseContainerUserApiToken.md) + - [ResponseContainerUserDTO](docs/ResponseContainerUserDTO.md) - [ResponseContainerUserGroupModel](docs/ResponseContainerUserGroupModel.md) - [ResponseContainerValidatedUsersDTO](docs/ResponseContainerValidatedUsersDTO.md) - [ResponseContainerVoid](docs/ResponseContainerVoid.md) - [ResponseStatus](docs/ResponseStatus.md) - [RoleDTO](docs/RoleDTO.md) + - [SavedAppMapSearch](docs/SavedAppMapSearch.md) + - [SavedAppMapSearchGroup](docs/SavedAppMapSearchGroup.md) - [SavedSearch](docs/SavedSearch.md) + - [SavedTracesSearch](docs/SavedTracesSearch.md) + - [SavedTracesSearchGroup](docs/SavedTracesSearchGroup.md) - [Schema](docs/Schema.md) - [SearchQuery](docs/SearchQuery.md) - [ServiceAccount](docs/ServiceAccount.md) - [ServiceAccountWrite](docs/ServiceAccountWrite.md) + - [SnowflakeConfiguration](docs/SnowflakeConfiguration.md) - [SortableSearchRequest](docs/SortableSearchRequest.md) - [Sorting](docs/Sorting.md) - [Source](docs/Source.md) diff --git a/docs/Account.md b/docs/Account.md index cbe1c65..abca3c0 100644 --- a/docs/Account.md +++ b/docs/Account.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **groups** | **list[str]** | The list of account's permissions. | [optional] **identifier** | **str** | The unique identifier of an account. | +**ingestion_policies** | **list[str]** | The list of ingestion policies associated with the account. | [optional] **ingestion_policy_id** | **str** | The identifier of the ingestion policy linked with account. | [optional] **roles** | **list[str]** | The list of account's roles. | [optional] **united_permissions** | **list[str]** | The list of account's permissions assigned directly or through united roles assigned to it | [optional] diff --git a/docs/AccountUserAndServiceAccountApi.md b/docs/AccountUserAndServiceAccountApi.md index 005c671..4de9bdf 100644 --- a/docs/AccountUserAndServiceAccountApi.md +++ b/docs/AccountUserAndServiceAccountApi.md @@ -222,7 +222,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration)) -body = wavefront_api_client.IngestionPolicyMapping() # IngestionPolicyMapping | Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ], }
(optional) +body = wavefront_api_client.IngestionPolicyMapping() # IngestionPolicyMapping | Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ],   \"groups\": [   \"group1\",   \"group2\"   ] }
(optional) try: # Add a specific ingestion policy to multiple accounts @@ -236,7 +236,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**IngestionPolicyMapping**](IngestionPolicyMapping.md)| Example Body: <pre>{ \"ingestionPolicyId\": \"Ingestion policy identifier\", \"accounts\": [ \"account1\", \"account2\", \"account3\" ], }</pre> | [optional] + **body** | [**IngestionPolicyMapping**](IngestionPolicyMapping.md)| Example Body: <pre>{ \"ingestionPolicyId\": \"Ingestion policy identifier\", \"accounts\": [ \"account1\", \"account2\", \"account3\" ], \"groups\": [ \"group1\", \"group2\" ] }</pre> | [optional] ### Return type @@ -277,7 +277,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration)) send_email = true # bool | Whether to send email notification to the user, if created. Default: false (optional) -body = wavefront_api_client.UserToCreate() # UserToCreate | Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
(optional) +body = wavefront_api_client.UserToCreate() # UserToCreate | Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
(optional) try: # Creates or updates a user account @@ -292,7 +292,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **send_email** | **bool**| Whether to send email notification to the user, if created. Default: false | [optional] - **body** | [**UserToCreate**](UserToCreate.md)| Example Body: <pre>{ \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] }</pre> | [optional] + **body** | [**UserToCreate**](UserToCreate.md)| Example Body: <pre>{ \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"roles\": [ \"Role\" ], \"ingestionPolicies\": [ \"policyId1\", \"policyId2\" ] }</pre> | [optional] ### Return type @@ -1032,7 +1032,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration)) -body = [wavefront_api_client.UserToCreate()] # list[UserToCreate] | Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
(optional) +body = [wavefront_api_client.UserToCreate()] # list[UserToCreate] | Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
(optional) try: # Invite user accounts with given user groups and permissions. @@ -1046,7 +1046,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**list[UserToCreate]**](UserToCreate.md)| Example Body: <pre>[ { \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] } ]</pre> | [optional] + **body** | [**list[UserToCreate]**](UserToCreate.md)| Example Body: <pre>[ { \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"roles\": [ \"Role\" ], \"ingestionPolicies\": [ \"policyId1\", \"policyId2\" ] } ]</pre> | [optional] ### Return type @@ -1421,7 +1421,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.AccountUserAndServiceAccountApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | -body = wavefront_api_client.UserRequestDTO() # UserRequestDTO | Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
(optional) +body = wavefront_api_client.UserRequestDTO() # UserRequestDTO | Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
(optional) try: # Update user with given user groups, permissions and ingestion policy. @@ -1436,7 +1436,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **body** | [**UserRequestDTO**](UserRequestDTO.md)| Example Body: <pre>{ \"identifier\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] }</pre> | [optional] + **body** | [**UserRequestDTO**](UserRequestDTO.md)| Example Body: <pre>{ \"identifier\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicies\": [ \"policy_id\" ], \"roles\": [ \"Role\" ] }</pre> | [optional] ### Return type diff --git a/docs/Alert.md b/docs/Alert.md index 833f31b..fe6c28c 100644 --- a/docs/Alert.md +++ b/docs/Alert.md @@ -6,6 +6,9 @@ Name | Type | Description | Notes **acl** | [**AccessControlListSimple**](AccessControlListSimple.md) | | [optional] **active_maintenance_windows** | **list[str]** | The names of the active maintenance windows that are affecting this alert | [optional] **additional_information** | **str** | User-supplied additional explanatory information for this alert. Useful for linking runbooks, mitigations,, etc | [optional] +**alert_chart_base** | **int** | The base of alert chart. A linear chart will have base as 1, while a logarithmic chart will have the other base value. | [optional] +**alert_chart_description** | **str** | The description of alert chart. Different from alert additional info, this is used to describe the characteristics of the chart. | [optional] +**alert_chart_units** | **str** | The y-axis unit of Alert chart. | [optional] **alert_sources** | [**list[AlertSource]**](AlertSource.md) | A list of queries represent multiple queries in alert. It must contains at least one query with AlertSourceType as CONDITION. | [optional] **alert_triage_dashboards** | [**list[AlertDashboard]**](AlertDashboard.md) | User-supplied dashboard and parameters to create dashboard links. Parameters must be specified as constants or variables. Constant parameters currently only supported | [optional] **alert_type** | **str** | Alert type. | [optional] diff --git a/docs/ApiTokenApi.md b/docs/ApiTokenApi.md index 06bdb10..7be2189 100644 --- a/docs/ApiTokenApi.md +++ b/docs/ApiTokenApi.md @@ -5,10 +5,13 @@ All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_token**](ApiTokenApi.md#create_token) | **POST** /api/v2/apitoken | Create new api token +[**delete_customer_token**](ApiTokenApi.md#delete_customer_token) | **PUT** /api/v2/apitoken/customertokens/revoke | Delete the specified api token for a customer [**delete_token**](ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token [**delete_token_service_account**](ApiTokenApi.md#delete_token_service_account) | **DELETE** /api/v2/apitoken/serviceaccount/{id}/{token} | Delete the specified api token of the given service account [**generate_token_service_account**](ApiTokenApi.md#generate_token_service_account) | **POST** /api/v2/apitoken/serviceaccount/{id} | Create a new api token for the service account [**get_all_tokens**](ApiTokenApi.md#get_all_tokens) | **GET** /api/v2/apitoken | Get all api tokens for a user +[**get_customer_token**](ApiTokenApi.md#get_customer_token) | **GET** /api/v2/apitoken/customertokens/{id} | Get the specified api token for a customer +[**get_customer_tokens**](ApiTokenApi.md#get_customer_tokens) | **GET** /api/v2/apitoken/customertokens | Get all api tokens for a customer [**get_tokens_service_account**](ApiTokenApi.md#get_tokens_service_account) | **GET** /api/v2/apitoken/serviceaccount/{id} | Get all api tokens for the given service account [**update_token_name**](ApiTokenApi.md#update_token_name) | **PUT** /api/v2/apitoken/{id} | Update the name of the specified api token [**update_token_name_service_account**](ApiTokenApi.md#update_token_name_service_account) | **PUT** /api/v2/apitoken/serviceaccount/{id}/{token} | Update the name of the specified api token for the given service account @@ -64,6 +67,60 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_customer_token** +> ResponseContainerUserApiToken delete_customer_token(body=body) + +Delete the specified api token for a customer + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.UserApiToken() # UserApiToken | (optional) + +try: + # Delete the specified api token for a customer + api_response = api_instance.delete_customer_token(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiTokenApi->delete_customer_token: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**UserApiToken**](UserApiToken.md)| | [optional] + +### Return type + +[**ResponseContainerUserApiToken**](ResponseContainerUserApiToken.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_token** > ResponseContainerListUserApiToken delete_token(id) @@ -280,6 +337,110 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_customer_token** +> ResponseContainerApiTokenModel get_customer_token(id) + +Get the specified api token for a customer + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get the specified api token for a customer + api_response = api_instance.get_customer_token(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiTokenApi->get_customer_token: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerApiTokenModel**](ResponseContainerApiTokenModel.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_customer_tokens** +> ResponseContainerListApiTokenModel get_customer_tokens() + +Get all api tokens for a customer + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.ApiTokenApi(wavefront_api_client.ApiClient(configuration)) + +try: + # Get all api tokens for a customer + api_response = api_instance.get_customer_tokens() + pprint(api_response) +except ApiException as e: + print("Exception when calling ApiTokenApi->get_customer_tokens: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ResponseContainerListApiTokenModel**](ResponseContainerListApiTokenModel.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_tokens_service_account** > ResponseContainerListUserApiToken get_tokens_service_account(id) diff --git a/docs/ApiTokenModel.md b/docs/ApiTokenModel.md new file mode 100644 index 0000000..b355ecf --- /dev/null +++ b/docs/ApiTokenModel.md @@ -0,0 +1,17 @@ +# ApiTokenModel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account** | **str** | The account who generated this token. | [optional] +**account_type** | **str** | The user or service account generated this token. | [optional] +**created_epoch_millis** | **int** | | [optional] +**customer** | **str** | The id of the customer to which the token belongs. | [optional] +**date_generated** | **int** | The generation date of the token. | [optional] +**id** | **str** | The unique identifier of the token. | [optional] +**last_used** | **int** | The last time this token was used. | [optional] +**name** | **str** | The name of the token. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AppSearchFilter.md b/docs/AppSearchFilter.md new file mode 100644 index 0000000..702dae7 --- /dev/null +++ b/docs/AppSearchFilter.md @@ -0,0 +1,11 @@ +# AppSearchFilter + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filter_type** | **str** | | [optional] +**values** | [**AppSearchFilterValue**](AppSearchFilterValue.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AppSearchFilterValue.md b/docs/AppSearchFilterValue.md new file mode 100644 index 0000000..2c734e5 --- /dev/null +++ b/docs/AppSearchFilterValue.md @@ -0,0 +1,12 @@ +# AppSearchFilterValue + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**array_value** | **list[str]** | | [optional] +**logical_value** | **list[list[str]]** | | [optional] +**string_value** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AppSearchFilters.md b/docs/AppSearchFilters.md new file mode 100644 index 0000000..da61099 --- /dev/null +++ b/docs/AppSearchFilters.md @@ -0,0 +1,11 @@ +# AppSearchFilters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filters** | [**list[AppSearchFilter]**](AppSearchFilter.md) | | [optional] +**query** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CloudIntegration.md b/docs/CloudIntegration.md index 7cccb9f..60041e8 100644 --- a/docs/CloudIntegration.md +++ b/docs/CloudIntegration.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **creator_id** | **str** | | [optional] **deleted** | **bool** | | [optional] **disabled** | **bool** | True when an aws credential failed to authenticate. | [optional] +**dynatrace** | [**DynatraceConfiguration**](DynatraceConfiguration.md) | | [optional] **ec2** | [**EC2Configuration**](EC2Configuration.md) | | [optional] **force_save** | **bool** | | [optional] **gcp** | [**GCPConfiguration**](GCPConfiguration.md) | | [optional] @@ -31,6 +32,7 @@ Name | Type | Description | Notes **reuse_external_id_credential** | **str** | | [optional] **service** | **str** | A value denoting which cloud service this integration integrates with | **service_refresh_rate_in_mins** | **int** | Service refresh rate in minutes. | [optional] +**snowflake** | [**SnowflakeConfiguration**](SnowflakeConfiguration.md) | | [optional] **tesla** | [**TeslaConfiguration**](TeslaConfiguration.md) | | [optional] **updated_epoch_millis** | **int** | | [optional] **updater_id** | **str** | | [optional] diff --git a/docs/CloudWatchConfiguration.md b/docs/CloudWatchConfiguration.md index 8a05631..06e071c 100644 --- a/docs/CloudWatchConfiguration.md +++ b/docs/CloudWatchConfiguration.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **metric_filter_regex** | **str** | A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested | [optional] **namespaces** | **list[str]** | A list of namespace that limit what we query from CloudWatch. | [optional] **point_tag_filter_regex** | **str** | A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested | [optional] +**thread_distribution_in_mins** | **int** | ThreadDistributionInMins | [optional] **volume_selection_tags** | **dict(str, str)** | A string->string map of allow list of AWS volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed | [optional] **volume_selection_tags_expr** | **str** | A string expressing the allow list of AWS volume tag-value pairs. If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed and also OR'ed with entries from volumeSelectionTags. Key-value pairs in the string are separated by commas and in the form k=v. Example: \"k1=v1, k1=v2, k3=v3\". | [optional] diff --git a/docs/Dashboard.md b/docs/Dashboard.md index 9d3e93b..66a69ba 100644 --- a/docs/Dashboard.md +++ b/docs/Dashboard.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **default_time_window** | **str** | Default time window to query charts | [optional] **deleted** | **bool** | | [optional] **description** | **str** | Human-readable description of the dashboard | [optional] +**disable_refresh_in_live_mode** | **bool** | Refresh variables in Live Mode | [optional] **display_description** | **bool** | Whether the dashboard description section is opened by default when the dashboard is shown | [optional] **display_query_parameters** | **bool** | Whether the dashboard parameters section is opened by default when the dashboard is shown | [optional] **display_section_table_of_contents** | **bool** | Whether the \"pills\" quick-linked the sections of the dashboard are displayed by default when the dashboard is shown | [optional] @@ -25,6 +26,7 @@ Name | Type | Description | Notes **force_v2_ui** | **bool** | Whether to force this dashboard to use the V2 UI | [optional] **hidden** | **bool** | | [optional] **id** | **str** | Unique identifier, also URL slug, of the dashboard | +**include_obsolete_metrics** | **bool** | Whether to include the obsolete metrics | [optional] **modify_acl_access** | **bool** | Whether the user has modify ACL access to the dashboard. | [optional] **name** | **str** | Name of the dashboard | **num_charts** | **int** | | [optional] diff --git a/docs/DefaultSavedAppMapSearch.md b/docs/DefaultSavedAppMapSearch.md new file mode 100644 index 0000000..c749d1b --- /dev/null +++ b/docs/DefaultSavedAppMapSearch.md @@ -0,0 +1,11 @@ +# DefaultSavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_search_id** | **str** | | [optional] +**user_setting** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DefaultSavedTracesSearch.md b/docs/DefaultSavedTracesSearch.md new file mode 100644 index 0000000..6e1f96d --- /dev/null +++ b/docs/DefaultSavedTracesSearch.md @@ -0,0 +1,11 @@ +# DefaultSavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_search_id** | **str** | | [optional] +**user_setting** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DynatraceConfiguration.md b/docs/DynatraceConfiguration.md new file mode 100644 index 0000000..cef7d1f --- /dev/null +++ b/docs/DynatraceConfiguration.md @@ -0,0 +1,12 @@ +# DynatraceConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dynatrace_api_token** | **str** | The Dynatrace API Token | +**environment_id** | **str** | The ID of Dynatrace Environment | [optional] +**metric_filter_regex** | **str** | A regular expression that a metric name must match (case-insensitively) in order to be ingested | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IngestionPolicy.md b/docs/IngestionPolicy.md index 3cf9002..6864241 100644 --- a/docs/IngestionPolicy.md +++ b/docs/IngestionPolicy.md @@ -3,14 +3,21 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**account_count** | **int** | Total number of accounts that are linked to the ingestion policy | [optional] **customer** | **str** | ID of the customer to which the ingestion policy belongs | [optional] **description** | **str** | The description of the ingestion policy | [optional] +**group_count** | **int** | Total number of groups that are linked to the ingestion policy | [optional] **id** | **str** | The unique ID for the ingestion policy | [optional] +**is_limited** | **bool** | Whether the ingestion policy is limited | [optional] **last_updated_account_id** | **str** | The account that updated this ingestion policy last time | [optional] **last_updated_ms** | **int** | The last time when the ingestion policy is updated, in epoch milliseconds | [optional] +**limit_pps** | **int** | The PPS limit of the ingestion policy | [optional] **name** | **str** | The name of the ingestion policy | [optional] +**sampled_accounts** | **list[str]** | A sample of the accounts assigned to this ingestion policy. Please use the Ingestion Policy facet of the Account Search API to get the full list of accounts for this policy | [optional] +**sampled_groups** | [**list[UserGroup]**](UserGroup.md) | A sample of the groups assigned to this ingestion policy. Please use the Ingestion Policy facet of the Group Search API to get the full list of groups for this policy | [optional] **sampled_service_accounts** | **list[str]** | A sample of the service accounts accounts assigned to this ingestion policy. Please use the Ingestion Policy facet of the Account Search API to get the full list of service accounts for this policy | [optional] **sampled_user_accounts** | **list[str]** | A sample of the user accounts assigned to this ingestion policy. Please use the Ingestion Policy facet of the Account Search API to get the full list of users for this policy | [optional] +**scope** | **str** | The scope of the ingestion policy | [optional] **service_account_count** | **int** | Total number of service accounts that are linked to the ingestion policy | [optional] **user_account_count** | **int** | Total number of user accounts that are linked to the ingestion policy | [optional] diff --git a/docs/IngestionPolicyMapping.md b/docs/IngestionPolicyMapping.md index 5be111e..24f5aff 100644 --- a/docs/IngestionPolicyMapping.md +++ b/docs/IngestionPolicyMapping.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**accounts** | **list[str]** | The list of accounts that should be linked to the ingestion policy | +**accounts** | **list[str]** | The list of accounts that should be linked/unlinked to/from the ingestion policy | [optional] +**groups** | **list[str]** | The list of groups that should be linked/unlinked to/from the ingestion policy | [optional] **ingestion_policy_id** | **str** | The unique identifier of the ingestion policy | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Integration.md b/docs/Integration.md index b2b792a..59f19f6 100644 --- a/docs/Integration.md +++ b/docs/Integration.md @@ -12,10 +12,12 @@ Name | Type | Description | Notes **dashboards** | [**list[IntegrationDashboard]**](IntegrationDashboard.md) | A list of dashboards belonging to this integration | [optional] **deleted** | **bool** | | [optional] **description** | **str** | Integration description | +**have_metric_dropdown** | **bool** | Integration have metric dropdown or not | **hidden** | **bool** | Integration is hidden or not | **icon** | **str** | URI path to the integration icon | **id** | **str** | | [optional] **metrics** | [**IntegrationMetrics**](IntegrationMetrics.md) | | [optional] +**metrics_docs** | **str** | Metric Preview File Name | [optional] **name** | **str** | Integration name | **overview** | **str** | Descriptive text giving an overview of integration functionality | [optional] **setup** | **str** | How the integration will be set-up | [optional] diff --git a/docs/MaintenanceWindow.md b/docs/MaintenanceWindow.md index e8b69e3..5c25e63 100644 --- a/docs/MaintenanceWindow.md +++ b/docs/MaintenanceWindow.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **host_tag_group_host_names_group_anded** | **bool** | If true, a source/host must be in 'relevantHostNames' and have tags matching the specification formed by 'relevantHostTags' and 'relevantHostTagsAnded' in order for this maintenance window to apply. If false, a source/host must either be in 'relevantHostNames' or match 'relevantHostTags' and 'relevantHostTagsAnded'. Default: false | [optional] **id** | **str** | | [optional] **point_tag_filter** | **str** | Query that filters on point tags of timeseries scanned by alert. | [optional] +**point_tag_filter_anded** | **bool** | Whether to AND point tags filter listed in pointTagFilter. If true, a timeseries must contain the point tags along with other filters in order for the maintenance window to apply.If false, the tags are OR'ed, the customer must contain one of the tags. Default: false | [optional] **reason** | **str** | The purpose of this maintenance window | **relevant_customer_tags** | **list[str]** | List of alert tags whose matching alerts will be put into maintenance because of this maintenance window | **relevant_customer_tags_anded** | **bool** | Whether to AND customer tags listed in relevantCustomerTags. If true, a customer must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a customer must contain one of the tags. Default: false | [optional] diff --git a/docs/MonitoredServiceApi.md b/docs/MonitoredServiceApi.md index 127d6f9..b7b249e 100644 --- a/docs/MonitoredServiceApi.md +++ b/docs/MonitoredServiceApi.md @@ -5,7 +5,9 @@ All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**batch_update**](MonitoredServiceApi.md#batch_update) | **PUT** /api/v2/monitoredservice/services | Update multiple applications and services in a batch. Batch size is limited to 100. +[**get_all_components**](MonitoredServiceApi.md#get_all_components) | **GET** /api/v2/monitoredservice/components | Get all monitored services with components [**get_all_services**](MonitoredServiceApi.md#get_all_services) | **GET** /api/v2/monitoredservice | Get all monitored services +[**get_component**](MonitoredServiceApi.md#get_component) | **GET** /api/v2/monitoredservice/{application}/{service}/{component} | Get a specific application [**get_service**](MonitoredServiceApi.md#get_service) | **GET** /api/v2/monitoredservice/{application}/{service} | Get a specific application [**get_services_of_application**](MonitoredServiceApi.md#get_services_of_application) | **GET** /api/v2/monitoredservice/{application} | Get a specific application [**update_service**](MonitoredServiceApi.md#update_service) | **PUT** /api/v2/monitoredservice/{application}/{service} | Update a specific service @@ -34,7 +36,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.MonitoredServiceApi(wavefront_api_client.ApiClient(configuration)) -body = [wavefront_api_client.MonitoredServiceDTO()] # list[MonitoredServiceDTO] | Example Body:
[{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"application\": \"beachshirts\",   \"service\": \"delivery\",   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
(optional) +body = [wavefront_api_client.MonitoredServiceDTO()] # list[MonitoredServiceDTO] | Example Body:
[{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
(optional) try: # Update multiple applications and services in a batch. Batch size is limited to 100. @@ -48,7 +50,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**list[MonitoredServiceDTO]**](MonitoredServiceDTO.md)| Example Body: <pre>[{ \"application\": \"beachshirts\", \"service\": \"shopping\", \"satisfiedLatencyMillis\": \"100000\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" },{ \"application\": \"beachshirts\", \"service\": \"delivery\", \"satisfiedLatencyMillis\": \"100\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" }]</pre> | [optional] + **body** | [**list[MonitoredServiceDTO]**](MonitoredServiceDTO.md)| Example Body: <pre>[{ \"satisfiedLatencyMillis\": \"100000\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" },{ \"satisfiedLatencyMillis\": \"100\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" }]</pre> | [optional] ### Return type @@ -65,6 +67,62 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_all_components** +> ResponseContainerPagedMonitoredServiceDTO get_all_components(offset=offset, limit=limit) + +Get all monitored services with components + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.MonitoredServiceApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all monitored services with components + api_response = api_instance.get_all_components(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling MonitoredServiceApi->get_all_components: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedMonitoredServiceDTO**](ResponseContainerPagedMonitoredServiceDTO.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_all_services** > ResponseContainerPagedMonitoredServiceDTO get_all_services(offset=offset, limit=limit) @@ -121,6 +179,64 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_component** +> ResponseContainerMonitoredServiceDTO get_component(application, service, component) + +Get a specific application + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.MonitoredServiceApi(wavefront_api_client.ApiClient(configuration)) +application = 'application_example' # str | +service = 'service_example' # str | +component = 'component_example' # str | + +try: + # Get a specific application + api_response = api_instance.get_component(application, service, component) + pprint(api_response) +except ApiException as e: + print("Exception when calling MonitoredServiceApi->get_component: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **application** | **str**| | + **service** | **str**| | + **component** | **str**| | + +### Return type + +[**ResponseContainerMonitoredServiceDTO**](ResponseContainerMonitoredServiceDTO.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_service** > ResponseContainerMonitoredServiceDTO get_service(application, service) @@ -178,7 +294,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_services_of_application** -> ResponseContainerPagedMonitoredServiceDTO get_services_of_application(application, offset=offset, limit=limit) +> ResponseContainerPagedMonitoredServiceDTO get_services_of_application(application, include_component=include_component, offset=offset, limit=limit) Get a specific application @@ -201,12 +317,13 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.MonitoredServiceApi(wavefront_api_client.ApiClient(configuration)) application = 'application_example' # str | +include_component = false # bool | (optional) (default to false) offset = 0 # int | (optional) (default to 0) limit = 100 # int | (optional) (default to 100) try: # Get a specific application - api_response = api_instance.get_services_of_application(application, offset=offset, limit=limit) + api_response = api_instance.get_services_of_application(application, include_component=include_component, offset=offset, limit=limit) pprint(api_response) except ApiException as e: print("Exception when calling MonitoredServiceApi->get_services_of_application: %s\n" % e) @@ -217,6 +334,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **application** | **str**| | + **include_component** | **bool**| | [optional] [default to false] **offset** | **int**| | [optional] [default to 0] **limit** | **int**| | [optional] [default to 100] @@ -260,7 +378,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' api_instance = wavefront_api_client.MonitoredServiceApi(wavefront_api_client.ApiClient(configuration)) application = 'application_example' # str | service = 'service_example' # str | -body = wavefront_api_client.MonitoredServiceDTO() # MonitoredServiceDTO | Example Body:
{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
(optional) +body = wavefront_api_client.MonitoredServiceDTO() # MonitoredServiceDTO | Example Body:
{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
(optional) try: # Update a specific service @@ -276,7 +394,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **application** | **str**| | **service** | **str**| | - **body** | [**MonitoredServiceDTO**](MonitoredServiceDTO.md)| Example Body: <pre>{ \"application\": \"beachshirts\", \"service\": \"shopping\", \"satisfiedLatencyMillis\": \"100000\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" }</pre> | [optional] + **body** | [**MonitoredServiceDTO**](MonitoredServiceDTO.md)| Example Body: <pre>{ \"satisfiedLatencyMillis\": \"100000\", \"customDashboardLink\": \"shopping-dashboard\", \"hidden\": \"false\" }</pre> | [optional] ### Return type diff --git a/docs/MonitoredServiceDTO.md b/docs/MonitoredServiceDTO.md index d841423..748b07a 100644 --- a/docs/MonitoredServiceDTO.md +++ b/docs/MonitoredServiceDTO.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **application** | **str** | Application Name of the monitored service | +**component** | **str** | Component Name of the monitored service | **created** | **int** | Created epoch of monitored service | [optional] **custom_dashboard_link** | **str** | Customer dashboard link | [optional] **hidden** | **bool** | Monitored service is hidden or not | [optional] @@ -11,6 +12,8 @@ Name | Type | Description | Notes **last_updated** | **int** | Last update epoch of monitored service | [optional] **satisfied_latency_millis** | **int** | Satisfied latency of monitored service | [optional] **service** | **str** | Service Name of the monitored service | +**service_instance_count** | **int** | Service Instance count of the monitored service | +**source** | **str** | Source of the monitored service | **status** | **str** | Status of monitored service | [optional] **update_user_id** | **str** | Last update user id of monitored service | [optional] diff --git a/docs/NotificantApi.md b/docs/NotificantApi.md index 44fe217..55fb082 100644 --- a/docs/NotificantApi.md +++ b/docs/NotificantApi.md @@ -90,7 +90,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.NotificantApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | -unlink = false # bool | (optional) (default to false) +unlink = false # bool | If set to true, explicitly deletes a notification target even if it’s in use by alerts.
Before deletion, the target is removed from the alert's target list. (optional) (default to false) try: # Delete a specific notification target @@ -105,7 +105,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **unlink** | **bool**| | [optional] [default to false] + **unlink** | **bool**| If set to true, explicitly deletes a notification target even if it’s in use by alerts.<br/>Before deletion, the target is removed from the alert's target list. | [optional] [default to false] ### Return type diff --git a/docs/PagedApiTokenModel.md b/docs/PagedApiTokenModel.md new file mode 100644 index 0000000..f5bfaa4 --- /dev/null +++ b/docs/PagedApiTokenModel.md @@ -0,0 +1,16 @@ +# PagedApiTokenModel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[ApiTokenModel]**](ApiTokenModel.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedRecentAppMapSearch.md b/docs/PagedRecentAppMapSearch.md new file mode 100644 index 0000000..cc2eaae --- /dev/null +++ b/docs/PagedRecentAppMapSearch.md @@ -0,0 +1,16 @@ +# PagedRecentAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[RecentAppMapSearch]**](RecentAppMapSearch.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedRecentTracesSearch.md b/docs/PagedRecentTracesSearch.md new file mode 100644 index 0000000..aa3ac82 --- /dev/null +++ b/docs/PagedRecentTracesSearch.md @@ -0,0 +1,16 @@ +# PagedRecentTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[RecentTracesSearch]**](RecentTracesSearch.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedSavedAppMapSearch.md b/docs/PagedSavedAppMapSearch.md new file mode 100644 index 0000000..5f2e6e8 --- /dev/null +++ b/docs/PagedSavedAppMapSearch.md @@ -0,0 +1,16 @@ +# PagedSavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[SavedAppMapSearch]**](SavedAppMapSearch.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedSavedAppMapSearchGroup.md b/docs/PagedSavedAppMapSearchGroup.md new file mode 100644 index 0000000..e652717 --- /dev/null +++ b/docs/PagedSavedAppMapSearchGroup.md @@ -0,0 +1,16 @@ +# PagedSavedAppMapSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[SavedAppMapSearchGroup]**](SavedAppMapSearchGroup.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedSavedTracesSearch.md b/docs/PagedSavedTracesSearch.md new file mode 100644 index 0000000..46fadb1 --- /dev/null +++ b/docs/PagedSavedTracesSearch.md @@ -0,0 +1,16 @@ +# PagedSavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[SavedTracesSearch]**](SavedTracesSearch.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PagedSavedTracesSearchGroup.md b/docs/PagedSavedTracesSearchGroup.md new file mode 100644 index 0000000..69b098f --- /dev/null +++ b/docs/PagedSavedTracesSearchGroup.md @@ -0,0 +1,16 @@ +# PagedSavedTracesSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cursor** | **str** | The id at which the current (limited) search can be continued to obtain more matching items | [optional] +**items** | [**list[SavedTracesSearchGroup]**](SavedTracesSearchGroup.md) | List of requested items | [optional] +**limit** | **int** | | [optional] +**more_items** | **bool** | Whether more items are available for return by increment offset or cursor | [optional] +**offset** | **int** | | [optional] +**sort** | [**Sorting**](Sorting.md) | | [optional] +**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Proxy.md b/docs/Proxy.md index 8f90726..0f57bd3 100644 --- a/docs/Proxy.md +++ b/docs/Proxy.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **hostname** | **str** | Host name of the machine running the proxy | [optional] **id** | **str** | | [optional] **in_trash** | **bool** | | [optional] +**ingestion_policies** | [**list[IngestionPolicy]**](IngestionPolicy.md) | Ingestion policies associated with the proxy through user and groups | [optional] **ingestion_policy** | [**IngestionPolicy**](IngestionPolicy.md) | Ingestion policy associated with the proxy | [optional] **last_check_in_time** | **int** | Last time when this proxy checked in (in milliseconds since the unix epoch) | [optional] **last_error_event** | [**Event**](Event.md) | | [optional] @@ -31,6 +32,7 @@ Name | Type | Description | Notes **status** | **str** | the proxy's status | [optional] **status_cause** | **str** | The reason why the proxy is in current status | [optional] **time_drift** | **int** | Time drift of the proxy's clock compared to Wavefront servers | [optional] +**truncate** | **bool** | When true, attempt to truncate down this proxy backlog remotely | [optional] **user_id** | **str** | The user associated with this proxy | [optional] **version** | **str** | | [optional] diff --git a/docs/RecentAppMapSearch.md b/docs/RecentAppMapSearch.md new file mode 100644 index 0000000..15f5b1e --- /dev/null +++ b/docs/RecentAppMapSearch.md @@ -0,0 +1,15 @@ +# RecentAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**id** | **str** | | [optional] +**search_filters** | [**AppSearchFilters**](AppSearchFilters.md) | The search filters. | +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RecentAppMapSearchApi.md b/docs/RecentAppMapSearchApi.md new file mode 100644 index 0000000..3a468a3 --- /dev/null +++ b/docs/RecentAppMapSearchApi.md @@ -0,0 +1,175 @@ +# wavefront_api_client.RecentAppMapSearchApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_recent_app_map_search**](RecentAppMapSearchApi.md#create_recent_app_map_search) | **POST** /api/v2/recentappmapsearch | Create a search +[**get_all_recent_app_map_searches**](RecentAppMapSearchApi.md#get_all_recent_app_map_searches) | **GET** /api/v2/recentappmapsearch | Get all searches for a user +[**get_recent_app_map_search**](RecentAppMapSearchApi.md#get_recent_app_map_search) | **GET** /api/v2/recentappmapsearch/{id} | Get a specific search + + +# **create_recent_app_map_search** +> ResponseContainerRecentAppMapSearch create_recent_app_map_search(body=body) + +Create a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.RecentAppMapSearch() # RecentAppMapSearch | Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Create a search + api_response = api_instance.create_recent_app_map_search(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentAppMapSearchApi->create_recent_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**RecentAppMapSearch**](RecentAppMapSearch.md)| Example Body: <pre>{ \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerRecentAppMapSearch**](ResponseContainerRecentAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_recent_app_map_searches** +> ResponseContainerPagedRecentAppMapSearch get_all_recent_app_map_searches(offset=offset, limit=limit) + +Get all searches for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 10 # int | (optional) (default to 10) + +try: + # Get all searches for a user + api_response = api_instance.get_all_recent_app_map_searches(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentAppMapSearchApi->get_all_recent_app_map_searches: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 10] + +### Return type + +[**ResponseContainerPagedRecentAppMapSearch**](ResponseContainerPagedRecentAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_recent_app_map_search** +> ResponseContainerRecentAppMapSearch get_recent_app_map_search(id) + +Get a specific search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search + api_response = api_instance.get_recent_app_map_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentAppMapSearchApi->get_recent_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerRecentAppMapSearch**](ResponseContainerRecentAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/RecentTracesSearch.md b/docs/RecentTracesSearch.md new file mode 100644 index 0000000..0e409d0 --- /dev/null +++ b/docs/RecentTracesSearch.md @@ -0,0 +1,15 @@ +# RecentTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**id** | **str** | | [optional] +**search_filters** | [**AppSearchFilters**](AppSearchFilters.md) | The search filters. | +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RecentTracesSearchApi.md b/docs/RecentTracesSearchApi.md new file mode 100644 index 0000000..86c78cc --- /dev/null +++ b/docs/RecentTracesSearchApi.md @@ -0,0 +1,175 @@ +# wavefront_api_client.RecentTracesSearchApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_recent_traces_search**](RecentTracesSearchApi.md#create_recent_traces_search) | **POST** /api/v2/recenttracessearch | Create a search +[**get_all_recent_traces_searches**](RecentTracesSearchApi.md#get_all_recent_traces_searches) | **GET** /api/v2/recenttracessearch | Get all searches for a user +[**get_recent_traces_search**](RecentTracesSearchApi.md#get_recent_traces_search) | **GET** /api/v2/recenttracessearch/{id} | Get a specific search + + +# **create_recent_traces_search** +> ResponseContainerRecentTracesSearch create_recent_traces_search(body=body) + +Create a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.RecentTracesSearch() # RecentTracesSearch | Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Create a search + api_response = api_instance.create_recent_traces_search(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentTracesSearchApi->create_recent_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**RecentTracesSearch**](RecentTracesSearch.md)| Example Body: <pre>{ \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerRecentTracesSearch**](ResponseContainerRecentTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_recent_traces_searches** +> ResponseContainerPagedRecentTracesSearch get_all_recent_traces_searches(offset=offset, limit=limit) + +Get all searches for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a user + api_response = api_instance.get_all_recent_traces_searches(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentTracesSearchApi->get_all_recent_traces_searches: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedRecentTracesSearch**](ResponseContainerPagedRecentTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_recent_traces_search** +> ResponseContainerRecentTracesSearch get_recent_traces_search(id) + +Get a specific search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.RecentTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search + api_response = api_instance.get_recent_traces_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling RecentTracesSearchApi->get_recent_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerRecentTracesSearch**](ResponseContainerRecentTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ResponseContainerApiTokenModel.md b/docs/ResponseContainerApiTokenModel.md new file mode 100644 index 0000000..31b0232 --- /dev/null +++ b/docs/ResponseContainerApiTokenModel.md @@ -0,0 +1,11 @@ +# ResponseContainerApiTokenModel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**ApiTokenModel**](ApiTokenModel.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerDefaultSavedAppMapSearch.md b/docs/ResponseContainerDefaultSavedAppMapSearch.md new file mode 100644 index 0000000..60672c8 --- /dev/null +++ b/docs/ResponseContainerDefaultSavedAppMapSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerDefaultSavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**DefaultSavedAppMapSearch**](DefaultSavedAppMapSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerDefaultSavedTracesSearch.md b/docs/ResponseContainerDefaultSavedTracesSearch.md new file mode 100644 index 0000000..e3324ef --- /dev/null +++ b/docs/ResponseContainerDefaultSavedTracesSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerDefaultSavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**DefaultSavedTracesSearch**](DefaultSavedTracesSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerListApiTokenModel.md b/docs/ResponseContainerListApiTokenModel.md new file mode 100644 index 0000000..952e859 --- /dev/null +++ b/docs/ResponseContainerListApiTokenModel.md @@ -0,0 +1,11 @@ +# ResponseContainerListApiTokenModel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**list[ApiTokenModel]**](ApiTokenModel.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedApiTokenModel.md b/docs/ResponseContainerPagedApiTokenModel.md new file mode 100644 index 0000000..a391f54 --- /dev/null +++ b/docs/ResponseContainerPagedApiTokenModel.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedApiTokenModel + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedApiTokenModel**](PagedApiTokenModel.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedRecentAppMapSearch.md b/docs/ResponseContainerPagedRecentAppMapSearch.md new file mode 100644 index 0000000..bd38d7d --- /dev/null +++ b/docs/ResponseContainerPagedRecentAppMapSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedRecentAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedRecentAppMapSearch**](PagedRecentAppMapSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedRecentTracesSearch.md b/docs/ResponseContainerPagedRecentTracesSearch.md new file mode 100644 index 0000000..13c9afd --- /dev/null +++ b/docs/ResponseContainerPagedRecentTracesSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedRecentTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedRecentTracesSearch**](PagedRecentTracesSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedSavedAppMapSearch.md b/docs/ResponseContainerPagedSavedAppMapSearch.md new file mode 100644 index 0000000..0f5c303 --- /dev/null +++ b/docs/ResponseContainerPagedSavedAppMapSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedSavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedSavedAppMapSearch**](PagedSavedAppMapSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedSavedAppMapSearchGroup.md b/docs/ResponseContainerPagedSavedAppMapSearchGroup.md new file mode 100644 index 0000000..3027237 --- /dev/null +++ b/docs/ResponseContainerPagedSavedAppMapSearchGroup.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedSavedAppMapSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedSavedAppMapSearchGroup**](PagedSavedAppMapSearchGroup.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedSavedTracesSearch.md b/docs/ResponseContainerPagedSavedTracesSearch.md new file mode 100644 index 0000000..7cca8e7 --- /dev/null +++ b/docs/ResponseContainerPagedSavedTracesSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedSavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedSavedTracesSearch**](PagedSavedTracesSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerPagedSavedTracesSearchGroup.md b/docs/ResponseContainerPagedSavedTracesSearchGroup.md new file mode 100644 index 0000000..d480f57 --- /dev/null +++ b/docs/ResponseContainerPagedSavedTracesSearchGroup.md @@ -0,0 +1,11 @@ +# ResponseContainerPagedSavedTracesSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**PagedSavedTracesSearchGroup**](PagedSavedTracesSearchGroup.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerRecentAppMapSearch.md b/docs/ResponseContainerRecentAppMapSearch.md new file mode 100644 index 0000000..9be1cba --- /dev/null +++ b/docs/ResponseContainerRecentAppMapSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerRecentAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**RecentAppMapSearch**](RecentAppMapSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerRecentTracesSearch.md b/docs/ResponseContainerRecentTracesSearch.md new file mode 100644 index 0000000..f9cee4b --- /dev/null +++ b/docs/ResponseContainerRecentTracesSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerRecentTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**RecentTracesSearch**](RecentTracesSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerSavedAppMapSearch.md b/docs/ResponseContainerSavedAppMapSearch.md new file mode 100644 index 0000000..f6fd70b --- /dev/null +++ b/docs/ResponseContainerSavedAppMapSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerSavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**SavedAppMapSearch**](SavedAppMapSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerSavedAppMapSearchGroup.md b/docs/ResponseContainerSavedAppMapSearchGroup.md new file mode 100644 index 0000000..9c3be98 --- /dev/null +++ b/docs/ResponseContainerSavedAppMapSearchGroup.md @@ -0,0 +1,11 @@ +# ResponseContainerSavedAppMapSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**SavedAppMapSearchGroup**](SavedAppMapSearchGroup.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerSavedTracesSearch.md b/docs/ResponseContainerSavedTracesSearch.md new file mode 100644 index 0000000..e01889d --- /dev/null +++ b/docs/ResponseContainerSavedTracesSearch.md @@ -0,0 +1,11 @@ +# ResponseContainerSavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**SavedTracesSearch**](SavedTracesSearch.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerSavedTracesSearchGroup.md b/docs/ResponseContainerSavedTracesSearchGroup.md new file mode 100644 index 0000000..55a7031 --- /dev/null +++ b/docs/ResponseContainerSavedTracesSearchGroup.md @@ -0,0 +1,11 @@ +# ResponseContainerSavedTracesSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**SavedTracesSearchGroup**](SavedTracesSearchGroup.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ResponseContainerUserDTO.md b/docs/ResponseContainerUserDTO.md new file mode 100644 index 0000000..aa42ad5 --- /dev/null +++ b/docs/ResponseContainerUserDTO.md @@ -0,0 +1,11 @@ +# ResponseContainerUserDTO + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**response** | [**UserDTO**](UserDTO.md) | | [optional] +**status** | [**ResponseStatus**](ResponseStatus.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SavedAppMapSearch.md b/docs/SavedAppMapSearch.md new file mode 100644 index 0000000..0bb69b9 --- /dev/null +++ b/docs/SavedAppMapSearch.md @@ -0,0 +1,17 @@ +# SavedAppMapSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**deleted** | **bool** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | Name of the search | +**search_filters** | [**AppSearchFilters**](AppSearchFilters.md) | The search filters. | +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SavedAppMapSearchApi.md b/docs/SavedAppMapSearchApi.md new file mode 100644 index 0000000..57e6268 --- /dev/null +++ b/docs/SavedAppMapSearchApi.md @@ -0,0 +1,617 @@ +# wavefront_api_client.SavedAppMapSearchApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_saved_app_map_search**](SavedAppMapSearchApi.md#create_saved_app_map_search) | **POST** /api/v2/savedappmapsearch | Create a search +[**default_app_map_search**](SavedAppMapSearchApi.md#default_app_map_search) | **GET** /api/v2/savedappmapsearch/defaultAppMapSearch | Get default app map search for a user +[**default_app_map_search_0**](SavedAppMapSearchApi.md#default_app_map_search_0) | **POST** /api/v2/savedappmapsearch/defaultAppMapSearch | Set default app map search at user level +[**default_customer_app_map_search**](SavedAppMapSearchApi.md#default_customer_app_map_search) | **POST** /api/v2/savedappmapsearch/defaultCustomerAppMapSearch | Set default app map search at customer level +[**delete_saved_app_map_search**](SavedAppMapSearchApi.md#delete_saved_app_map_search) | **DELETE** /api/v2/savedappmapsearch/{id} | Delete a search +[**delete_saved_app_map_search_for_user**](SavedAppMapSearchApi.md#delete_saved_app_map_search_for_user) | **DELETE** /api/v2/savedappmapsearch/owned/{id} | Delete a search belonging to the user +[**get_all_saved_app_map_searches**](SavedAppMapSearchApi.md#get_all_saved_app_map_searches) | **GET** /api/v2/savedappmapsearch | Get all searches for a customer +[**get_all_saved_app_map_searches_for_user**](SavedAppMapSearchApi.md#get_all_saved_app_map_searches_for_user) | **GET** /api/v2/savedappmapsearch/owned | Get all searches for a user +[**get_saved_app_map_search**](SavedAppMapSearchApi.md#get_saved_app_map_search) | **GET** /api/v2/savedappmapsearch/{id} | Get a specific search +[**update_saved_app_map_search**](SavedAppMapSearchApi.md#update_saved_app_map_search) | **PUT** /api/v2/savedappmapsearch/{id} | Update a search +[**update_saved_app_map_search_for_user**](SavedAppMapSearchApi.md#update_saved_app_map_search_for_user) | **PUT** /api/v2/savedappmapsearch/owned/{id} | Update a search belonging to the user + + +# **create_saved_app_map_search** +> ResponseContainerSavedAppMapSearch create_saved_app_map_search(body=body) + +Create a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SavedAppMapSearch() # SavedAppMapSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Create a search + api_response = api_instance.create_saved_app_map_search(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->create_saved_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SavedAppMapSearch**](SavedAppMapSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_app_map_search** +> ResponseContainerDefaultSavedAppMapSearch default_app_map_search() + +Get default app map search for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) + +try: + # Get default app map search for a user + api_response = api_instance.default_app_map_search() + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->default_app_map_search: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ResponseContainerDefaultSavedAppMapSearch**](ResponseContainerDefaultSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_app_map_search_0** +> ResponseContainerString default_app_map_search_0(default_app_map_search=default_app_map_search) + +Set default app map search at user level + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +default_app_map_search = 'default_app_map_search_example' # str | (optional) + +try: + # Set default app map search at user level + api_response = api_instance.default_app_map_search_0(default_app_map_search=default_app_map_search) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->default_app_map_search_0: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **default_app_map_search** | **str**| | [optional] + +### Return type + +[**ResponseContainerString**](ResponseContainerString.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_customer_app_map_search** +> ResponseContainerString default_customer_app_map_search(default_app_map_search=default_app_map_search) + +Set default app map search at customer level + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +default_app_map_search = 'default_app_map_search_example' # str | (optional) + +try: + # Set default app map search at customer level + api_response = api_instance.default_customer_app_map_search(default_app_map_search=default_app_map_search) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->default_customer_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **default_app_map_search** | **str**| | [optional] + +### Return type + +[**ResponseContainerString**](ResponseContainerString.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_app_map_search** +> ResponseContainerSavedAppMapSearch delete_saved_app_map_search(id) + +Delete a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search + api_response = api_instance.delete_saved_app_map_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->delete_saved_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_app_map_search_for_user** +> ResponseContainerSavedAppMapSearch delete_saved_app_map_search_for_user(id) + +Delete a search belonging to the user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search belonging to the user + api_response = api_instance.delete_saved_app_map_search_for_user(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->delete_saved_app_map_search_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_app_map_searches** +> ResponseContainerPagedSavedAppMapSearch get_all_saved_app_map_searches(offset=offset, limit=limit) + +Get all searches for a customer + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a customer + api_response = api_instance.get_all_saved_app_map_searches(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->get_all_saved_app_map_searches: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedAppMapSearch**](ResponseContainerPagedSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_app_map_searches_for_user** +> ResponseContainerPagedSavedAppMapSearch get_all_saved_app_map_searches_for_user(offset=offset, limit=limit) + +Get all searches for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a user + api_response = api_instance.get_all_saved_app_map_searches_for_user(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->get_all_saved_app_map_searches_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedAppMapSearch**](ResponseContainerPagedSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_app_map_search** +> ResponseContainerSavedAppMapSearch get_saved_app_map_search(id) + +Get a specific search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search + api_response = api_instance.get_saved_app_map_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->get_saved_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_app_map_search** +> ResponseContainerSavedAppMapSearch update_saved_app_map_search(id, body=body) + +Update a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedAppMapSearch() # SavedAppMapSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Update a search + api_response = api_instance.update_saved_app_map_search(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->update_saved_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedAppMapSearch**](SavedAppMapSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_app_map_search_for_user** +> ResponseContainerSavedAppMapSearch update_saved_app_map_search_for_user(id, body=body) + +Update a search belonging to the user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedAppMapSearch() # SavedAppMapSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Update a search belonging to the user + api_response = api_instance.update_saved_app_map_search_for_user(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchApi->update_saved_app_map_search_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedAppMapSearch**](SavedAppMapSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedAppMapSearch**](ResponseContainerSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/SavedAppMapSearchGroup.md b/docs/SavedAppMapSearchGroup.md new file mode 100644 index 0000000..c696b0b --- /dev/null +++ b/docs/SavedAppMapSearchGroup.md @@ -0,0 +1,16 @@ +# SavedAppMapSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | Name of the search group | +**search_filters** | **list[str]** | | [optional] +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SavedAppMapSearchGroupApi.md b/docs/SavedAppMapSearchGroupApi.md new file mode 100644 index 0000000..eeafb5b --- /dev/null +++ b/docs/SavedAppMapSearchGroupApi.md @@ -0,0 +1,460 @@ +# wavefront_api_client.SavedAppMapSearchGroupApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**add_saved_app_map_search_to_group**](SavedAppMapSearchGroupApi.md#add_saved_app_map_search_to_group) | **POST** /api/v2/savedappmapsearchgroup/{id}/addSearch/{searchId} | Add a search to a search group +[**create_saved_app_map_search_group**](SavedAppMapSearchGroupApi.md#create_saved_app_map_search_group) | **POST** /api/v2/savedappmapsearchgroup | Create a search group +[**delete_saved_app_map_search_group**](SavedAppMapSearchGroupApi.md#delete_saved_app_map_search_group) | **DELETE** /api/v2/savedappmapsearchgroup/{id} | Delete a search group +[**get_all_saved_app_map_search_group**](SavedAppMapSearchGroupApi.md#get_all_saved_app_map_search_group) | **GET** /api/v2/savedappmapsearchgroup | Get all search groups for a user +[**get_saved_app_map_search_group**](SavedAppMapSearchGroupApi.md#get_saved_app_map_search_group) | **GET** /api/v2/savedappmapsearchgroup/{id} | Get a specific search group +[**get_saved_app_map_searches_for_group**](SavedAppMapSearchGroupApi.md#get_saved_app_map_searches_for_group) | **GET** /api/v2/savedappmapsearchgroup/{id}/searches | Get all searches for a search group +[**remove_saved_app_map_search_from_group**](SavedAppMapSearchGroupApi.md#remove_saved_app_map_search_from_group) | **POST** /api/v2/savedappmapsearchgroup/{id}/removeSearch/{searchId} | Remove a search from a search group +[**update_saved_app_map_search_group**](SavedAppMapSearchGroupApi.md#update_saved_app_map_search_group) | **PUT** /api/v2/savedappmapsearchgroup/{id} | Update a search group + + +# **add_saved_app_map_search_to_group** +> ResponseContainer add_saved_app_map_search_to_group(id, search_id) + +Add a search to a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +search_id = 'search_id_example' # str | + +try: + # Add a search to a search group + api_response = api_instance.add_saved_app_map_search_to_group(id, search_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->add_saved_app_map_search_to_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **search_id** | **str**| | + +### Return type + +[**ResponseContainer**](ResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_saved_app_map_search_group** +> ResponseContainerSavedAppMapSearchGroup create_saved_app_map_search_group(body=body) + +Create a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SavedAppMapSearchGroup() # SavedAppMapSearchGroup | Example Body:
{   \"name\": \"Search Group 1\" }
(optional) + +try: + # Create a search group + api_response = api_instance.create_saved_app_map_search_group(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->create_saved_app_map_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SavedAppMapSearchGroup**](SavedAppMapSearchGroup.md)| Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedAppMapSearchGroup**](ResponseContainerSavedAppMapSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_app_map_search_group** +> ResponseContainerSavedAppMapSearchGroup delete_saved_app_map_search_group(id) + +Delete a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search group + api_response = api_instance.delete_saved_app_map_search_group(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->delete_saved_app_map_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedAppMapSearchGroup**](ResponseContainerSavedAppMapSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_app_map_search_group** +> ResponseContainerPagedSavedAppMapSearchGroup get_all_saved_app_map_search_group(offset=offset, limit=limit) + +Get all search groups for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all search groups for a user + api_response = api_instance.get_all_saved_app_map_search_group(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->get_all_saved_app_map_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedAppMapSearchGroup**](ResponseContainerPagedSavedAppMapSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_app_map_search_group** +> ResponseContainerSavedAppMapSearchGroup get_saved_app_map_search_group(id) + +Get a specific search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search group + api_response = api_instance.get_saved_app_map_search_group(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->get_saved_app_map_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedAppMapSearchGroup**](ResponseContainerSavedAppMapSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_app_map_searches_for_group** +> ResponseContainerPagedSavedAppMapSearch get_saved_app_map_searches_for_group(id, offset=offset, limit=limit) + +Get all searches for a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a search group + api_response = api_instance.get_saved_app_map_searches_for_group(id, offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->get_saved_app_map_searches_for_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedAppMapSearch**](ResponseContainerPagedSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **remove_saved_app_map_search_from_group** +> ResponseContainer remove_saved_app_map_search_from_group(id, search_id) + +Remove a search from a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +search_id = 'search_id_example' # str | + +try: + # Remove a search from a search group + api_response = api_instance.remove_saved_app_map_search_from_group(id, search_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->remove_saved_app_map_search_from_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **search_id** | **str**| | + +### Return type + +[**ResponseContainer**](ResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_app_map_search_group** +> ResponseContainerSavedAppMapSearchGroup update_saved_app_map_search_group(id, body=body) + +Update a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedAppMapSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedAppMapSearchGroup() # SavedAppMapSearchGroup | Example Body:
{   \"name\": \"Search Group 1\" }
(optional) + +try: + # Update a search group + api_response = api_instance.update_saved_app_map_search_group(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedAppMapSearchGroupApi->update_saved_app_map_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedAppMapSearchGroup**](SavedAppMapSearchGroup.md)| Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedAppMapSearchGroup**](ResponseContainerSavedAppMapSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/SavedTracesSearch.md b/docs/SavedTracesSearch.md new file mode 100644 index 0000000..ea5bfff --- /dev/null +++ b/docs/SavedTracesSearch.md @@ -0,0 +1,17 @@ +# SavedTracesSearch + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**deleted** | **bool** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | Name of the search | [optional] +**search_filters** | [**AppSearchFilters**](AppSearchFilters.md) | The search filters. | +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SavedTracesSearchApi.md b/docs/SavedTracesSearchApi.md new file mode 100644 index 0000000..e19105d --- /dev/null +++ b/docs/SavedTracesSearchApi.md @@ -0,0 +1,617 @@ +# wavefront_api_client.SavedTracesSearchApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_saved_traces_search**](SavedTracesSearchApi.md#create_saved_traces_search) | **POST** /api/v2/savedtracessearch | Create a search +[**default_app_map_search**](SavedTracesSearchApi.md#default_app_map_search) | **POST** /api/v2/savedtracessearch/defaultTracesSearch | Set default traces search at user level +[**default_customer_traces_search**](SavedTracesSearchApi.md#default_customer_traces_search) | **POST** /api/v2/savedtracessearch/defaultCustomerTracesSearch | Set default traces search at customer level +[**default_traces_search**](SavedTracesSearchApi.md#default_traces_search) | **GET** /api/v2/savedtracessearch/defaultTracesSearch | Get default traces search for a user +[**delete_saved_traces_search**](SavedTracesSearchApi.md#delete_saved_traces_search) | **DELETE** /api/v2/savedtracessearch/{id} | Delete a search +[**delete_saved_traces_search_for_user**](SavedTracesSearchApi.md#delete_saved_traces_search_for_user) | **DELETE** /api/v2/savedtracessearch/owned/{id} | Delete a search belonging to the user +[**get_all_saved_traces_searches**](SavedTracesSearchApi.md#get_all_saved_traces_searches) | **GET** /api/v2/savedtracessearch | Get all searches for a customer +[**get_all_saved_traces_searches_for_user**](SavedTracesSearchApi.md#get_all_saved_traces_searches_for_user) | **GET** /api/v2/savedtracessearch/owned | Get all searches for a user +[**get_saved_traces_search**](SavedTracesSearchApi.md#get_saved_traces_search) | **GET** /api/v2/savedtracessearch/{id} | Get a specific search +[**update_saved_traces_search**](SavedTracesSearchApi.md#update_saved_traces_search) | **PUT** /api/v2/savedtracessearch/{id} | Update a search +[**update_saved_traces_search_for_user**](SavedTracesSearchApi.md#update_saved_traces_search_for_user) | **PUT** /api/v2/savedtracessearch/owned/{id} | Update a search belonging to the user + + +# **create_saved_traces_search** +> ResponseContainerSavedTracesSearch create_saved_traces_search(body=body) + +Create a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Create a search + api_response = api_instance.create_saved_traces_search(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->create_saved_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SavedTracesSearch**](SavedTracesSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_app_map_search** +> ResponseContainerString default_app_map_search(default_traces_search=default_traces_search) + +Set default traces search at user level + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +default_traces_search = 'default_traces_search_example' # str | (optional) + +try: + # Set default traces search at user level + api_response = api_instance.default_app_map_search(default_traces_search=default_traces_search) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->default_app_map_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **default_traces_search** | **str**| | [optional] + +### Return type + +[**ResponseContainerString**](ResponseContainerString.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_customer_traces_search** +> ResponseContainerString default_customer_traces_search(default_traces_search=default_traces_search) + +Set default traces search at customer level + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +default_traces_search = 'default_traces_search_example' # str | (optional) + +try: + # Set default traces search at customer level + api_response = api_instance.default_customer_traces_search(default_traces_search=default_traces_search) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->default_customer_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **default_traces_search** | **str**| | [optional] + +### Return type + +[**ResponseContainerString**](ResponseContainerString.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **default_traces_search** +> ResponseContainerDefaultSavedTracesSearch default_traces_search() + +Get default traces search for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) + +try: + # Get default traces search for a user + api_response = api_instance.default_traces_search() + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->default_traces_search: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ResponseContainerDefaultSavedTracesSearch**](ResponseContainerDefaultSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_traces_search** +> ResponseContainerSavedTracesSearch delete_saved_traces_search(id) + +Delete a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search + api_response = api_instance.delete_saved_traces_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->delete_saved_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_traces_search_for_user** +> ResponseContainerSavedTracesSearch delete_saved_traces_search_for_user(id) + +Delete a search belonging to the user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search belonging to the user + api_response = api_instance.delete_saved_traces_search_for_user(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->delete_saved_traces_search_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_traces_searches** +> ResponseContainerPagedSavedTracesSearch get_all_saved_traces_searches(offset=offset, limit=limit) + +Get all searches for a customer + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a customer + api_response = api_instance.get_all_saved_traces_searches(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->get_all_saved_traces_searches: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedTracesSearch**](ResponseContainerPagedSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_traces_searches_for_user** +> ResponseContainerPagedSavedTracesSearch get_all_saved_traces_searches_for_user(offset=offset, limit=limit) + +Get all searches for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a user + api_response = api_instance.get_all_saved_traces_searches_for_user(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->get_all_saved_traces_searches_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedTracesSearch**](ResponseContainerPagedSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_traces_search** +> ResponseContainerSavedTracesSearch get_saved_traces_search(id) + +Get a specific search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search + api_response = api_instance.get_saved_traces_search(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->get_saved_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_traces_search** +> ResponseContainerSavedTracesSearch update_saved_traces_search(id, body=body) + +Update a search + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Update a search + api_response = api_instance.update_saved_traces_search(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->update_saved_traces_search: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedTracesSearch**](SavedTracesSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_traces_search_for_user** +> ResponseContainerSavedTracesSearch update_saved_traces_search_for_user(id, body=body) + +Update a search belonging to the user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedTracesSearch() # SavedTracesSearch | Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
(optional) + +try: + # Update a search belonging to the user + api_response = api_instance.update_saved_traces_search_for_user(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchApi->update_saved_traces_search_for_user: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedTracesSearch**](SavedTracesSearch.md)| Example Body: <pre>{ \"name\": \"beachshirts shopping\", \"searchFilters\": { \"filters\": [ { \"filterType\": \"OPERATION\", \"values\": { \"logicalValue\": [ [ \"beachshirts.\", \"shopping.\", \"'*\" ] ] } } ] } }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedTracesSearch**](ResponseContainerSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/SavedTracesSearchGroup.md b/docs/SavedTracesSearchGroup.md new file mode 100644 index 0000000..8d0afba --- /dev/null +++ b/docs/SavedTracesSearchGroup.md @@ -0,0 +1,16 @@ +# SavedTracesSearchGroup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**created_epoch_millis** | **int** | | [optional] +**creator_id** | **str** | | [optional] +**id** | **str** | | [optional] +**name** | **str** | Name of the search group | +**search_filters** | **list[str]** | | [optional] +**updated_epoch_millis** | **int** | | [optional] +**updater_id** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SavedTracesSearchGroupApi.md b/docs/SavedTracesSearchGroupApi.md new file mode 100644 index 0000000..e648c83 --- /dev/null +++ b/docs/SavedTracesSearchGroupApi.md @@ -0,0 +1,460 @@ +# wavefront_api_client.SavedTracesSearchGroupApi + +All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**add_saved_traces_search_to_group**](SavedTracesSearchGroupApi.md#add_saved_traces_search_to_group) | **POST** /api/v2/savedtracessearchgroup/{id}/addSearch/{searchId} | Add a search to a search group +[**create_saved_traces_search_group**](SavedTracesSearchGroupApi.md#create_saved_traces_search_group) | **POST** /api/v2/savedtracessearchgroup | Create a search group +[**delete_saved_traces_search_group**](SavedTracesSearchGroupApi.md#delete_saved_traces_search_group) | **DELETE** /api/v2/savedtracessearchgroup/{id} | Delete a search group +[**get_all_saved_traces_search_group**](SavedTracesSearchGroupApi.md#get_all_saved_traces_search_group) | **GET** /api/v2/savedtracessearchgroup | Get all search groups for a user +[**get_saved_traces_search_group**](SavedTracesSearchGroupApi.md#get_saved_traces_search_group) | **GET** /api/v2/savedtracessearchgroup/{id} | Get a specific search group +[**get_saved_traces_searches_for_group**](SavedTracesSearchGroupApi.md#get_saved_traces_searches_for_group) | **GET** /api/v2/savedtracessearchgroup/{id}/searches | Get all searches for a search group +[**remove_saved_traces_search_from_group**](SavedTracesSearchGroupApi.md#remove_saved_traces_search_from_group) | **POST** /api/v2/savedtracessearchgroup/{id}/removeSearch/{searchId} | Remove a search from a search group +[**update_saved_traces_search_group**](SavedTracesSearchGroupApi.md#update_saved_traces_search_group) | **PUT** /api/v2/savedtracessearchgroup/{id} | Update a search group + + +# **add_saved_traces_search_to_group** +> ResponseContainer add_saved_traces_search_to_group(id, search_id) + +Add a search to a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +search_id = 'search_id_example' # str | + +try: + # Add a search to a search group + api_response = api_instance.add_saved_traces_search_to_group(id, search_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->add_saved_traces_search_to_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **search_id** | **str**| | + +### Return type + +[**ResponseContainer**](ResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_saved_traces_search_group** +> ResponseContainerSavedTracesSearchGroup create_saved_traces_search_group(body=body) + +Create a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SavedTracesSearchGroup() # SavedTracesSearchGroup | Example Body:
{   \"name\": \"Search Group 1\" }
(optional) + +try: + # Create a search group + api_response = api_instance.create_saved_traces_search_group(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->create_saved_traces_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SavedTracesSearchGroup**](SavedTracesSearchGroup.md)| Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedTracesSearchGroup**](ResponseContainerSavedTracesSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_saved_traces_search_group** +> ResponseContainerSavedTracesSearchGroup delete_saved_traces_search_group(id) + +Delete a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Delete a search group + api_response = api_instance.delete_saved_traces_search_group(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->delete_saved_traces_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedTracesSearchGroup**](ResponseContainerSavedTracesSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_all_saved_traces_search_group** +> ResponseContainerPagedSavedTracesSearchGroup get_all_saved_traces_search_group(offset=offset, limit=limit) + +Get all search groups for a user + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all search groups for a user + api_response = api_instance.get_all_saved_traces_search_group(offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->get_all_saved_traces_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedTracesSearchGroup**](ResponseContainerPagedSavedTracesSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_traces_search_group** +> ResponseContainerSavedTracesSearchGroup get_saved_traces_search_group(id) + +Get a specific search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | + +try: + # Get a specific search group + api_response = api_instance.get_saved_traces_search_group(id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->get_saved_traces_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ResponseContainerSavedTracesSearchGroup**](ResponseContainerSavedTracesSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_saved_traces_searches_for_group** +> ResponseContainerPagedSavedTracesSearch get_saved_traces_searches_for_group(id, offset=offset, limit=limit) + +Get all searches for a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +offset = 0 # int | (optional) (default to 0) +limit = 100 # int | (optional) (default to 100) + +try: + # Get all searches for a search group + api_response = api_instance.get_saved_traces_searches_for_group(id, offset=offset, limit=limit) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->get_saved_traces_searches_for_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **offset** | **int**| | [optional] [default to 0] + **limit** | **int**| | [optional] [default to 100] + +### Return type + +[**ResponseContainerPagedSavedTracesSearch**](ResponseContainerPagedSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **remove_saved_traces_search_from_group** +> ResponseContainer remove_saved_traces_search_from_group(id, search_id) + +Remove a search from a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +search_id = 'search_id_example' # str | + +try: + # Remove a search from a search group + api_response = api_instance.remove_saved_traces_search_from_group(id, search_id) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->remove_saved_traces_search_from_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **search_id** | **str**| | + +### Return type + +[**ResponseContainer**](ResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **update_saved_traces_search_group** +> ResponseContainerSavedTracesSearchGroup update_saved_traces_search_group(id, body=body) + +Update a search group + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SavedTracesSearchGroupApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = wavefront_api_client.SavedTracesSearchGroup() # SavedTracesSearchGroup | Example Body:
{   \"name\": \"Search Group 1\" }
(optional) + +try: + # Update a search group + api_response = api_instance.update_saved_traces_search_group(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SavedTracesSearchGroupApi->update_saved_traces_search_group: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | [**SavedTracesSearchGroup**](SavedTracesSearchGroup.md)| Example Body: <pre>{ \"name\": \"Search Group 1\" }</pre> | [optional] + +### Return type + +[**ResponseContainerSavedTracesSearchGroup**](ResponseContainerSavedTracesSearchGroup.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/SearchApi.md b/docs/SearchApi.md index 614ee76..02994b8 100644 --- a/docs/SearchApi.md +++ b/docs/SearchApi.md @@ -63,6 +63,10 @@ Method | HTTP request | Description [**search_role_entities**](SearchApi.md#search_role_entities) | **POST** /api/v2/search/role | Search over a customer's roles [**search_role_for_facet**](SearchApi.md#search_role_for_facet) | **POST** /api/v2/search/role/{facet} | Lists the values of a specific facet over the customer's roles [**search_role_for_facets**](SearchApi.md#search_role_for_facets) | **POST** /api/v2/search/role/facets | Lists the values of one or more facets over the customer's roles +[**search_saved_app_map_entities**](SearchApi.md#search_saved_app_map_entities) | **POST** /api/v2/search/savedappmapsearch | Search over all the customer's non-deleted saved app map searches +[**search_saved_app_map_for_facet**](SearchApi.md#search_saved_app_map_for_facet) | **POST** /api/v2/search/savedappmapsearch/{facet} | Lists the values of a specific facet over the customer's non-deleted app map searches +[**search_saved_app_map_for_facets**](SearchApi.md#search_saved_app_map_for_facets) | **POST** /api/v2/search/savedappmapsearch/facets | Lists the values of one or more facets over the customer's non-deleted app map searches +[**search_saved_traces_entities**](SearchApi.md#search_saved_traces_entities) | **POST** /api/v2/search/savedtracessearch | Search over all the customer's non-deleted saved traces searches [**search_service_account_entities**](SearchApi.md#search_service_account_entities) | **POST** /api/v2/search/serviceaccount | Search over a customer's service accounts [**search_service_account_for_facet**](SearchApi.md#search_service_account_for_facet) | **POST** /api/v2/search/serviceaccount/{facet} | Lists the values of a specific facet over the customer's service accounts [**search_service_account_for_facets**](SearchApi.md#search_service_account_for_facets) | **POST** /api/v2/search/serviceaccount/facets | Lists the values of one or more facets over the customer's service accounts @@ -75,6 +79,11 @@ Method | HTTP request | Description [**search_tagged_source_entities**](SearchApi.md#search_tagged_source_entities) | **POST** /api/v2/search/source | Search over a customer's sources [**search_tagged_source_for_facet**](SearchApi.md#search_tagged_source_for_facet) | **POST** /api/v2/search/source/{facet} | Lists the values of a specific facet over the customer's sources [**search_tagged_source_for_facets**](SearchApi.md#search_tagged_source_for_facets) | **POST** /api/v2/search/source/facets | Lists the values of one or more facets over the customer's sources +[**search_token_entities**](SearchApi.md#search_token_entities) | **POST** /api/v2/search/token | Search over a customer's api tokens +[**search_token_for_facet**](SearchApi.md#search_token_for_facet) | **POST** /api/v2/search/token/{facet} | Lists the values of a specific facet over the customer's api tokens +[**search_token_for_facets**](SearchApi.md#search_token_for_facets) | **POST** /api/v2/search/token/facets | Lists the values of one or more facets over the customer's api tokens +[**search_traces_map_for_facet**](SearchApi.md#search_traces_map_for_facet) | **POST** /api/v2/search/savedtracessearch/{facet} | Lists the values of a specific facet over the customer's non-deleted traces searches +[**search_traces_map_for_facets**](SearchApi.md#search_traces_map_for_facets) | **POST** /api/v2/search/savedtracessearch/facets | Lists the values of one or more facets over the customer's non-deleted traces searches [**search_user_entities**](SearchApi.md#search_user_entities) | **POST** /api/v2/search/user | Search over a customer's users [**search_user_for_facet**](SearchApi.md#search_user_for_facet) | **POST** /api/v2/search/user/{facet} | Lists the values of a specific facet over the customer's users [**search_user_for_facets**](SearchApi.md#search_user_for_facets) | **POST** /api/v2/search/user/facets | Lists the values of one or more facets over the customer's users @@ -3314,6 +3323,224 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_saved_app_map_entities** +> ResponseContainerPagedSavedAppMapSearch search_saved_app_map_entities(body=body) + +Search over all the customer's non-deleted saved app map searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SortableSearchRequest() # SortableSearchRequest | (optional) + +try: + # Search over all the customer's non-deleted saved app map searches + api_response = api_instance.search_saved_app_map_entities(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_saved_app_map_entities: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SortableSearchRequest**](SortableSearchRequest.md)| | [optional] + +### Return type + +[**ResponseContainerPagedSavedAppMapSearch**](ResponseContainerPagedSavedAppMapSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_saved_app_map_for_facet** +> ResponseContainerFacetResponse search_saved_app_map_for_facet(facet, body=body) + +Lists the values of a specific facet over the customer's non-deleted app map searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +facet = 'facet_example' # str | +body = wavefront_api_client.FacetSearchRequestContainer() # FacetSearchRequestContainer | (optional) + +try: + # Lists the values of a specific facet over the customer's non-deleted app map searches + api_response = api_instance.search_saved_app_map_for_facet(facet, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_saved_app_map_for_facet: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **facet** | **str**| | + **body** | [**FacetSearchRequestContainer**](FacetSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetResponse**](ResponseContainerFacetResponse.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_saved_app_map_for_facets** +> ResponseContainerFacetsResponseContainer search_saved_app_map_for_facets(body=body) + +Lists the values of one or more facets over the customer's non-deleted app map searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.FacetsSearchRequestContainer() # FacetsSearchRequestContainer | (optional) + +try: + # Lists the values of one or more facets over the customer's non-deleted app map searches + api_response = api_instance.search_saved_app_map_for_facets(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_saved_app_map_for_facets: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FacetsSearchRequestContainer**](FacetsSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetsResponseContainer**](ResponseContainerFacetsResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_saved_traces_entities** +> ResponseContainerPagedSavedTracesSearch search_saved_traces_entities(body=body) + +Search over all the customer's non-deleted saved traces searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SortableSearchRequest() # SortableSearchRequest | (optional) + +try: + # Search over all the customer's non-deleted saved traces searches + api_response = api_instance.search_saved_traces_entities(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_saved_traces_entities: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SortableSearchRequest**](SortableSearchRequest.md)| | [optional] + +### Return type + +[**ResponseContainerPagedSavedTracesSearch**](ResponseContainerPagedSavedTracesSearch.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_service_account_entities** > ResponseContainerPagedServiceAccount search_service_account_entities(body=body) @@ -3970,6 +4197,280 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **search_token_entities** +> ResponseContainerPagedApiTokenModel search_token_entities(body=body) + +Search over a customer's api tokens + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.SortableSearchRequest() # SortableSearchRequest | (optional) + +try: + # Search over a customer's api tokens + api_response = api_instance.search_token_entities(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_token_entities: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SortableSearchRequest**](SortableSearchRequest.md)| | [optional] + +### Return type + +[**ResponseContainerPagedApiTokenModel**](ResponseContainerPagedApiTokenModel.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_token_for_facet** +> ResponseContainerFacetResponse search_token_for_facet(facet, body=body) + +Lists the values of a specific facet over the customer's api tokens + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +facet = 'facet_example' # str | +body = wavefront_api_client.FacetSearchRequestContainer() # FacetSearchRequestContainer | (optional) + +try: + # Lists the values of a specific facet over the customer's api tokens + api_response = api_instance.search_token_for_facet(facet, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_token_for_facet: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **facet** | **str**| | + **body** | [**FacetSearchRequestContainer**](FacetSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetResponse**](ResponseContainerFacetResponse.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_token_for_facets** +> ResponseContainerFacetsResponseContainer search_token_for_facets(body=body) + +Lists the values of one or more facets over the customer's api tokens + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.FacetsSearchRequestContainer() # FacetsSearchRequestContainer | (optional) + +try: + # Lists the values of one or more facets over the customer's api tokens + api_response = api_instance.search_token_for_facets(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_token_for_facets: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FacetsSearchRequestContainer**](FacetsSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetsResponseContainer**](ResponseContainerFacetsResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_traces_map_for_facet** +> ResponseContainerFacetResponse search_traces_map_for_facet(facet, body=body) + +Lists the values of a specific facet over the customer's non-deleted traces searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +facet = 'facet_example' # str | +body = wavefront_api_client.FacetSearchRequestContainer() # FacetSearchRequestContainer | (optional) + +try: + # Lists the values of a specific facet over the customer's non-deleted traces searches + api_response = api_instance.search_traces_map_for_facet(facet, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_traces_map_for_facet: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **facet** | **str**| | + **body** | [**FacetSearchRequestContainer**](FacetSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetResponse**](ResponseContainerFacetResponse.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **search_traces_map_for_facets** +> ResponseContainerFacetsResponseContainer search_traces_map_for_facets(body=body) + +Lists the values of one or more facets over the customer's non-deleted traces searches + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.SearchApi(wavefront_api_client.ApiClient(configuration)) +body = wavefront_api_client.FacetsSearchRequestContainer() # FacetsSearchRequestContainer | (optional) + +try: + # Lists the values of one or more facets over the customer's non-deleted traces searches + api_response = api_instance.search_traces_map_for_facets(body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling SearchApi->search_traces_map_for_facets: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**FacetsSearchRequestContainer**](FacetsSearchRequestContainer.md)| | [optional] + +### Return type + +[**ResponseContainerFacetsResponseContainer**](ResponseContainerFacetsResponseContainer.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **search_user_entities** > ResponseContainerPagedCustomerFacingUserObject search_user_entities(body=body) diff --git a/docs/SearchQuery.md b/docs/SearchQuery.md index 02c7943..66b9a30 100644 --- a/docs/SearchQuery.md +++ b/docs/SearchQuery.md @@ -3,9 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**end** | **int** | The end point of the range. At least one of start or end points should be available for range search. | [optional] **key** | **str** | The entity facet (key) by which to search. Valid keys are any property keys returned by the JSON representation of the entity. Examples are 'creatorId', 'name', etc. The following special key keywords are also valid: 'tags' performs a search on entity tags, 'tagpath' performs a hierarchical search on tags, with periods (.) as path level separators. 'freetext' performs a free text search across many fields of the entity | **matching_method** | **str** | The method by which search matching is performed. Default: CONTAINS | [optional] **negated** | **bool** | The flag to create a NOT operation. Default: false | [optional] +**start** | **int** | The start point of the range. At least one of start or end points should be available for range search. | [optional] **value** | **str** | The entity facet value for which to search. Either value or values field is required. If both are set, values takes precedence. | [optional] **values** | **list[str]** | The entity facet values for which to search based on OR operation. Either value or values field is required. If both are set, values takes precedence. | [optional] diff --git a/docs/ServiceAccount.md b/docs/ServiceAccount.md index 36fe554..a38980f 100644 --- a/docs/ServiceAccount.md +++ b/docs/ServiceAccount.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **description** | **str** | The description of the service account. | [optional] **groups** | **list[str]** | The list of service account's permissions. | [optional] **identifier** | **str** | The unique identifier of a service account. | +**ingestion_policies** | [**list[IngestionPolicy]**](IngestionPolicy.md) | The list of service account's ingestion policies. | [optional] **ingestion_policy** | [**IngestionPolicy**](IngestionPolicy.md) | The ingestion policy object linked with service account. | [optional] **last_used** | **int** | The last time when a token of the service account was used. | [optional] **roles** | [**list[RoleDTO]**](RoleDTO.md) | The list of service account's roles. | [optional] diff --git a/docs/ServiceAccountWrite.md b/docs/ServiceAccountWrite.md index fe657a4..c316703 100644 --- a/docs/ServiceAccountWrite.md +++ b/docs/ServiceAccountWrite.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **description** | **str** | The description of the service account to be created. | [optional] **groups** | **list[str]** | The list of permissions, the service account will be granted. | [optional] **identifier** | **str** | The unique identifier for a service account. | +**ingestion_policies** | **list[str]** | The list of ingestion policy ids, the service account will be added to.\" | [optional] **ingestion_policy_id** | **str** | The identifier of the ingestion policy linked with service account. | [optional] **roles** | **list[str]** | The list of role ids, the service account will be added to.\" | [optional] **tokens** | **list[str]** | The service account's API tokens. | [optional] diff --git a/docs/SnowflakeConfiguration.md b/docs/SnowflakeConfiguration.md new file mode 100644 index 0000000..db5c305 --- /dev/null +++ b/docs/SnowflakeConfiguration.md @@ -0,0 +1,15 @@ +# SnowflakeConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **str** | Snowflake AccountID | +**metric_filter_regex** | **str** | A regular expression that a metric name must match (case-insensitively) in order to be ingested | [optional] +**password** | **str** | Snowflake Password | +**role** | **str** | Role to be used while querying snowflake database | [optional] +**user_name** | **str** | Snowflake Username | +**warehouse** | **str** | Warehouse to be used while querying snowflake database | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UsageApi.md b/docs/UsageApi.md index 16270f1..42a07fb 100644 --- a/docs/UsageApi.md +++ b/docs/UsageApi.md @@ -4,14 +4,130 @@ All URIs are relative to *https://YOUR_INSTANCE.wavefront.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**add_accounts**](UsageApi.md#add_accounts) | **POST** /api/v2/usage/ingestionpolicy/{id}/addAccounts | Add accounts to ingestion policy +[**add_groups**](UsageApi.md#add_groups) | **POST** /api/v2/usage/ingestionpolicy/{id}/addGroups | Add groups to the ingestion policy [**create_ingestion_policy**](UsageApi.md#create_ingestion_policy) | **POST** /api/v2/usage/ingestionpolicy | Create a specific ingestion policy [**delete_ingestion_policy**](UsageApi.md#delete_ingestion_policy) | **DELETE** /api/v2/usage/ingestionpolicy/{id} | Delete a specific ingestion policy [**export_csv**](UsageApi.md#export_csv) | **GET** /api/v2/usage/exportcsv | Export a CSV report [**get_all_ingestion_policies**](UsageApi.md#get_all_ingestion_policies) | **GET** /api/v2/usage/ingestionpolicy | Get all ingestion policies for a customer [**get_ingestion_policy**](UsageApi.md#get_ingestion_policy) | **GET** /api/v2/usage/ingestionpolicy/{id} | Get a specific ingestion policy +[**remove_accounts**](UsageApi.md#remove_accounts) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeAccounts | Remove accounts from ingestion policy +[**remove_groups**](UsageApi.md#remove_groups) | **POST** /api/v2/usage/ingestionpolicy/{id}/removeGroups | Remove groups from the ingestion policy [**update_ingestion_policy**](UsageApi.md#update_ingestion_policy) | **PUT** /api/v2/usage/ingestionpolicy/{id} | Update a specific ingestion policy +# **add_accounts** +> ResponseContainerIngestionPolicy add_accounts(id, body=body) + +Add accounts to ingestion policy + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = [wavefront_api_client.list[str]()] # list[str] | List of accounts to be added to ingestion policy (optional) + +try: + # Add accounts to ingestion policy + api_response = api_instance.add_accounts(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling UsageApi->add_accounts: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | **list[str]**| List of accounts to be added to ingestion policy | [optional] + +### Return type + +[**ResponseContainerIngestionPolicy**](ResponseContainerIngestionPolicy.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **add_groups** +> ResponseContainerIngestionPolicy add_groups(id, body=body) + +Add groups to the ingestion policy + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = [wavefront_api_client.list[str]()] # list[str] | List of groups to be added to the ingestion policy (optional) + +try: + # Add groups to the ingestion policy + api_response = api_instance.add_groups(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling UsageApi->add_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | **list[str]**| List of groups to be added to the ingestion policy | [optional] + +### Return type + +[**ResponseContainerIngestionPolicy**](ResponseContainerIngestionPolicy.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_ingestion_policy** > ResponseContainerIngestionPolicy create_ingestion_policy(body=body) @@ -35,7 +151,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) -body = wavefront_api_client.IngestionPolicy() # IngestionPolicy | Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
(optional) +body = wavefront_api_client.IngestionPolicy() # IngestionPolicy | Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
(optional) try: # Create a specific ingestion policy @@ -49,7 +165,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**IngestionPolicy**](IngestionPolicy.md)| Example Body: <pre>{ \"name\": \"Ingestion policy name\", \"description\": \"Ingestion policy description\" }</pre> | [optional] + **body** | [**IngestionPolicy**](IngestionPolicy.md)| Example Body: <pre>{ \"name\": \"Ingestion policy name\", \"description\": \"Ingestion policy description\" \"scope\": \"GROUP\", \"isLimited\": \"true\", \"limitPPS\": \"1000\" }</pre> | [optional] ### Return type @@ -285,6 +401,118 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **remove_accounts** +> ResponseContainerIngestionPolicy remove_accounts(id, body=body) + +Remove accounts from ingestion policy + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = [wavefront_api_client.list[str]()] # list[str] | List of accounts to be added to ingestion policy (optional) + +try: + # Remove accounts from ingestion policy + api_response = api_instance.remove_accounts(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling UsageApi->remove_accounts: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | **list[str]**| List of accounts to be added to ingestion policy | [optional] + +### Return type + +[**ResponseContainerIngestionPolicy**](ResponseContainerIngestionPolicy.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **remove_groups** +> ResponseContainerIngestionPolicy remove_groups(id, body=body) + +Remove groups from the ingestion policy + + + +### Example +```python +from __future__ import print_function +import time +import wavefront_api_client +from wavefront_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = wavefront_api_client.Configuration() +configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-AUTH-TOKEN'] = 'Bearer' + +# create an instance of the API class +api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) +id = 'id_example' # str | +body = [wavefront_api_client.list[str]()] # list[str] | List of groups to be removed from the ingestion policy (optional) + +try: + # Remove groups from the ingestion policy + api_response = api_instance.remove_groups(id, body=body) + pprint(api_response) +except ApiException as e: + print("Exception when calling UsageApi->remove_groups: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **body** | **list[str]**| List of groups to be removed from the ingestion policy | [optional] + +### Return type + +[**ResponseContainerIngestionPolicy**](ResponseContainerIngestionPolicy.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **update_ingestion_policy** > ResponseContainerIngestionPolicy update_ingestion_policy(id, body=body) @@ -309,7 +537,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.UsageApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | -body = wavefront_api_client.IngestionPolicy() # IngestionPolicy | Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
(optional) +body = wavefront_api_client.IngestionPolicy() # IngestionPolicy | Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
(optional) try: # Update a specific ingestion policy @@ -324,7 +552,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **body** | [**IngestionPolicy**](IngestionPolicy.md)| Example Body: <pre>{ \"name\": \"Ingestion policy name\", \"description\": \"Ingestion policy description\" }</pre> | [optional] + **body** | [**IngestionPolicy**](IngestionPolicy.md)| Example Body: <pre>{ \"name\": \"Ingestion policy name\", \"description\": \"Ingestion policy description\" \"scope\": \"GROUP\", \"isLimited\": \"true\", \"limitPPS\": \"1000\" }</pre> | [optional] ### Return type diff --git a/docs/UserApi.md b/docs/UserApi.md index 6986b7a..0841885 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -101,7 +101,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.UserApi(wavefront_api_client.ApiClient(configuration)) send_email = true # bool | Whether to send email notification to the user, if created. Default: false (optional) -body = wavefront_api_client.UserToCreate() # UserToCreate | Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
(optional) +body = wavefront_api_client.UserToCreate() # UserToCreate | Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
(optional) try: # Creates an user if the user doesn't already exist. @@ -116,7 +116,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **send_email** | **bool**| Whether to send email notification to the user, if created. Default: false | [optional] - **body** | [**UserToCreate**](UserToCreate.md)| Example Body: <pre>{ \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] }</pre> | [optional] + **body** | [**UserToCreate**](UserToCreate.md)| Example Body: <pre>{ \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"roles\": [ \"Role\" ], \"ingestionPolicies\": [ \"policyId1\", \"policyId2\" ] }</pre> | [optional] ### Return type @@ -533,7 +533,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.UserApi(wavefront_api_client.ApiClient(configuration)) -body = [wavefront_api_client.UserToCreate()] # list[UserToCreate] | Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
(optional) +body = [wavefront_api_client.UserToCreate()] # list[UserToCreate] | Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
(optional) try: # Invite users with given user groups and permissions. @@ -547,7 +547,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**list[UserToCreate]**](UserToCreate.md)| Example Body: <pre>[ { \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] } ]</pre> | [optional] + **body** | [**list[UserToCreate]**](UserToCreate.md)| Example Body: <pre>[ { \"emailAddress\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"roles\": [ \"Role\" ], \"ingestionPolicies\": [ \"policyId1\", \"policyId2\" ] } ]</pre> | [optional] ### Return type @@ -756,7 +756,7 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = wavefront_api_client.UserApi(wavefront_api_client.ApiClient(configuration)) id = 'id_example' # str | -body = wavefront_api_client.UserRequestDTO() # UserRequestDTO | Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
(optional) +body = wavefront_api_client.UserRequestDTO() # UserRequestDTO | Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
(optional) try: # Update user with given user groups, permissions and ingestion policy. @@ -771,7 +771,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **body** | [**UserRequestDTO**](UserRequestDTO.md)| Example Body: <pre>{ \"identifier\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicyId\": \"ingestionPolicyId\", \"roles\": [ \"Role\" ] }</pre> | [optional] + **body** | [**UserRequestDTO**](UserRequestDTO.md)| Example Body: <pre>{ \"identifier\": \"user@example.com\", \"groups\": [ \"user_management\" ], \"userGroups\": [ \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\" ], \"ingestionPolicies\": [ \"policy_id\" ], \"roles\": [ \"Role\" ] }</pre> | [optional] ### Return type diff --git a/docs/UserApiToken.md b/docs/UserApiToken.md index 1ca7be9..1c55cd3 100644 --- a/docs/UserApiToken.md +++ b/docs/UserApiToken.md @@ -3,6 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**account** | **str** | The account who generated this token. | [optional] +**account_type** | **str** | The user or service account generated this token. | [optional] +**date_generated** | **int** | The generation date of the token. | [optional] **last_used** | **int** | The last time this token was used | [optional] **token_id** | **str** | The identifier of the user API token | **token_name** | **str** | The name of the user API token | [optional] diff --git a/docs/UserDTO.md b/docs/UserDTO.md index dddfbcd..d4ceba2 100644 --- a/docs/UserDTO.md +++ b/docs/UserDTO.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **customer** | **str** | | [optional] **groups** | **list[str]** | | [optional] **identifier** | **str** | | [optional] +**ingestion_policies** | [**list[IngestionPolicy]**](IngestionPolicy.md) | | [optional] **ingestion_policy** | [**IngestionPolicy**](IngestionPolicy.md) | | [optional] **last_successful_login** | **int** | | [optional] **roles** | [**list[RoleDTO]**](RoleDTO.md) | | [optional] diff --git a/docs/UserGroupModel.md b/docs/UserGroupModel.md index b8cfca6..2c61529 100644 --- a/docs/UserGroupModel.md +++ b/docs/UserGroupModel.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **customer** | **str** | The id of the customer to which the user group belongs | [optional] **description** | **str** | The description of the user group | [optional] **id** | **str** | The unique identifier of the user group | [optional] +**ingestion_policies** | [**list[IngestionPolicy]**](IngestionPolicy.md) | Ingestion policies linked with the user group | [optional] **name** | **str** | The name of the user group | **properties** | [**UserGroupPropertiesDTO**](UserGroupPropertiesDTO.md) | The properties of the user group(name editable, users editable, etc.) | [optional] **role_count** | **int** | Total number of roles that are linked the the user group | [optional] diff --git a/docs/UserModel.md b/docs/UserModel.md index 2357d00..657200c 100644 --- a/docs/UserModel.md +++ b/docs/UserModel.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **customer** | **str** | The id of the customer to which this user belongs | **groups** | **list[str]** | The permissions granted to this user | **identifier** | **str** | The unique identifier of this user, which must be their valid email address | +**ingestion_policies** | [**list[IngestionPolicy]**](IngestionPolicy.md) | | [optional] **ingestion_policy** | [**IngestionPolicy**](IngestionPolicy.md) | | [optional] **last_successful_login** | **int** | | [optional] **roles** | [**list[RoleDTO]**](RoleDTO.md) | | [optional] diff --git a/docs/UserRequestDTO.md b/docs/UserRequestDTO.md index 5fafe13..c10a83e 100644 --- a/docs/UserRequestDTO.md +++ b/docs/UserRequestDTO.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **customer** | **str** | | [optional] **groups** | **list[str]** | | [optional] **identifier** | **str** | | [optional] +**ingestion_policies** | **list[str]** | | [optional] **ingestion_policy_id** | **str** | | [optional] **roles** | **list[str]** | | [optional] **sso_id** | **str** | | [optional] diff --git a/docs/UserToCreate.md b/docs/UserToCreate.md index 6befc0e..7f3069c 100644 --- a/docs/UserToCreate.md +++ b/docs/UserToCreate.md @@ -5,8 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email_address** | **str** | The (unique) identifier of the user to create. Must be a valid email address | **groups** | **list[str]** | List of permission groups to grant to this user. Please note that 'host_tag_management' is the equivalent of the 'Source Tag Management' permission. Possible values are agent_management, alerts_management, dashboard_management, embedded_charts, events_management, external_links_management, host_tag_management, metrics_management, user_management | +**ingestion_policies** | **list[str]** | The list of ingestion policy ids, the user will be added to. | [optional] **ingestion_policy_id** | **str** | The identifier of the ingestion policy linked with user. | [optional] -**roles** | **list[str]** | The list of role ids, the user will be added to.\" | [optional] +**roles** | **list[str]** | The list of role ids, the user will be added to. | [optional] **user_groups** | **list[str]** | List of user groups to this user. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/generate_client b/generate_client index 6ba81c4..37ad6c8 100755 --- a/generate_client +++ b/generate_client @@ -9,7 +9,7 @@ function _exit { [[ "$1" ]] || _exit "Please specify cluster as an argument." CGEN_NAME="swagger-codegen-cli" -CGEN_VER="2.4.21" # For 3.x use CGEN_VER="3.0.27" +CGEN_VER="2.4.27" # For 3.x use CGEN_VER="3.0.34" CGEN_JAR_NAME="${CGEN_NAME}-${CGEN_VER}.jar" CGEN_JAR_URL="https://search.maven.org/remotecontent?filepath=\ io/swagger/swagger-codegen-cli/${CGEN_VER}/${CGEN_JAR_NAME}" diff --git a/setup.py b/setup.py index 3dbcf2d..3fd2c2e 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "wavefront-api-client" -VERSION = "2.116.3" +VERSION = "2.129.3" # To install the library, run the following # # python setup.py install @@ -33,10 +33,10 @@ setup( name=NAME, version=VERSION, - description="Wavefront REST API", + description="Wavefront REST API Documentation", author_email="chitimba@wavefront.com", url="https://github.com/wavefrontHQ/python-client", - keywords=["Swagger", "Wavefront REST API"], + keywords=["Swagger", "Wavefront REST API Documentation"], install_requires=REQUIRES, packages=find_packages(), include_package_data=True, diff --git a/test/test_api_token_model.py b/test/test_api_token_model.py new file mode 100644 index 0000000..0551214 --- /dev/null +++ b/test/test_api_token_model.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.api_token_model import ApiTokenModel # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestApiTokenModel(unittest.TestCase): + """ApiTokenModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testApiTokenModel(self): + """Test ApiTokenModel""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.api_token_model.ApiTokenModel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_app_search_filter.py b/test/test_app_search_filter.py new file mode 100644 index 0000000..c37b136 --- /dev/null +++ b/test/test_app_search_filter.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.app_search_filter import AppSearchFilter # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestAppSearchFilter(unittest.TestCase): + """AppSearchFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAppSearchFilter(self): + """Test AppSearchFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.app_search_filter.AppSearchFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_app_search_filter_value.py b/test/test_app_search_filter_value.py new file mode 100644 index 0000000..00562b3 --- /dev/null +++ b/test/test_app_search_filter_value.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.app_search_filter_value import AppSearchFilterValue # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestAppSearchFilterValue(unittest.TestCase): + """AppSearchFilterValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAppSearchFilterValue(self): + """Test AppSearchFilterValue""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.app_search_filter_value.AppSearchFilterValue() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_app_search_filters.py b/test/test_app_search_filters.py new file mode 100644 index 0000000..6d43409 --- /dev/null +++ b/test/test_app_search_filters.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.app_search_filters import AppSearchFilters # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestAppSearchFilters(unittest.TestCase): + """AppSearchFilters unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAppSearchFilters(self): + """Test AppSearchFilters""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.app_search_filters.AppSearchFilters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_default_saved_app_map_search.py b/test/test_default_saved_app_map_search.py new file mode 100644 index 0000000..9683c29 --- /dev/null +++ b/test/test_default_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.default_saved_app_map_search import DefaultSavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestDefaultSavedAppMapSearch(unittest.TestCase): + """DefaultSavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDefaultSavedAppMapSearch(self): + """Test DefaultSavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.default_saved_app_map_search.DefaultSavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_default_saved_traces_search.py b/test/test_default_saved_traces_search.py new file mode 100644 index 0000000..879c8bf --- /dev/null +++ b/test/test_default_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.default_saved_traces_search import DefaultSavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestDefaultSavedTracesSearch(unittest.TestCase): + """DefaultSavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDefaultSavedTracesSearch(self): + """Test DefaultSavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.default_saved_traces_search.DefaultSavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_dynatrace_configuration.py b/test/test_dynatrace_configuration.py new file mode 100644 index 0000000..7802ebc --- /dev/null +++ b/test/test_dynatrace_configuration.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.dynatrace_configuration import DynatraceConfiguration # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestDynatraceConfiguration(unittest.TestCase): + """DynatraceConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDynatraceConfiguration(self): + """Test DynatraceConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.dynatrace_configuration.DynatraceConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_api_token_model.py b/test/test_paged_api_token_model.py new file mode 100644 index 0000000..52ed536 --- /dev/null +++ b/test/test_paged_api_token_model.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_api_token_model import PagedApiTokenModel # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedApiTokenModel(unittest.TestCase): + """PagedApiTokenModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedApiTokenModel(self): + """Test PagedApiTokenModel""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_api_token_model.PagedApiTokenModel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_recent_app_map_search.py b/test/test_paged_recent_app_map_search.py new file mode 100644 index 0000000..67e4d1f --- /dev/null +++ b/test/test_paged_recent_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_recent_app_map_search import PagedRecentAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedRecentAppMapSearch(unittest.TestCase): + """PagedRecentAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedRecentAppMapSearch(self): + """Test PagedRecentAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_recent_app_map_search.PagedRecentAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_recent_traces_search.py b/test/test_paged_recent_traces_search.py new file mode 100644 index 0000000..c684234 --- /dev/null +++ b/test/test_paged_recent_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_recent_traces_search import PagedRecentTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedRecentTracesSearch(unittest.TestCase): + """PagedRecentTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedRecentTracesSearch(self): + """Test PagedRecentTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_recent_traces_search.PagedRecentTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_saved_app_map_search.py b/test/test_paged_saved_app_map_search.py new file mode 100644 index 0000000..44c357a --- /dev/null +++ b/test/test_paged_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_saved_app_map_search import PagedSavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedSavedAppMapSearch(unittest.TestCase): + """PagedSavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedSavedAppMapSearch(self): + """Test PagedSavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_saved_app_map_search.PagedSavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_saved_app_map_search_group.py b/test/test_paged_saved_app_map_search_group.py new file mode 100644 index 0000000..2a38104 --- /dev/null +++ b/test/test_paged_saved_app_map_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_saved_app_map_search_group import PagedSavedAppMapSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedSavedAppMapSearchGroup(unittest.TestCase): + """PagedSavedAppMapSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedSavedAppMapSearchGroup(self): + """Test PagedSavedAppMapSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_saved_app_map_search_group.PagedSavedAppMapSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_saved_traces_search.py b/test/test_paged_saved_traces_search.py new file mode 100644 index 0000000..346f9fc --- /dev/null +++ b/test/test_paged_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_saved_traces_search import PagedSavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedSavedTracesSearch(unittest.TestCase): + """PagedSavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedSavedTracesSearch(self): + """Test PagedSavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_saved_traces_search.PagedSavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_paged_saved_traces_search_group.py b/test/test_paged_saved_traces_search_group.py new file mode 100644 index 0000000..1531c18 --- /dev/null +++ b/test/test_paged_saved_traces_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.paged_saved_traces_search_group import PagedSavedTracesSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestPagedSavedTracesSearchGroup(unittest.TestCase): + """PagedSavedTracesSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPagedSavedTracesSearchGroup(self): + """Test PagedSavedTracesSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.paged_saved_traces_search_group.PagedSavedTracesSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_recent_app_map_search.py b/test/test_recent_app_map_search.py new file mode 100644 index 0000000..11c8ab9 --- /dev/null +++ b/test/test_recent_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.recent_app_map_search import RecentAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestRecentAppMapSearch(unittest.TestCase): + """RecentAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRecentAppMapSearch(self): + """Test RecentAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.recent_app_map_search.RecentAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_recent_app_map_search_api.py b/test/test_recent_app_map_search_api.py new file mode 100644 index 0000000..259b70d --- /dev/null +++ b/test/test_recent_app_map_search_api.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.recent_app_map_search_api import RecentAppMapSearchApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestRecentAppMapSearchApi(unittest.TestCase): + """RecentAppMapSearchApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.recent_app_map_search_api.RecentAppMapSearchApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_recent_app_map_search(self): + """Test case for create_recent_app_map_search + + Create a search # noqa: E501 + """ + pass + + def test_get_all_recent_app_map_searches(self): + """Test case for get_all_recent_app_map_searches + + Get all searches for a user # noqa: E501 + """ + pass + + def test_get_recent_app_map_search(self): + """Test case for get_recent_app_map_search + + Get a specific search # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_recent_traces_search.py b/test/test_recent_traces_search.py new file mode 100644 index 0000000..b226f17 --- /dev/null +++ b/test/test_recent_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.recent_traces_search import RecentTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestRecentTracesSearch(unittest.TestCase): + """RecentTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRecentTracesSearch(self): + """Test RecentTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.recent_traces_search.RecentTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_recent_traces_search_api.py b/test/test_recent_traces_search_api.py new file mode 100644 index 0000000..546412a --- /dev/null +++ b/test/test_recent_traces_search_api.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.recent_traces_search_api import RecentTracesSearchApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestRecentTracesSearchApi(unittest.TestCase): + """RecentTracesSearchApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.recent_traces_search_api.RecentTracesSearchApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_recent_traces_search(self): + """Test case for create_recent_traces_search + + Create a search # noqa: E501 + """ + pass + + def test_get_all_recent_traces_searches(self): + """Test case for get_all_recent_traces_searches + + Get all searches for a user # noqa: E501 + """ + pass + + def test_get_recent_traces_search(self): + """Test case for get_recent_traces_search + + Get a specific search # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_api_token_model.py b/test/test_response_container_api_token_model.py new file mode 100644 index 0000000..7e405ea --- /dev/null +++ b/test/test_response_container_api_token_model.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_api_token_model import ResponseContainerApiTokenModel # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerApiTokenModel(unittest.TestCase): + """ResponseContainerApiTokenModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerApiTokenModel(self): + """Test ResponseContainerApiTokenModel""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_api_token_model.ResponseContainerApiTokenModel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_default_saved_app_map_search.py b/test/test_response_container_default_saved_app_map_search.py new file mode 100644 index 0000000..c78960c --- /dev/null +++ b/test/test_response_container_default_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_default_saved_app_map_search import ResponseContainerDefaultSavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerDefaultSavedAppMapSearch(unittest.TestCase): + """ResponseContainerDefaultSavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerDefaultSavedAppMapSearch(self): + """Test ResponseContainerDefaultSavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_default_saved_app_map_search.ResponseContainerDefaultSavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_default_saved_traces_search.py b/test/test_response_container_default_saved_traces_search.py new file mode 100644 index 0000000..fe0690d --- /dev/null +++ b/test/test_response_container_default_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_default_saved_traces_search import ResponseContainerDefaultSavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerDefaultSavedTracesSearch(unittest.TestCase): + """ResponseContainerDefaultSavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerDefaultSavedTracesSearch(self): + """Test ResponseContainerDefaultSavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_default_saved_traces_search.ResponseContainerDefaultSavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_list_api_token_model.py b/test/test_response_container_list_api_token_model.py new file mode 100644 index 0000000..5ea5170 --- /dev/null +++ b/test/test_response_container_list_api_token_model.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_list_api_token_model import ResponseContainerListApiTokenModel # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerListApiTokenModel(unittest.TestCase): + """ResponseContainerListApiTokenModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerListApiTokenModel(self): + """Test ResponseContainerListApiTokenModel""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_list_api_token_model.ResponseContainerListApiTokenModel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_api_token_model.py b/test/test_response_container_paged_api_token_model.py new file mode 100644 index 0000000..5be0bfc --- /dev/null +++ b/test/test_response_container_paged_api_token_model.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_api_token_model import ResponseContainerPagedApiTokenModel # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedApiTokenModel(unittest.TestCase): + """ResponseContainerPagedApiTokenModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedApiTokenModel(self): + """Test ResponseContainerPagedApiTokenModel""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_api_token_model.ResponseContainerPagedApiTokenModel() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_recent_app_map_search.py b/test/test_response_container_paged_recent_app_map_search.py new file mode 100644 index 0000000..caeb4f2 --- /dev/null +++ b/test/test_response_container_paged_recent_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_recent_app_map_search import ResponseContainerPagedRecentAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedRecentAppMapSearch(unittest.TestCase): + """ResponseContainerPagedRecentAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedRecentAppMapSearch(self): + """Test ResponseContainerPagedRecentAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_recent_app_map_search.ResponseContainerPagedRecentAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_recent_traces_search.py b/test/test_response_container_paged_recent_traces_search.py new file mode 100644 index 0000000..1ff0efc --- /dev/null +++ b/test/test_response_container_paged_recent_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_recent_traces_search import ResponseContainerPagedRecentTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedRecentTracesSearch(unittest.TestCase): + """ResponseContainerPagedRecentTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedRecentTracesSearch(self): + """Test ResponseContainerPagedRecentTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_recent_traces_search.ResponseContainerPagedRecentTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_saved_app_map_search.py b/test/test_response_container_paged_saved_app_map_search.py new file mode 100644 index 0000000..12794b6 --- /dev/null +++ b/test/test_response_container_paged_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_saved_app_map_search import ResponseContainerPagedSavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedSavedAppMapSearch(unittest.TestCase): + """ResponseContainerPagedSavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedSavedAppMapSearch(self): + """Test ResponseContainerPagedSavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_saved_app_map_search.ResponseContainerPagedSavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_saved_app_map_search_group.py b/test/test_response_container_paged_saved_app_map_search_group.py new file mode 100644 index 0000000..ae1e382 --- /dev/null +++ b/test/test_response_container_paged_saved_app_map_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_saved_app_map_search_group import ResponseContainerPagedSavedAppMapSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedSavedAppMapSearchGroup(unittest.TestCase): + """ResponseContainerPagedSavedAppMapSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedSavedAppMapSearchGroup(self): + """Test ResponseContainerPagedSavedAppMapSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_saved_app_map_search_group.ResponseContainerPagedSavedAppMapSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_saved_traces_search.py b/test/test_response_container_paged_saved_traces_search.py new file mode 100644 index 0000000..1901880 --- /dev/null +++ b/test/test_response_container_paged_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_saved_traces_search import ResponseContainerPagedSavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedSavedTracesSearch(unittest.TestCase): + """ResponseContainerPagedSavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedSavedTracesSearch(self): + """Test ResponseContainerPagedSavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_saved_traces_search.ResponseContainerPagedSavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_paged_saved_traces_search_group.py b/test/test_response_container_paged_saved_traces_search_group.py new file mode 100644 index 0000000..917c90c --- /dev/null +++ b/test/test_response_container_paged_saved_traces_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_paged_saved_traces_search_group import ResponseContainerPagedSavedTracesSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerPagedSavedTracesSearchGroup(unittest.TestCase): + """ResponseContainerPagedSavedTracesSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerPagedSavedTracesSearchGroup(self): + """Test ResponseContainerPagedSavedTracesSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_paged_saved_traces_search_group.ResponseContainerPagedSavedTracesSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_recent_app_map_search.py b/test/test_response_container_recent_app_map_search.py new file mode 100644 index 0000000..c76f269 --- /dev/null +++ b/test/test_response_container_recent_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_recent_app_map_search import ResponseContainerRecentAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerRecentAppMapSearch(unittest.TestCase): + """ResponseContainerRecentAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerRecentAppMapSearch(self): + """Test ResponseContainerRecentAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_recent_app_map_search.ResponseContainerRecentAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_recent_traces_search.py b/test/test_response_container_recent_traces_search.py new file mode 100644 index 0000000..130e605 --- /dev/null +++ b/test/test_response_container_recent_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_recent_traces_search import ResponseContainerRecentTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerRecentTracesSearch(unittest.TestCase): + """ResponseContainerRecentTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerRecentTracesSearch(self): + """Test ResponseContainerRecentTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_recent_traces_search.ResponseContainerRecentTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_saved_app_map_search.py b/test/test_response_container_saved_app_map_search.py new file mode 100644 index 0000000..2e62f59 --- /dev/null +++ b/test/test_response_container_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_saved_app_map_search import ResponseContainerSavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerSavedAppMapSearch(unittest.TestCase): + """ResponseContainerSavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerSavedAppMapSearch(self): + """Test ResponseContainerSavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_saved_app_map_search.ResponseContainerSavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_saved_app_map_search_group.py b/test/test_response_container_saved_app_map_search_group.py new file mode 100644 index 0000000..f05d58f --- /dev/null +++ b/test/test_response_container_saved_app_map_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_saved_app_map_search_group import ResponseContainerSavedAppMapSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerSavedAppMapSearchGroup(unittest.TestCase): + """ResponseContainerSavedAppMapSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerSavedAppMapSearchGroup(self): + """Test ResponseContainerSavedAppMapSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_saved_app_map_search_group.ResponseContainerSavedAppMapSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_saved_traces_search.py b/test/test_response_container_saved_traces_search.py new file mode 100644 index 0000000..5195bd4 --- /dev/null +++ b/test/test_response_container_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_saved_traces_search import ResponseContainerSavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerSavedTracesSearch(unittest.TestCase): + """ResponseContainerSavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerSavedTracesSearch(self): + """Test ResponseContainerSavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_saved_traces_search.ResponseContainerSavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_saved_traces_search_group.py b/test/test_response_container_saved_traces_search_group.py new file mode 100644 index 0000000..84f1a9a --- /dev/null +++ b/test/test_response_container_saved_traces_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_saved_traces_search_group import ResponseContainerSavedTracesSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerSavedTracesSearchGroup(unittest.TestCase): + """ResponseContainerSavedTracesSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerSavedTracesSearchGroup(self): + """Test ResponseContainerSavedTracesSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_saved_traces_search_group.ResponseContainerSavedTracesSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_response_container_user_dto.py b/test/test_response_container_user_dto.py new file mode 100644 index 0000000..f40e58a --- /dev/null +++ b/test/test_response_container_user_dto.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.response_container_user_dto import ResponseContainerUserDTO # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestResponseContainerUserDTO(unittest.TestCase): + """ResponseContainerUserDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testResponseContainerUserDTO(self): + """Test ResponseContainerUserDTO""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.response_container_user_dto.ResponseContainerUserDTO() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_app_map_search.py b/test/test_saved_app_map_search.py new file mode 100644 index 0000000..923edd2 --- /dev/null +++ b/test/test_saved_app_map_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.saved_app_map_search import SavedAppMapSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedAppMapSearch(unittest.TestCase): + """SavedAppMapSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSavedAppMapSearch(self): + """Test SavedAppMapSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.saved_app_map_search.SavedAppMapSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_app_map_search_api.py b/test/test_saved_app_map_search_api.py new file mode 100644 index 0000000..b2e0540 --- /dev/null +++ b/test/test_saved_app_map_search_api.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.saved_app_map_search_api import SavedAppMapSearchApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedAppMapSearchApi(unittest.TestCase): + """SavedAppMapSearchApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.saved_app_map_search_api.SavedAppMapSearchApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_saved_app_map_search(self): + """Test case for create_saved_app_map_search + + Create a search # noqa: E501 + """ + pass + + def test_delete_saved_app_map_search(self): + """Test case for delete_saved_app_map_search + + Delete a search # noqa: E501 + """ + pass + + def test_delete_saved_app_map_search_for_user(self): + """Test case for delete_saved_app_map_search_for_user + + Delete a search belonging to the user # noqa: E501 + """ + pass + + def test_get_all_saved_app_map_searches(self): + """Test case for get_all_saved_app_map_searches + + Get all searches for a customer # noqa: E501 + """ + pass + + def test_get_all_saved_app_map_searches_for_user(self): + """Test case for get_all_saved_app_map_searches_for_user + + Get all searches for a user # noqa: E501 + """ + pass + + def test_get_saved_app_map_search(self): + """Test case for get_saved_app_map_search + + Get a specific search # noqa: E501 + """ + pass + + def test_update_saved_app_map_search(self): + """Test case for update_saved_app_map_search + + Update a search # noqa: E501 + """ + pass + + def test_update_saved_app_map_search_for_user(self): + """Test case for update_saved_app_map_search_for_user + + Update a search belonging to the user # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_app_map_search_group.py b/test/test_saved_app_map_search_group.py new file mode 100644 index 0000000..8a7a882 --- /dev/null +++ b/test/test_saved_app_map_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.saved_app_map_search_group import SavedAppMapSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedAppMapSearchGroup(unittest.TestCase): + """SavedAppMapSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSavedAppMapSearchGroup(self): + """Test SavedAppMapSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.saved_app_map_search_group.SavedAppMapSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_app_map_search_group_api.py b/test/test_saved_app_map_search_group_api.py new file mode 100644 index 0000000..b1a69c3 --- /dev/null +++ b/test/test_saved_app_map_search_group_api.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.saved_app_map_search_group_api import SavedAppMapSearchGroupApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedAppMapSearchGroupApi(unittest.TestCase): + """SavedAppMapSearchGroupApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.saved_app_map_search_group_api.SavedAppMapSearchGroupApi() # noqa: E501 + + def tearDown(self): + pass + + def test_add_saved_app_map_search_to_group(self): + """Test case for add_saved_app_map_search_to_group + + Add a search to a search group # noqa: E501 + """ + pass + + def test_create_saved_app_map_search_group(self): + """Test case for create_saved_app_map_search_group + + Create a search group # noqa: E501 + """ + pass + + def test_delete_saved_app_map_search_group(self): + """Test case for delete_saved_app_map_search_group + + Delete a search group # noqa: E501 + """ + pass + + def test_get_all_saved_app_map_search_group(self): + """Test case for get_all_saved_app_map_search_group + + Get all search groups for a user # noqa: E501 + """ + pass + + def test_get_saved_app_map_search_group(self): + """Test case for get_saved_app_map_search_group + + Get a specific search group # noqa: E501 + """ + pass + + def test_get_saved_app_map_searches_for_group(self): + """Test case for get_saved_app_map_searches_for_group + + Get all searches for a search group # noqa: E501 + """ + pass + + def test_remove_saved_app_map_search_from_group(self): + """Test case for remove_saved_app_map_search_from_group + + Remove a search from a search group # noqa: E501 + """ + pass + + def test_update_saved_app_map_search_group(self): + """Test case for update_saved_app_map_search_group + + Update a search group # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_traces_search.py b/test/test_saved_traces_search.py new file mode 100644 index 0000000..12bb055 --- /dev/null +++ b/test/test_saved_traces_search.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.saved_traces_search import SavedTracesSearch # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedTracesSearch(unittest.TestCase): + """SavedTracesSearch unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSavedTracesSearch(self): + """Test SavedTracesSearch""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.saved_traces_search.SavedTracesSearch() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_traces_search_api.py b/test/test_saved_traces_search_api.py new file mode 100644 index 0000000..a5589cd --- /dev/null +++ b/test/test_saved_traces_search_api.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.saved_traces_search_api import SavedTracesSearchApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedTracesSearchApi(unittest.TestCase): + """SavedTracesSearchApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.saved_traces_search_api.SavedTracesSearchApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_saved_traces_search(self): + """Test case for create_saved_traces_search + + Create a search # noqa: E501 + """ + pass + + def test_delete_saved_traces_search(self): + """Test case for delete_saved_traces_search + + Delete a search # noqa: E501 + """ + pass + + def test_delete_saved_traces_search_for_user(self): + """Test case for delete_saved_traces_search_for_user + + Delete a search belonging to the user # noqa: E501 + """ + pass + + def test_get_all_saved_traces_searches(self): + """Test case for get_all_saved_traces_searches + + Get all searches for a customer # noqa: E501 + """ + pass + + def test_get_all_saved_traces_searches_for_user(self): + """Test case for get_all_saved_traces_searches_for_user + + Get all searches for a user # noqa: E501 + """ + pass + + def test_get_saved_traces_search(self): + """Test case for get_saved_traces_search + + Get a specific search # noqa: E501 + """ + pass + + def test_update_saved_traces_search(self): + """Test case for update_saved_traces_search + + Update a search # noqa: E501 + """ + pass + + def test_update_saved_traces_search_for_user(self): + """Test case for update_saved_traces_search_for_user + + Update a search belonging to the user # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_traces_search_group.py b/test/test_saved_traces_search_group.py new file mode 100644 index 0000000..d8c81b2 --- /dev/null +++ b/test/test_saved_traces_search_group.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.saved_traces_search_group import SavedTracesSearchGroup # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedTracesSearchGroup(unittest.TestCase): + """SavedTracesSearchGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSavedTracesSearchGroup(self): + """Test SavedTracesSearchGroup""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.saved_traces_search_group.SavedTracesSearchGroup() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_saved_traces_search_group_api.py b/test/test_saved_traces_search_group_api.py new file mode 100644 index 0000000..99e1f30 --- /dev/null +++ b/test/test_saved_traces_search_group_api.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.api.saved_traces_search_group_api import SavedTracesSearchGroupApi # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSavedTracesSearchGroupApi(unittest.TestCase): + """SavedTracesSearchGroupApi unit test stubs""" + + def setUp(self): + self.api = wavefront_api_client.api.saved_traces_search_group_api.SavedTracesSearchGroupApi() # noqa: E501 + + def tearDown(self): + pass + + def test_add_saved_traces_search_to_group(self): + """Test case for add_saved_traces_search_to_group + + Add a search to a search group # noqa: E501 + """ + pass + + def test_create_saved_traces_search_group(self): + """Test case for create_saved_traces_search_group + + Create a search group # noqa: E501 + """ + pass + + def test_delete_saved_traces_search_group(self): + """Test case for delete_saved_traces_search_group + + Delete a search group # noqa: E501 + """ + pass + + def test_get_all_saved_traces_search_group(self): + """Test case for get_all_saved_traces_search_group + + Get all search groups for a user # noqa: E501 + """ + pass + + def test_get_saved_traces_search_group(self): + """Test case for get_saved_traces_search_group + + Get a specific search group # noqa: E501 + """ + pass + + def test_get_saved_traces_searches_for_group(self): + """Test case for get_saved_traces_searches_for_group + + Get all searches for a search group # noqa: E501 + """ + pass + + def test_remove_saved_traces_search_from_group(self): + """Test case for remove_saved_traces_search_from_group + + Remove a search from a search group # noqa: E501 + """ + pass + + def test_update_saved_traces_search_group(self): + """Test case for update_saved_traces_search_group + + Update a search group # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_snowflake_configuration.py b/test/test_snowflake_configuration.py new file mode 100644 index 0000000..526f5af --- /dev/null +++ b/test/test_snowflake_configuration.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Wavefront REST API + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import wavefront_api_client +from wavefront_api_client.models.snowflake_configuration import SnowflakeConfiguration # noqa: E501 +from wavefront_api_client.rest import ApiException + + +class TestSnowflakeConfiguration(unittest.TestCase): + """SnowflakeConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSnowflakeConfiguration(self): + """Test SnowflakeConfiguration""" + # FIXME: construct object with mandatory attributes with example values + # model = wavefront_api_client.models.snowflake_configuration.SnowflakeConfiguration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/wavefront_api_client/__init__.py b/wavefront_api_client/__init__.py index 71899e6..61f2faa 100644 --- a/wavefront_api_client/__init__.py +++ b/wavefront_api_client/__init__.py @@ -3,7 +3,7 @@ # flake8: noqa """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -37,8 +37,14 @@ from wavefront_api_client.api.notificant_api import NotificantApi from wavefront_api_client.api.proxy_api import ProxyApi from wavefront_api_client.api.query_api import QueryApi +from wavefront_api_client.api.recent_app_map_search_api import RecentAppMapSearchApi +from wavefront_api_client.api.recent_traces_search_api import RecentTracesSearchApi from wavefront_api_client.api.role_api import RoleApi +from wavefront_api_client.api.saved_app_map_search_api import SavedAppMapSearchApi +from wavefront_api_client.api.saved_app_map_search_group_api import SavedAppMapSearchGroupApi from wavefront_api_client.api.saved_search_api import SavedSearchApi +from wavefront_api_client.api.saved_traces_search_api import SavedTracesSearchApi +from wavefront_api_client.api.saved_traces_search_group_api import SavedTracesSearchGroupApi from wavefront_api_client.api.search_api import SearchApi from wavefront_api_client.api.source_api import SourceApi from wavefront_api_client.api.span_sampling_policy_api import SpanSamplingPolicyApi @@ -66,7 +72,11 @@ from wavefront_api_client.models.alert_source import AlertSource from wavefront_api_client.models.annotation import Annotation from wavefront_api_client.models.anomaly import Anomaly +from wavefront_api_client.models.api_token_model import ApiTokenModel from wavefront_api_client.models.app_dynamics_configuration import AppDynamicsConfiguration +from wavefront_api_client.models.app_search_filter import AppSearchFilter +from wavefront_api_client.models.app_search_filter_value import AppSearchFilterValue +from wavefront_api_client.models.app_search_filters import AppSearchFilters from wavefront_api_client.models.azure_activity_log_configuration import AzureActivityLogConfiguration from wavefront_api_client.models.azure_base_credentials import AzureBaseCredentials from wavefront_api_client.models.azure_configuration import AzureConfiguration @@ -85,7 +95,10 @@ from wavefront_api_client.models.dashboard_parameter_value import DashboardParameterValue from wavefront_api_client.models.dashboard_section import DashboardSection from wavefront_api_client.models.dashboard_section_row import DashboardSectionRow +from wavefront_api_client.models.default_saved_app_map_search import DefaultSavedAppMapSearch +from wavefront_api_client.models.default_saved_traces_search import DefaultSavedTracesSearch from wavefront_api_client.models.derived_metric_definition import DerivedMetricDefinition +from wavefront_api_client.models.dynatrace_configuration import DynatraceConfiguration from wavefront_api_client.models.ec2_configuration import EC2Configuration from wavefront_api_client.models.event import Event from wavefront_api_client.models.event_search_request import EventSearchRequest @@ -138,6 +151,7 @@ from wavefront_api_client.models.paged_alert import PagedAlert from wavefront_api_client.models.paged_alert_with_stats import PagedAlertWithStats from wavefront_api_client.models.paged_anomaly import PagedAnomaly +from wavefront_api_client.models.paged_api_token_model import PagedApiTokenModel from wavefront_api_client.models.paged_cloud_integration import PagedCloudIntegration from wavefront_api_client.models.paged_customer_facing_user_object import PagedCustomerFacingUserObject from wavefront_api_client.models.paged_dashboard import PagedDashboard @@ -154,10 +168,16 @@ from wavefront_api_client.models.paged_monitored_service_dto import PagedMonitoredServiceDTO from wavefront_api_client.models.paged_notificant import PagedNotificant from wavefront_api_client.models.paged_proxy import PagedProxy +from wavefront_api_client.models.paged_recent_app_map_search import PagedRecentAppMapSearch +from wavefront_api_client.models.paged_recent_traces_search import PagedRecentTracesSearch from wavefront_api_client.models.paged_related_event import PagedRelatedEvent from wavefront_api_client.models.paged_report_event_anomaly_dto import PagedReportEventAnomalyDTO from wavefront_api_client.models.paged_role_dto import PagedRoleDTO +from wavefront_api_client.models.paged_saved_app_map_search import PagedSavedAppMapSearch +from wavefront_api_client.models.paged_saved_app_map_search_group import PagedSavedAppMapSearchGroup from wavefront_api_client.models.paged_saved_search import PagedSavedSearch +from wavefront_api_client.models.paged_saved_traces_search import PagedSavedTracesSearch +from wavefront_api_client.models.paged_saved_traces_search_group import PagedSavedTracesSearchGroup from wavefront_api_client.models.paged_service_account import PagedServiceAccount from wavefront_api_client.models.paged_source import PagedSource from wavefront_api_client.models.paged_span_sampling_policy import PagedSpanSamplingPolicy @@ -170,6 +190,8 @@ from wavefront_api_client.models.query_result import QueryResult from wavefront_api_client.models.query_type_dto import QueryTypeDTO from wavefront_api_client.models.raw_timeseries import RawTimeseries +from wavefront_api_client.models.recent_app_map_search import RecentAppMapSearch +from wavefront_api_client.models.recent_traces_search import RecentTracesSearch from wavefront_api_client.models.related_anomaly import RelatedAnomaly from wavefront_api_client.models.related_data import RelatedData from wavefront_api_client.models.related_event import RelatedEvent @@ -180,8 +202,11 @@ from wavefront_api_client.models.response_container_access_policy_action import ResponseContainerAccessPolicyAction from wavefront_api_client.models.response_container_account import ResponseContainerAccount from wavefront_api_client.models.response_container_alert import ResponseContainerAlert +from wavefront_api_client.models.response_container_api_token_model import ResponseContainerApiTokenModel from wavefront_api_client.models.response_container_cloud_integration import ResponseContainerCloudIntegration from wavefront_api_client.models.response_container_dashboard import ResponseContainerDashboard +from wavefront_api_client.models.response_container_default_saved_app_map_search import ResponseContainerDefaultSavedAppMapSearch +from wavefront_api_client.models.response_container_default_saved_traces_search import ResponseContainerDefaultSavedTracesSearch from wavefront_api_client.models.response_container_derived_metric_definition import ResponseContainerDerivedMetricDefinition from wavefront_api_client.models.response_container_event import ResponseContainerEvent from wavefront_api_client.models.response_container_external_link import ResponseContainerExternalLink @@ -192,6 +217,7 @@ from wavefront_api_client.models.response_container_integration import ResponseContainerIntegration from wavefront_api_client.models.response_container_integration_status import ResponseContainerIntegrationStatus from wavefront_api_client.models.response_container_list_access_control_list_read_dto import ResponseContainerListAccessControlListReadDTO +from wavefront_api_client.models.response_container_list_api_token_model import ResponseContainerListApiTokenModel from wavefront_api_client.models.response_container_list_integration import ResponseContainerListIntegration from wavefront_api_client.models.response_container_list_integration_manifest_group import ResponseContainerListIntegrationManifestGroup from wavefront_api_client.models.response_container_list_notification_messages import ResponseContainerListNotificationMessages @@ -211,6 +237,7 @@ from wavefront_api_client.models.response_container_paged_alert import ResponseContainerPagedAlert from wavefront_api_client.models.response_container_paged_alert_with_stats import ResponseContainerPagedAlertWithStats from wavefront_api_client.models.response_container_paged_anomaly import ResponseContainerPagedAnomaly +from wavefront_api_client.models.response_container_paged_api_token_model import ResponseContainerPagedApiTokenModel from wavefront_api_client.models.response_container_paged_cloud_integration import ResponseContainerPagedCloudIntegration from wavefront_api_client.models.response_container_paged_customer_facing_user_object import ResponseContainerPagedCustomerFacingUserObject from wavefront_api_client.models.response_container_paged_dashboard import ResponseContainerPagedDashboard @@ -227,18 +254,30 @@ from wavefront_api_client.models.response_container_paged_monitored_service_dto import ResponseContainerPagedMonitoredServiceDTO from wavefront_api_client.models.response_container_paged_notificant import ResponseContainerPagedNotificant from wavefront_api_client.models.response_container_paged_proxy import ResponseContainerPagedProxy +from wavefront_api_client.models.response_container_paged_recent_app_map_search import ResponseContainerPagedRecentAppMapSearch +from wavefront_api_client.models.response_container_paged_recent_traces_search import ResponseContainerPagedRecentTracesSearch from wavefront_api_client.models.response_container_paged_related_event import ResponseContainerPagedRelatedEvent from wavefront_api_client.models.response_container_paged_report_event_anomaly_dto import ResponseContainerPagedReportEventAnomalyDTO from wavefront_api_client.models.response_container_paged_role_dto import ResponseContainerPagedRoleDTO +from wavefront_api_client.models.response_container_paged_saved_app_map_search import ResponseContainerPagedSavedAppMapSearch +from wavefront_api_client.models.response_container_paged_saved_app_map_search_group import ResponseContainerPagedSavedAppMapSearchGroup from wavefront_api_client.models.response_container_paged_saved_search import ResponseContainerPagedSavedSearch +from wavefront_api_client.models.response_container_paged_saved_traces_search import ResponseContainerPagedSavedTracesSearch +from wavefront_api_client.models.response_container_paged_saved_traces_search_group import ResponseContainerPagedSavedTracesSearchGroup from wavefront_api_client.models.response_container_paged_service_account import ResponseContainerPagedServiceAccount from wavefront_api_client.models.response_container_paged_source import ResponseContainerPagedSource from wavefront_api_client.models.response_container_paged_span_sampling_policy import ResponseContainerPagedSpanSamplingPolicy from wavefront_api_client.models.response_container_paged_user_group_model import ResponseContainerPagedUserGroupModel from wavefront_api_client.models.response_container_proxy import ResponseContainerProxy from wavefront_api_client.models.response_container_query_type_dto import ResponseContainerQueryTypeDTO +from wavefront_api_client.models.response_container_recent_app_map_search import ResponseContainerRecentAppMapSearch +from wavefront_api_client.models.response_container_recent_traces_search import ResponseContainerRecentTracesSearch from wavefront_api_client.models.response_container_role_dto import ResponseContainerRoleDTO +from wavefront_api_client.models.response_container_saved_app_map_search import ResponseContainerSavedAppMapSearch +from wavefront_api_client.models.response_container_saved_app_map_search_group import ResponseContainerSavedAppMapSearchGroup from wavefront_api_client.models.response_container_saved_search import ResponseContainerSavedSearch +from wavefront_api_client.models.response_container_saved_traces_search import ResponseContainerSavedTracesSearch +from wavefront_api_client.models.response_container_saved_traces_search_group import ResponseContainerSavedTracesSearchGroup from wavefront_api_client.models.response_container_service_account import ResponseContainerServiceAccount from wavefront_api_client.models.response_container_set_business_function import ResponseContainerSetBusinessFunction from wavefront_api_client.models.response_container_set_source_label_pair import ResponseContainerSetSourceLabelPair @@ -247,16 +286,22 @@ from wavefront_api_client.models.response_container_string import ResponseContainerString from wavefront_api_client.models.response_container_tags_response import ResponseContainerTagsResponse from wavefront_api_client.models.response_container_user_api_token import ResponseContainerUserApiToken +from wavefront_api_client.models.response_container_user_dto import ResponseContainerUserDTO from wavefront_api_client.models.response_container_user_group_model import ResponseContainerUserGroupModel from wavefront_api_client.models.response_container_validated_users_dto import ResponseContainerValidatedUsersDTO from wavefront_api_client.models.response_container_void import ResponseContainerVoid from wavefront_api_client.models.response_status import ResponseStatus from wavefront_api_client.models.role_dto import RoleDTO +from wavefront_api_client.models.saved_app_map_search import SavedAppMapSearch +from wavefront_api_client.models.saved_app_map_search_group import SavedAppMapSearchGroup from wavefront_api_client.models.saved_search import SavedSearch +from wavefront_api_client.models.saved_traces_search import SavedTracesSearch +from wavefront_api_client.models.saved_traces_search_group import SavedTracesSearchGroup from wavefront_api_client.models.schema import Schema from wavefront_api_client.models.search_query import SearchQuery from wavefront_api_client.models.service_account import ServiceAccount from wavefront_api_client.models.service_account_write import ServiceAccountWrite +from wavefront_api_client.models.snowflake_configuration import SnowflakeConfiguration from wavefront_api_client.models.sortable_search_request import SortableSearchRequest from wavefront_api_client.models.sorting import Sorting from wavefront_api_client.models.source import Source diff --git a/wavefront_api_client/api/__init__.py b/wavefront_api_client/api/__init__.py index d104647..3df3a49 100644 --- a/wavefront_api_client/api/__init__.py +++ b/wavefront_api_client/api/__init__.py @@ -24,8 +24,14 @@ from wavefront_api_client.api.notificant_api import NotificantApi from wavefront_api_client.api.proxy_api import ProxyApi from wavefront_api_client.api.query_api import QueryApi +from wavefront_api_client.api.recent_app_map_search_api import RecentAppMapSearchApi +from wavefront_api_client.api.recent_traces_search_api import RecentTracesSearchApi from wavefront_api_client.api.role_api import RoleApi +from wavefront_api_client.api.saved_app_map_search_api import SavedAppMapSearchApi +from wavefront_api_client.api.saved_app_map_search_group_api import SavedAppMapSearchGroupApi from wavefront_api_client.api.saved_search_api import SavedSearchApi +from wavefront_api_client.api.saved_traces_search_api import SavedTracesSearchApi +from wavefront_api_client.api.saved_traces_search_group_api import SavedTracesSearchGroupApi from wavefront_api_client.api.search_api import SearchApi from wavefront_api_client.api.source_api import SourceApi from wavefront_api_client.api.span_sampling_policy_api import SpanSamplingPolicyApi diff --git a/wavefront_api_client/api/access_policy_api.py b/wavefront_api_client/api/access_policy_api.py index fe91ffd..4aeaf50 100644 --- a/wavefront_api_client/api/access_policy_api.py +++ b/wavefront_api_client/api/access_policy_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/account__user_and_service_account_api.py b/wavefront_api_client/api/account__user_and_service_account_api.py index e285a15..6f745a9 100644 --- a/wavefront_api_client/api/account__user_and_service_account_api.py +++ b/wavefront_api_client/api/account__user_and_service_account_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -348,7 +348,7 @@ def add_ingestion_policy(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param IngestionPolicyMapping body: Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ], }
+ :param IngestionPolicyMapping body: Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ],   \"groups\": [   \"group1\",   \"group2\"   ] }
:return: ResponseContainer If the method is called asynchronously, returns the request thread. @@ -370,7 +370,7 @@ def add_ingestion_policy_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param IngestionPolicyMapping body: Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ], }
+ :param IngestionPolicyMapping body: Example Body:
{   \"ingestionPolicyId\": \"Ingestion policy identifier\",   \"accounts\": [   \"account1\",   \"account2\",   \"account3\"   ],   \"groups\": [   \"group1\",   \"group2\"   ] }
:return: ResponseContainer If the method is called asynchronously, returns the request thread. @@ -444,7 +444,7 @@ def create_or_update_user_account(self, **kwargs): # noqa: E501 :param async_req bool :param bool send_email: Whether to send email notification to the user, if created. Default: false - :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -467,7 +467,7 @@ def create_or_update_user_account_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool :param bool send_email: Whether to send email notification to the user, if created. Default: false - :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -1785,7 +1785,7 @@ def invite_user_accounts(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
+ :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -1807,7 +1807,7 @@ def invite_user_accounts_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
+ :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -2495,7 +2495,7 @@ def update_user_account(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -2518,7 +2518,7 @@ def update_user_account_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. diff --git a/wavefront_api_client/api/alert_api.py b/wavefront_api_client/api/alert_api.py index de9ea7e..86aaaa5 100644 --- a/wavefront_api_client/api/alert_api.py +++ b/wavefront_api_client/api/alert_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/api_token_api.py b/wavefront_api_client/api/api_token_api.py index b6834ae..25a262c 100644 --- a/wavefront_api_client/api/api_token_api.py +++ b/wavefront_api_client/api/api_token_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -120,6 +120,101 @@ def create_token_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def delete_customer_token(self, **kwargs): # noqa: E501 + """Delete the specified api token for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_customer_token(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param UserApiToken body: + :return: ResponseContainerUserApiToken + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_customer_token_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.delete_customer_token_with_http_info(**kwargs) # noqa: E501 + return data + + def delete_customer_token_with_http_info(self, **kwargs): # noqa: E501 + """Delete the specified api token for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_customer_token_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param UserApiToken body: + :return: ResponseContainerUserApiToken + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_customer_token" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/apitoken/customertokens/revoke', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerUserApiToken', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def delete_token(self, id, **kwargs): # noqa: E501 """Delete the specified api token # noqa: E501 @@ -504,6 +599,188 @@ def get_all_tokens_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_customer_token(self, id, **kwargs): # noqa: E501 + """Get the specified api token for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_token(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerApiTokenModel + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_customer_token_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_customer_token_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_customer_token_with_http_info(self, id, **kwargs): # noqa: E501 + """Get the specified api token for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_token_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerApiTokenModel + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_customer_token" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_customer_token`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/apitoken/customertokens/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerApiTokenModel', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_customer_tokens(self, **kwargs): # noqa: E501 + """Get all api tokens for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_tokens(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerListApiTokenModel + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_customer_tokens_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_customer_tokens_with_http_info(**kwargs) # noqa: E501 + return data + + def get_customer_tokens_with_http_info(self, **kwargs): # noqa: E501 + """Get all api tokens for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_customer_tokens_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerListApiTokenModel + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_customer_tokens" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/apitoken/customertokens', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerListApiTokenModel', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_tokens_service_account(self, id, **kwargs): # noqa: E501 """Get all api tokens for the given service account # noqa: E501 diff --git a/wavefront_api_client/api/cloud_integration_api.py b/wavefront_api_client/api/cloud_integration_api.py index dd26796..49d071f 100644 --- a/wavefront_api_client/api/cloud_integration_api.py +++ b/wavefront_api_client/api/cloud_integration_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/dashboard_api.py b/wavefront_api_client/api/dashboard_api.py index 18a6938..4337c06 100644 --- a/wavefront_api_client/api/dashboard_api.py +++ b/wavefront_api_client/api/dashboard_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/derived_metric_api.py b/wavefront_api_client/api/derived_metric_api.py index 07fd6fc..2016598 100644 --- a/wavefront_api_client/api/derived_metric_api.py +++ b/wavefront_api_client/api/derived_metric_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/direct_ingestion_api.py b/wavefront_api_client/api/direct_ingestion_api.py index 1adc466..6d18aa7 100644 --- a/wavefront_api_client/api/direct_ingestion_api.py +++ b/wavefront_api_client/api/direct_ingestion_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/event_api.py b/wavefront_api_client/api/event_api.py index ed4ddad..aa9bd37 100644 --- a/wavefront_api_client/api/event_api.py +++ b/wavefront_api_client/api/event_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/external_link_api.py b/wavefront_api_client/api/external_link_api.py index 3305b8f..6316cc7 100644 --- a/wavefront_api_client/api/external_link_api.py +++ b/wavefront_api_client/api/external_link_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/ingestion_spy_api.py b/wavefront_api_client/api/ingestion_spy_api.py index cf8ea92..6c95f90 100644 --- a/wavefront_api_client/api/ingestion_spy_api.py +++ b/wavefront_api_client/api/ingestion_spy_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/integration_api.py b/wavefront_api_client/api/integration_api.py index e7733a0..06098c7 100644 --- a/wavefront_api_client/api/integration_api.py +++ b/wavefront_api_client/api/integration_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/maintenance_window_api.py b/wavefront_api_client/api/maintenance_window_api.py index 81a8eae..42318d4 100644 --- a/wavefront_api_client/api/maintenance_window_api.py +++ b/wavefront_api_client/api/maintenance_window_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/message_api.py b/wavefront_api_client/api/message_api.py index 2999593..1be574c 100644 --- a/wavefront_api_client/api/message_api.py +++ b/wavefront_api_client/api/message_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/metric_api.py b/wavefront_api_client/api/metric_api.py index 2c8d374..8f5d16e 100644 --- a/wavefront_api_client/api/metric_api.py +++ b/wavefront_api_client/api/metric_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/metrics_policy_api.py b/wavefront_api_client/api/metrics_policy_api.py index 2cac016..615f1ed 100644 --- a/wavefront_api_client/api/metrics_policy_api.py +++ b/wavefront_api_client/api/metrics_policy_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/monitored_application_api.py b/wavefront_api_client/api/monitored_application_api.py index d2565ec..c63c458 100644 --- a/wavefront_api_client/api/monitored_application_api.py +++ b/wavefront_api_client/api/monitored_application_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/monitored_service_api.py b/wavefront_api_client/api/monitored_service_api.py index 66d280b..e2c3eb8 100644 --- a/wavefront_api_client/api/monitored_service_api.py +++ b/wavefront_api_client/api/monitored_service_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -43,7 +43,7 @@ def batch_update(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[MonitoredServiceDTO] body: Example Body:
[{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"application\": \"beachshirts\",   \"service\": \"delivery\",   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
+ :param list[MonitoredServiceDTO] body: Example Body:
[{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
:return: ResponseContainer If the method is called asynchronously, returns the request thread. @@ -65,7 +65,7 @@ def batch_update_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[MonitoredServiceDTO] body: Example Body:
[{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"application\": \"beachshirts\",   \"service\": \"delivery\",   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
+ :param list[MonitoredServiceDTO] body: Example Body:
[{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" },{   \"satisfiedLatencyMillis\": \"100\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }]
:return: ResponseContainer If the method is called asynchronously, returns the request thread. @@ -128,6 +128,101 @@ def batch_update_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_all_components(self, **kwargs): # noqa: E501 + """Get all monitored services with components # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_components(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedMonitoredServiceDTO + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_components_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_components_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_components_with_http_info(self, **kwargs): # noqa: E501 + """Get all monitored services with components # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_components_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedMonitoredServiceDTO + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_components" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/monitoredservice/components', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedMonitoredServiceDTO', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_all_services(self, **kwargs): # noqa: E501 """Get all monitored services # noqa: E501 @@ -223,6 +318,117 @@ def get_all_services_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_component(self, application, service, component, **kwargs): # noqa: E501 + """Get a specific application # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_component(application, service, component, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str application: (required) + :param str service: (required) + :param str component: (required) + :return: ResponseContainerMonitoredServiceDTO + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_component_with_http_info(application, service, component, **kwargs) # noqa: E501 + else: + (data) = self.get_component_with_http_info(application, service, component, **kwargs) # noqa: E501 + return data + + def get_component_with_http_info(self, application, service, component, **kwargs): # noqa: E501 + """Get a specific application # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_component_with_http_info(application, service, component, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str application: (required) + :param str service: (required) + :param str component: (required) + :return: ResponseContainerMonitoredServiceDTO + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['application', 'service', 'component'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_component" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'application' is set + if self.api_client.client_side_validation and ('application' not in params or + params['application'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `application` when calling `get_component`") # noqa: E501 + # verify the required parameter 'service' is set + if self.api_client.client_side_validation and ('service' not in params or + params['service'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `service` when calling `get_component`") # noqa: E501 + # verify the required parameter 'component' is set + if self.api_client.client_side_validation and ('component' not in params or + params['component'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `component` when calling `get_component`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'application' in params: + path_params['application'] = params['application'] # noqa: E501 + if 'service' in params: + path_params['service'] = params['service'] # noqa: E501 + if 'component' in params: + path_params['component'] = params['component'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/monitoredservice/{application}/{service}/{component}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerMonitoredServiceDTO', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def get_service(self, application, service, **kwargs): # noqa: E501 """Get a specific application # noqa: E501 @@ -337,6 +543,7 @@ def get_services_of_application(self, application, **kwargs): # noqa: E501 :param async_req bool :param str application: (required) + :param bool include_component: :param int offset: :param int limit: :return: ResponseContainerPagedMonitoredServiceDTO @@ -361,6 +568,7 @@ def get_services_of_application_with_http_info(self, application, **kwargs): # :param async_req bool :param str application: (required) + :param bool include_component: :param int offset: :param int limit: :return: ResponseContainerPagedMonitoredServiceDTO @@ -368,7 +576,7 @@ def get_services_of_application_with_http_info(self, application, **kwargs): # returns the request thread. """ - all_params = ['application', 'offset', 'limit'] # noqa: E501 + all_params = ['application', 'include_component', 'offset', 'limit'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -395,6 +603,8 @@ def get_services_of_application_with_http_info(self, application, **kwargs): # path_params['application'] = params['application'] # noqa: E501 query_params = [] + if 'include_component' in params: + query_params.append(('includeComponent', params['include_component'])) # noqa: E501 if 'offset' in params: query_params.append(('offset', params['offset'])) # noqa: E501 if 'limit' in params: @@ -441,7 +651,7 @@ def update_service(self, application, service, **kwargs): # noqa: E501 :param async_req bool :param str application: (required) :param str service: (required) - :param MonitoredServiceDTO body: Example Body:
{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
+ :param MonitoredServiceDTO body: Example Body:
{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
:return: ResponseContainerMonitoredServiceDTO If the method is called asynchronously, returns the request thread. @@ -465,7 +675,7 @@ def update_service_with_http_info(self, application, service, **kwargs): # noqa :param async_req bool :param str application: (required) :param str service: (required) - :param MonitoredServiceDTO body: Example Body:
{   \"application\": \"beachshirts\",   \"service\": \"shopping\",   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
+ :param MonitoredServiceDTO body: Example Body:
{   \"satisfiedLatencyMillis\": \"100000\",   \"customDashboardLink\": \"shopping-dashboard\",   \"hidden\": \"false\" }
:return: ResponseContainerMonitoredServiceDTO If the method is called asynchronously, returns the request thread. diff --git a/wavefront_api_client/api/notificant_api.py b/wavefront_api_client/api/notificant_api.py index d93fd6a..87153ee 100644 --- a/wavefront_api_client/api/notificant_api.py +++ b/wavefront_api_client/api/notificant_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -139,7 +139,7 @@ def delete_notificant(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param bool unlink: + :param bool unlink: If set to true, explicitly deletes a notification target even if it’s in use by alerts.
Before deletion, the target is removed from the alert's target list. :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. @@ -162,7 +162,7 @@ def delete_notificant_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param bool unlink: + :param bool unlink: If set to true, explicitly deletes a notification target even if it’s in use by alerts.
Before deletion, the target is removed from the alert's target list. :return: ResponseContainerNotificant If the method is called asynchronously, returns the request thread. diff --git a/wavefront_api_client/api/proxy_api.py b/wavefront_api_client/api/proxy_api.py index a5f2eb7..2675e0a 100644 --- a/wavefront_api_client/api/proxy_api.py +++ b/wavefront_api_client/api/proxy_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/query_api.py b/wavefront_api_client/api/query_api.py index cc96f5e..e489299 100644 --- a/wavefront_api_client/api/query_api.py +++ b/wavefront_api_client/api/query_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/recent_app_map_search_api.py b/wavefront_api_client/api/recent_app_map_search_api.py new file mode 100644 index 0000000..5b84eff --- /dev/null +++ b/wavefront_api_client/api/recent_app_map_search_api.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class RecentAppMapSearchApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_recent_app_map_search(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_recent_app_map_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RecentAppMapSearch body: Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_recent_app_map_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_recent_app_map_search_with_http_info(**kwargs) # noqa: E501 + return data + + def create_recent_app_map_search_with_http_info(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_recent_app_map_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RecentAppMapSearch body: Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_recent_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recentappmapsearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerRecentAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_recent_app_map_searches(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_recent_app_map_searches(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_recent_app_map_searches_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_recent_app_map_searches_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_recent_app_map_searches_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_recent_app_map_searches_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_recent_app_map_searches" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recentappmapsearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedRecentAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_recent_app_map_search(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_recent_app_map_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_recent_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_recent_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_recent_app_map_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_recent_app_map_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerRecentAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_recent_app_map_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recentappmapsearch/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerRecentAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/recent_traces_search_api.py b/wavefront_api_client/api/recent_traces_search_api.py new file mode 100644 index 0000000..58ee4f2 --- /dev/null +++ b/wavefront_api_client/api/recent_traces_search_api.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class RecentTracesSearchApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_recent_traces_search(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_recent_traces_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RecentTracesSearch body: Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_recent_traces_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_recent_traces_search_with_http_info(**kwargs) # noqa: E501 + return data + + def create_recent_traces_search_with_http_info(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_recent_traces_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param RecentTracesSearch body: Example Body:
{   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_recent_traces_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recenttracessearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerRecentTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_recent_traces_searches(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_recent_traces_searches(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_recent_traces_searches_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_recent_traces_searches_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_recent_traces_searches_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_recent_traces_searches_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_recent_traces_searches" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recenttracessearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedRecentTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_recent_traces_search(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_recent_traces_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_recent_traces_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_recent_traces_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_recent_traces_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_recent_traces_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerRecentTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_recent_traces_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_recent_traces_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/recenttracessearch/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerRecentTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/role_api.py b/wavefront_api_client/api/role_api.py index 7485144..4573a97 100644 --- a/wavefront_api_client/api/role_api.py +++ b/wavefront_api_client/api/role_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/saved_app_map_search_api.py b/wavefront_api_client/api/saved_app_map_search_api.py new file mode 100644 index 0000000..90f5cf9 --- /dev/null +++ b/wavefront_api_client/api/saved_app_map_search_api.py @@ -0,0 +1,1095 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class SavedAppMapSearchApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_saved_app_map_search(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_app_map_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_saved_app_map_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_saved_app_map_search_with_http_info(**kwargs) # noqa: E501 + return data + + def create_saved_app_map_search_with_http_info(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_app_map_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_saved_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_app_map_search(self, **kwargs): # noqa: E501 + """Get default app map search for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerDefaultSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_app_map_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_app_map_search_with_http_info(**kwargs) # noqa: E501 + return data + + def default_app_map_search_with_http_info(self, **kwargs): # noqa: E501 + """Get default app map search for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerDefaultSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/defaultAppMapSearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerDefaultSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_app_map_search_0(self, **kwargs): # noqa: E501 + """Set default app map search at user level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search_0(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_app_map_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_app_map_search_0_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_app_map_search_0_with_http_info(**kwargs) # noqa: E501 + return data + + def default_app_map_search_0_with_http_info(self, **kwargs): # noqa: E501 + """Set default app map search at user level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search_0_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_app_map_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['default_app_map_search'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_app_map_search_0" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'default_app_map_search' in params: + query_params.append(('defaultAppMapSearch', params['default_app_map_search'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/defaultAppMapSearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerString', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_customer_app_map_search(self, **kwargs): # noqa: E501 + """Set default app map search at customer level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_customer_app_map_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_app_map_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_customer_app_map_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_customer_app_map_search_with_http_info(**kwargs) # noqa: E501 + return data + + def default_customer_app_map_search_with_http_info(self, **kwargs): # noqa: E501 + """Set default app map search at customer level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_customer_app_map_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_app_map_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['default_app_map_search'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_customer_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'default_app_map_search' in params: + query_params.append(('defaultAppMapSearch', params['default_app_map_search'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/defaultCustomerAppMapSearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerString', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_app_map_search(self, id, **kwargs): # noqa: E501 + """Delete a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_app_map_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_app_map_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_app_map_search_for_user(self, id, **kwargs): # noqa: E501 + """Delete a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search_for_user(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_app_map_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_app_map_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_app_map_search_for_user_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search_for_user_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_app_map_search_for_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_app_map_search_for_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/owned/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_app_map_searches(self, **kwargs): # noqa: E501 + """Get all searches for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_searches(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_app_map_searches_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_app_map_searches_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_app_map_searches_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_searches_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_app_map_searches" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_app_map_searches_for_user(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_searches_for_user(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_app_map_searches_for_user_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_app_map_searches_for_user_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_app_map_searches_for_user_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_searches_for_user_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_app_map_searches_for_user" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/owned', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_app_map_search(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_app_map_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_app_map_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_app_map_search(self, id, **kwargs): # noqa: E501 + """Update a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_app_map_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_app_map_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_app_map_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_app_map_search_for_user(self, id, **kwargs): # noqa: E501 + """Update a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search_for_user(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_app_map_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_app_map_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_app_map_search_for_user_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search_for_user_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_app_map_search_for_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_app_map_search_for_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearch/owned/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/saved_app_map_search_group_api.py b/wavefront_api_client/api/saved_app_map_search_group_api.py new file mode 100644 index 0000000..873fad7 --- /dev/null +++ b/wavefront_api_client/api/saved_app_map_search_group_api.py @@ -0,0 +1,830 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class SavedAppMapSearchGroupApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def add_saved_app_map_search_to_group(self, id, search_id, **kwargs): # noqa: E501 + """Add a search to a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_saved_app_map_search_to_group(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.add_saved_app_map_search_to_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + else: + (data) = self.add_saved_app_map_search_to_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + return data + + def add_saved_app_map_search_to_group_with_http_info(self, id, search_id, **kwargs): # noqa: E501 + """Add a search to a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_saved_app_map_search_to_group_with_http_info(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'search_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method add_saved_app_map_search_to_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `add_saved_app_map_search_to_group`") # noqa: E501 + # verify the required parameter 'search_id' is set + if self.api_client.client_side_validation and ('search_id' not in params or + params['search_id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `search_id` when calling `add_saved_app_map_search_to_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + if 'search_id' in params: + path_params['searchId'] = params['search_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}/addSearch/{searchId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_saved_app_map_search_group(self, **kwargs): # noqa: E501 + """Create a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_app_map_search_group(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedAppMapSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_saved_app_map_search_group_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_saved_app_map_search_group_with_http_info(**kwargs) # noqa: E501 + return data + + def create_saved_app_map_search_group_with_http_info(self, **kwargs): # noqa: E501 + """Create a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_app_map_search_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedAppMapSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_saved_app_map_search_group" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_app_map_search_group(self, id, **kwargs): # noqa: E501 + """Delete a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_app_map_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_app_map_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_app_map_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_app_map_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_app_map_search_group(self, **kwargs): # noqa: E501 + """Get all search groups for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_search_group(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_app_map_search_group_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_app_map_search_group_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_app_map_search_group_with_http_info(self, **kwargs): # noqa: E501 + """Get all search groups for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_app_map_search_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_app_map_search_group" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedAppMapSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_app_map_search_group(self, id, **kwargs): # noqa: E501 + """Get a specific search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_app_map_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_app_map_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_app_map_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_app_map_searches_for_group(self, id, **kwargs): # noqa: E501 + """Get all searches for a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_searches_for_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_app_map_searches_for_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_app_map_searches_for_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_app_map_searches_for_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Get all searches for a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_app_map_searches_for_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_app_map_searches_for_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_app_map_searches_for_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}/searches', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def remove_saved_app_map_search_from_group(self, id, search_id, **kwargs): # noqa: E501 + """Remove a search from a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_saved_app_map_search_from_group(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.remove_saved_app_map_search_from_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + else: + (data) = self.remove_saved_app_map_search_from_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + return data + + def remove_saved_app_map_search_from_group_with_http_info(self, id, search_id, **kwargs): # noqa: E501 + """Remove a search from a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_saved_app_map_search_from_group_with_http_info(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'search_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_saved_app_map_search_from_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `remove_saved_app_map_search_from_group`") # noqa: E501 + # verify the required parameter 'search_id' is set + if self.api_client.client_side_validation and ('search_id' not in params or + params['search_id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `search_id` when calling `remove_saved_app_map_search_from_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + if 'search_id' in params: + path_params['searchId'] = params['search_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}/removeSearch/{searchId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_app_map_search_group(self, id, **kwargs): # noqa: E501 + """Update a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_app_map_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_app_map_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_app_map_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedAppMapSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedAppMapSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_app_map_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_app_map_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedappmapsearchgroup/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedAppMapSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/saved_search_api.py b/wavefront_api_client/api/saved_search_api.py index ca94819..8c3e60d 100644 --- a/wavefront_api_client/api/saved_search_api.py +++ b/wavefront_api_client/api/saved_search_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/saved_traces_search_api.py b/wavefront_api_client/api/saved_traces_search_api.py new file mode 100644 index 0000000..5bfbc77 --- /dev/null +++ b/wavefront_api_client/api/saved_traces_search_api.py @@ -0,0 +1,1095 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class SavedTracesSearchApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_saved_traces_search(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_traces_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_saved_traces_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_saved_traces_search_with_http_info(**kwargs) # noqa: E501 + return data + + def create_saved_traces_search_with_http_info(self, **kwargs): # noqa: E501 + """Create a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_traces_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_saved_traces_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_app_map_search(self, **kwargs): # noqa: E501 + """Set default traces search at user level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_traces_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_app_map_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_app_map_search_with_http_info(**kwargs) # noqa: E501 + return data + + def default_app_map_search_with_http_info(self, **kwargs): # noqa: E501 + """Set default traces search at user level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_app_map_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_traces_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['default_traces_search'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_app_map_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'default_traces_search' in params: + query_params.append(('defaultTracesSearch', params['default_traces_search'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/defaultTracesSearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerString', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_customer_traces_search(self, **kwargs): # noqa: E501 + """Set default traces search at customer level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_customer_traces_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_traces_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_customer_traces_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_customer_traces_search_with_http_info(**kwargs) # noqa: E501 + return data + + def default_customer_traces_search_with_http_info(self, **kwargs): # noqa: E501 + """Set default traces search at customer level # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_customer_traces_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str default_traces_search: + :return: ResponseContainerString + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['default_traces_search'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_customer_traces_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'default_traces_search' in params: + query_params.append(('defaultTracesSearch', params['default_traces_search'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/defaultCustomerTracesSearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerString', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def default_traces_search(self, **kwargs): # noqa: E501 + """Get default traces search for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_traces_search(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerDefaultSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.default_traces_search_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.default_traces_search_with_http_info(**kwargs) # noqa: E501 + return data + + def default_traces_search_with_http_info(self, **kwargs): # noqa: E501 + """Get default traces search for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.default_traces_search_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :return: ResponseContainerDefaultSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = [] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method default_traces_search" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/defaultTracesSearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerDefaultSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_traces_search(self, id, **kwargs): # noqa: E501 + """Delete a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_traces_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_traces_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_traces_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_traces_search_for_user(self, id, **kwargs): # noqa: E501 + """Delete a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search_for_user(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_traces_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_traces_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_traces_search_for_user_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search_for_user_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_traces_search_for_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_traces_search_for_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/owned/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_traces_searches(self, **kwargs): # noqa: E501 + """Get all searches for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_searches(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_traces_searches_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_traces_searches_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_traces_searches_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a customer # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_searches_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_traces_searches" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_traces_searches_for_user(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_searches_for_user(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_traces_searches_for_user_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_traces_searches_for_user_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_traces_searches_for_user_with_http_info(self, **kwargs): # noqa: E501 + """Get all searches for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_searches_for_user_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_traces_searches_for_user" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/owned', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_traces_search(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_traces_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_traces_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_traces_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_traces_search(self, id, **kwargs): # noqa: E501 + """Update a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_traces_search_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_traces_search_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_traces_search" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_traces_search`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_traces_search_for_user(self, id, **kwargs): # noqa: E501 + """Update a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search_for_user(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_traces_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_traces_search_for_user_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_traces_search_for_user_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search belonging to the user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search_for_user_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearch body: Example Body:
{   \"name\": \"beachshirts shopping\",   \"searchFilters\": {     \"filters\": [       {         \"filterType\": \"OPERATION\",         \"values\": {           \"logicalValue\": [             [               \"beachshirts.\", \"shopping.\", \"'*\"             ]           ]         }       }     ]   } }
+ :return: ResponseContainerSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_traces_search_for_user" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_traces_search_for_user`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearch/owned/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/saved_traces_search_group_api.py b/wavefront_api_client/api/saved_traces_search_group_api.py new file mode 100644 index 0000000..e40867f --- /dev/null +++ b/wavefront_api_client/api/saved_traces_search_group_api.py @@ -0,0 +1,830 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from wavefront_api_client.api_client import ApiClient + + +class SavedTracesSearchGroupApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def add_saved_traces_search_to_group(self, id, search_id, **kwargs): # noqa: E501 + """Add a search to a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_saved_traces_search_to_group(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.add_saved_traces_search_to_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + else: + (data) = self.add_saved_traces_search_to_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + return data + + def add_saved_traces_search_to_group_with_http_info(self, id, search_id, **kwargs): # noqa: E501 + """Add a search to a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_saved_traces_search_to_group_with_http_info(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'search_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method add_saved_traces_search_to_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `add_saved_traces_search_to_group`") # noqa: E501 + # verify the required parameter 'search_id' is set + if self.api_client.client_side_validation and ('search_id' not in params or + params['search_id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `search_id` when calling `add_saved_traces_search_to_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + if 'search_id' in params: + path_params['searchId'] = params['search_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}/addSearch/{searchId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_saved_traces_search_group(self, **kwargs): # noqa: E501 + """Create a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_traces_search_group(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedTracesSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.create_saved_traces_search_group_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.create_saved_traces_search_group_with_http_info(**kwargs) # noqa: E501 + return data + + def create_saved_traces_search_group_with_http_info(self, **kwargs): # noqa: E501 + """Create a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_saved_traces_search_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SavedTracesSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method create_saved_traces_search_group" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_saved_traces_search_group(self, id, **kwargs): # noqa: E501 + """Delete a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.delete_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.delete_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def delete_saved_traces_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Delete a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_saved_traces_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_saved_traces_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `delete_saved_traces_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_all_saved_traces_search_group(self, **kwargs): # noqa: E501 + """Get all search groups for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_search_group(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_all_saved_traces_search_group_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.get_all_saved_traces_search_group_with_http_info(**kwargs) # noqa: E501 + return data + + def get_all_saved_traces_search_group_with_http_info(self, **kwargs): # noqa: E501 + """Get all search groups for a user # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_all_saved_traces_search_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_all_saved_traces_search_group" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedTracesSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_traces_search_group(self, id, **kwargs): # noqa: E501 + """Get a specific search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_traces_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Get a specific search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_traces_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_traces_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_saved_traces_searches_for_group(self, id, **kwargs): # noqa: E501 + """Get all searches for a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_searches_for_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_saved_traces_searches_for_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.get_saved_traces_searches_for_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def get_saved_traces_searches_for_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Get all searches for a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_saved_traces_searches_for_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param int offset: + :param int limit: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'offset', 'limit'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_saved_traces_searches_for_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `get_saved_traces_searches_for_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + if 'offset' in params: + query_params.append(('offset', params['offset'])) # noqa: E501 + if 'limit' in params: + query_params.append(('limit', params['limit'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}/searches', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def remove_saved_traces_search_from_group(self, id, search_id, **kwargs): # noqa: E501 + """Remove a search from a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_saved_traces_search_from_group(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.remove_saved_traces_search_from_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + else: + (data) = self.remove_saved_traces_search_from_group_with_http_info(id, search_id, **kwargs) # noqa: E501 + return data + + def remove_saved_traces_search_from_group_with_http_info(self, id, search_id, **kwargs): # noqa: E501 + """Remove a search from a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_saved_traces_search_from_group_with_http_info(id, search_id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param str search_id: (required) + :return: ResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'search_id'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_saved_traces_search_from_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `remove_saved_traces_search_from_group`") # noqa: E501 + # verify the required parameter 'search_id' is set + if self.api_client.client_side_validation and ('search_id' not in params or + params['search_id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `search_id` when calling `remove_saved_traces_search_from_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + if 'search_id' in params: + path_params['searchId'] = params['search_id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}/removeSearch/{searchId}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def update_saved_traces_search_group(self, id, **kwargs): # noqa: E501 + """Update a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search_group(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.update_saved_traces_search_group_with_http_info(id, **kwargs) # noqa: E501 + return data + + def update_saved_traces_search_group_with_http_info(self, id, **kwargs): # noqa: E501 + """Update a search group # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_saved_traces_search_group_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param SavedTracesSearchGroup body: Example Body:
{   \"name\": \"Search Group 1\" }
+ :return: ResponseContainerSavedTracesSearchGroup + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_saved_traces_search_group" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `update_saved_traces_search_group`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/savedtracessearchgroup/{id}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerSavedTracesSearchGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/wavefront_api_client/api/search_api.py b/wavefront_api_client/api/search_api.py index 9eacafc..b29e022 100644 --- a/wavefront_api_client/api/search_api.py +++ b/wavefront_api_client/api/search_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -5806,40 +5806,1014 @@ def search_role_for_facets_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def search_saved_app_map_entities(self, **kwargs): # noqa: E501 + """Search over all the customer's non-deleted saved app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_entities(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_saved_app_map_entities_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_saved_app_map_entities_with_http_info(**kwargs) # noqa: E501 + return data + + def search_saved_app_map_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over all the customer's non-deleted saved app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_entities_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSavedAppMapSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_saved_app_map_entities" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/savedappmapsearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedAppMapSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_saved_app_map_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_for_facet(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_saved_app_map_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + else: + (data) = self.search_saved_app_map_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return data + + def search_saved_app_map_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_for_facet_with_http_info(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['facet', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_saved_app_map_for_facet" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'facet' is set + if self.api_client.client_side_validation and ('facet' not in params or + params['facet'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_saved_app_map_for_facet`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'facet' in params: + path_params['facet'] = params['facet'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/savedappmapsearch/{facet}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_saved_app_map_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_for_facets(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_saved_app_map_for_facets_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_saved_app_map_for_facets_with_http_info(**kwargs) # noqa: E501 + return data + + def search_saved_app_map_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted app map searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_app_map_for_facets_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_saved_app_map_for_facets" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/savedappmapsearch/facets', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetsResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_saved_traces_entities(self, **kwargs): # noqa: E501 + """Search over all the customer's non-deleted saved traces searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_traces_entities(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_saved_traces_entities_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_saved_traces_entities_with_http_info(**kwargs) # noqa: E501 + return data + + def search_saved_traces_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over all the customer's non-deleted saved traces searches # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_saved_traces_entities_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSavedTracesSearch + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_saved_traces_entities" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/savedtracessearch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSavedTracesSearch', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def search_service_account_entities(self, **kwargs): # noqa: E501 """Search over a customer's service accounts # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_entities(async_req=True) + >>> thread = api.search_service_account_entities(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedServiceAccount + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_service_account_entities_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_service_account_entities_with_http_info(**kwargs) # noqa: E501 + return data + + def search_service_account_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over a customer's service accounts # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_service_account_entities_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedServiceAccount + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_service_account_entities" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/serviceaccount', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedServiceAccount', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_service_account_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's service accounts # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_service_account_for_facet(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_service_account_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + else: + (data) = self.search_service_account_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return data + + def search_service_account_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's service accounts # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_service_account_for_facet_with_http_info(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['facet', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_service_account_for_facet" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'facet' is set + if self.api_client.client_side_validation and ('facet' not in params or + params['facet'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_service_account_for_facet`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'facet' in params: + path_params['facet'] = params['facet'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/serviceaccount/{facet}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_service_account_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's service accounts # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_service_account_for_facets(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_service_account_for_facets_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_service_account_for_facets_with_http_info(**kwargs) # noqa: E501 + return data + + def search_service_account_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's service accounts # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_service_account_for_facets_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_service_account_for_facets" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/serviceaccount/facets', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetsResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_span_sampling_policy_deleted_entities(self, **kwargs): # noqa: E501 + """Search over a customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_entities(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSpanSamplingPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_span_sampling_policy_deleted_entities_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_span_sampling_policy_deleted_entities_with_http_info(**kwargs) # noqa: E501 + return data + + def search_span_sampling_policy_deleted_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over a customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_entities_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SortableSearchRequest body: + :return: ResponseContainerPagedSpanSamplingPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_span_sampling_policy_deleted_entities" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/spansamplingpolicy/deleted', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerPagedSpanSamplingPolicy', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_span_sampling_policy_deleted_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_for_facet(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + else: + (data) = self.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return data + + def search_span_sampling_policy_deleted_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str facet: (required) + :param FacetSearchRequestContainer body: + :return: ResponseContainerFacetResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['facet', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_span_sampling_policy_deleted_for_facet" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'facet' is set + if self.api_client.client_side_validation and ('facet' not in params or + params['facet'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_span_sampling_policy_deleted_for_facet`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'facet' in params: + path_params['facet'] = params['facet'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/spansamplingpolicy/deleted/{facet}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_span_sampling_policy_deleted_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_for_facets(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.search_span_sampling_policy_deleted_for_facets_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.search_span_sampling_policy_deleted_for_facets_with_http_info(**kwargs) # noqa: E501 + return data + + def search_span_sampling_policy_deleted_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_deleted_for_facets_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param FacetsSearchRequestContainer body: + :return: ResponseContainerFacetsResponseContainer + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method search_span_sampling_policy_deleted_for_facets" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/search/spansamplingpolicy/deleted/facets', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerFacetsResponseContainer', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def search_span_sampling_policy_entities(self, **kwargs): # noqa: E501 + """Search over a customer's non-deleted span sampling policies # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.search_span_sampling_policy_entities(async_req=True) >>> result = thread.get() :param async_req bool :param SortableSearchRequest body: - :return: ResponseContainerPagedServiceAccount + :return: ResponseContainerPagedSpanSamplingPolicy If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_service_account_entities_with_http_info(**kwargs) # noqa: E501 + return self.search_span_sampling_policy_entities_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_service_account_entities_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_span_sampling_policy_entities_with_http_info(**kwargs) # noqa: E501 return data - def search_service_account_entities_with_http_info(self, **kwargs): # noqa: E501 - """Search over a customer's service accounts # noqa: E501 + def search_span_sampling_policy_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over a customer's non-deleted span sampling policies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_entities_with_http_info(async_req=True) + >>> thread = api.search_span_sampling_policy_entities_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool :param SortableSearchRequest body: - :return: ResponseContainerPagedServiceAccount + :return: ResponseContainerPagedSpanSamplingPolicy If the method is called asynchronously, returns the request thread. """ @@ -5855,7 +6829,7 @@ def search_service_account_entities_with_http_info(self, **kwargs): # noqa: E50 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_service_account_entities" % key + " to method search_span_sampling_policy_entities" % key ) params[key] = val del params['kwargs'] @@ -5886,14 +6860,14 @@ def search_service_account_entities_with_http_info(self, **kwargs): # noqa: E50 auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/serviceaccount', 'POST', + '/api/v2/search/spansamplingpolicy', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='ResponseContainerPagedServiceAccount', # noqa: E501 + response_type='ResponseContainerPagedSpanSamplingPolicy', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -5901,13 +6875,13 @@ def search_service_account_entities_with_http_info(self, **kwargs): # noqa: E50 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_service_account_for_facet(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's service accounts # noqa: E501 + def search_span_sampling_policy_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted span sampling policies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_for_facet(facet, async_req=True) + >>> thread = api.search_span_sampling_policy_for_facet(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -5919,18 +6893,18 @@ def search_service_account_for_facet(self, facet, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_service_account_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return self.search_span_sampling_policy_for_facet_with_http_info(facet, **kwargs) # noqa: E501 else: - (data) = self.search_service_account_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + (data) = self.search_span_sampling_policy_for_facet_with_http_info(facet, **kwargs) # noqa: E501 return data - def search_service_account_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's service accounts # noqa: E501 + def search_span_sampling_policy_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted span sampling policies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_for_facet_with_http_info(facet, async_req=True) + >>> thread = api.search_span_sampling_policy_for_facet_with_http_info(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -5952,14 +6926,14 @@ def search_service_account_for_facet_with_http_info(self, facet, **kwargs): # n if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_service_account_for_facet" % key + " to method search_span_sampling_policy_for_facet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'facet' is set if self.api_client.client_side_validation and ('facet' not in params or params['facet'] is None): # noqa: E501 - raise ValueError("Missing the required parameter `facet` when calling `search_service_account_for_facet`") # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_span_sampling_policy_for_facet`") # noqa: E501 collection_formats = {} @@ -5989,7 +6963,7 @@ def search_service_account_for_facet_with_http_info(self, facet, **kwargs): # n auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/serviceaccount/{facet}', 'POST', + '/api/v2/search/spansamplingpolicy/{facet}', 'POST', path_params, query_params, header_params, @@ -6004,13 +6978,13 @@ def search_service_account_for_facet_with_http_info(self, facet, **kwargs): # n _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_service_account_for_facets(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's service accounts # noqa: E501 + def search_span_sampling_policy_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted span sampling policies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_for_facets(async_req=True) + >>> thread = api.search_span_sampling_policy_for_facets(async_req=True) >>> result = thread.get() :param async_req bool @@ -6021,18 +6995,18 @@ def search_service_account_for_facets(self, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_service_account_for_facets_with_http_info(**kwargs) # noqa: E501 + return self.search_span_sampling_policy_for_facets_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_service_account_for_facets_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_span_sampling_policy_for_facets_with_http_info(**kwargs) # noqa: E501 return data - def search_service_account_for_facets_with_http_info(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's service accounts # noqa: E501 + def search_span_sampling_policy_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted span sampling policies # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_service_account_for_facets_with_http_info(async_req=True) + >>> thread = api.search_span_sampling_policy_for_facets_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool @@ -6053,7 +7027,7 @@ def search_service_account_for_facets_with_http_info(self, **kwargs): # noqa: E if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_service_account_for_facets" % key + " to method search_span_sampling_policy_for_facets" % key ) params[key] = val del params['kwargs'] @@ -6084,7 +7058,7 @@ def search_service_account_for_facets_with_http_info(self, **kwargs): # noqa: E auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/serviceaccount/facets', 'POST', + '/api/v2/search/spansamplingpolicy/facets', 'POST', path_params, query_params, header_params, @@ -6099,40 +7073,40 @@ def search_service_account_for_facets_with_http_info(self, **kwargs): # noqa: E _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_deleted_entities(self, **kwargs): # noqa: E501 - """Search over a customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_entities(self, **kwargs): # noqa: E501 + """Search over a customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_entities(async_req=True) + >>> thread = api.search_tagged_source_entities(async_req=True) >>> result = thread.get() :param async_req bool - :param SortableSearchRequest body: - :return: ResponseContainerPagedSpanSamplingPolicy + :param SourceSearchRequestContainer body: + :return: ResponseContainerPagedSource If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_deleted_entities_with_http_info(**kwargs) # noqa: E501 + return self.search_tagged_source_entities_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_deleted_entities_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_tagged_source_entities_with_http_info(**kwargs) # noqa: E501 return data - def search_span_sampling_policy_deleted_entities_with_http_info(self, **kwargs): # noqa: E501 - """Search over a customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over a customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_entities_with_http_info(async_req=True) + >>> thread = api.search_tagged_source_entities_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool - :param SortableSearchRequest body: - :return: ResponseContainerPagedSpanSamplingPolicy + :param SourceSearchRequestContainer body: + :return: ResponseContainerPagedSource If the method is called asynchronously, returns the request thread. """ @@ -6148,7 +7122,7 @@ def search_span_sampling_policy_deleted_entities_with_http_info(self, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_deleted_entities" % key + " to method search_tagged_source_entities" % key ) params[key] = val del params['kwargs'] @@ -6179,14 +7153,14 @@ def search_span_sampling_policy_deleted_entities_with_http_info(self, **kwargs): auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy/deleted', 'POST', + '/api/v2/search/source', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='ResponseContainerPagedSpanSamplingPolicy', # noqa: E501 + response_type='ResponseContainerPagedSource', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -6194,13 +7168,13 @@ def search_span_sampling_policy_deleted_entities_with_http_info(self, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_deleted_for_facet(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_for_facet(facet, async_req=True) + >>> thread = api.search_tagged_source_for_facet(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6212,18 +7186,18 @@ def search_span_sampling_policy_deleted_for_facet(self, facet, **kwargs): # noq """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return self.search_tagged_source_for_facet_with_http_info(facet, **kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + (data) = self.search_tagged_source_for_facet_with_http_info(facet, **kwargs) # noqa: E501 return data - def search_span_sampling_policy_deleted_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_for_facet_with_http_info(facet, async_req=True) + >>> thread = api.search_tagged_source_for_facet_with_http_info(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6245,14 +7219,14 @@ def search_span_sampling_policy_deleted_for_facet_with_http_info(self, facet, ** if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_deleted_for_facet" % key + " to method search_tagged_source_for_facet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'facet' is set if self.api_client.client_side_validation and ('facet' not in params or params['facet'] is None): # noqa: E501 - raise ValueError("Missing the required parameter `facet` when calling `search_span_sampling_policy_deleted_for_facet`") # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_tagged_source_for_facet`") # noqa: E501 collection_formats = {} @@ -6282,7 +7256,7 @@ def search_span_sampling_policy_deleted_for_facet_with_http_info(self, facet, ** auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy/deleted/{facet}', 'POST', + '/api/v2/search/source/{facet}', 'POST', path_params, query_params, header_params, @@ -6297,13 +7271,13 @@ def search_span_sampling_policy_deleted_for_facet_with_http_info(self, facet, ** _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_deleted_for_facets(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_for_facets(async_req=True) + >>> thread = api.search_tagged_source_for_facets(async_req=True) >>> result = thread.get() :param async_req bool @@ -6314,18 +7288,18 @@ def search_span_sampling_policy_deleted_for_facets(self, **kwargs): # noqa: E50 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_deleted_for_facets_with_http_info(**kwargs) # noqa: E501 + return self.search_tagged_source_for_facets_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_deleted_for_facets_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_tagged_source_for_facets_with_http_info(**kwargs) # noqa: E501 return data - def search_span_sampling_policy_deleted_for_facets_with_http_info(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's deleted span sampling policies # noqa: E501 + def search_tagged_source_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's sources # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_deleted_for_facets_with_http_info(async_req=True) + >>> thread = api.search_tagged_source_for_facets_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool @@ -6346,7 +7320,7 @@ def search_span_sampling_policy_deleted_for_facets_with_http_info(self, **kwargs if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_deleted_for_facets" % key + " to method search_tagged_source_for_facets" % key ) params[key] = val del params['kwargs'] @@ -6377,7 +7351,7 @@ def search_span_sampling_policy_deleted_for_facets_with_http_info(self, **kwargs auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy/deleted/facets', 'POST', + '/api/v2/search/source/facets', 'POST', path_params, query_params, header_params, @@ -6392,40 +7366,40 @@ def search_span_sampling_policy_deleted_for_facets_with_http_info(self, **kwargs _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_entities(self, **kwargs): # noqa: E501 - """Search over a customer's non-deleted span sampling policies # noqa: E501 + def search_token_entities(self, **kwargs): # noqa: E501 + """Search over a customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_entities(async_req=True) + >>> thread = api.search_token_entities(async_req=True) >>> result = thread.get() :param async_req bool :param SortableSearchRequest body: - :return: ResponseContainerPagedSpanSamplingPolicy + :return: ResponseContainerPagedApiTokenModel If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_entities_with_http_info(**kwargs) # noqa: E501 + return self.search_token_entities_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_entities_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_token_entities_with_http_info(**kwargs) # noqa: E501 return data - def search_span_sampling_policy_entities_with_http_info(self, **kwargs): # noqa: E501 - """Search over a customer's non-deleted span sampling policies # noqa: E501 + def search_token_entities_with_http_info(self, **kwargs): # noqa: E501 + """Search over a customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_entities_with_http_info(async_req=True) + >>> thread = api.search_token_entities_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool :param SortableSearchRequest body: - :return: ResponseContainerPagedSpanSamplingPolicy + :return: ResponseContainerPagedApiTokenModel If the method is called asynchronously, returns the request thread. """ @@ -6441,7 +7415,7 @@ def search_span_sampling_policy_entities_with_http_info(self, **kwargs): # noqa if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_entities" % key + " to method search_token_entities" % key ) params[key] = val del params['kwargs'] @@ -6472,14 +7446,14 @@ def search_span_sampling_policy_entities_with_http_info(self, **kwargs): # noqa auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy', 'POST', + '/api/v2/search/token', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='ResponseContainerPagedSpanSamplingPolicy', # noqa: E501 + response_type='ResponseContainerPagedApiTokenModel', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -6487,13 +7461,13 @@ def search_span_sampling_policy_entities_with_http_info(self, **kwargs): # noqa _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_for_facet(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's non-deleted span sampling policies # noqa: E501 + def search_token_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_for_facet(facet, async_req=True) + >>> thread = api.search_token_for_facet(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6505,18 +7479,18 @@ def search_span_sampling_policy_for_facet(self, facet, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return self.search_token_for_facet_with_http_info(facet, **kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + (data) = self.search_token_for_facet_with_http_info(facet, **kwargs) # noqa: E501 return data - def search_span_sampling_policy_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's non-deleted span sampling policies # noqa: E501 + def search_token_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_for_facet_with_http_info(facet, async_req=True) + >>> thread = api.search_token_for_facet_with_http_info(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6538,14 +7512,14 @@ def search_span_sampling_policy_for_facet_with_http_info(self, facet, **kwargs): if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_for_facet" % key + " to method search_token_for_facet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'facet' is set if self.api_client.client_side_validation and ('facet' not in params or params['facet'] is None): # noqa: E501 - raise ValueError("Missing the required parameter `facet` when calling `search_span_sampling_policy_for_facet`") # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_token_for_facet`") # noqa: E501 collection_formats = {} @@ -6575,7 +7549,7 @@ def search_span_sampling_policy_for_facet_with_http_info(self, facet, **kwargs): auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy/{facet}', 'POST', + '/api/v2/search/token/{facet}', 'POST', path_params, query_params, header_params, @@ -6590,13 +7564,13 @@ def search_span_sampling_policy_for_facet_with_http_info(self, facet, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_span_sampling_policy_for_facets(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's non-deleted span sampling policies # noqa: E501 + def search_token_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_for_facets(async_req=True) + >>> thread = api.search_token_for_facets(async_req=True) >>> result = thread.get() :param async_req bool @@ -6607,18 +7581,18 @@ def search_span_sampling_policy_for_facets(self, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_span_sampling_policy_for_facets_with_http_info(**kwargs) # noqa: E501 + return self.search_token_for_facets_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_span_sampling_policy_for_facets_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_token_for_facets_with_http_info(**kwargs) # noqa: E501 return data - def search_span_sampling_policy_for_facets_with_http_info(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's non-deleted span sampling policies # noqa: E501 + def search_token_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's api tokens # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_span_sampling_policy_for_facets_with_http_info(async_req=True) + >>> thread = api.search_token_for_facets_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool @@ -6639,7 +7613,7 @@ def search_span_sampling_policy_for_facets_with_http_info(self, **kwargs): # no if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_span_sampling_policy_for_facets" % key + " to method search_token_for_facets" % key ) params[key] = val del params['kwargs'] @@ -6670,7 +7644,7 @@ def search_span_sampling_policy_for_facets_with_http_info(self, **kwargs): # no auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/spansamplingpolicy/facets', 'POST', + '/api/v2/search/token/facets', 'POST', path_params, query_params, header_params, @@ -6685,108 +7659,13 @@ def search_span_sampling_policy_for_facets_with_http_info(self, **kwargs): # no _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_tagged_source_entities(self, **kwargs): # noqa: E501 - """Search over a customer's sources # noqa: E501 - - # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_entities(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param SourceSearchRequestContainer body: - :return: ResponseContainerPagedSource - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.search_tagged_source_entities_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.search_tagged_source_entities_with_http_info(**kwargs) # noqa: E501 - return data - - def search_tagged_source_entities_with_http_info(self, **kwargs): # noqa: E501 - """Search over a customer's sources # noqa: E501 - - # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_entities_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :param SourceSearchRequestContainer body: - :return: ResponseContainerPagedSource - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['body'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - params = locals() - for key, val in six.iteritems(params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method search_tagged_source_entities" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'body' in params: - body_params = params['body'] - # HTTP header `Accept` - header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json']) # noqa: E501 - - # Authentication setting - auth_settings = ['api_key'] # noqa: E501 - - return self.api_client.call_api( - '/api/v2/search/source', 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='ResponseContainerPagedSource', # noqa: E501 - auth_settings=auth_settings, - async_req=params.get('async_req'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) - - def search_tagged_source_for_facet(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's sources # noqa: E501 + def search_traces_map_for_facet(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted traces searches # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_for_facet(facet, async_req=True) + >>> thread = api.search_traces_map_for_facet(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6798,18 +7677,18 @@ def search_tagged_source_for_facet(self, facet, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_tagged_source_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + return self.search_traces_map_for_facet_with_http_info(facet, **kwargs) # noqa: E501 else: - (data) = self.search_tagged_source_for_facet_with_http_info(facet, **kwargs) # noqa: E501 + (data) = self.search_traces_map_for_facet_with_http_info(facet, **kwargs) # noqa: E501 return data - def search_tagged_source_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 - """Lists the values of a specific facet over the customer's sources # noqa: E501 + def search_traces_map_for_facet_with_http_info(self, facet, **kwargs): # noqa: E501 + """Lists the values of a specific facet over the customer's non-deleted traces searches # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_for_facet_with_http_info(facet, async_req=True) + >>> thread = api.search_traces_map_for_facet_with_http_info(facet, async_req=True) >>> result = thread.get() :param async_req bool @@ -6831,14 +7710,14 @@ def search_tagged_source_for_facet_with_http_info(self, facet, **kwargs): # noq if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_tagged_source_for_facet" % key + " to method search_traces_map_for_facet" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'facet' is set if self.api_client.client_side_validation and ('facet' not in params or params['facet'] is None): # noqa: E501 - raise ValueError("Missing the required parameter `facet` when calling `search_tagged_source_for_facet`") # noqa: E501 + raise ValueError("Missing the required parameter `facet` when calling `search_traces_map_for_facet`") # noqa: E501 collection_formats = {} @@ -6868,7 +7747,7 @@ def search_tagged_source_for_facet_with_http_info(self, facet, **kwargs): # noq auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/source/{facet}', 'POST', + '/api/v2/search/savedtracessearch/{facet}', 'POST', path_params, query_params, header_params, @@ -6883,13 +7762,13 @@ def search_tagged_source_for_facet_with_http_info(self, facet, **kwargs): # noq _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def search_tagged_source_for_facets(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's sources # noqa: E501 + def search_traces_map_for_facets(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted traces searches # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_for_facets(async_req=True) + >>> thread = api.search_traces_map_for_facets(async_req=True) >>> result = thread.get() :param async_req bool @@ -6900,18 +7779,18 @@ def search_tagged_source_for_facets(self, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.search_tagged_source_for_facets_with_http_info(**kwargs) # noqa: E501 + return self.search_traces_map_for_facets_with_http_info(**kwargs) # noqa: E501 else: - (data) = self.search_tagged_source_for_facets_with_http_info(**kwargs) # noqa: E501 + (data) = self.search_traces_map_for_facets_with_http_info(**kwargs) # noqa: E501 return data - def search_tagged_source_for_facets_with_http_info(self, **kwargs): # noqa: E501 - """Lists the values of one or more facets over the customer's sources # noqa: E501 + def search_traces_map_for_facets_with_http_info(self, **kwargs): # noqa: E501 + """Lists the values of one or more facets over the customer's non-deleted traces searches # noqa: E501 # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.search_tagged_source_for_facets_with_http_info(async_req=True) + >>> thread = api.search_traces_map_for_facets_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool @@ -6932,7 +7811,7 @@ def search_tagged_source_for_facets_with_http_info(self, **kwargs): # noqa: E50 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method search_tagged_source_for_facets" % key + " to method search_traces_map_for_facets" % key ) params[key] = val del params['kwargs'] @@ -6963,7 +7842,7 @@ def search_tagged_source_for_facets_with_http_info(self, **kwargs): # noqa: E50 auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api/v2/search/source/facets', 'POST', + '/api/v2/search/savedtracessearch/facets', 'POST', path_params, query_params, header_params, diff --git a/wavefront_api_client/api/source_api.py b/wavefront_api_client/api/source_api.py index abdcc39..7bd3720 100644 --- a/wavefront_api_client/api/source_api.py +++ b/wavefront_api_client/api/source_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/span_sampling_policy_api.py b/wavefront_api_client/api/span_sampling_policy_api.py index 113f902..0e2ede1 100644 --- a/wavefront_api_client/api/span_sampling_policy_api.py +++ b/wavefront_api_client/api/span_sampling_policy_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/usage_api.py b/wavefront_api_client/api/usage_api.py index 81790ac..7c353f8 100644 --- a/wavefront_api_client/api/usage_api.py +++ b/wavefront_api_client/api/usage_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -33,6 +33,204 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def add_accounts(self, id, **kwargs): # noqa: E501 + """Add accounts to ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_accounts(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of accounts to be added to ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.add_accounts_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.add_accounts_with_http_info(id, **kwargs) # noqa: E501 + return data + + def add_accounts_with_http_info(self, id, **kwargs): # noqa: E501 + """Add accounts to ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_accounts_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of accounts to be added to ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method add_accounts" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `add_accounts`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/usage/ingestionpolicy/{id}/addAccounts', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerIngestionPolicy', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def add_groups(self, id, **kwargs): # noqa: E501 + """Add groups to the ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_groups(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of groups to be added to the ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.add_groups_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.add_groups_with_http_info(id, **kwargs) # noqa: E501 + return data + + def add_groups_with_http_info(self, id, **kwargs): # noqa: E501 + """Add groups to the ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.add_groups_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of groups to be added to the ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method add_groups" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `add_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/usage/ingestionpolicy/{id}/addGroups', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerIngestionPolicy', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def create_ingestion_policy(self, **kwargs): # noqa: E501 """Create a specific ingestion policy # noqa: E501 @@ -43,7 +241,7 @@ def create_ingestion_policy(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
+ :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
:return: ResponseContainerIngestionPolicy If the method is called asynchronously, returns the request thread. @@ -65,7 +263,7 @@ def create_ingestion_policy_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
+ :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
:return: ResponseContainerIngestionPolicy If the method is called asynchronously, returns the request thread. @@ -512,6 +710,204 @@ def get_ingestion_policy_with_http_info(self, id, **kwargs): # noqa: E501 _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def remove_accounts(self, id, **kwargs): # noqa: E501 + """Remove accounts from ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_accounts(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of accounts to be added to ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.remove_accounts_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.remove_accounts_with_http_info(id, **kwargs) # noqa: E501 + return data + + def remove_accounts_with_http_info(self, id, **kwargs): # noqa: E501 + """Remove accounts from ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_accounts_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of accounts to be added to ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_accounts" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `remove_accounts`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/usage/ingestionpolicy/{id}/removeAccounts', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerIngestionPolicy', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def remove_groups(self, id, **kwargs): # noqa: E501 + """Remove groups from the ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_groups(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of groups to be removed from the ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.remove_groups_with_http_info(id, **kwargs) # noqa: E501 + else: + (data) = self.remove_groups_with_http_info(id, **kwargs) # noqa: E501 + return data + + def remove_groups_with_http_info(self, id, **kwargs): # noqa: E501 + """Remove groups from the ingestion policy # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.remove_groups_with_http_info(id, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str id: (required) + :param list[str] body: List of groups to be removed from the ingestion policy + :return: ResponseContainerIngestionPolicy + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['id', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method remove_groups" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'id' is set + if self.api_client.client_side_validation and ('id' not in params or + params['id'] is None): # noqa: E501 + raise ValueError("Missing the required parameter `id` when calling `remove_groups`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'id' in params: + path_params['id'] = params['id'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api/v2/usage/ingestionpolicy/{id}/removeGroups', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='ResponseContainerIngestionPolicy', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def update_ingestion_policy(self, id, **kwargs): # noqa: E501 """Update a specific ingestion policy # noqa: E501 @@ -523,7 +919,7 @@ def update_ingestion_policy(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
+ :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
:return: ResponseContainerIngestionPolicy If the method is called asynchronously, returns the request thread. @@ -546,7 +942,7 @@ def update_ingestion_policy_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\" }
+ :param IngestionPolicy body: Example Body:
{   \"name\": \"Ingestion policy name\",   \"description\": \"Ingestion policy description\"   \"scope\": \"GROUP\",   \"isLimited\": \"true\",   \"limitPPS\": \"1000\" }
:return: ResponseContainerIngestionPolicy If the method is called asynchronously, returns the request thread. diff --git a/wavefront_api_client/api/user_api.py b/wavefront_api_client/api/user_api.py index d25d2e2..5532db7 100644 --- a/wavefront_api_client/api/user_api.py +++ b/wavefront_api_client/api/user_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -147,7 +147,7 @@ def create_user(self, **kwargs): # noqa: E501 :param async_req bool :param bool send_email: Whether to send email notification to the user, if created. Default: false - :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -170,7 +170,7 @@ def create_user_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool :param bool send_email: Whether to send email notification to the user, if created. Default: false - :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserToCreate body: Example Body:
{   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -918,7 +918,7 @@ def invite_users(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
+ :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -940,7 +940,7 @@ def invite_users_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] } ]
+ :param list[UserToCreate] body: Example Body:
[ {   \"emailAddress\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"roles\": [     \"Role\"   ],   \"ingestionPolicies\": [     \"policyId1\",     \"policyId2\"   ] } ]
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -1323,7 +1323,7 @@ def update_user(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. @@ -1346,7 +1346,7 @@ def update_user_with_http_info(self, id, **kwargs): # noqa: E501 :param async_req bool :param str id: (required) - :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicyId\": \"ingestionPolicyId\",   \"roles\": [     \"Role\"   ] }
+ :param UserRequestDTO body: Example Body:
{   \"identifier\": \"user@example.com\",   \"groups\": [     \"user_management\"   ],   \"userGroups\": [     \"8b23136b-ecd2-4cb5-8c92-62477dcc4090\"   ],   \"ingestionPolicies\": [     \"policy_id\"   ],   \"roles\": [     \"Role\"   ] }
:return: UserModel If the method is called asynchronously, returns the request thread. diff --git a/wavefront_api_client/api/user_group_api.py b/wavefront_api_client/api/user_group_api.py index 6106cee..eae86c1 100644 --- a/wavefront_api_client/api/user_group_api.py +++ b/wavefront_api_client/api/user_group_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api/webhook_api.py b/wavefront_api_client/api/webhook_api.py index 7b16a7a..68a596f 100644 --- a/wavefront_api_client/api/webhook_api.py +++ b/wavefront_api_client/api/webhook_api.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/api_client.py b/wavefront_api_client/api_client.py index fa8cd51..6eee367 100644 --- a/wavefront_api_client/api_client.py +++ b/wavefront_api_client/api_client.py @@ -1,6 +1,6 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.116.3/python' + self.user_agent = 'Swagger-Codegen/2.129.3/python' self.client_side_validation = configuration.client_side_validation def __del__(self): diff --git a/wavefront_api_client/configuration.py b/wavefront_api_client/configuration.py index 63ce424..1d276e0 100644 --- a/wavefront_api_client/configuration.py +++ b/wavefront_api_client/configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -251,5 +251,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2\n"\ - "SDK Package Version: 2.116.3".\ + "SDK Package Version: 2.129.3".\ format(env=sys.platform, pyversion=sys.version) diff --git a/wavefront_api_client/models/__init__.py b/wavefront_api_client/models/__init__.py index 1a73a7a..a40ee6e 100644 --- a/wavefront_api_client/models/__init__.py +++ b/wavefront_api_client/models/__init__.py @@ -2,7 +2,7 @@ # flake8: noqa """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -30,7 +30,11 @@ from wavefront_api_client.models.alert_source import AlertSource from wavefront_api_client.models.annotation import Annotation from wavefront_api_client.models.anomaly import Anomaly +from wavefront_api_client.models.api_token_model import ApiTokenModel from wavefront_api_client.models.app_dynamics_configuration import AppDynamicsConfiguration +from wavefront_api_client.models.app_search_filter import AppSearchFilter +from wavefront_api_client.models.app_search_filter_value import AppSearchFilterValue +from wavefront_api_client.models.app_search_filters import AppSearchFilters from wavefront_api_client.models.azure_activity_log_configuration import AzureActivityLogConfiguration from wavefront_api_client.models.azure_base_credentials import AzureBaseCredentials from wavefront_api_client.models.azure_configuration import AzureConfiguration @@ -49,7 +53,10 @@ from wavefront_api_client.models.dashboard_parameter_value import DashboardParameterValue from wavefront_api_client.models.dashboard_section import DashboardSection from wavefront_api_client.models.dashboard_section_row import DashboardSectionRow +from wavefront_api_client.models.default_saved_app_map_search import DefaultSavedAppMapSearch +from wavefront_api_client.models.default_saved_traces_search import DefaultSavedTracesSearch from wavefront_api_client.models.derived_metric_definition import DerivedMetricDefinition +from wavefront_api_client.models.dynatrace_configuration import DynatraceConfiguration from wavefront_api_client.models.ec2_configuration import EC2Configuration from wavefront_api_client.models.event import Event from wavefront_api_client.models.event_search_request import EventSearchRequest @@ -102,6 +109,7 @@ from wavefront_api_client.models.paged_alert import PagedAlert from wavefront_api_client.models.paged_alert_with_stats import PagedAlertWithStats from wavefront_api_client.models.paged_anomaly import PagedAnomaly +from wavefront_api_client.models.paged_api_token_model import PagedApiTokenModel from wavefront_api_client.models.paged_cloud_integration import PagedCloudIntegration from wavefront_api_client.models.paged_customer_facing_user_object import PagedCustomerFacingUserObject from wavefront_api_client.models.paged_dashboard import PagedDashboard @@ -118,10 +126,16 @@ from wavefront_api_client.models.paged_monitored_service_dto import PagedMonitoredServiceDTO from wavefront_api_client.models.paged_notificant import PagedNotificant from wavefront_api_client.models.paged_proxy import PagedProxy +from wavefront_api_client.models.paged_recent_app_map_search import PagedRecentAppMapSearch +from wavefront_api_client.models.paged_recent_traces_search import PagedRecentTracesSearch from wavefront_api_client.models.paged_related_event import PagedRelatedEvent from wavefront_api_client.models.paged_report_event_anomaly_dto import PagedReportEventAnomalyDTO from wavefront_api_client.models.paged_role_dto import PagedRoleDTO +from wavefront_api_client.models.paged_saved_app_map_search import PagedSavedAppMapSearch +from wavefront_api_client.models.paged_saved_app_map_search_group import PagedSavedAppMapSearchGroup from wavefront_api_client.models.paged_saved_search import PagedSavedSearch +from wavefront_api_client.models.paged_saved_traces_search import PagedSavedTracesSearch +from wavefront_api_client.models.paged_saved_traces_search_group import PagedSavedTracesSearchGroup from wavefront_api_client.models.paged_service_account import PagedServiceAccount from wavefront_api_client.models.paged_source import PagedSource from wavefront_api_client.models.paged_span_sampling_policy import PagedSpanSamplingPolicy @@ -134,6 +148,8 @@ from wavefront_api_client.models.query_result import QueryResult from wavefront_api_client.models.query_type_dto import QueryTypeDTO from wavefront_api_client.models.raw_timeseries import RawTimeseries +from wavefront_api_client.models.recent_app_map_search import RecentAppMapSearch +from wavefront_api_client.models.recent_traces_search import RecentTracesSearch from wavefront_api_client.models.related_anomaly import RelatedAnomaly from wavefront_api_client.models.related_data import RelatedData from wavefront_api_client.models.related_event import RelatedEvent @@ -144,8 +160,11 @@ from wavefront_api_client.models.response_container_access_policy_action import ResponseContainerAccessPolicyAction from wavefront_api_client.models.response_container_account import ResponseContainerAccount from wavefront_api_client.models.response_container_alert import ResponseContainerAlert +from wavefront_api_client.models.response_container_api_token_model import ResponseContainerApiTokenModel from wavefront_api_client.models.response_container_cloud_integration import ResponseContainerCloudIntegration from wavefront_api_client.models.response_container_dashboard import ResponseContainerDashboard +from wavefront_api_client.models.response_container_default_saved_app_map_search import ResponseContainerDefaultSavedAppMapSearch +from wavefront_api_client.models.response_container_default_saved_traces_search import ResponseContainerDefaultSavedTracesSearch from wavefront_api_client.models.response_container_derived_metric_definition import ResponseContainerDerivedMetricDefinition from wavefront_api_client.models.response_container_event import ResponseContainerEvent from wavefront_api_client.models.response_container_external_link import ResponseContainerExternalLink @@ -156,6 +175,7 @@ from wavefront_api_client.models.response_container_integration import ResponseContainerIntegration from wavefront_api_client.models.response_container_integration_status import ResponseContainerIntegrationStatus from wavefront_api_client.models.response_container_list_access_control_list_read_dto import ResponseContainerListAccessControlListReadDTO +from wavefront_api_client.models.response_container_list_api_token_model import ResponseContainerListApiTokenModel from wavefront_api_client.models.response_container_list_integration import ResponseContainerListIntegration from wavefront_api_client.models.response_container_list_integration_manifest_group import ResponseContainerListIntegrationManifestGroup from wavefront_api_client.models.response_container_list_notification_messages import ResponseContainerListNotificationMessages @@ -175,6 +195,7 @@ from wavefront_api_client.models.response_container_paged_alert import ResponseContainerPagedAlert from wavefront_api_client.models.response_container_paged_alert_with_stats import ResponseContainerPagedAlertWithStats from wavefront_api_client.models.response_container_paged_anomaly import ResponseContainerPagedAnomaly +from wavefront_api_client.models.response_container_paged_api_token_model import ResponseContainerPagedApiTokenModel from wavefront_api_client.models.response_container_paged_cloud_integration import ResponseContainerPagedCloudIntegration from wavefront_api_client.models.response_container_paged_customer_facing_user_object import ResponseContainerPagedCustomerFacingUserObject from wavefront_api_client.models.response_container_paged_dashboard import ResponseContainerPagedDashboard @@ -191,18 +212,30 @@ from wavefront_api_client.models.response_container_paged_monitored_service_dto import ResponseContainerPagedMonitoredServiceDTO from wavefront_api_client.models.response_container_paged_notificant import ResponseContainerPagedNotificant from wavefront_api_client.models.response_container_paged_proxy import ResponseContainerPagedProxy +from wavefront_api_client.models.response_container_paged_recent_app_map_search import ResponseContainerPagedRecentAppMapSearch +from wavefront_api_client.models.response_container_paged_recent_traces_search import ResponseContainerPagedRecentTracesSearch from wavefront_api_client.models.response_container_paged_related_event import ResponseContainerPagedRelatedEvent from wavefront_api_client.models.response_container_paged_report_event_anomaly_dto import ResponseContainerPagedReportEventAnomalyDTO from wavefront_api_client.models.response_container_paged_role_dto import ResponseContainerPagedRoleDTO +from wavefront_api_client.models.response_container_paged_saved_app_map_search import ResponseContainerPagedSavedAppMapSearch +from wavefront_api_client.models.response_container_paged_saved_app_map_search_group import ResponseContainerPagedSavedAppMapSearchGroup from wavefront_api_client.models.response_container_paged_saved_search import ResponseContainerPagedSavedSearch +from wavefront_api_client.models.response_container_paged_saved_traces_search import ResponseContainerPagedSavedTracesSearch +from wavefront_api_client.models.response_container_paged_saved_traces_search_group import ResponseContainerPagedSavedTracesSearchGroup from wavefront_api_client.models.response_container_paged_service_account import ResponseContainerPagedServiceAccount from wavefront_api_client.models.response_container_paged_source import ResponseContainerPagedSource from wavefront_api_client.models.response_container_paged_span_sampling_policy import ResponseContainerPagedSpanSamplingPolicy from wavefront_api_client.models.response_container_paged_user_group_model import ResponseContainerPagedUserGroupModel from wavefront_api_client.models.response_container_proxy import ResponseContainerProxy from wavefront_api_client.models.response_container_query_type_dto import ResponseContainerQueryTypeDTO +from wavefront_api_client.models.response_container_recent_app_map_search import ResponseContainerRecentAppMapSearch +from wavefront_api_client.models.response_container_recent_traces_search import ResponseContainerRecentTracesSearch from wavefront_api_client.models.response_container_role_dto import ResponseContainerRoleDTO +from wavefront_api_client.models.response_container_saved_app_map_search import ResponseContainerSavedAppMapSearch +from wavefront_api_client.models.response_container_saved_app_map_search_group import ResponseContainerSavedAppMapSearchGroup from wavefront_api_client.models.response_container_saved_search import ResponseContainerSavedSearch +from wavefront_api_client.models.response_container_saved_traces_search import ResponseContainerSavedTracesSearch +from wavefront_api_client.models.response_container_saved_traces_search_group import ResponseContainerSavedTracesSearchGroup from wavefront_api_client.models.response_container_service_account import ResponseContainerServiceAccount from wavefront_api_client.models.response_container_set_business_function import ResponseContainerSetBusinessFunction from wavefront_api_client.models.response_container_set_source_label_pair import ResponseContainerSetSourceLabelPair @@ -211,16 +244,22 @@ from wavefront_api_client.models.response_container_string import ResponseContainerString from wavefront_api_client.models.response_container_tags_response import ResponseContainerTagsResponse from wavefront_api_client.models.response_container_user_api_token import ResponseContainerUserApiToken +from wavefront_api_client.models.response_container_user_dto import ResponseContainerUserDTO from wavefront_api_client.models.response_container_user_group_model import ResponseContainerUserGroupModel from wavefront_api_client.models.response_container_validated_users_dto import ResponseContainerValidatedUsersDTO from wavefront_api_client.models.response_container_void import ResponseContainerVoid from wavefront_api_client.models.response_status import ResponseStatus from wavefront_api_client.models.role_dto import RoleDTO +from wavefront_api_client.models.saved_app_map_search import SavedAppMapSearch +from wavefront_api_client.models.saved_app_map_search_group import SavedAppMapSearchGroup from wavefront_api_client.models.saved_search import SavedSearch +from wavefront_api_client.models.saved_traces_search import SavedTracesSearch +from wavefront_api_client.models.saved_traces_search_group import SavedTracesSearchGroup from wavefront_api_client.models.schema import Schema from wavefront_api_client.models.search_query import SearchQuery from wavefront_api_client.models.service_account import ServiceAccount from wavefront_api_client.models.service_account_write import ServiceAccountWrite +from wavefront_api_client.models.snowflake_configuration import SnowflakeConfiguration from wavefront_api_client.models.sortable_search_request import SortableSearchRequest from wavefront_api_client.models.sorting import Sorting from wavefront_api_client.models.source import Source diff --git a/wavefront_api_client/models/access_control_element.py b/wavefront_api_client/models/access_control_element.py index 498a7e4..fe2a935 100644 --- a/wavefront_api_client/models/access_control_element.py +++ b/wavefront_api_client/models/access_control_element.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/access_control_list_read_dto.py b/wavefront_api_client/models/access_control_list_read_dto.py index 3ad3ebf..6812e9b 100644 --- a/wavefront_api_client/models/access_control_list_read_dto.py +++ b/wavefront_api_client/models/access_control_list_read_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/access_control_list_simple.py b/wavefront_api_client/models/access_control_list_simple.py index 4afc7f3..04a6ef4 100644 --- a/wavefront_api_client/models/access_control_list_simple.py +++ b/wavefront_api_client/models/access_control_list_simple.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/access_control_list_write_dto.py b/wavefront_api_client/models/access_control_list_write_dto.py index 2f38361..9bd47b2 100644 --- a/wavefront_api_client/models/access_control_list_write_dto.py +++ b/wavefront_api_client/models/access_control_list_write_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/access_policy.py b/wavefront_api_client/models/access_policy.py index 81a5f64..05a222c 100644 --- a/wavefront_api_client/models/access_policy.py +++ b/wavefront_api_client/models/access_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/access_policy_rule_dto.py b/wavefront_api_client/models/access_policy_rule_dto.py index 6da1bbb..9e60a17 100644 --- a/wavefront_api_client/models/access_policy_rule_dto.py +++ b/wavefront_api_client/models/access_policy_rule_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/account.py b/wavefront_api_client/models/account.py index 0c82d06..ffaf6b7 100644 --- a/wavefront_api_client/models/account.py +++ b/wavefront_api_client/models/account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -35,6 +35,7 @@ class Account(object): swagger_types = { 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[str]', 'ingestion_policy_id': 'str', 'roles': 'list[str]', 'united_permissions': 'list[str]', @@ -45,6 +46,7 @@ class Account(object): attribute_map = { 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy_id': 'ingestionPolicyId', 'roles': 'roles', 'united_permissions': 'unitedPermissions', @@ -52,7 +54,7 @@ class Account(object): 'user_groups': 'userGroups' } - def __init__(self, groups=None, identifier=None, ingestion_policy_id=None, roles=None, united_permissions=None, united_roles=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, groups=None, identifier=None, ingestion_policies=None, ingestion_policy_id=None, roles=None, united_permissions=None, united_roles=None, user_groups=None, _configuration=None): # noqa: E501 """Account - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -60,6 +62,7 @@ def __init__(self, groups=None, identifier=None, ingestion_policy_id=None, roles self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy_id = None self._roles = None self._united_permissions = None @@ -70,6 +73,8 @@ def __init__(self, groups=None, identifier=None, ingestion_policy_id=None, roles if groups is not None: self.groups = groups self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy_id is not None: self.ingestion_policy_id = ingestion_policy_id if roles is not None: @@ -129,6 +134,29 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this Account. # noqa: E501 + + The list of ingestion policies associated with the account. # noqa: E501 + + :return: The ingestion_policies of this Account. # noqa: E501 + :rtype: list[str] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this Account. + + The list of ingestion policies associated with the account. # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this Account. # noqa: E501 + :type: list[str] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy_id(self): """Gets the ingestion_policy_id of this Account. # noqa: E501 diff --git a/wavefront_api_client/models/alert.py b/wavefront_api_client/models/alert.py index 9326cb2..86f4890 100644 --- a/wavefront_api_client/models/alert.py +++ b/wavefront_api_client/models/alert.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -36,6 +36,9 @@ class Alert(object): 'acl': 'AccessControlListSimple', 'active_maintenance_windows': 'list[str]', 'additional_information': 'str', + 'alert_chart_base': 'int', + 'alert_chart_description': 'str', + 'alert_chart_units': 'str', 'alert_sources': 'list[AlertSource]', 'alert_triage_dashboards': 'list[AlertDashboard]', 'alert_type': 'str', @@ -118,6 +121,9 @@ class Alert(object): 'acl': 'acl', 'active_maintenance_windows': 'activeMaintenanceWindows', 'additional_information': 'additionalInformation', + 'alert_chart_base': 'alertChartBase', + 'alert_chart_description': 'alertChartDescription', + 'alert_chart_units': 'alertChartUnits', 'alert_sources': 'alertSources', 'alert_triage_dashboards': 'alertTriageDashboards', 'alert_type': 'alertType', @@ -196,7 +202,7 @@ class Alert(object): 'updater_id': 'updaterId' } - def __init__(self, acl=None, active_maintenance_windows=None, additional_information=None, alert_sources=None, alert_triage_dashboards=None, alert_type=None, alerts_last_day=None, alerts_last_month=None, alerts_last_week=None, application=None, chart_attributes=None, chart_settings=None, condition=None, condition_qb_enabled=None, condition_qb_serialization=None, condition_query_type=None, conditions=None, create_user_id=None, created=None, created_epoch_millis=None, creator_id=None, deleted=None, display_expression=None, display_expression_qb_enabled=None, display_expression_qb_serialization=None, display_expression_query_type=None, enable_pd_incident_by_series=None, evaluate_realtime_data=None, event=None, failing_host_label_pair_links=None, failing_host_label_pairs=None, hidden=None, hosts_used=None, id=None, in_maintenance_host_label_pairs=None, in_trash=None, include_obsolete_metrics=None, last_error_message=None, last_event_time=None, last_failed_time=None, last_notification_millis=None, last_processed_millis=None, last_query_time=None, metrics_used=None, minutes=None, modify_acl_access=None, name=None, no_data_event=None, notificants=None, notification_resend_frequency_minutes=None, num_points_in_failure_frame=None, orphan=None, points_scanned_at_last_query=None, prefiring_host_label_pairs=None, process_rate_minutes=None, query_failing=None, query_syntax_error=None, resolve_after_minutes=None, runbook_links=None, secure_metric_details=None, service=None, severity=None, severity_list=None, snoozed=None, sort_attr=None, status=None, system_alert_version=None, system_owned=None, tagpaths=None, tags=None, target=None, target_endpoints=None, target_info=None, targets=None, triage_dashboards=None, update_user_id=None, updated=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + def __init__(self, acl=None, active_maintenance_windows=None, additional_information=None, alert_chart_base=None, alert_chart_description=None, alert_chart_units=None, alert_sources=None, alert_triage_dashboards=None, alert_type=None, alerts_last_day=None, alerts_last_month=None, alerts_last_week=None, application=None, chart_attributes=None, chart_settings=None, condition=None, condition_qb_enabled=None, condition_qb_serialization=None, condition_query_type=None, conditions=None, create_user_id=None, created=None, created_epoch_millis=None, creator_id=None, deleted=None, display_expression=None, display_expression_qb_enabled=None, display_expression_qb_serialization=None, display_expression_query_type=None, enable_pd_incident_by_series=None, evaluate_realtime_data=None, event=None, failing_host_label_pair_links=None, failing_host_label_pairs=None, hidden=None, hosts_used=None, id=None, in_maintenance_host_label_pairs=None, in_trash=None, include_obsolete_metrics=None, last_error_message=None, last_event_time=None, last_failed_time=None, last_notification_millis=None, last_processed_millis=None, last_query_time=None, metrics_used=None, minutes=None, modify_acl_access=None, name=None, no_data_event=None, notificants=None, notification_resend_frequency_minutes=None, num_points_in_failure_frame=None, orphan=None, points_scanned_at_last_query=None, prefiring_host_label_pairs=None, process_rate_minutes=None, query_failing=None, query_syntax_error=None, resolve_after_minutes=None, runbook_links=None, secure_metric_details=None, service=None, severity=None, severity_list=None, snoozed=None, sort_attr=None, status=None, system_alert_version=None, system_owned=None, tagpaths=None, tags=None, target=None, target_endpoints=None, target_info=None, targets=None, triage_dashboards=None, update_user_id=None, updated=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 """Alert - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -205,6 +211,9 @@ def __init__(self, acl=None, active_maintenance_windows=None, additional_informa self._acl = None self._active_maintenance_windows = None self._additional_information = None + self._alert_chart_base = None + self._alert_chart_description = None + self._alert_chart_units = None self._alert_sources = None self._alert_triage_dashboards = None self._alert_type = None @@ -289,6 +298,12 @@ def __init__(self, acl=None, active_maintenance_windows=None, additional_informa self.active_maintenance_windows = active_maintenance_windows if additional_information is not None: self.additional_information = additional_information + if alert_chart_base is not None: + self.alert_chart_base = alert_chart_base + if alert_chart_description is not None: + self.alert_chart_description = alert_chart_description + if alert_chart_units is not None: + self.alert_chart_units = alert_chart_units if alert_sources is not None: self.alert_sources = alert_sources if alert_triage_dashboards is not None: @@ -506,6 +521,75 @@ def additional_information(self, additional_information): self._additional_information = additional_information + @property + def alert_chart_base(self): + """Gets the alert_chart_base of this Alert. # noqa: E501 + + The base of alert chart. A linear chart will have base as 1, while a logarithmic chart will have the other base value. # noqa: E501 + + :return: The alert_chart_base of this Alert. # noqa: E501 + :rtype: int + """ + return self._alert_chart_base + + @alert_chart_base.setter + def alert_chart_base(self, alert_chart_base): + """Sets the alert_chart_base of this Alert. + + The base of alert chart. A linear chart will have base as 1, while a logarithmic chart will have the other base value. # noqa: E501 + + :param alert_chart_base: The alert_chart_base of this Alert. # noqa: E501 + :type: int + """ + + self._alert_chart_base = alert_chart_base + + @property + def alert_chart_description(self): + """Gets the alert_chart_description of this Alert. # noqa: E501 + + The description of alert chart. Different from alert additional info, this is used to describe the characteristics of the chart. # noqa: E501 + + :return: The alert_chart_description of this Alert. # noqa: E501 + :rtype: str + """ + return self._alert_chart_description + + @alert_chart_description.setter + def alert_chart_description(self, alert_chart_description): + """Sets the alert_chart_description of this Alert. + + The description of alert chart. Different from alert additional info, this is used to describe the characteristics of the chart. # noqa: E501 + + :param alert_chart_description: The alert_chart_description of this Alert. # noqa: E501 + :type: str + """ + + self._alert_chart_description = alert_chart_description + + @property + def alert_chart_units(self): + """Gets the alert_chart_units of this Alert. # noqa: E501 + + The y-axis unit of Alert chart. # noqa: E501 + + :return: The alert_chart_units of this Alert. # noqa: E501 + :rtype: str + """ + return self._alert_chart_units + + @alert_chart_units.setter + def alert_chart_units(self, alert_chart_units): + """Sets the alert_chart_units of this Alert. + + The y-axis unit of Alert chart. # noqa: E501 + + :param alert_chart_units: The alert_chart_units of this Alert. # noqa: E501 + :type: str + """ + + self._alert_chart_units = alert_chart_units + @property def alert_sources(self): """Gets the alert_sources of this Alert. # noqa: E501 diff --git a/wavefront_api_client/models/alert_dashboard.py b/wavefront_api_client/models/alert_dashboard.py index 489c802..25ed658 100644 --- a/wavefront_api_client/models/alert_dashboard.py +++ b/wavefront_api_client/models/alert_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/alert_min.py b/wavefront_api_client/models/alert_min.py index 2f6c414..50a52a5 100644 --- a/wavefront_api_client/models/alert_min.py +++ b/wavefront_api_client/models/alert_min.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/alert_route.py b/wavefront_api_client/models/alert_route.py index b79bbe2..8ecf192 100644 --- a/wavefront_api_client/models/alert_route.py +++ b/wavefront_api_client/models/alert_route.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/alert_source.py b/wavefront_api_client/models/alert_source.py index b03b7ae..606cb33 100644 --- a/wavefront_api_client/models/alert_source.py +++ b/wavefront_api_client/models/alert_source.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/annotation.py b/wavefront_api_client/models/annotation.py index 0e7a6ac..7d5867a 100644 --- a/wavefront_api_client/models/annotation.py +++ b/wavefront_api_client/models/annotation.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/anomaly.py b/wavefront_api_client/models/anomaly.py index 580a39e..f4947dc 100644 --- a/wavefront_api_client/models/anomaly.py +++ b/wavefront_api_client/models/anomaly.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/api_token_model.py b/wavefront_api_client/models/api_token_model.py new file mode 100644 index 0000000..a5d069b --- /dev/null +++ b/wavefront_api_client/models/api_token_model.py @@ -0,0 +1,326 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ApiTokenModel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account': 'str', + 'account_type': 'str', + 'created_epoch_millis': 'int', + 'customer': 'str', + 'date_generated': 'int', + 'id': 'str', + 'last_used': 'int', + 'name': 'str' + } + + attribute_map = { + 'account': 'account', + 'account_type': 'accountType', + 'created_epoch_millis': 'createdEpochMillis', + 'customer': 'customer', + 'date_generated': 'dateGenerated', + 'id': 'id', + 'last_used': 'lastUsed', + 'name': 'name' + } + + def __init__(self, account=None, account_type=None, created_epoch_millis=None, customer=None, date_generated=None, id=None, last_used=None, name=None, _configuration=None): # noqa: E501 + """ApiTokenModel - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._account = None + self._account_type = None + self._created_epoch_millis = None + self._customer = None + self._date_generated = None + self._id = None + self._last_used = None + self._name = None + self.discriminator = None + + if account is not None: + self.account = account + if account_type is not None: + self.account_type = account_type + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if customer is not None: + self.customer = customer + if date_generated is not None: + self.date_generated = date_generated + if id is not None: + self.id = id + if last_used is not None: + self.last_used = last_used + if name is not None: + self.name = name + + @property + def account(self): + """Gets the account of this ApiTokenModel. # noqa: E501 + + The account who generated this token. # noqa: E501 + + :return: The account of this ApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._account + + @account.setter + def account(self, account): + """Sets the account of this ApiTokenModel. + + The account who generated this token. # noqa: E501 + + :param account: The account of this ApiTokenModel. # noqa: E501 + :type: str + """ + + self._account = account + + @property + def account_type(self): + """Gets the account_type of this ApiTokenModel. # noqa: E501 + + The user or service account generated this token. # noqa: E501 + + :return: The account_type of this ApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._account_type + + @account_type.setter + def account_type(self, account_type): + """Sets the account_type of this ApiTokenModel. + + The user or service account generated this token. # noqa: E501 + + :param account_type: The account_type of this ApiTokenModel. # noqa: E501 + :type: str + """ + allowed_values = ["USER_ACCOUNT", "SERVICE_ACCOUNT", "INACTIVE_SERVICE_ACCOUNT"] # noqa: E501 + if (self._configuration.client_side_validation and + account_type not in allowed_values): + raise ValueError( + "Invalid value for `account_type` ({0}), must be one of {1}" # noqa: E501 + .format(account_type, allowed_values) + ) + + self._account_type = account_type + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this ApiTokenModel. # noqa: E501 + + + :return: The created_epoch_millis of this ApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this ApiTokenModel. + + + :param created_epoch_millis: The created_epoch_millis of this ApiTokenModel. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def customer(self): + """Gets the customer of this ApiTokenModel. # noqa: E501 + + The id of the customer to which the token belongs. # noqa: E501 + + :return: The customer of this ApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._customer + + @customer.setter + def customer(self, customer): + """Sets the customer of this ApiTokenModel. + + The id of the customer to which the token belongs. # noqa: E501 + + :param customer: The customer of this ApiTokenModel. # noqa: E501 + :type: str + """ + + self._customer = customer + + @property + def date_generated(self): + """Gets the date_generated of this ApiTokenModel. # noqa: E501 + + The generation date of the token. # noqa: E501 + + :return: The date_generated of this ApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._date_generated + + @date_generated.setter + def date_generated(self, date_generated): + """Sets the date_generated of this ApiTokenModel. + + The generation date of the token. # noqa: E501 + + :param date_generated: The date_generated of this ApiTokenModel. # noqa: E501 + :type: int + """ + + self._date_generated = date_generated + + @property + def id(self): + """Gets the id of this ApiTokenModel. # noqa: E501 + + The unique identifier of the token. # noqa: E501 + + :return: The id of this ApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ApiTokenModel. + + The unique identifier of the token. # noqa: E501 + + :param id: The id of this ApiTokenModel. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def last_used(self): + """Gets the last_used of this ApiTokenModel. # noqa: E501 + + The last time this token was used. # noqa: E501 + + :return: The last_used of this ApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._last_used + + @last_used.setter + def last_used(self, last_used): + """Sets the last_used of this ApiTokenModel. + + The last time this token was used. # noqa: E501 + + :param last_used: The last_used of this ApiTokenModel. # noqa: E501 + :type: int + """ + + self._last_used = last_used + + @property + def name(self): + """Gets the name of this ApiTokenModel. # noqa: E501 + + The name of the token. # noqa: E501 + + :return: The name of this ApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ApiTokenModel. + + The name of the token. # noqa: E501 + + :param name: The name of this ApiTokenModel. # noqa: E501 + :type: str + """ + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ApiTokenModel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ApiTokenModel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ApiTokenModel): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/app_dynamics_configuration.py b/wavefront_api_client/models/app_dynamics_configuration.py index d5026e6..48e1996 100644 --- a/wavefront_api_client/models/app_dynamics_configuration.py +++ b/wavefront_api_client/models/app_dynamics_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/app_search_filter.py b/wavefront_api_client/models/app_search_filter.py new file mode 100644 index 0000000..261fe80 --- /dev/null +++ b/wavefront_api_client/models/app_search_filter.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class AppSearchFilter(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'filter_type': 'str', + 'values': 'AppSearchFilterValue' + } + + attribute_map = { + 'filter_type': 'filterType', + 'values': 'values' + } + + def __init__(self, filter_type=None, values=None, _configuration=None): # noqa: E501 + """AppSearchFilter - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._filter_type = None + self._values = None + self.discriminator = None + + if filter_type is not None: + self.filter_type = filter_type + if values is not None: + self.values = values + + @property + def filter_type(self): + """Gets the filter_type of this AppSearchFilter. # noqa: E501 + + + :return: The filter_type of this AppSearchFilter. # noqa: E501 + :rtype: str + """ + return self._filter_type + + @filter_type.setter + def filter_type(self, filter_type): + """Sets the filter_type of this AppSearchFilter. + + + :param filter_type: The filter_type of this AppSearchFilter. # noqa: E501 + :type: str + """ + allowed_values = ["OPERATION", "TAG", "RAW_TAG", "SPAN_LOG", "DURATION", "SPAN_DURATION", "LIMIT", "ERROR", "TRACE_ID", "SOURCE"] # noqa: E501 + if (self._configuration.client_side_validation and + filter_type not in allowed_values): + raise ValueError( + "Invalid value for `filter_type` ({0}), must be one of {1}" # noqa: E501 + .format(filter_type, allowed_values) + ) + + self._filter_type = filter_type + + @property + def values(self): + """Gets the values of this AppSearchFilter. # noqa: E501 + + + :return: The values of this AppSearchFilter. # noqa: E501 + :rtype: AppSearchFilterValue + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this AppSearchFilter. + + + :param values: The values of this AppSearchFilter. # noqa: E501 + :type: AppSearchFilterValue + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AppSearchFilter, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AppSearchFilter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AppSearchFilter): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/app_search_filter_value.py b/wavefront_api_client/models/app_search_filter_value.py new file mode 100644 index 0000000..98c6227 --- /dev/null +++ b/wavefront_api_client/models/app_search_filter_value.py @@ -0,0 +1,175 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class AppSearchFilterValue(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'array_value': 'list[str]', + 'logical_value': 'list[list[str]]', + 'string_value': 'str' + } + + attribute_map = { + 'array_value': 'arrayValue', + 'logical_value': 'logicalValue', + 'string_value': 'stringValue' + } + + def __init__(self, array_value=None, logical_value=None, string_value=None, _configuration=None): # noqa: E501 + """AppSearchFilterValue - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._array_value = None + self._logical_value = None + self._string_value = None + self.discriminator = None + + if array_value is not None: + self.array_value = array_value + if logical_value is not None: + self.logical_value = logical_value + if string_value is not None: + self.string_value = string_value + + @property + def array_value(self): + """Gets the array_value of this AppSearchFilterValue. # noqa: E501 + + + :return: The array_value of this AppSearchFilterValue. # noqa: E501 + :rtype: list[str] + """ + return self._array_value + + @array_value.setter + def array_value(self, array_value): + """Sets the array_value of this AppSearchFilterValue. + + + :param array_value: The array_value of this AppSearchFilterValue. # noqa: E501 + :type: list[str] + """ + + self._array_value = array_value + + @property + def logical_value(self): + """Gets the logical_value of this AppSearchFilterValue. # noqa: E501 + + + :return: The logical_value of this AppSearchFilterValue. # noqa: E501 + :rtype: list[list[str]] + """ + return self._logical_value + + @logical_value.setter + def logical_value(self, logical_value): + """Sets the logical_value of this AppSearchFilterValue. + + + :param logical_value: The logical_value of this AppSearchFilterValue. # noqa: E501 + :type: list[list[str]] + """ + + self._logical_value = logical_value + + @property + def string_value(self): + """Gets the string_value of this AppSearchFilterValue. # noqa: E501 + + + :return: The string_value of this AppSearchFilterValue. # noqa: E501 + :rtype: str + """ + return self._string_value + + @string_value.setter + def string_value(self, string_value): + """Sets the string_value of this AppSearchFilterValue. + + + :param string_value: The string_value of this AppSearchFilterValue. # noqa: E501 + :type: str + """ + + self._string_value = string_value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AppSearchFilterValue, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AppSearchFilterValue): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AppSearchFilterValue): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/app_search_filters.py b/wavefront_api_client/models/app_search_filters.py new file mode 100644 index 0000000..650897b --- /dev/null +++ b/wavefront_api_client/models/app_search_filters.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class AppSearchFilters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'filters': 'list[AppSearchFilter]', + 'query': 'str' + } + + attribute_map = { + 'filters': 'filters', + 'query': 'query' + } + + def __init__(self, filters=None, query=None, _configuration=None): # noqa: E501 + """AppSearchFilters - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._filters = None + self._query = None + self.discriminator = None + + if filters is not None: + self.filters = filters + if query is not None: + self.query = query + + @property + def filters(self): + """Gets the filters of this AppSearchFilters. # noqa: E501 + + + :return: The filters of this AppSearchFilters. # noqa: E501 + :rtype: list[AppSearchFilter] + """ + return self._filters + + @filters.setter + def filters(self, filters): + """Sets the filters of this AppSearchFilters. + + + :param filters: The filters of this AppSearchFilters. # noqa: E501 + :type: list[AppSearchFilter] + """ + + self._filters = filters + + @property + def query(self): + """Gets the query of this AppSearchFilters. # noqa: E501 + + + :return: The query of this AppSearchFilters. # noqa: E501 + :rtype: str + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this AppSearchFilters. + + + :param query: The query of this AppSearchFilters. # noqa: E501 + :type: str + """ + + self._query = query + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AppSearchFilters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AppSearchFilters): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AppSearchFilters): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/aws_base_credentials.py b/wavefront_api_client/models/aws_base_credentials.py index 5bc5f06..159b459 100644 --- a/wavefront_api_client/models/aws_base_credentials.py +++ b/wavefront_api_client/models/aws_base_credentials.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/azure_activity_log_configuration.py b/wavefront_api_client/models/azure_activity_log_configuration.py index ef4b8b7..44fc962 100644 --- a/wavefront_api_client/models/azure_activity_log_configuration.py +++ b/wavefront_api_client/models/azure_activity_log_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/azure_base_credentials.py b/wavefront_api_client/models/azure_base_credentials.py index 905c997..69eca36 100644 --- a/wavefront_api_client/models/azure_base_credentials.py +++ b/wavefront_api_client/models/azure_base_credentials.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/azure_configuration.py b/wavefront_api_client/models/azure_configuration.py index 8cfde64..6d0507d 100644 --- a/wavefront_api_client/models/azure_configuration.py +++ b/wavefront_api_client/models/azure_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/chart.py b/wavefront_api_client/models/chart.py index c206bc3..49df37a 100644 --- a/wavefront_api_client/models/chart.py +++ b/wavefront_api_client/models/chart.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/chart_settings.py b/wavefront_api_client/models/chart_settings.py index 09714fc..394f255 100644 --- a/wavefront_api_client/models/chart_settings.py +++ b/wavefront_api_client/models/chart_settings.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/chart_source_query.py b/wavefront_api_client/models/chart_source_query.py index d2aa3af..282af34 100644 --- a/wavefront_api_client/models/chart_source_query.py +++ b/wavefront_api_client/models/chart_source_query.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/class_loader.py b/wavefront_api_client/models/class_loader.py index 374468f..1164e50 100644 --- a/wavefront_api_client/models/class_loader.py +++ b/wavefront_api_client/models/class_loader.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/cloud_integration.py b/wavefront_api_client/models/cloud_integration.py index e11ce0a..6cc96c5 100644 --- a/wavefront_api_client/models/cloud_integration.py +++ b/wavefront_api_client/models/cloud_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -43,6 +43,7 @@ class CloudIntegration(object): 'creator_id': 'str', 'deleted': 'bool', 'disabled': 'bool', + 'dynatrace': 'DynatraceConfiguration', 'ec2': 'EC2Configuration', 'force_save': 'bool', 'gcp': 'GCPConfiguration', @@ -61,6 +62,7 @@ class CloudIntegration(object): 'reuse_external_id_credential': 'str', 'service': 'str', 'service_refresh_rate_in_mins': 'int', + 'snowflake': 'SnowflakeConfiguration', 'tesla': 'TeslaConfiguration', 'updated_epoch_millis': 'int', 'updater_id': 'str', @@ -78,6 +80,7 @@ class CloudIntegration(object): 'creator_id': 'creatorId', 'deleted': 'deleted', 'disabled': 'disabled', + 'dynatrace': 'dynatrace', 'ec2': 'ec2', 'force_save': 'forceSave', 'gcp': 'gcp', @@ -96,13 +99,14 @@ class CloudIntegration(object): 'reuse_external_id_credential': 'reuseExternalIdCredential', 'service': 'service', 'service_refresh_rate_in_mins': 'serviceRefreshRateInMins', + 'snowflake': 'snowflake', 'tesla': 'tesla', 'updated_epoch_millis': 'updatedEpochMillis', 'updater_id': 'updaterId', 'vrops': 'vrops' } - def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_activity_log=None, cloud_trail=None, cloud_watch=None, created_epoch_millis=None, creator_id=None, deleted=None, disabled=None, ec2=None, force_save=None, gcp=None, gcp_billing=None, id=None, in_trash=None, last_error=None, last_error_event=None, last_error_ms=None, last_metric_count=None, last_processing_timestamp=None, last_processor_id=None, last_received_data_point_ms=None, name=None, new_relic=None, reuse_external_id_credential=None, service=None, service_refresh_rate_in_mins=None, tesla=None, updated_epoch_millis=None, updater_id=None, vrops=None, _configuration=None): # noqa: E501 + def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_activity_log=None, cloud_trail=None, cloud_watch=None, created_epoch_millis=None, creator_id=None, deleted=None, disabled=None, dynatrace=None, ec2=None, force_save=None, gcp=None, gcp_billing=None, id=None, in_trash=None, last_error=None, last_error_event=None, last_error_ms=None, last_metric_count=None, last_processing_timestamp=None, last_processor_id=None, last_received_data_point_ms=None, name=None, new_relic=None, reuse_external_id_credential=None, service=None, service_refresh_rate_in_mins=None, snowflake=None, tesla=None, updated_epoch_millis=None, updater_id=None, vrops=None, _configuration=None): # noqa: E501 """CloudIntegration - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -118,6 +122,7 @@ def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_ac self._creator_id = None self._deleted = None self._disabled = None + self._dynatrace = None self._ec2 = None self._force_save = None self._gcp = None @@ -136,6 +141,7 @@ def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_ac self._reuse_external_id_credential = None self._service = None self._service_refresh_rate_in_mins = None + self._snowflake = None self._tesla = None self._updated_epoch_millis = None self._updater_id = None @@ -162,6 +168,8 @@ def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_ac self.deleted = deleted if disabled is not None: self.disabled = disabled + if dynatrace is not None: + self.dynatrace = dynatrace if ec2 is not None: self.ec2 = ec2 if force_save is not None: @@ -196,6 +204,8 @@ def __init__(self, additional_tags=None, app_dynamics=None, azure=None, azure_ac self.service = service if service_refresh_rate_in_mins is not None: self.service_refresh_rate_in_mins = service_refresh_rate_in_mins + if snowflake is not None: + self.snowflake = snowflake if tesla is not None: self.tesla = tesla if updated_epoch_millis is not None: @@ -419,6 +429,27 @@ def disabled(self, disabled): self._disabled = disabled + @property + def dynatrace(self): + """Gets the dynatrace of this CloudIntegration. # noqa: E501 + + + :return: The dynatrace of this CloudIntegration. # noqa: E501 + :rtype: DynatraceConfiguration + """ + return self._dynatrace + + @dynatrace.setter + def dynatrace(self, dynatrace): + """Sets the dynatrace of this CloudIntegration. + + + :param dynatrace: The dynatrace of this CloudIntegration. # noqa: E501 + :type: DynatraceConfiguration + """ + + self._dynatrace = dynatrace + @property def ec2(self): """Gets the ec2 of this CloudIntegration. # noqa: E501 @@ -793,7 +824,7 @@ def service(self, service): """ if self._configuration.client_side_validation and service is None: raise ValueError("Invalid value for `service`, must not be `None`") # noqa: E501 - allowed_values = ["CLOUDWATCH", "CLOUDTRAIL", "EC2", "GCP", "GCPBILLING", "TESLA", "AZURE", "AZUREACTIVITYLOG", "NEWRELIC", "APPDYNAMICS", "VROPS"] # noqa: E501 + allowed_values = ["CLOUDWATCH", "CLOUDTRAIL", "EC2", "GCP", "GCPBILLING", "TESLA", "AZURE", "AZUREACTIVITYLOG", "NEWRELIC", "APPDYNAMICS", "VROPS", "SNOWFLAKE", "DYNATRACE"] # noqa: E501 if (self._configuration.client_side_validation and service not in allowed_values): raise ValueError( @@ -826,6 +857,27 @@ def service_refresh_rate_in_mins(self, service_refresh_rate_in_mins): self._service_refresh_rate_in_mins = service_refresh_rate_in_mins + @property + def snowflake(self): + """Gets the snowflake of this CloudIntegration. # noqa: E501 + + + :return: The snowflake of this CloudIntegration. # noqa: E501 + :rtype: SnowflakeConfiguration + """ + return self._snowflake + + @snowflake.setter + def snowflake(self, snowflake): + """Sets the snowflake of this CloudIntegration. + + + :param snowflake: The snowflake of this CloudIntegration. # noqa: E501 + :type: SnowflakeConfiguration + """ + + self._snowflake = snowflake + @property def tesla(self): """Gets the tesla of this CloudIntegration. # noqa: E501 diff --git a/wavefront_api_client/models/cloud_trail_configuration.py b/wavefront_api_client/models/cloud_trail_configuration.py index e5a1eaa..c8fed17 100644 --- a/wavefront_api_client/models/cloud_trail_configuration.py +++ b/wavefront_api_client/models/cloud_trail_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/cloud_watch_configuration.py b/wavefront_api_client/models/cloud_watch_configuration.py index b694f54..3731f90 100644 --- a/wavefront_api_client/models/cloud_watch_configuration.py +++ b/wavefront_api_client/models/cloud_watch_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -39,6 +39,7 @@ class CloudWatchConfiguration(object): 'metric_filter_regex': 'str', 'namespaces': 'list[str]', 'point_tag_filter_regex': 'str', + 'thread_distribution_in_mins': 'int', 'volume_selection_tags': 'dict(str, str)', 'volume_selection_tags_expr': 'str' } @@ -50,11 +51,12 @@ class CloudWatchConfiguration(object): 'metric_filter_regex': 'metricFilterRegex', 'namespaces': 'namespaces', 'point_tag_filter_regex': 'pointTagFilterRegex', + 'thread_distribution_in_mins': 'threadDistributionInMins', 'volume_selection_tags': 'volumeSelectionTags', 'volume_selection_tags_expr': 'volumeSelectionTagsExpr' } - def __init__(self, base_credentials=None, instance_selection_tags=None, instance_selection_tags_expr=None, metric_filter_regex=None, namespaces=None, point_tag_filter_regex=None, volume_selection_tags=None, volume_selection_tags_expr=None, _configuration=None): # noqa: E501 + def __init__(self, base_credentials=None, instance_selection_tags=None, instance_selection_tags_expr=None, metric_filter_regex=None, namespaces=None, point_tag_filter_regex=None, thread_distribution_in_mins=None, volume_selection_tags=None, volume_selection_tags_expr=None, _configuration=None): # noqa: E501 """CloudWatchConfiguration - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -66,6 +68,7 @@ def __init__(self, base_credentials=None, instance_selection_tags=None, instance self._metric_filter_regex = None self._namespaces = None self._point_tag_filter_regex = None + self._thread_distribution_in_mins = None self._volume_selection_tags = None self._volume_selection_tags_expr = None self.discriminator = None @@ -82,6 +85,8 @@ def __init__(self, base_credentials=None, instance_selection_tags=None, instance self.namespaces = namespaces if point_tag_filter_regex is not None: self.point_tag_filter_regex = point_tag_filter_regex + if thread_distribution_in_mins is not None: + self.thread_distribution_in_mins = thread_distribution_in_mins if volume_selection_tags is not None: self.volume_selection_tags = volume_selection_tags if volume_selection_tags_expr is not None: @@ -223,6 +228,29 @@ def point_tag_filter_regex(self, point_tag_filter_regex): self._point_tag_filter_regex = point_tag_filter_regex + @property + def thread_distribution_in_mins(self): + """Gets the thread_distribution_in_mins of this CloudWatchConfiguration. # noqa: E501 + + ThreadDistributionInMins # noqa: E501 + + :return: The thread_distribution_in_mins of this CloudWatchConfiguration. # noqa: E501 + :rtype: int + """ + return self._thread_distribution_in_mins + + @thread_distribution_in_mins.setter + def thread_distribution_in_mins(self, thread_distribution_in_mins): + """Sets the thread_distribution_in_mins of this CloudWatchConfiguration. + + ThreadDistributionInMins # noqa: E501 + + :param thread_distribution_in_mins: The thread_distribution_in_mins of this CloudWatchConfiguration. # noqa: E501 + :type: int + """ + + self._thread_distribution_in_mins = thread_distribution_in_mins + @property def volume_selection_tags(self): """Gets the volume_selection_tags of this CloudWatchConfiguration. # noqa: E501 diff --git a/wavefront_api_client/models/conversion.py b/wavefront_api_client/models/conversion.py index 5ba17e7..0361ce9 100644 --- a/wavefront_api_client/models/conversion.py +++ b/wavefront_api_client/models/conversion.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/conversion_object.py b/wavefront_api_client/models/conversion_object.py index adf5e9a..61a59b9 100644 --- a/wavefront_api_client/models/conversion_object.py +++ b/wavefront_api_client/models/conversion_object.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/customer_facing_user_object.py b/wavefront_api_client/models/customer_facing_user_object.py index 7719530..37bf975 100644 --- a/wavefront_api_client/models/customer_facing_user_object.py +++ b/wavefront_api_client/models/customer_facing_user_object.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/dashboard.py b/wavefront_api_client/models/dashboard.py index bf65fea..a2c5613 100644 --- a/wavefront_api_client/models/dashboard.py +++ b/wavefront_api_client/models/dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -46,6 +46,7 @@ class Dashboard(object): 'default_time_window': 'str', 'deleted': 'bool', 'description': 'str', + 'disable_refresh_in_live_mode': 'bool', 'display_description': 'bool', 'display_query_parameters': 'bool', 'display_section_table_of_contents': 'bool', @@ -55,6 +56,7 @@ class Dashboard(object): 'force_v2_ui': 'bool', 'hidden': 'bool', 'id': 'str', + 'include_obsolete_metrics': 'bool', 'modify_acl_access': 'bool', 'name': 'str', 'num_charts': 'int', @@ -87,6 +89,7 @@ class Dashboard(object): 'default_time_window': 'defaultTimeWindow', 'deleted': 'deleted', 'description': 'description', + 'disable_refresh_in_live_mode': 'disableRefreshInLiveMode', 'display_description': 'displayDescription', 'display_query_parameters': 'displayQueryParameters', 'display_section_table_of_contents': 'displaySectionTableOfContents', @@ -96,6 +99,7 @@ class Dashboard(object): 'force_v2_ui': 'forceV2UI', 'hidden': 'hidden', 'id': 'id', + 'include_obsolete_metrics': 'includeObsoleteMetrics', 'modify_acl_access': 'modifyAclAccess', 'name': 'name', 'num_charts': 'numCharts', @@ -114,7 +118,7 @@ class Dashboard(object): 'views_last_week': 'viewsLastWeek' } - def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, chart_title_scalar=None, created_epoch_millis=None, creator_id=None, customer=None, dashboard_attributes=None, default_end_time=None, default_start_time=None, default_time_window=None, deleted=None, description=None, display_description=None, display_query_parameters=None, display_section_table_of_contents=None, event_filter_type=None, event_query=None, favorite=None, force_v2_ui=None, hidden=None, id=None, modify_acl_access=None, name=None, num_charts=None, num_favorites=None, orphan=None, parameter_details=None, parameters=None, sections=None, system_owned=None, tags=None, updated_epoch_millis=None, updater_id=None, url=None, views_last_day=None, views_last_month=None, views_last_week=None, _configuration=None): # noqa: E501 + def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, chart_title_scalar=None, created_epoch_millis=None, creator_id=None, customer=None, dashboard_attributes=None, default_end_time=None, default_start_time=None, default_time_window=None, deleted=None, description=None, disable_refresh_in_live_mode=None, display_description=None, display_query_parameters=None, display_section_table_of_contents=None, event_filter_type=None, event_query=None, favorite=None, force_v2_ui=None, hidden=None, id=None, include_obsolete_metrics=None, modify_acl_access=None, name=None, num_charts=None, num_favorites=None, orphan=None, parameter_details=None, parameters=None, sections=None, system_owned=None, tags=None, updated_epoch_millis=None, updater_id=None, url=None, views_last_day=None, views_last_month=None, views_last_week=None, _configuration=None): # noqa: E501 """Dashboard - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -133,6 +137,7 @@ def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, self._default_time_window = None self._deleted = None self._description = None + self._disable_refresh_in_live_mode = None self._display_description = None self._display_query_parameters = None self._display_section_table_of_contents = None @@ -142,6 +147,7 @@ def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, self._force_v2_ui = None self._hidden = None self._id = None + self._include_obsolete_metrics = None self._modify_acl_access = None self._name = None self._num_charts = None @@ -186,6 +192,8 @@ def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, self.deleted = deleted if description is not None: self.description = description + if disable_refresh_in_live_mode is not None: + self.disable_refresh_in_live_mode = disable_refresh_in_live_mode if display_description is not None: self.display_description = display_description if display_query_parameters is not None: @@ -203,6 +211,8 @@ def __init__(self, acl=None, chart_title_bg_color=None, chart_title_color=None, if hidden is not None: self.hidden = hidden self.id = id + if include_obsolete_metrics is not None: + self.include_obsolete_metrics = include_obsolete_metrics if modify_acl_access is not None: self.modify_acl_access = modify_acl_access self.name = name @@ -524,6 +534,29 @@ def description(self, description): self._description = description + @property + def disable_refresh_in_live_mode(self): + """Gets the disable_refresh_in_live_mode of this Dashboard. # noqa: E501 + + Refresh variables in Live Mode # noqa: E501 + + :return: The disable_refresh_in_live_mode of this Dashboard. # noqa: E501 + :rtype: bool + """ + return self._disable_refresh_in_live_mode + + @disable_refresh_in_live_mode.setter + def disable_refresh_in_live_mode(self, disable_refresh_in_live_mode): + """Sets the disable_refresh_in_live_mode of this Dashboard. + + Refresh variables in Live Mode # noqa: E501 + + :param disable_refresh_in_live_mode: The disable_refresh_in_live_mode of this Dashboard. # noqa: E501 + :type: bool + """ + + self._disable_refresh_in_live_mode = disable_refresh_in_live_mode + @property def display_description(self): """Gets the display_description of this Dashboard. # noqa: E501 @@ -736,6 +769,29 @@ def id(self, id): self._id = id + @property + def include_obsolete_metrics(self): + """Gets the include_obsolete_metrics of this Dashboard. # noqa: E501 + + Whether to include the obsolete metrics # noqa: E501 + + :return: The include_obsolete_metrics of this Dashboard. # noqa: E501 + :rtype: bool + """ + return self._include_obsolete_metrics + + @include_obsolete_metrics.setter + def include_obsolete_metrics(self, include_obsolete_metrics): + """Sets the include_obsolete_metrics of this Dashboard. + + Whether to include the obsolete metrics # noqa: E501 + + :param include_obsolete_metrics: The include_obsolete_metrics of this Dashboard. # noqa: E501 + :type: bool + """ + + self._include_obsolete_metrics = include_obsolete_metrics + @property def modify_acl_access(self): """Gets the modify_acl_access of this Dashboard. # noqa: E501 diff --git a/wavefront_api_client/models/dashboard_min.py b/wavefront_api_client/models/dashboard_min.py index 1b46e8b..64797da 100644 --- a/wavefront_api_client/models/dashboard_min.py +++ b/wavefront_api_client/models/dashboard_min.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/dashboard_parameter_value.py b/wavefront_api_client/models/dashboard_parameter_value.py index c71fe7a..0a81a28 100644 --- a/wavefront_api_client/models/dashboard_parameter_value.py +++ b/wavefront_api_client/models/dashboard_parameter_value.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/dashboard_section.py b/wavefront_api_client/models/dashboard_section.py index 94d2cea..768b1ae 100644 --- a/wavefront_api_client/models/dashboard_section.py +++ b/wavefront_api_client/models/dashboard_section.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/dashboard_section_row.py b/wavefront_api_client/models/dashboard_section_row.py index 10daeac..26ad8ab 100644 --- a/wavefront_api_client/models/dashboard_section_row.py +++ b/wavefront_api_client/models/dashboard_section_row.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/default_saved_app_map_search.py b/wavefront_api_client/models/default_saved_app_map_search.py new file mode 100644 index 0000000..a7cd19d --- /dev/null +++ b/wavefront_api_client/models/default_saved_app_map_search.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class DefaultSavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'default_search_id': 'str', + 'user_setting': 'bool' + } + + attribute_map = { + 'default_search_id': 'defaultSearchId', + 'user_setting': 'userSetting' + } + + def __init__(self, default_search_id=None, user_setting=None, _configuration=None): # noqa: E501 + """DefaultSavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._default_search_id = None + self._user_setting = None + self.discriminator = None + + if default_search_id is not None: + self.default_search_id = default_search_id + if user_setting is not None: + self.user_setting = user_setting + + @property + def default_search_id(self): + """Gets the default_search_id of this DefaultSavedAppMapSearch. # noqa: E501 + + + :return: The default_search_id of this DefaultSavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._default_search_id + + @default_search_id.setter + def default_search_id(self, default_search_id): + """Sets the default_search_id of this DefaultSavedAppMapSearch. + + + :param default_search_id: The default_search_id of this DefaultSavedAppMapSearch. # noqa: E501 + :type: str + """ + + self._default_search_id = default_search_id + + @property + def user_setting(self): + """Gets the user_setting of this DefaultSavedAppMapSearch. # noqa: E501 + + + :return: The user_setting of this DefaultSavedAppMapSearch. # noqa: E501 + :rtype: bool + """ + return self._user_setting + + @user_setting.setter + def user_setting(self, user_setting): + """Sets the user_setting of this DefaultSavedAppMapSearch. + + + :param user_setting: The user_setting of this DefaultSavedAppMapSearch. # noqa: E501 + :type: bool + """ + + self._user_setting = user_setting + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DefaultSavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DefaultSavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DefaultSavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/default_saved_traces_search.py b/wavefront_api_client/models/default_saved_traces_search.py new file mode 100644 index 0000000..43b41f6 --- /dev/null +++ b/wavefront_api_client/models/default_saved_traces_search.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class DefaultSavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'default_search_id': 'str', + 'user_setting': 'bool' + } + + attribute_map = { + 'default_search_id': 'defaultSearchId', + 'user_setting': 'userSetting' + } + + def __init__(self, default_search_id=None, user_setting=None, _configuration=None): # noqa: E501 + """DefaultSavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._default_search_id = None + self._user_setting = None + self.discriminator = None + + if default_search_id is not None: + self.default_search_id = default_search_id + if user_setting is not None: + self.user_setting = user_setting + + @property + def default_search_id(self): + """Gets the default_search_id of this DefaultSavedTracesSearch. # noqa: E501 + + + :return: The default_search_id of this DefaultSavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._default_search_id + + @default_search_id.setter + def default_search_id(self, default_search_id): + """Sets the default_search_id of this DefaultSavedTracesSearch. + + + :param default_search_id: The default_search_id of this DefaultSavedTracesSearch. # noqa: E501 + :type: str + """ + + self._default_search_id = default_search_id + + @property + def user_setting(self): + """Gets the user_setting of this DefaultSavedTracesSearch. # noqa: E501 + + + :return: The user_setting of this DefaultSavedTracesSearch. # noqa: E501 + :rtype: bool + """ + return self._user_setting + + @user_setting.setter + def user_setting(self, user_setting): + """Sets the user_setting of this DefaultSavedTracesSearch. + + + :param user_setting: The user_setting of this DefaultSavedTracesSearch. # noqa: E501 + :type: bool + """ + + self._user_setting = user_setting + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DefaultSavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DefaultSavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DefaultSavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/derived_metric_definition.py b/wavefront_api_client/models/derived_metric_definition.py index 73a67d5..a9990f5 100644 --- a/wavefront_api_client/models/derived_metric_definition.py +++ b/wavefront_api_client/models/derived_metric_definition.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/dynatrace_configuration.py b/wavefront_api_client/models/dynatrace_configuration.py new file mode 100644 index 0000000..afa93a0 --- /dev/null +++ b/wavefront_api_client/models/dynatrace_configuration.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class DynatraceConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dynatrace_api_token': 'str', + 'environment_id': 'str', + 'metric_filter_regex': 'str' + } + + attribute_map = { + 'dynatrace_api_token': 'dynatraceAPIToken', + 'environment_id': 'environmentID', + 'metric_filter_regex': 'metricFilterRegex' + } + + def __init__(self, dynatrace_api_token=None, environment_id=None, metric_filter_regex=None, _configuration=None): # noqa: E501 + """DynatraceConfiguration - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._dynatrace_api_token = None + self._environment_id = None + self._metric_filter_regex = None + self.discriminator = None + + self.dynatrace_api_token = dynatrace_api_token + if environment_id is not None: + self.environment_id = environment_id + if metric_filter_regex is not None: + self.metric_filter_regex = metric_filter_regex + + @property + def dynatrace_api_token(self): + """Gets the dynatrace_api_token of this DynatraceConfiguration. # noqa: E501 + + The Dynatrace API Token # noqa: E501 + + :return: The dynatrace_api_token of this DynatraceConfiguration. # noqa: E501 + :rtype: str + """ + return self._dynatrace_api_token + + @dynatrace_api_token.setter + def dynatrace_api_token(self, dynatrace_api_token): + """Sets the dynatrace_api_token of this DynatraceConfiguration. + + The Dynatrace API Token # noqa: E501 + + :param dynatrace_api_token: The dynatrace_api_token of this DynatraceConfiguration. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and dynatrace_api_token is None: + raise ValueError("Invalid value for `dynatrace_api_token`, must not be `None`") # noqa: E501 + + self._dynatrace_api_token = dynatrace_api_token + + @property + def environment_id(self): + """Gets the environment_id of this DynatraceConfiguration. # noqa: E501 + + The ID of Dynatrace Environment # noqa: E501 + + :return: The environment_id of this DynatraceConfiguration. # noqa: E501 + :rtype: str + """ + return self._environment_id + + @environment_id.setter + def environment_id(self, environment_id): + """Sets the environment_id of this DynatraceConfiguration. + + The ID of Dynatrace Environment # noqa: E501 + + :param environment_id: The environment_id of this DynatraceConfiguration. # noqa: E501 + :type: str + """ + + self._environment_id = environment_id + + @property + def metric_filter_regex(self): + """Gets the metric_filter_regex of this DynatraceConfiguration. # noqa: E501 + + A regular expression that a metric name must match (case-insensitively) in order to be ingested # noqa: E501 + + :return: The metric_filter_regex of this DynatraceConfiguration. # noqa: E501 + :rtype: str + """ + return self._metric_filter_regex + + @metric_filter_regex.setter + def metric_filter_regex(self, metric_filter_regex): + """Sets the metric_filter_regex of this DynatraceConfiguration. + + A regular expression that a metric name must match (case-insensitively) in order to be ingested # noqa: E501 + + :param metric_filter_regex: The metric_filter_regex of this DynatraceConfiguration. # noqa: E501 + :type: str + """ + + self._metric_filter_regex = metric_filter_regex + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DynatraceConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DynatraceConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DynatraceConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/ec2_configuration.py b/wavefront_api_client/models/ec2_configuration.py index 70a1f02..812f8b6 100644 --- a/wavefront_api_client/models/ec2_configuration.py +++ b/wavefront_api_client/models/ec2_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/event.py b/wavefront_api_client/models/event.py index 47d7215..1d89b98 100644 --- a/wavefront_api_client/models/event.py +++ b/wavefront_api_client/models/event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/event_search_request.py b/wavefront_api_client/models/event_search_request.py index 56798c6..0546646 100644 --- a/wavefront_api_client/models/event_search_request.py +++ b/wavefront_api_client/models/event_search_request.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/event_time_range.py b/wavefront_api_client/models/event_time_range.py index ad0b37e..ce849e0 100644 --- a/wavefront_api_client/models/event_time_range.py +++ b/wavefront_api_client/models/event_time_range.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/external_link.py b/wavefront_api_client/models/external_link.py index 36ca942..41b6a12 100644 --- a/wavefront_api_client/models/external_link.py +++ b/wavefront_api_client/models/external_link.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/facet_response.py b/wavefront_api_client/models/facet_response.py index bbf0e48..47b9943 100644 --- a/wavefront_api_client/models/facet_response.py +++ b/wavefront_api_client/models/facet_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/facet_search_request_container.py b/wavefront_api_client/models/facet_search_request_container.py index 12be18b..e42bd7d 100644 --- a/wavefront_api_client/models/facet_search_request_container.py +++ b/wavefront_api_client/models/facet_search_request_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/facets_response_container.py b/wavefront_api_client/models/facets_response_container.py index 9492f95..ffea04d 100644 --- a/wavefront_api_client/models/facets_response_container.py +++ b/wavefront_api_client/models/facets_response_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/facets_search_request_container.py b/wavefront_api_client/models/facets_search_request_container.py index 366e467..e72818f 100644 --- a/wavefront_api_client/models/facets_search_request_container.py +++ b/wavefront_api_client/models/facets_search_request_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/fast_reader_builder.py b/wavefront_api_client/models/fast_reader_builder.py index 836bd15..3732415 100644 --- a/wavefront_api_client/models/fast_reader_builder.py +++ b/wavefront_api_client/models/fast_reader_builder.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/field.py b/wavefront_api_client/models/field.py index 58e4c6c..a1fc62e 100644 --- a/wavefront_api_client/models/field.py +++ b/wavefront_api_client/models/field.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/gcp_billing_configuration.py b/wavefront_api_client/models/gcp_billing_configuration.py index 99f5807..80e982a 100644 --- a/wavefront_api_client/models/gcp_billing_configuration.py +++ b/wavefront_api_client/models/gcp_billing_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/gcp_configuration.py b/wavefront_api_client/models/gcp_configuration.py index 6103371..2d05f1c 100644 --- a/wavefront_api_client/models/gcp_configuration.py +++ b/wavefront_api_client/models/gcp_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -100,7 +100,7 @@ def categories_to_fetch(self, categories_to_fetch): :param categories_to_fetch: The categories_to_fetch of this GCPConfiguration. # noqa: E501 :type: list[str] """ - allowed_values = ["APPENGINE", "BIGQUERY", "BIGTABLE", "CLOUDFUNCTIONS", "CLOUDIOT", "CLOUDSQL", "CLOUDTASKS", "COMPUTE", "CONTAINER", "DATAFLOW", "DATAPROC", "DATASTORE", "FIREBASEDATABASE", "FIREBASEHOSTING", "FIRESTORE", "INTERCONNECT", "KUBERNETES", "LOADBALANCING", "LOGGING", "ML", "MONITORING", "PUBSUB", "REDIS", "ROUTER", "SERVICERUNTIME", "SPANNER", "STORAGE", "TPU", "VPN"] # noqa: E501 + allowed_values = ["APPENGINE", "BIGQUERY", "BIGTABLE", "CLOUDFUNCTIONS", "CLOUDIOT", "CLOUDSQL", "CLOUDTASKS", "COMPUTE", "CONTAINER", "DATAFLOW", "DATAPROC", "DATASTORE", "FIREBASEDATABASE", "FIREBASEHOSTING", "FIRESTORE", "INTERCONNECT", "KUBERNETES", "LOADBALANCING", "LOGGING", "ML", "MONITORING", "PUBSUB", "REDIS", "ROUTER", "SERVICERUNTIME", "SPANNER", "STORAGE", "TPU", "VPN", "APIGEE"] # noqa: E501 if (self._configuration.client_side_validation and not set(categories_to_fetch).issubset(set(allowed_values))): # noqa: E501 raise ValueError( diff --git a/wavefront_api_client/models/history_entry.py b/wavefront_api_client/models/history_entry.py index bab95da..644fde3 100644 --- a/wavefront_api_client/models/history_entry.py +++ b/wavefront_api_client/models/history_entry.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/history_response.py b/wavefront_api_client/models/history_response.py index c3140ec..f00d5f0 100644 --- a/wavefront_api_client/models/history_response.py +++ b/wavefront_api_client/models/history_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/ingestion_policy.py b/wavefront_api_client/models/ingestion_policy.py index 8727239..efea48e 100644 --- a/wavefront_api_client/models/ingestion_policy.py +++ b/wavefront_api_client/models/ingestion_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -33,70 +33,128 @@ class IngestionPolicy(object): and the value is json key in definition. """ swagger_types = { + 'account_count': 'int', 'customer': 'str', 'description': 'str', + 'group_count': 'int', 'id': 'str', + 'is_limited': 'bool', 'last_updated_account_id': 'str', 'last_updated_ms': 'int', + 'limit_pps': 'int', 'name': 'str', + 'sampled_accounts': 'list[str]', + 'sampled_groups': 'list[UserGroup]', 'sampled_service_accounts': 'list[str]', 'sampled_user_accounts': 'list[str]', + 'scope': 'str', 'service_account_count': 'int', 'user_account_count': 'int' } attribute_map = { + 'account_count': 'accountCount', 'customer': 'customer', 'description': 'description', + 'group_count': 'groupCount', 'id': 'id', + 'is_limited': 'isLimited', 'last_updated_account_id': 'lastUpdatedAccountId', 'last_updated_ms': 'lastUpdatedMs', + 'limit_pps': 'limitPPS', 'name': 'name', + 'sampled_accounts': 'sampledAccounts', + 'sampled_groups': 'sampledGroups', 'sampled_service_accounts': 'sampledServiceAccounts', 'sampled_user_accounts': 'sampledUserAccounts', + 'scope': 'scope', 'service_account_count': 'serviceAccountCount', 'user_account_count': 'userAccountCount' } - def __init__(self, customer=None, description=None, id=None, last_updated_account_id=None, last_updated_ms=None, name=None, sampled_service_accounts=None, sampled_user_accounts=None, service_account_count=None, user_account_count=None, _configuration=None): # noqa: E501 + def __init__(self, account_count=None, customer=None, description=None, group_count=None, id=None, is_limited=None, last_updated_account_id=None, last_updated_ms=None, limit_pps=None, name=None, sampled_accounts=None, sampled_groups=None, sampled_service_accounts=None, sampled_user_accounts=None, scope=None, service_account_count=None, user_account_count=None, _configuration=None): # noqa: E501 """IngestionPolicy - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._account_count = None self._customer = None self._description = None + self._group_count = None self._id = None + self._is_limited = None self._last_updated_account_id = None self._last_updated_ms = None + self._limit_pps = None self._name = None + self._sampled_accounts = None + self._sampled_groups = None self._sampled_service_accounts = None self._sampled_user_accounts = None + self._scope = None self._service_account_count = None self._user_account_count = None self.discriminator = None + if account_count is not None: + self.account_count = account_count if customer is not None: self.customer = customer if description is not None: self.description = description + if group_count is not None: + self.group_count = group_count if id is not None: self.id = id + if is_limited is not None: + self.is_limited = is_limited if last_updated_account_id is not None: self.last_updated_account_id = last_updated_account_id if last_updated_ms is not None: self.last_updated_ms = last_updated_ms + if limit_pps is not None: + self.limit_pps = limit_pps if name is not None: self.name = name + if sampled_accounts is not None: + self.sampled_accounts = sampled_accounts + if sampled_groups is not None: + self.sampled_groups = sampled_groups if sampled_service_accounts is not None: self.sampled_service_accounts = sampled_service_accounts if sampled_user_accounts is not None: self.sampled_user_accounts = sampled_user_accounts + if scope is not None: + self.scope = scope if service_account_count is not None: self.service_account_count = service_account_count if user_account_count is not None: self.user_account_count = user_account_count + @property + def account_count(self): + """Gets the account_count of this IngestionPolicy. # noqa: E501 + + Total number of accounts that are linked to the ingestion policy # noqa: E501 + + :return: The account_count of this IngestionPolicy. # noqa: E501 + :rtype: int + """ + return self._account_count + + @account_count.setter + def account_count(self, account_count): + """Sets the account_count of this IngestionPolicy. + + Total number of accounts that are linked to the ingestion policy # noqa: E501 + + :param account_count: The account_count of this IngestionPolicy. # noqa: E501 + :type: int + """ + + self._account_count = account_count + @property def customer(self): """Gets the customer of this IngestionPolicy. # noqa: E501 @@ -143,6 +201,29 @@ def description(self, description): self._description = description + @property + def group_count(self): + """Gets the group_count of this IngestionPolicy. # noqa: E501 + + Total number of groups that are linked to the ingestion policy # noqa: E501 + + :return: The group_count of this IngestionPolicy. # noqa: E501 + :rtype: int + """ + return self._group_count + + @group_count.setter + def group_count(self, group_count): + """Sets the group_count of this IngestionPolicy. + + Total number of groups that are linked to the ingestion policy # noqa: E501 + + :param group_count: The group_count of this IngestionPolicy. # noqa: E501 + :type: int + """ + + self._group_count = group_count + @property def id(self): """Gets the id of this IngestionPolicy. # noqa: E501 @@ -166,6 +247,29 @@ def id(self, id): self._id = id + @property + def is_limited(self): + """Gets the is_limited of this IngestionPolicy. # noqa: E501 + + Whether the ingestion policy is limited # noqa: E501 + + :return: The is_limited of this IngestionPolicy. # noqa: E501 + :rtype: bool + """ + return self._is_limited + + @is_limited.setter + def is_limited(self, is_limited): + """Sets the is_limited of this IngestionPolicy. + + Whether the ingestion policy is limited # noqa: E501 + + :param is_limited: The is_limited of this IngestionPolicy. # noqa: E501 + :type: bool + """ + + self._is_limited = is_limited + @property def last_updated_account_id(self): """Gets the last_updated_account_id of this IngestionPolicy. # noqa: E501 @@ -212,6 +316,29 @@ def last_updated_ms(self, last_updated_ms): self._last_updated_ms = last_updated_ms + @property + def limit_pps(self): + """Gets the limit_pps of this IngestionPolicy. # noqa: E501 + + The PPS limit of the ingestion policy # noqa: E501 + + :return: The limit_pps of this IngestionPolicy. # noqa: E501 + :rtype: int + """ + return self._limit_pps + + @limit_pps.setter + def limit_pps(self, limit_pps): + """Sets the limit_pps of this IngestionPolicy. + + The PPS limit of the ingestion policy # noqa: E501 + + :param limit_pps: The limit_pps of this IngestionPolicy. # noqa: E501 + :type: int + """ + + self._limit_pps = limit_pps + @property def name(self): """Gets the name of this IngestionPolicy. # noqa: E501 @@ -235,6 +362,52 @@ def name(self, name): self._name = name + @property + def sampled_accounts(self): + """Gets the sampled_accounts of this IngestionPolicy. # noqa: E501 + + A sample of the accounts assigned to this ingestion policy. Please use the Ingestion Policy facet of the Account Search API to get the full list of accounts for this policy # noqa: E501 + + :return: The sampled_accounts of this IngestionPolicy. # noqa: E501 + :rtype: list[str] + """ + return self._sampled_accounts + + @sampled_accounts.setter + def sampled_accounts(self, sampled_accounts): + """Sets the sampled_accounts of this IngestionPolicy. + + A sample of the accounts assigned to this ingestion policy. Please use the Ingestion Policy facet of the Account Search API to get the full list of accounts for this policy # noqa: E501 + + :param sampled_accounts: The sampled_accounts of this IngestionPolicy. # noqa: E501 + :type: list[str] + """ + + self._sampled_accounts = sampled_accounts + + @property + def sampled_groups(self): + """Gets the sampled_groups of this IngestionPolicy. # noqa: E501 + + A sample of the groups assigned to this ingestion policy. Please use the Ingestion Policy facet of the Group Search API to get the full list of groups for this policy # noqa: E501 + + :return: The sampled_groups of this IngestionPolicy. # noqa: E501 + :rtype: list[UserGroup] + """ + return self._sampled_groups + + @sampled_groups.setter + def sampled_groups(self, sampled_groups): + """Sets the sampled_groups of this IngestionPolicy. + + A sample of the groups assigned to this ingestion policy. Please use the Ingestion Policy facet of the Group Search API to get the full list of groups for this policy # noqa: E501 + + :param sampled_groups: The sampled_groups of this IngestionPolicy. # noqa: E501 + :type: list[UserGroup] + """ + + self._sampled_groups = sampled_groups + @property def sampled_service_accounts(self): """Gets the sampled_service_accounts of this IngestionPolicy. # noqa: E501 @@ -281,6 +454,36 @@ def sampled_user_accounts(self, sampled_user_accounts): self._sampled_user_accounts = sampled_user_accounts + @property + def scope(self): + """Gets the scope of this IngestionPolicy. # noqa: E501 + + The scope of the ingestion policy # noqa: E501 + + :return: The scope of this IngestionPolicy. # noqa: E501 + :rtype: str + """ + return self._scope + + @scope.setter + def scope(self, scope): + """Sets the scope of this IngestionPolicy. + + The scope of the ingestion policy # noqa: E501 + + :param scope: The scope of this IngestionPolicy. # noqa: E501 + :type: str + """ + allowed_values = ["ACCOUNT", "GROUP"] # noqa: E501 + if (self._configuration.client_side_validation and + scope not in allowed_values): + raise ValueError( + "Invalid value for `scope` ({0}), must be one of {1}" # noqa: E501 + .format(scope, allowed_values) + ) + + self._scope = scope + @property def service_account_count(self): """Gets the service_account_count of this IngestionPolicy. # noqa: E501 diff --git a/wavefront_api_client/models/ingestion_policy_mapping.py b/wavefront_api_client/models/ingestion_policy_mapping.py index e715594..9d99ca4 100644 --- a/wavefront_api_client/models/ingestion_policy_mapping.py +++ b/wavefront_api_client/models/ingestion_policy_mapping.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -34,32 +34,38 @@ class IngestionPolicyMapping(object): """ swagger_types = { 'accounts': 'list[str]', + 'groups': 'list[str]', 'ingestion_policy_id': 'str' } attribute_map = { 'accounts': 'accounts', + 'groups': 'groups', 'ingestion_policy_id': 'ingestionPolicyId' } - def __init__(self, accounts=None, ingestion_policy_id=None, _configuration=None): # noqa: E501 + def __init__(self, accounts=None, groups=None, ingestion_policy_id=None, _configuration=None): # noqa: E501 """IngestionPolicyMapping - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._accounts = None + self._groups = None self._ingestion_policy_id = None self.discriminator = None - self.accounts = accounts + if accounts is not None: + self.accounts = accounts + if groups is not None: + self.groups = groups self.ingestion_policy_id = ingestion_policy_id @property def accounts(self): """Gets the accounts of this IngestionPolicyMapping. # noqa: E501 - The list of accounts that should be linked to the ingestion policy # noqa: E501 + The list of accounts that should be linked/unlinked to/from the ingestion policy # noqa: E501 :return: The accounts of this IngestionPolicyMapping. # noqa: E501 :rtype: list[str] @@ -70,16 +76,37 @@ def accounts(self): def accounts(self, accounts): """Sets the accounts of this IngestionPolicyMapping. - The list of accounts that should be linked to the ingestion policy # noqa: E501 + The list of accounts that should be linked/unlinked to/from the ingestion policy # noqa: E501 :param accounts: The accounts of this IngestionPolicyMapping. # noqa: E501 :type: list[str] """ - if self._configuration.client_side_validation and accounts is None: - raise ValueError("Invalid value for `accounts`, must not be `None`") # noqa: E501 self._accounts = accounts + @property + def groups(self): + """Gets the groups of this IngestionPolicyMapping. # noqa: E501 + + The list of groups that should be linked/unlinked to/from the ingestion policy # noqa: E501 + + :return: The groups of this IngestionPolicyMapping. # noqa: E501 + :rtype: list[str] + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this IngestionPolicyMapping. + + The list of groups that should be linked/unlinked to/from the ingestion policy # noqa: E501 + + :param groups: The groups of this IngestionPolicyMapping. # noqa: E501 + :type: list[str] + """ + + self._groups = groups + @property def ingestion_policy_id(self): """Gets the ingestion_policy_id of this IngestionPolicyMapping. # noqa: E501 diff --git a/wavefront_api_client/models/install_alerts.py b/wavefront_api_client/models/install_alerts.py index 7c72492..2272771 100644 --- a/wavefront_api_client/models/install_alerts.py +++ b/wavefront_api_client/models/install_alerts.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration.py b/wavefront_api_client/models/integration.py index 8ddb96a..d42cc34 100644 --- a/wavefront_api_client/models/integration.py +++ b/wavefront_api_client/models/integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -42,10 +42,12 @@ class Integration(object): 'dashboards': 'list[IntegrationDashboard]', 'deleted': 'bool', 'description': 'str', + 'have_metric_dropdown': 'bool', 'hidden': 'bool', 'icon': 'str', 'id': 'str', 'metrics': 'IntegrationMetrics', + 'metrics_docs': 'str', 'name': 'str', 'overview': 'str', 'setup': 'str', @@ -65,10 +67,12 @@ class Integration(object): 'dashboards': 'dashboards', 'deleted': 'deleted', 'description': 'description', + 'have_metric_dropdown': 'haveMetricDropdown', 'hidden': 'hidden', 'icon': 'icon', 'id': 'id', 'metrics': 'metrics', + 'metrics_docs': 'metricsDocs', 'name': 'name', 'overview': 'overview', 'setup': 'setup', @@ -78,7 +82,7 @@ class Integration(object): 'version': 'version' } - def __init__(self, alerts=None, alias_integrations=None, alias_of=None, base_url=None, created_epoch_millis=None, creator_id=None, dashboards=None, deleted=None, description=None, hidden=None, icon=None, id=None, metrics=None, name=None, overview=None, setup=None, status=None, updated_epoch_millis=None, updater_id=None, version=None, _configuration=None): # noqa: E501 + def __init__(self, alerts=None, alias_integrations=None, alias_of=None, base_url=None, created_epoch_millis=None, creator_id=None, dashboards=None, deleted=None, description=None, have_metric_dropdown=None, hidden=None, icon=None, id=None, metrics=None, metrics_docs=None, name=None, overview=None, setup=None, status=None, updated_epoch_millis=None, updater_id=None, version=None, _configuration=None): # noqa: E501 """Integration - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -93,10 +97,12 @@ def __init__(self, alerts=None, alias_integrations=None, alias_of=None, base_url self._dashboards = None self._deleted = None self._description = None + self._have_metric_dropdown = None self._hidden = None self._icon = None self._id = None self._metrics = None + self._metrics_docs = None self._name = None self._overview = None self._setup = None @@ -123,12 +129,15 @@ def __init__(self, alerts=None, alias_integrations=None, alias_of=None, base_url if deleted is not None: self.deleted = deleted self.description = description + self.have_metric_dropdown = have_metric_dropdown self.hidden = hidden self.icon = icon if id is not None: self.id = id if metrics is not None: self.metrics = metrics + if metrics_docs is not None: + self.metrics_docs = metrics_docs self.name = name if overview is not None: self.overview = overview @@ -345,6 +354,31 @@ def description(self, description): self._description = description + @property + def have_metric_dropdown(self): + """Gets the have_metric_dropdown of this Integration. # noqa: E501 + + Integration have metric dropdown or not # noqa: E501 + + :return: The have_metric_dropdown of this Integration. # noqa: E501 + :rtype: bool + """ + return self._have_metric_dropdown + + @have_metric_dropdown.setter + def have_metric_dropdown(self, have_metric_dropdown): + """Sets the have_metric_dropdown of this Integration. + + Integration have metric dropdown or not # noqa: E501 + + :param have_metric_dropdown: The have_metric_dropdown of this Integration. # noqa: E501 + :type: bool + """ + if self._configuration.client_side_validation and have_metric_dropdown is None: + raise ValueError("Invalid value for `have_metric_dropdown`, must not be `None`") # noqa: E501 + + self._have_metric_dropdown = have_metric_dropdown + @property def hidden(self): """Gets the hidden of this Integration. # noqa: E501 @@ -437,6 +471,29 @@ def metrics(self, metrics): self._metrics = metrics + @property + def metrics_docs(self): + """Gets the metrics_docs of this Integration. # noqa: E501 + + Metric Preview File Name # noqa: E501 + + :return: The metrics_docs of this Integration. # noqa: E501 + :rtype: str + """ + return self._metrics_docs + + @metrics_docs.setter + def metrics_docs(self, metrics_docs): + """Sets the metrics_docs of this Integration. + + Metric Preview File Name # noqa: E501 + + :param metrics_docs: The metrics_docs of this Integration. # noqa: E501 + :type: str + """ + + self._metrics_docs = metrics_docs + @property def name(self): """Gets the name of this Integration. # noqa: E501 diff --git a/wavefront_api_client/models/integration_alert.py b/wavefront_api_client/models/integration_alert.py index 3a38b13..caec4f1 100644 --- a/wavefront_api_client/models/integration_alert.py +++ b/wavefront_api_client/models/integration_alert.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration_alias.py b/wavefront_api_client/models/integration_alias.py index 8f049c6..819d874 100644 --- a/wavefront_api_client/models/integration_alias.py +++ b/wavefront_api_client/models/integration_alias.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration_dashboard.py b/wavefront_api_client/models/integration_dashboard.py index f1a6f45..9b7a0bf 100644 --- a/wavefront_api_client/models/integration_dashboard.py +++ b/wavefront_api_client/models/integration_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration_manifest_group.py b/wavefront_api_client/models/integration_manifest_group.py index 26875e7..4285306 100644 --- a/wavefront_api_client/models/integration_manifest_group.py +++ b/wavefront_api_client/models/integration_manifest_group.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration_metrics.py b/wavefront_api_client/models/integration_metrics.py index f447022..d0b328f 100644 --- a/wavefront_api_client/models/integration_metrics.py +++ b/wavefront_api_client/models/integration_metrics.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/integration_status.py b/wavefront_api_client/models/integration_status.py index 05e1250..f0e358b 100644 --- a/wavefront_api_client/models/integration_status.py +++ b/wavefront_api_client/models/integration_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/json_node.py b/wavefront_api_client/models/json_node.py index b0b699d..9d94f53 100644 --- a/wavefront_api_client/models/json_node.py +++ b/wavefront_api_client/models/json_node.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/kubernetes_component.py b/wavefront_api_client/models/kubernetes_component.py index 823fea4..b88a543 100644 --- a/wavefront_api_client/models/kubernetes_component.py +++ b/wavefront_api_client/models/kubernetes_component.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/kubernetes_component_status.py b/wavefront_api_client/models/kubernetes_component_status.py index 4d2a866..86b22b3 100644 --- a/wavefront_api_client/models/kubernetes_component_status.py +++ b/wavefront_api_client/models/kubernetes_component_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/logical_type.py b/wavefront_api_client/models/logical_type.py index 255f011..0350271 100644 --- a/wavefront_api_client/models/logical_type.py +++ b/wavefront_api_client/models/logical_type.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/maintenance_window.py b/wavefront_api_client/models/maintenance_window.py index ac921a9..8377447 100644 --- a/wavefront_api_client/models/maintenance_window.py +++ b/wavefront_api_client/models/maintenance_window.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -41,6 +41,7 @@ class MaintenanceWindow(object): 'host_tag_group_host_names_group_anded': 'bool', 'id': 'str', 'point_tag_filter': 'str', + 'point_tag_filter_anded': 'bool', 'reason': 'str', 'relevant_customer_tags': 'list[str]', 'relevant_customer_tags_anded': 'bool', @@ -65,6 +66,7 @@ class MaintenanceWindow(object): 'host_tag_group_host_names_group_anded': 'hostTagGroupHostNamesGroupAnded', 'id': 'id', 'point_tag_filter': 'pointTagFilter', + 'point_tag_filter_anded': 'pointTagFilterAnded', 'reason': 'reason', 'relevant_customer_tags': 'relevantCustomerTags', 'relevant_customer_tags_anded': 'relevantCustomerTagsAnded', @@ -80,7 +82,7 @@ class MaintenanceWindow(object): 'updater_id': 'updaterId' } - def __init__(self, created_epoch_millis=None, creator_id=None, customer_id=None, end_time_in_seconds=None, event_name=None, host_tag_group_host_names_group_anded=None, id=None, point_tag_filter=None, reason=None, relevant_customer_tags=None, relevant_customer_tags_anded=None, relevant_host_names=None, relevant_host_tags=None, relevant_host_tags_anded=None, running_state=None, sort_attr=None, start_time_in_seconds=None, targets=None, title=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + def __init__(self, created_epoch_millis=None, creator_id=None, customer_id=None, end_time_in_seconds=None, event_name=None, host_tag_group_host_names_group_anded=None, id=None, point_tag_filter=None, point_tag_filter_anded=None, reason=None, relevant_customer_tags=None, relevant_customer_tags_anded=None, relevant_host_names=None, relevant_host_tags=None, relevant_host_tags_anded=None, running_state=None, sort_attr=None, start_time_in_seconds=None, targets=None, title=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 """MaintenanceWindow - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -94,6 +96,7 @@ def __init__(self, created_epoch_millis=None, creator_id=None, customer_id=None, self._host_tag_group_host_names_group_anded = None self._id = None self._point_tag_filter = None + self._point_tag_filter_anded = None self._reason = None self._relevant_customer_tags = None self._relevant_customer_tags_anded = None @@ -124,6 +127,8 @@ def __init__(self, created_epoch_millis=None, creator_id=None, customer_id=None, self.id = id if point_tag_filter is not None: self.point_tag_filter = point_tag_filter + if point_tag_filter_anded is not None: + self.point_tag_filter_anded = point_tag_filter_anded self.reason = reason self.relevant_customer_tags = relevant_customer_tags if relevant_customer_tags_anded is not None: @@ -325,6 +330,29 @@ def point_tag_filter(self, point_tag_filter): self._point_tag_filter = point_tag_filter + @property + def point_tag_filter_anded(self): + """Gets the point_tag_filter_anded of this MaintenanceWindow. # noqa: E501 + + Whether to AND point tags filter listed in pointTagFilter. If true, a timeseries must contain the point tags along with other filters in order for the maintenance window to apply.If false, the tags are OR'ed, the customer must contain one of the tags. Default: false # noqa: E501 + + :return: The point_tag_filter_anded of this MaintenanceWindow. # noqa: E501 + :rtype: bool + """ + return self._point_tag_filter_anded + + @point_tag_filter_anded.setter + def point_tag_filter_anded(self, point_tag_filter_anded): + """Sets the point_tag_filter_anded of this MaintenanceWindow. + + Whether to AND point tags filter listed in pointTagFilter. If true, a timeseries must contain the point tags along with other filters in order for the maintenance window to apply.If false, the tags are OR'ed, the customer must contain one of the tags. Default: false # noqa: E501 + + :param point_tag_filter_anded: The point_tag_filter_anded of this MaintenanceWindow. # noqa: E501 + :type: bool + """ + + self._point_tag_filter_anded = point_tag_filter_anded + @property def reason(self): """Gets the reason of this MaintenanceWindow. # noqa: E501 diff --git a/wavefront_api_client/models/message.py b/wavefront_api_client/models/message.py index b434646..e477e13 100644 --- a/wavefront_api_client/models/message.py +++ b/wavefront_api_client/models/message.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/metric_details.py b/wavefront_api_client/models/metric_details.py index 639e319..7df55f4 100644 --- a/wavefront_api_client/models/metric_details.py +++ b/wavefront_api_client/models/metric_details.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/metric_details_response.py b/wavefront_api_client/models/metric_details_response.py index 00ff880..0c30217 100644 --- a/wavefront_api_client/models/metric_details_response.py +++ b/wavefront_api_client/models/metric_details_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/metric_status.py b/wavefront_api_client/models/metric_status.py index 52cc7f1..24a168a 100644 --- a/wavefront_api_client/models/metric_status.py +++ b/wavefront_api_client/models/metric_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/metrics_policy_read_model.py b/wavefront_api_client/models/metrics_policy_read_model.py index df178ec..de30781 100644 --- a/wavefront_api_client/models/metrics_policy_read_model.py +++ b/wavefront_api_client/models/metrics_policy_read_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/metrics_policy_write_model.py b/wavefront_api_client/models/metrics_policy_write_model.py index de9bc0d..d13bdb7 100644 --- a/wavefront_api_client/models/metrics_policy_write_model.py +++ b/wavefront_api_client/models/metrics_policy_write_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/module.py b/wavefront_api_client/models/module.py index 61813e2..358951a 100644 --- a/wavefront_api_client/models/module.py +++ b/wavefront_api_client/models/module.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/module_descriptor.py b/wavefront_api_client/models/module_descriptor.py index 722550b..0e93cf1 100644 --- a/wavefront_api_client/models/module_descriptor.py +++ b/wavefront_api_client/models/module_descriptor.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/module_layer.py b/wavefront_api_client/models/module_layer.py index 839fca0..944b4fb 100644 --- a/wavefront_api_client/models/module_layer.py +++ b/wavefront_api_client/models/module_layer.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/monitored_application_dto.py b/wavefront_api_client/models/monitored_application_dto.py index 80689f0..1013034 100644 --- a/wavefront_api_client/models/monitored_application_dto.py +++ b/wavefront_api_client/models/monitored_application_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/monitored_cluster.py b/wavefront_api_client/models/monitored_cluster.py index 6238dd0..ee69e8e 100644 --- a/wavefront_api_client/models/monitored_cluster.py +++ b/wavefront_api_client/models/monitored_cluster.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/monitored_service_dto.py b/wavefront_api_client/models/monitored_service_dto.py index 49faa93..f64ffdd 100644 --- a/wavefront_api_client/models/monitored_service_dto.py +++ b/wavefront_api_client/models/monitored_service_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -34,6 +34,7 @@ class MonitoredServiceDTO(object): """ swagger_types = { 'application': 'str', + 'component': 'str', 'created': 'int', 'custom_dashboard_link': 'str', 'hidden': 'bool', @@ -41,12 +42,15 @@ class MonitoredServiceDTO(object): 'last_updated': 'int', 'satisfied_latency_millis': 'int', 'service': 'str', + 'service_instance_count': 'int', + 'source': 'str', 'status': 'str', 'update_user_id': 'str' } attribute_map = { 'application': 'application', + 'component': 'component', 'created': 'created', 'custom_dashboard_link': 'customDashboardLink', 'hidden': 'hidden', @@ -54,17 +58,20 @@ class MonitoredServiceDTO(object): 'last_updated': 'lastUpdated', 'satisfied_latency_millis': 'satisfiedLatencyMillis', 'service': 'service', + 'service_instance_count': 'serviceInstanceCount', + 'source': 'source', 'status': 'status', 'update_user_id': 'updateUserId' } - def __init__(self, application=None, created=None, custom_dashboard_link=None, hidden=None, last_reported=None, last_updated=None, satisfied_latency_millis=None, service=None, status=None, update_user_id=None, _configuration=None): # noqa: E501 + def __init__(self, application=None, component=None, created=None, custom_dashboard_link=None, hidden=None, last_reported=None, last_updated=None, satisfied_latency_millis=None, service=None, service_instance_count=None, source=None, status=None, update_user_id=None, _configuration=None): # noqa: E501 """MonitoredServiceDTO - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration self._application = None + self._component = None self._created = None self._custom_dashboard_link = None self._hidden = None @@ -72,11 +79,14 @@ def __init__(self, application=None, created=None, custom_dashboard_link=None, h self._last_updated = None self._satisfied_latency_millis = None self._service = None + self._service_instance_count = None + self._source = None self._status = None self._update_user_id = None self.discriminator = None self.application = application + self.component = component if created is not None: self.created = created if custom_dashboard_link is not None: @@ -90,6 +100,8 @@ def __init__(self, application=None, created=None, custom_dashboard_link=None, h if satisfied_latency_millis is not None: self.satisfied_latency_millis = satisfied_latency_millis self.service = service + self.service_instance_count = service_instance_count + self.source = source if status is not None: self.status = status if update_user_id is not None: @@ -120,6 +132,31 @@ def application(self, application): self._application = application + @property + def component(self): + """Gets the component of this MonitoredServiceDTO. # noqa: E501 + + Component Name of the monitored service # noqa: E501 + + :return: The component of this MonitoredServiceDTO. # noqa: E501 + :rtype: str + """ + return self._component + + @component.setter + def component(self, component): + """Sets the component of this MonitoredServiceDTO. + + Component Name of the monitored service # noqa: E501 + + :param component: The component of this MonitoredServiceDTO. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and component is None: + raise ValueError("Invalid value for `component`, must not be `None`") # noqa: E501 + + self._component = component + @property def created(self): """Gets the created of this MonitoredServiceDTO. # noqa: E501 @@ -283,6 +320,56 @@ def service(self, service): self._service = service + @property + def service_instance_count(self): + """Gets the service_instance_count of this MonitoredServiceDTO. # noqa: E501 + + Service Instance count of the monitored service # noqa: E501 + + :return: The service_instance_count of this MonitoredServiceDTO. # noqa: E501 + :rtype: int + """ + return self._service_instance_count + + @service_instance_count.setter + def service_instance_count(self, service_instance_count): + """Sets the service_instance_count of this MonitoredServiceDTO. + + Service Instance count of the monitored service # noqa: E501 + + :param service_instance_count: The service_instance_count of this MonitoredServiceDTO. # noqa: E501 + :type: int + """ + if self._configuration.client_side_validation and service_instance_count is None: + raise ValueError("Invalid value for `service_instance_count`, must not be `None`") # noqa: E501 + + self._service_instance_count = service_instance_count + + @property + def source(self): + """Gets the source of this MonitoredServiceDTO. # noqa: E501 + + Source of the monitored service # noqa: E501 + + :return: The source of this MonitoredServiceDTO. # noqa: E501 + :rtype: str + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this MonitoredServiceDTO. + + Source of the monitored service # noqa: E501 + + :param source: The source of this MonitoredServiceDTO. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and source is None: + raise ValueError("Invalid value for `source`, must not be `None`") # noqa: E501 + + self._source = source + @property def status(self): """Gets the status of this MonitoredServiceDTO. # noqa: E501 diff --git a/wavefront_api_client/models/new_relic_configuration.py b/wavefront_api_client/models/new_relic_configuration.py index dfcb698..edcfaa6 100644 --- a/wavefront_api_client/models/new_relic_configuration.py +++ b/wavefront_api_client/models/new_relic_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/new_relic_metric_filters.py b/wavefront_api_client/models/new_relic_metric_filters.py index b23e6b8..200f1c7 100644 --- a/wavefront_api_client/models/new_relic_metric_filters.py +++ b/wavefront_api_client/models/new_relic_metric_filters.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/notificant.py b/wavefront_api_client/models/notificant.py index 851a000..ccb1160 100644 --- a/wavefront_api_client/models/notificant.py +++ b/wavefront_api_client/models/notificant.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/notification_messages.py b/wavefront_api_client/models/notification_messages.py index 69531ca..04ae911 100644 --- a/wavefront_api_client/models/notification_messages.py +++ b/wavefront_api_client/models/notification_messages.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/package.py b/wavefront_api_client/models/package.py index d94110f..8eab274 100644 --- a/wavefront_api_client/models/package.py +++ b/wavefront_api_client/models/package.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged.py b/wavefront_api_client/models/paged.py index 434f332..d867372 100644 --- a/wavefront_api_client/models/paged.py +++ b/wavefront_api_client/models/paged.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_account.py b/wavefront_api_client/models/paged_account.py index 0e09b5a..9c5723e 100644 --- a/wavefront_api_client/models/paged_account.py +++ b/wavefront_api_client/models/paged_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_alert.py b/wavefront_api_client/models/paged_alert.py index 0eafcca..c2d37aa 100644 --- a/wavefront_api_client/models/paged_alert.py +++ b/wavefront_api_client/models/paged_alert.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_alert_with_stats.py b/wavefront_api_client/models/paged_alert_with_stats.py index fed1a7f..c21375c 100644 --- a/wavefront_api_client/models/paged_alert_with_stats.py +++ b/wavefront_api_client/models/paged_alert_with_stats.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_anomaly.py b/wavefront_api_client/models/paged_anomaly.py index e4f385d..05e3ba3 100644 --- a/wavefront_api_client/models/paged_anomaly.py +++ b/wavefront_api_client/models/paged_anomaly.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_api_token_model.py b/wavefront_api_client/models/paged_api_token_model.py new file mode 100644 index 0000000..42572e8 --- /dev/null +++ b/wavefront_api_client/models/paged_api_token_model.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedApiTokenModel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[ApiTokenModel]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedApiTokenModel - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedApiTokenModel. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedApiTokenModel. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedApiTokenModel. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedApiTokenModel. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedApiTokenModel. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedApiTokenModel. # noqa: E501 + :rtype: list[ApiTokenModel] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedApiTokenModel. + + List of requested items # noqa: E501 + + :param items: The items of this PagedApiTokenModel. # noqa: E501 + :type: list[ApiTokenModel] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedApiTokenModel. # noqa: E501 + + + :return: The limit of this PagedApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedApiTokenModel. + + + :param limit: The limit of this PagedApiTokenModel. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedApiTokenModel. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedApiTokenModel. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedApiTokenModel. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedApiTokenModel. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedApiTokenModel. # noqa: E501 + + + :return: The offset of this PagedApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedApiTokenModel. + + + :param offset: The offset of this PagedApiTokenModel. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedApiTokenModel. # noqa: E501 + + + :return: The sort of this PagedApiTokenModel. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedApiTokenModel. + + + :param sort: The sort of this PagedApiTokenModel. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedApiTokenModel. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedApiTokenModel. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedApiTokenModel. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedApiTokenModel. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedApiTokenModel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedApiTokenModel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedApiTokenModel): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_cloud_integration.py b/wavefront_api_client/models/paged_cloud_integration.py index 8a7d20b..69dafbc 100644 --- a/wavefront_api_client/models/paged_cloud_integration.py +++ b/wavefront_api_client/models/paged_cloud_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_customer_facing_user_object.py b/wavefront_api_client/models/paged_customer_facing_user_object.py index edccc27..823c05e 100644 --- a/wavefront_api_client/models/paged_customer_facing_user_object.py +++ b/wavefront_api_client/models/paged_customer_facing_user_object.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_dashboard.py b/wavefront_api_client/models/paged_dashboard.py index 47c9799..6c905ef 100644 --- a/wavefront_api_client/models/paged_dashboard.py +++ b/wavefront_api_client/models/paged_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_derived_metric_definition.py b/wavefront_api_client/models/paged_derived_metric_definition.py index e8df799..dfd95ce 100644 --- a/wavefront_api_client/models/paged_derived_metric_definition.py +++ b/wavefront_api_client/models/paged_derived_metric_definition.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_derived_metric_definition_with_stats.py b/wavefront_api_client/models/paged_derived_metric_definition_with_stats.py index e60dd22..d24316c 100644 --- a/wavefront_api_client/models/paged_derived_metric_definition_with_stats.py +++ b/wavefront_api_client/models/paged_derived_metric_definition_with_stats.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_event.py b/wavefront_api_client/models/paged_event.py index 5cd8c0d..38046ef 100644 --- a/wavefront_api_client/models/paged_event.py +++ b/wavefront_api_client/models/paged_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_external_link.py b/wavefront_api_client/models/paged_external_link.py index 9a8d7b7..473c474 100644 --- a/wavefront_api_client/models/paged_external_link.py +++ b/wavefront_api_client/models/paged_external_link.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_ingestion_policy.py b/wavefront_api_client/models/paged_ingestion_policy.py index dc13fdc..34581b2 100644 --- a/wavefront_api_client/models/paged_ingestion_policy.py +++ b/wavefront_api_client/models/paged_ingestion_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_integration.py b/wavefront_api_client/models/paged_integration.py index 108f56d..d0f8845 100644 --- a/wavefront_api_client/models/paged_integration.py +++ b/wavefront_api_client/models/paged_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_maintenance_window.py b/wavefront_api_client/models/paged_maintenance_window.py index 76efada..fb07a68 100644 --- a/wavefront_api_client/models/paged_maintenance_window.py +++ b/wavefront_api_client/models/paged_maintenance_window.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_message.py b/wavefront_api_client/models/paged_message.py index 09f0c9d..2b667f0 100644 --- a/wavefront_api_client/models/paged_message.py +++ b/wavefront_api_client/models/paged_message.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_monitored_application_dto.py b/wavefront_api_client/models/paged_monitored_application_dto.py index 1eb9212..2207c1e 100644 --- a/wavefront_api_client/models/paged_monitored_application_dto.py +++ b/wavefront_api_client/models/paged_monitored_application_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_monitored_cluster.py b/wavefront_api_client/models/paged_monitored_cluster.py index 150bde1..4bbe1a5 100644 --- a/wavefront_api_client/models/paged_monitored_cluster.py +++ b/wavefront_api_client/models/paged_monitored_cluster.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_monitored_service_dto.py b/wavefront_api_client/models/paged_monitored_service_dto.py index 4b395bc..d17ffbc 100644 --- a/wavefront_api_client/models/paged_monitored_service_dto.py +++ b/wavefront_api_client/models/paged_monitored_service_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_notificant.py b/wavefront_api_client/models/paged_notificant.py index ff97f0b..9e9f65c 100644 --- a/wavefront_api_client/models/paged_notificant.py +++ b/wavefront_api_client/models/paged_notificant.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_proxy.py b/wavefront_api_client/models/paged_proxy.py index 3b78139..c920de5 100644 --- a/wavefront_api_client/models/paged_proxy.py +++ b/wavefront_api_client/models/paged_proxy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_recent_app_map_search.py b/wavefront_api_client/models/paged_recent_app_map_search.py new file mode 100644 index 0000000..fa65ae7 --- /dev/null +++ b/wavefront_api_client/models/paged_recent_app_map_search.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedRecentAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[RecentAppMapSearch]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedRecentAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedRecentAppMapSearch. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedRecentAppMapSearch. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedRecentAppMapSearch. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedRecentAppMapSearch. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: list[RecentAppMapSearch] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedRecentAppMapSearch. + + List of requested items # noqa: E501 + + :param items: The items of this PagedRecentAppMapSearch. # noqa: E501 + :type: list[RecentAppMapSearch] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedRecentAppMapSearch. # noqa: E501 + + + :return: The limit of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedRecentAppMapSearch. + + + :param limit: The limit of this PagedRecentAppMapSearch. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedRecentAppMapSearch. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedRecentAppMapSearch. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedRecentAppMapSearch. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedRecentAppMapSearch. # noqa: E501 + + + :return: The offset of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedRecentAppMapSearch. + + + :param offset: The offset of this PagedRecentAppMapSearch. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedRecentAppMapSearch. # noqa: E501 + + + :return: The sort of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedRecentAppMapSearch. + + + :param sort: The sort of this PagedRecentAppMapSearch. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedRecentAppMapSearch. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedRecentAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedRecentAppMapSearch. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedRecentAppMapSearch. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedRecentAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedRecentAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedRecentAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_recent_traces_search.py b/wavefront_api_client/models/paged_recent_traces_search.py new file mode 100644 index 0000000..84ee4ac --- /dev/null +++ b/wavefront_api_client/models/paged_recent_traces_search.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedRecentTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[RecentTracesSearch]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedRecentTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedRecentTracesSearch. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedRecentTracesSearch. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedRecentTracesSearch. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedRecentTracesSearch. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedRecentTracesSearch. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedRecentTracesSearch. # noqa: E501 + :rtype: list[RecentTracesSearch] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedRecentTracesSearch. + + List of requested items # noqa: E501 + + :param items: The items of this PagedRecentTracesSearch. # noqa: E501 + :type: list[RecentTracesSearch] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedRecentTracesSearch. # noqa: E501 + + + :return: The limit of this PagedRecentTracesSearch. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedRecentTracesSearch. + + + :param limit: The limit of this PagedRecentTracesSearch. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedRecentTracesSearch. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedRecentTracesSearch. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedRecentTracesSearch. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedRecentTracesSearch. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedRecentTracesSearch. # noqa: E501 + + + :return: The offset of this PagedRecentTracesSearch. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedRecentTracesSearch. + + + :param offset: The offset of this PagedRecentTracesSearch. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedRecentTracesSearch. # noqa: E501 + + + :return: The sort of this PagedRecentTracesSearch. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedRecentTracesSearch. + + + :param sort: The sort of this PagedRecentTracesSearch. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedRecentTracesSearch. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedRecentTracesSearch. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedRecentTracesSearch. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedRecentTracesSearch. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedRecentTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedRecentTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedRecentTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_related_event.py b/wavefront_api_client/models/paged_related_event.py index 88e1cf8..58126dc 100644 --- a/wavefront_api_client/models/paged_related_event.py +++ b/wavefront_api_client/models/paged_related_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_report_event_anomaly_dto.py b/wavefront_api_client/models/paged_report_event_anomaly_dto.py index f819b58..ee0593b 100644 --- a/wavefront_api_client/models/paged_report_event_anomaly_dto.py +++ b/wavefront_api_client/models/paged_report_event_anomaly_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_role_dto.py b/wavefront_api_client/models/paged_role_dto.py index 2f761ee..00b76b2 100644 --- a/wavefront_api_client/models/paged_role_dto.py +++ b/wavefront_api_client/models/paged_role_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_saved_app_map_search.py b/wavefront_api_client/models/paged_saved_app_map_search.py new file mode 100644 index 0000000..d3d9594 --- /dev/null +++ b/wavefront_api_client/models/paged_saved_app_map_search.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedSavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[SavedAppMapSearch]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedSavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedSavedAppMapSearch. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedSavedAppMapSearch. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedSavedAppMapSearch. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedSavedAppMapSearch. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: list[SavedAppMapSearch] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedSavedAppMapSearch. + + List of requested items # noqa: E501 + + :param items: The items of this PagedSavedAppMapSearch. # noqa: E501 + :type: list[SavedAppMapSearch] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedSavedAppMapSearch. # noqa: E501 + + + :return: The limit of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedSavedAppMapSearch. + + + :param limit: The limit of this PagedSavedAppMapSearch. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedSavedAppMapSearch. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedSavedAppMapSearch. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedSavedAppMapSearch. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedSavedAppMapSearch. # noqa: E501 + + + :return: The offset of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedSavedAppMapSearch. + + + :param offset: The offset of this PagedSavedAppMapSearch. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedSavedAppMapSearch. # noqa: E501 + + + :return: The sort of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedSavedAppMapSearch. + + + :param sort: The sort of this PagedSavedAppMapSearch. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedSavedAppMapSearch. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedSavedAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedSavedAppMapSearch. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedSavedAppMapSearch. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedSavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedSavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedSavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_saved_app_map_search_group.py b/wavefront_api_client/models/paged_saved_app_map_search_group.py new file mode 100644 index 0000000..d3fc164 --- /dev/null +++ b/wavefront_api_client/models/paged_saved_app_map_search_group.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedSavedAppMapSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[SavedAppMapSearchGroup]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedSavedAppMapSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedSavedAppMapSearchGroup. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedSavedAppMapSearchGroup. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedSavedAppMapSearchGroup. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: list[SavedAppMapSearchGroup] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedSavedAppMapSearchGroup. + + List of requested items # noqa: E501 + + :param items: The items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: list[SavedAppMapSearchGroup] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedSavedAppMapSearchGroup. # noqa: E501 + + + :return: The limit of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedSavedAppMapSearchGroup. + + + :param limit: The limit of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedSavedAppMapSearchGroup. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedSavedAppMapSearchGroup. # noqa: E501 + + + :return: The offset of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedSavedAppMapSearchGroup. + + + :param offset: The offset of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedSavedAppMapSearchGroup. # noqa: E501 + + + :return: The sort of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedSavedAppMapSearchGroup. + + + :param sort: The sort of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedSavedAppMapSearchGroup. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedSavedAppMapSearchGroup. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedSavedAppMapSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedSavedAppMapSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedSavedAppMapSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_saved_search.py b/wavefront_api_client/models/paged_saved_search.py index a088bed..8c96216 100644 --- a/wavefront_api_client/models/paged_saved_search.py +++ b/wavefront_api_client/models/paged_saved_search.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_saved_traces_search.py b/wavefront_api_client/models/paged_saved_traces_search.py new file mode 100644 index 0000000..e542675 --- /dev/null +++ b/wavefront_api_client/models/paged_saved_traces_search.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedSavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[SavedTracesSearch]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedSavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedSavedTracesSearch. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedSavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedSavedTracesSearch. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedSavedTracesSearch. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedSavedTracesSearch. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedSavedTracesSearch. # noqa: E501 + :rtype: list[SavedTracesSearch] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedSavedTracesSearch. + + List of requested items # noqa: E501 + + :param items: The items of this PagedSavedTracesSearch. # noqa: E501 + :type: list[SavedTracesSearch] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedSavedTracesSearch. # noqa: E501 + + + :return: The limit of this PagedSavedTracesSearch. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedSavedTracesSearch. + + + :param limit: The limit of this PagedSavedTracesSearch. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedSavedTracesSearch. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedSavedTracesSearch. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedSavedTracesSearch. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedSavedTracesSearch. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedSavedTracesSearch. # noqa: E501 + + + :return: The offset of this PagedSavedTracesSearch. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedSavedTracesSearch. + + + :param offset: The offset of this PagedSavedTracesSearch. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedSavedTracesSearch. # noqa: E501 + + + :return: The sort of this PagedSavedTracesSearch. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedSavedTracesSearch. + + + :param sort: The sort of this PagedSavedTracesSearch. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedSavedTracesSearch. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedSavedTracesSearch. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedSavedTracesSearch. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedSavedTracesSearch. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedSavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedSavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedSavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_saved_traces_search_group.py b/wavefront_api_client/models/paged_saved_traces_search_group.py new file mode 100644 index 0000000..890bab8 --- /dev/null +++ b/wavefront_api_client/models/paged_saved_traces_search_group.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class PagedSavedTracesSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cursor': 'str', + 'items': 'list[SavedTracesSearchGroup]', + 'limit': 'int', + 'more_items': 'bool', + 'offset': 'int', + 'sort': 'Sorting', + 'total_items': 'int' + } + + attribute_map = { + 'cursor': 'cursor', + 'items': 'items', + 'limit': 'limit', + 'more_items': 'moreItems', + 'offset': 'offset', + 'sort': 'sort', + 'total_items': 'totalItems' + } + + def __init__(self, cursor=None, items=None, limit=None, more_items=None, offset=None, sort=None, total_items=None, _configuration=None): # noqa: E501 + """PagedSavedTracesSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._cursor = None + self._items = None + self._limit = None + self._more_items = None + self._offset = None + self._sort = None + self._total_items = None + self.discriminator = None + + if cursor is not None: + self.cursor = cursor + if items is not None: + self.items = items + if limit is not None: + self.limit = limit + if more_items is not None: + self.more_items = more_items + if offset is not None: + self.offset = offset + if sort is not None: + self.sort = sort + if total_items is not None: + self.total_items = total_items + + @property + def cursor(self): + """Gets the cursor of this PagedSavedTracesSearchGroup. # noqa: E501 + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :return: The cursor of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: str + """ + return self._cursor + + @cursor.setter + def cursor(self, cursor): + """Sets the cursor of this PagedSavedTracesSearchGroup. + + The id at which the current (limited) search can be continued to obtain more matching items # noqa: E501 + + :param cursor: The cursor of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: str + """ + + self._cursor = cursor + + @property + def items(self): + """Gets the items of this PagedSavedTracesSearchGroup. # noqa: E501 + + List of requested items # noqa: E501 + + :return: The items of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: list[SavedTracesSearchGroup] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this PagedSavedTracesSearchGroup. + + List of requested items # noqa: E501 + + :param items: The items of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: list[SavedTracesSearchGroup] + """ + + self._items = items + + @property + def limit(self): + """Gets the limit of this PagedSavedTracesSearchGroup. # noqa: E501 + + + :return: The limit of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this PagedSavedTracesSearchGroup. + + + :param limit: The limit of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def more_items(self): + """Gets the more_items of this PagedSavedTracesSearchGroup. # noqa: E501 + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :return: The more_items of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: bool + """ + return self._more_items + + @more_items.setter + def more_items(self, more_items): + """Sets the more_items of this PagedSavedTracesSearchGroup. + + Whether more items are available for return by increment offset or cursor # noqa: E501 + + :param more_items: The more_items of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: bool + """ + + self._more_items = more_items + + @property + def offset(self): + """Gets the offset of this PagedSavedTracesSearchGroup. # noqa: E501 + + + :return: The offset of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: int + """ + return self._offset + + @offset.setter + def offset(self, offset): + """Sets the offset of this PagedSavedTracesSearchGroup. + + + :param offset: The offset of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: int + """ + + self._offset = offset + + @property + def sort(self): + """Gets the sort of this PagedSavedTracesSearchGroup. # noqa: E501 + + + :return: The sort of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: Sorting + """ + return self._sort + + @sort.setter + def sort(self, sort): + """Sets the sort of this PagedSavedTracesSearchGroup. + + + :param sort: The sort of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: Sorting + """ + + self._sort = sort + + @property + def total_items(self): + """Gets the total_items of this PagedSavedTracesSearchGroup. # noqa: E501 + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :return: The total_items of this PagedSavedTracesSearchGroup. # noqa: E501 + :rtype: int + """ + return self._total_items + + @total_items.setter + def total_items(self, total_items): + """Sets the total_items of this PagedSavedTracesSearchGroup. + + An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries # noqa: E501 + + :param total_items: The total_items of this PagedSavedTracesSearchGroup. # noqa: E501 + :type: int + """ + + self._total_items = total_items + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PagedSavedTracesSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PagedSavedTracesSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, PagedSavedTracesSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/paged_service_account.py b/wavefront_api_client/models/paged_service_account.py index c3cb709..16f27b3 100644 --- a/wavefront_api_client/models/paged_service_account.py +++ b/wavefront_api_client/models/paged_service_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_source.py b/wavefront_api_client/models/paged_source.py index 3fd15ac..a292046 100644 --- a/wavefront_api_client/models/paged_source.py +++ b/wavefront_api_client/models/paged_source.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_span_sampling_policy.py b/wavefront_api_client/models/paged_span_sampling_policy.py index b9df3df..ac2a805 100644 --- a/wavefront_api_client/models/paged_span_sampling_policy.py +++ b/wavefront_api_client/models/paged_span_sampling_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/paged_user_group_model.py b/wavefront_api_client/models/paged_user_group_model.py index a4c445b..f632c81 100644 --- a/wavefront_api_client/models/paged_user_group_model.py +++ b/wavefront_api_client/models/paged_user_group_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/point.py b/wavefront_api_client/models/point.py index 297bb8e..df8564f 100644 --- a/wavefront_api_client/models/point.py +++ b/wavefront_api_client/models/point.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/policy_rule_read_model.py b/wavefront_api_client/models/policy_rule_read_model.py index 0f3c17c..b5d1bca 100644 --- a/wavefront_api_client/models/policy_rule_read_model.py +++ b/wavefront_api_client/models/policy_rule_read_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/policy_rule_write_model.py b/wavefront_api_client/models/policy_rule_write_model.py index 8e11deb..23d3062 100644 --- a/wavefront_api_client/models/policy_rule_write_model.py +++ b/wavefront_api_client/models/policy_rule_write_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/proxy.py b/wavefront_api_client/models/proxy.py index e853862..879168b 100644 --- a/wavefront_api_client/models/proxy.py +++ b/wavefront_api_client/models/proxy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -45,6 +45,7 @@ class Proxy(object): 'hostname': 'str', 'id': 'str', 'in_trash': 'bool', + 'ingestion_policies': 'list[IngestionPolicy]', 'ingestion_policy': 'IngestionPolicy', 'last_check_in_time': 'int', 'last_error_event': 'Event', @@ -61,6 +62,7 @@ class Proxy(object): 'status': 'str', 'status_cause': 'str', 'time_drift': 'int', + 'truncate': 'bool', 'user_id': 'str', 'version': 'str' } @@ -78,6 +80,7 @@ class Proxy(object): 'hostname': 'hostname', 'id': 'id', 'in_trash': 'inTrash', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy': 'ingestionPolicy', 'last_check_in_time': 'lastCheckInTime', 'last_error_event': 'lastErrorEvent', @@ -94,11 +97,12 @@ class Proxy(object): 'status': 'status', 'status_cause': 'statusCause', 'time_drift': 'timeDrift', + 'truncate': 'truncate', 'user_id': 'userId', 'version': 'version' } - def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, collector_rate_limit=None, collector_sets_rate_limit=None, customer_id=None, deleted=None, ephemeral=None, events_rate_limit=None, histogram_rate_limit=None, hostname=None, id=None, in_trash=None, ingestion_policy=None, last_check_in_time=None, last_error_event=None, last_error_time=None, last_known_error=None, local_queue_size=None, name=None, preprocessor_rules=None, shutdown=None, source_tags_rate_limit=None, span_logs_rate_limit=None, span_rate_limit=None, ssh_agent=None, status=None, status_cause=None, time_drift=None, user_id=None, version=None, _configuration=None): # noqa: E501 + def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, collector_rate_limit=None, collector_sets_rate_limit=None, customer_id=None, deleted=None, ephemeral=None, events_rate_limit=None, histogram_rate_limit=None, hostname=None, id=None, in_trash=None, ingestion_policies=None, ingestion_policy=None, last_check_in_time=None, last_error_event=None, last_error_time=None, last_known_error=None, local_queue_size=None, name=None, preprocessor_rules=None, shutdown=None, source_tags_rate_limit=None, span_logs_rate_limit=None, span_rate_limit=None, ssh_agent=None, status=None, status_cause=None, time_drift=None, truncate=None, user_id=None, version=None, _configuration=None): # noqa: E501 """Proxy - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -116,6 +120,7 @@ def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, self._hostname = None self._id = None self._in_trash = None + self._ingestion_policies = None self._ingestion_policy = None self._last_check_in_time = None self._last_error_event = None @@ -132,6 +137,7 @@ def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, self._status = None self._status_cause = None self._time_drift = None + self._truncate = None self._user_id = None self._version = None self.discriminator = None @@ -160,6 +166,8 @@ def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, self.id = id if in_trash is not None: self.in_trash = in_trash + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy is not None: self.ingestion_policy = ingestion_policy if last_check_in_time is not None: @@ -191,6 +199,8 @@ def __init__(self, bytes_left_for_buffer=None, bytes_per_minute_for_buffer=None, self.status_cause = status_cause if time_drift is not None: self.time_drift = time_drift + if truncate is not None: + self.truncate = truncate if user_id is not None: self.user_id = user_id if version is not None: @@ -464,6 +474,29 @@ def in_trash(self, in_trash): self._in_trash = in_trash + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this Proxy. # noqa: E501 + + Ingestion policies associated with the proxy through user and groups # noqa: E501 + + :return: The ingestion_policies of this Proxy. # noqa: E501 + :rtype: list[IngestionPolicy] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this Proxy. + + Ingestion policies associated with the proxy through user and groups # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this Proxy. # noqa: E501 + :type: list[IngestionPolicy] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy(self): """Gets the ingestion_policy of this Proxy. # noqa: E501 @@ -839,6 +872,29 @@ def time_drift(self, time_drift): self._time_drift = time_drift + @property + def truncate(self): + """Gets the truncate of this Proxy. # noqa: E501 + + When true, attempt to truncate down this proxy backlog remotely # noqa: E501 + + :return: The truncate of this Proxy. # noqa: E501 + :rtype: bool + """ + return self._truncate + + @truncate.setter + def truncate(self, truncate): + """Sets the truncate of this Proxy. + + When true, attempt to truncate down this proxy backlog remotely # noqa: E501 + + :param truncate: The truncate of this Proxy. # noqa: E501 + :type: bool + """ + + self._truncate = truncate + @property def user_id(self): """Gets the user_id of this Proxy. # noqa: E501 diff --git a/wavefront_api_client/models/query_event.py b/wavefront_api_client/models/query_event.py index 8d718e3..c418133 100644 --- a/wavefront_api_client/models/query_event.py +++ b/wavefront_api_client/models/query_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/query_result.py b/wavefront_api_client/models/query_result.py index 7249004..6c71f16 100644 --- a/wavefront_api_client/models/query_result.py +++ b/wavefront_api_client/models/query_result.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/query_type_dto.py b/wavefront_api_client/models/query_type_dto.py index 81015f4..1f7d963 100644 --- a/wavefront_api_client/models/query_type_dto.py +++ b/wavefront_api_client/models/query_type_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/raw_timeseries.py b/wavefront_api_client/models/raw_timeseries.py index 9c2432d..e676c2e 100644 --- a/wavefront_api_client/models/raw_timeseries.py +++ b/wavefront_api_client/models/raw_timeseries.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/recent_app_map_search.py b/wavefront_api_client/models/recent_app_map_search.py new file mode 100644 index 0000000..e13cffe --- /dev/null +++ b/wavefront_api_client/models/recent_app_map_search.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class RecentAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'id': 'str', + 'search_filters': 'AppSearchFilters', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'id': 'id', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, id=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """RecentAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._id = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if id is not None: + self.id = id + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this RecentAppMapSearch. # noqa: E501 + + + :return: The created_epoch_millis of this RecentAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this RecentAppMapSearch. + + + :param created_epoch_millis: The created_epoch_millis of this RecentAppMapSearch. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this RecentAppMapSearch. # noqa: E501 + + + :return: The creator_id of this RecentAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this RecentAppMapSearch. + + + :param creator_id: The creator_id of this RecentAppMapSearch. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def id(self): + """Gets the id of this RecentAppMapSearch. # noqa: E501 + + + :return: The id of this RecentAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this RecentAppMapSearch. + + + :param id: The id of this RecentAppMapSearch. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def search_filters(self): + """Gets the search_filters of this RecentAppMapSearch. # noqa: E501 + + The search filters. # noqa: E501 + + :return: The search_filters of this RecentAppMapSearch. # noqa: E501 + :rtype: AppSearchFilters + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this RecentAppMapSearch. + + The search filters. # noqa: E501 + + :param search_filters: The search_filters of this RecentAppMapSearch. # noqa: E501 + :type: AppSearchFilters + """ + if self._configuration.client_side_validation and search_filters is None: + raise ValueError("Invalid value for `search_filters`, must not be `None`") # noqa: E501 + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this RecentAppMapSearch. # noqa: E501 + + + :return: The updated_epoch_millis of this RecentAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this RecentAppMapSearch. + + + :param updated_epoch_millis: The updated_epoch_millis of this RecentAppMapSearch. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this RecentAppMapSearch. # noqa: E501 + + + :return: The updater_id of this RecentAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this RecentAppMapSearch. + + + :param updater_id: The updater_id of this RecentAppMapSearch. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RecentAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RecentAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RecentAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/recent_traces_search.py b/wavefront_api_client/models/recent_traces_search.py new file mode 100644 index 0000000..8bf9c82 --- /dev/null +++ b/wavefront_api_client/models/recent_traces_search.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class RecentTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'id': 'str', + 'search_filters': 'AppSearchFilters', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'id': 'id', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, id=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """RecentTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._id = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if id is not None: + self.id = id + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this RecentTracesSearch. # noqa: E501 + + + :return: The created_epoch_millis of this RecentTracesSearch. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this RecentTracesSearch. + + + :param created_epoch_millis: The created_epoch_millis of this RecentTracesSearch. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this RecentTracesSearch. # noqa: E501 + + + :return: The creator_id of this RecentTracesSearch. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this RecentTracesSearch. + + + :param creator_id: The creator_id of this RecentTracesSearch. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def id(self): + """Gets the id of this RecentTracesSearch. # noqa: E501 + + + :return: The id of this RecentTracesSearch. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this RecentTracesSearch. + + + :param id: The id of this RecentTracesSearch. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def search_filters(self): + """Gets the search_filters of this RecentTracesSearch. # noqa: E501 + + The search filters. # noqa: E501 + + :return: The search_filters of this RecentTracesSearch. # noqa: E501 + :rtype: AppSearchFilters + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this RecentTracesSearch. + + The search filters. # noqa: E501 + + :param search_filters: The search_filters of this RecentTracesSearch. # noqa: E501 + :type: AppSearchFilters + """ + if self._configuration.client_side_validation and search_filters is None: + raise ValueError("Invalid value for `search_filters`, must not be `None`") # noqa: E501 + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this RecentTracesSearch. # noqa: E501 + + + :return: The updated_epoch_millis of this RecentTracesSearch. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this RecentTracesSearch. + + + :param updated_epoch_millis: The updated_epoch_millis of this RecentTracesSearch. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this RecentTracesSearch. # noqa: E501 + + + :return: The updater_id of this RecentTracesSearch. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this RecentTracesSearch. + + + :param updater_id: The updater_id of this RecentTracesSearch. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RecentTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RecentTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RecentTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/related_anomaly.py b/wavefront_api_client/models/related_anomaly.py index a3c44e2..8c5b02d 100644 --- a/wavefront_api_client/models/related_anomaly.py +++ b/wavefront_api_client/models/related_anomaly.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/related_data.py b/wavefront_api_client/models/related_data.py index acd3ee1..b2c107d 100644 --- a/wavefront_api_client/models/related_data.py +++ b/wavefront_api_client/models/related_data.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/related_event.py b/wavefront_api_client/models/related_event.py index 5e75f45..c2ca6e7 100644 --- a/wavefront_api_client/models/related_event.py +++ b/wavefront_api_client/models/related_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/related_event_time_range.py b/wavefront_api_client/models/related_event_time_range.py index 53bb0a7..e061811 100644 --- a/wavefront_api_client/models/related_event_time_range.py +++ b/wavefront_api_client/models/related_event_time_range.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/report_event_anomaly_dto.py b/wavefront_api_client/models/report_event_anomaly_dto.py index 069bb9d..a6b10c1 100644 --- a/wavefront_api_client/models/report_event_anomaly_dto.py +++ b/wavefront_api_client/models/report_event_anomaly_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container.py b/wavefront_api_client/models/response_container.py index 9f97c34..c769243 100644 --- a/wavefront_api_client/models/response_container.py +++ b/wavefront_api_client/models/response_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_access_policy.py b/wavefront_api_client/models/response_container_access_policy.py index ef434fd..707f501 100644 --- a/wavefront_api_client/models/response_container_access_policy.py +++ b/wavefront_api_client/models/response_container_access_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_access_policy_action.py b/wavefront_api_client/models/response_container_access_policy_action.py index 23adb70..30bed59 100644 --- a/wavefront_api_client/models/response_container_access_policy_action.py +++ b/wavefront_api_client/models/response_container_access_policy_action.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_account.py b/wavefront_api_client/models/response_container_account.py index 8fb0496..e535f0d 100644 --- a/wavefront_api_client/models/response_container_account.py +++ b/wavefront_api_client/models/response_container_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_alert.py b/wavefront_api_client/models/response_container_alert.py index c2026d3..b3b759f 100644 --- a/wavefront_api_client/models/response_container_alert.py +++ b/wavefront_api_client/models/response_container_alert.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_api_token_model.py b/wavefront_api_client/models/response_container_api_token_model.py new file mode 100644 index 0000000..93ebc25 --- /dev/null +++ b/wavefront_api_client/models/response_container_api_token_model.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerApiTokenModel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'ApiTokenModel', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerApiTokenModel - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerApiTokenModel. # noqa: E501 + + + :return: The response of this ResponseContainerApiTokenModel. # noqa: E501 + :rtype: ApiTokenModel + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerApiTokenModel. + + + :param response: The response of this ResponseContainerApiTokenModel. # noqa: E501 + :type: ApiTokenModel + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerApiTokenModel. # noqa: E501 + + + :return: The status of this ResponseContainerApiTokenModel. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerApiTokenModel. + + + :param status: The status of this ResponseContainerApiTokenModel. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerApiTokenModel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerApiTokenModel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerApiTokenModel): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_cloud_integration.py b/wavefront_api_client/models/response_container_cloud_integration.py index 1566db1..23908c3 100644 --- a/wavefront_api_client/models/response_container_cloud_integration.py +++ b/wavefront_api_client/models/response_container_cloud_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_dashboard.py b/wavefront_api_client/models/response_container_dashboard.py index d97c765..932d7f6 100644 --- a/wavefront_api_client/models/response_container_dashboard.py +++ b/wavefront_api_client/models/response_container_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_default_saved_app_map_search.py b/wavefront_api_client/models/response_container_default_saved_app_map_search.py new file mode 100644 index 0000000..2bd1a89 --- /dev/null +++ b/wavefront_api_client/models/response_container_default_saved_app_map_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerDefaultSavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'DefaultSavedAppMapSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerDefaultSavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + + + :return: The response of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + :rtype: DefaultSavedAppMapSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerDefaultSavedAppMapSearch. + + + :param response: The response of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + :type: DefaultSavedAppMapSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + + + :return: The status of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerDefaultSavedAppMapSearch. + + + :param status: The status of this ResponseContainerDefaultSavedAppMapSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerDefaultSavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerDefaultSavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerDefaultSavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_default_saved_traces_search.py b/wavefront_api_client/models/response_container_default_saved_traces_search.py new file mode 100644 index 0000000..ef4a97c --- /dev/null +++ b/wavefront_api_client/models/response_container_default_saved_traces_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerDefaultSavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'DefaultSavedTracesSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerDefaultSavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + + + :return: The response of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + :rtype: DefaultSavedTracesSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerDefaultSavedTracesSearch. + + + :param response: The response of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + :type: DefaultSavedTracesSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + + + :return: The status of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerDefaultSavedTracesSearch. + + + :param status: The status of this ResponseContainerDefaultSavedTracesSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerDefaultSavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerDefaultSavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerDefaultSavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_derived_metric_definition.py b/wavefront_api_client/models/response_container_derived_metric_definition.py index 5533e57..032c2c9 100644 --- a/wavefront_api_client/models/response_container_derived_metric_definition.py +++ b/wavefront_api_client/models/response_container_derived_metric_definition.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_event.py b/wavefront_api_client/models/response_container_event.py index 406af25..7c90423 100644 --- a/wavefront_api_client/models/response_container_event.py +++ b/wavefront_api_client/models/response_container_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_external_link.py b/wavefront_api_client/models/response_container_external_link.py index ed6e04a..c618283 100644 --- a/wavefront_api_client/models/response_container_external_link.py +++ b/wavefront_api_client/models/response_container_external_link.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_facet_response.py b/wavefront_api_client/models/response_container_facet_response.py index 27abea9..6e5c318 100644 --- a/wavefront_api_client/models/response_container_facet_response.py +++ b/wavefront_api_client/models/response_container_facet_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_facets_response_container.py b/wavefront_api_client/models/response_container_facets_response_container.py index 7174a26..1c7741d 100644 --- a/wavefront_api_client/models/response_container_facets_response_container.py +++ b/wavefront_api_client/models/response_container_facets_response_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_history_response.py b/wavefront_api_client/models/response_container_history_response.py index 5ae5aac..11805d9 100644 --- a/wavefront_api_client/models/response_container_history_response.py +++ b/wavefront_api_client/models/response_container_history_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_ingestion_policy.py b/wavefront_api_client/models/response_container_ingestion_policy.py index 2531b0c..cffdc28 100644 --- a/wavefront_api_client/models/response_container_ingestion_policy.py +++ b/wavefront_api_client/models/response_container_ingestion_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_integration.py b/wavefront_api_client/models/response_container_integration.py index e442f8a..81a6b9d 100644 --- a/wavefront_api_client/models/response_container_integration.py +++ b/wavefront_api_client/models/response_container_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_integration_status.py b/wavefront_api_client/models/response_container_integration_status.py index 9e104c5..9cbb7a1 100644 --- a/wavefront_api_client/models/response_container_integration_status.py +++ b/wavefront_api_client/models/response_container_integration_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_access_control_list_read_dto.py b/wavefront_api_client/models/response_container_list_access_control_list_read_dto.py index 2626890..7284c4a 100644 --- a/wavefront_api_client/models/response_container_list_access_control_list_read_dto.py +++ b/wavefront_api_client/models/response_container_list_access_control_list_read_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_api_token_model.py b/wavefront_api_client/models/response_container_list_api_token_model.py new file mode 100644 index 0000000..000396a --- /dev/null +++ b/wavefront_api_client/models/response_container_list_api_token_model.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerListApiTokenModel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'list[ApiTokenModel]', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerListApiTokenModel - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerListApiTokenModel. # noqa: E501 + + + :return: The response of this ResponseContainerListApiTokenModel. # noqa: E501 + :rtype: list[ApiTokenModel] + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerListApiTokenModel. + + + :param response: The response of this ResponseContainerListApiTokenModel. # noqa: E501 + :type: list[ApiTokenModel] + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerListApiTokenModel. # noqa: E501 + + + :return: The status of this ResponseContainerListApiTokenModel. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerListApiTokenModel. + + + :param status: The status of this ResponseContainerListApiTokenModel. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerListApiTokenModel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerListApiTokenModel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerListApiTokenModel): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_list_integration.py b/wavefront_api_client/models/response_container_list_integration.py index bd89cb6..2461cee 100644 --- a/wavefront_api_client/models/response_container_list_integration.py +++ b/wavefront_api_client/models/response_container_list_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_integration_manifest_group.py b/wavefront_api_client/models/response_container_list_integration_manifest_group.py index e2b4c2e..51c1954 100644 --- a/wavefront_api_client/models/response_container_list_integration_manifest_group.py +++ b/wavefront_api_client/models/response_container_list_integration_manifest_group.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_notification_messages.py b/wavefront_api_client/models/response_container_list_notification_messages.py index de5ee98..018c070 100644 --- a/wavefront_api_client/models/response_container_list_notification_messages.py +++ b/wavefront_api_client/models/response_container_list_notification_messages.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_service_account.py b/wavefront_api_client/models/response_container_list_service_account.py index a064e9b..1c2a06a 100644 --- a/wavefront_api_client/models/response_container_list_service_account.py +++ b/wavefront_api_client/models/response_container_list_service_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_string.py b/wavefront_api_client/models/response_container_list_string.py index 176c9a4..0baf37b 100644 --- a/wavefront_api_client/models/response_container_list_string.py +++ b/wavefront_api_client/models/response_container_list_string.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_list_user_api_token.py b/wavefront_api_client/models/response_container_list_user_api_token.py index b029a43..b2c86df 100644 --- a/wavefront_api_client/models/response_container_list_user_api_token.py +++ b/wavefront_api_client/models/response_container_list_user_api_token.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_maintenance_window.py b/wavefront_api_client/models/response_container_maintenance_window.py index 2a83318..d5b1161 100644 --- a/wavefront_api_client/models/response_container_maintenance_window.py +++ b/wavefront_api_client/models/response_container_maintenance_window.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_map_string_integer.py b/wavefront_api_client/models/response_container_map_string_integer.py index 687ed4d..4d9940c 100644 --- a/wavefront_api_client/models/response_container_map_string_integer.py +++ b/wavefront_api_client/models/response_container_map_string_integer.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_map_string_integration_status.py b/wavefront_api_client/models/response_container_map_string_integration_status.py index 9ec7528..35f97b0 100644 --- a/wavefront_api_client/models/response_container_map_string_integration_status.py +++ b/wavefront_api_client/models/response_container_map_string_integration_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_message.py b/wavefront_api_client/models/response_container_message.py index 9f72a0e..8422506 100644 --- a/wavefront_api_client/models/response_container_message.py +++ b/wavefront_api_client/models/response_container_message.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_metrics_policy_read_model.py b/wavefront_api_client/models/response_container_metrics_policy_read_model.py index b00aba9..c90630f 100644 --- a/wavefront_api_client/models/response_container_metrics_policy_read_model.py +++ b/wavefront_api_client/models/response_container_metrics_policy_read_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_monitored_application_dto.py b/wavefront_api_client/models/response_container_monitored_application_dto.py index 2ed02c7..80753d6 100644 --- a/wavefront_api_client/models/response_container_monitored_application_dto.py +++ b/wavefront_api_client/models/response_container_monitored_application_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_monitored_cluster.py b/wavefront_api_client/models/response_container_monitored_cluster.py index 530b25d..0ba7e68 100644 --- a/wavefront_api_client/models/response_container_monitored_cluster.py +++ b/wavefront_api_client/models/response_container_monitored_cluster.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_monitored_service_dto.py b/wavefront_api_client/models/response_container_monitored_service_dto.py index d7c1ba4..56019a1 100644 --- a/wavefront_api_client/models/response_container_monitored_service_dto.py +++ b/wavefront_api_client/models/response_container_monitored_service_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_notificant.py b/wavefront_api_client/models/response_container_notificant.py index 4b1499a..7519806 100644 --- a/wavefront_api_client/models/response_container_notificant.py +++ b/wavefront_api_client/models/response_container_notificant.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_account.py b/wavefront_api_client/models/response_container_paged_account.py index 4b3300b..7662457 100644 --- a/wavefront_api_client/models/response_container_paged_account.py +++ b/wavefront_api_client/models/response_container_paged_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_alert.py b/wavefront_api_client/models/response_container_paged_alert.py index f3891f3..0fc98d8 100644 --- a/wavefront_api_client/models/response_container_paged_alert.py +++ b/wavefront_api_client/models/response_container_paged_alert.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_alert_with_stats.py b/wavefront_api_client/models/response_container_paged_alert_with_stats.py index 3e3a59a..bc2a649 100644 --- a/wavefront_api_client/models/response_container_paged_alert_with_stats.py +++ b/wavefront_api_client/models/response_container_paged_alert_with_stats.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_anomaly.py b/wavefront_api_client/models/response_container_paged_anomaly.py index a8019da..77e8fd8 100644 --- a/wavefront_api_client/models/response_container_paged_anomaly.py +++ b/wavefront_api_client/models/response_container_paged_anomaly.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_api_token_model.py b/wavefront_api_client/models/response_container_paged_api_token_model.py new file mode 100644 index 0000000..c91fa17 --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_api_token_model.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedApiTokenModel(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedApiTokenModel', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedApiTokenModel - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedApiTokenModel. # noqa: E501 + + + :return: The response of this ResponseContainerPagedApiTokenModel. # noqa: E501 + :rtype: PagedApiTokenModel + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedApiTokenModel. + + + :param response: The response of this ResponseContainerPagedApiTokenModel. # noqa: E501 + :type: PagedApiTokenModel + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedApiTokenModel. # noqa: E501 + + + :return: The status of this ResponseContainerPagedApiTokenModel. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedApiTokenModel. + + + :param status: The status of this ResponseContainerPagedApiTokenModel. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedApiTokenModel, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedApiTokenModel): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedApiTokenModel): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_cloud_integration.py b/wavefront_api_client/models/response_container_paged_cloud_integration.py index e6ce134..46ecb3d 100644 --- a/wavefront_api_client/models/response_container_paged_cloud_integration.py +++ b/wavefront_api_client/models/response_container_paged_cloud_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_customer_facing_user_object.py b/wavefront_api_client/models/response_container_paged_customer_facing_user_object.py index 776ba1f..7ff9cb3 100644 --- a/wavefront_api_client/models/response_container_paged_customer_facing_user_object.py +++ b/wavefront_api_client/models/response_container_paged_customer_facing_user_object.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_dashboard.py b/wavefront_api_client/models/response_container_paged_dashboard.py index 3ab650e..2b8c731 100644 --- a/wavefront_api_client/models/response_container_paged_dashboard.py +++ b/wavefront_api_client/models/response_container_paged_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_derived_metric_definition.py b/wavefront_api_client/models/response_container_paged_derived_metric_definition.py index 6e1f9e7..9db2c1f 100644 --- a/wavefront_api_client/models/response_container_paged_derived_metric_definition.py +++ b/wavefront_api_client/models/response_container_paged_derived_metric_definition.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_derived_metric_definition_with_stats.py b/wavefront_api_client/models/response_container_paged_derived_metric_definition_with_stats.py index 564fdd2..2ccc808 100644 --- a/wavefront_api_client/models/response_container_paged_derived_metric_definition_with_stats.py +++ b/wavefront_api_client/models/response_container_paged_derived_metric_definition_with_stats.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_event.py b/wavefront_api_client/models/response_container_paged_event.py index a93e58d..cb41a4c 100644 --- a/wavefront_api_client/models/response_container_paged_event.py +++ b/wavefront_api_client/models/response_container_paged_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_external_link.py b/wavefront_api_client/models/response_container_paged_external_link.py index 1aa7085..cdb7208 100644 --- a/wavefront_api_client/models/response_container_paged_external_link.py +++ b/wavefront_api_client/models/response_container_paged_external_link.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_ingestion_policy.py b/wavefront_api_client/models/response_container_paged_ingestion_policy.py index 7b80871..dae8549 100644 --- a/wavefront_api_client/models/response_container_paged_ingestion_policy.py +++ b/wavefront_api_client/models/response_container_paged_ingestion_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_integration.py b/wavefront_api_client/models/response_container_paged_integration.py index 20417b7..5fba75a 100644 --- a/wavefront_api_client/models/response_container_paged_integration.py +++ b/wavefront_api_client/models/response_container_paged_integration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_maintenance_window.py b/wavefront_api_client/models/response_container_paged_maintenance_window.py index 7555c9e..e2a9075 100644 --- a/wavefront_api_client/models/response_container_paged_maintenance_window.py +++ b/wavefront_api_client/models/response_container_paged_maintenance_window.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_message.py b/wavefront_api_client/models/response_container_paged_message.py index bd6f9e9..8a56992 100644 --- a/wavefront_api_client/models/response_container_paged_message.py +++ b/wavefront_api_client/models/response_container_paged_message.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_monitored_application_dto.py b/wavefront_api_client/models/response_container_paged_monitored_application_dto.py index a257ba5..b514b83 100644 --- a/wavefront_api_client/models/response_container_paged_monitored_application_dto.py +++ b/wavefront_api_client/models/response_container_paged_monitored_application_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_monitored_cluster.py b/wavefront_api_client/models/response_container_paged_monitored_cluster.py index 0820c02..2c4855f 100644 --- a/wavefront_api_client/models/response_container_paged_monitored_cluster.py +++ b/wavefront_api_client/models/response_container_paged_monitored_cluster.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_monitored_service_dto.py b/wavefront_api_client/models/response_container_paged_monitored_service_dto.py index 72d9642..2c302b4 100644 --- a/wavefront_api_client/models/response_container_paged_monitored_service_dto.py +++ b/wavefront_api_client/models/response_container_paged_monitored_service_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_notificant.py b/wavefront_api_client/models/response_container_paged_notificant.py index bcb87db..a0a5c46 100644 --- a/wavefront_api_client/models/response_container_paged_notificant.py +++ b/wavefront_api_client/models/response_container_paged_notificant.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_proxy.py b/wavefront_api_client/models/response_container_paged_proxy.py index 7dbefd7..dbde508 100644 --- a/wavefront_api_client/models/response_container_paged_proxy.py +++ b/wavefront_api_client/models/response_container_paged_proxy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_recent_app_map_search.py b/wavefront_api_client/models/response_container_paged_recent_app_map_search.py new file mode 100644 index 0000000..01571fd --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_recent_app_map_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedRecentAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedRecentAppMapSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedRecentAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + + + :return: The response of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + :rtype: PagedRecentAppMapSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedRecentAppMapSearch. + + + :param response: The response of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + :type: PagedRecentAppMapSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + + + :return: The status of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedRecentAppMapSearch. + + + :param status: The status of this ResponseContainerPagedRecentAppMapSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedRecentAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedRecentAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedRecentAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_recent_traces_search.py b/wavefront_api_client/models/response_container_paged_recent_traces_search.py new file mode 100644 index 0000000..c5dde67 --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_recent_traces_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedRecentTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedRecentTracesSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedRecentTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + + + :return: The response of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + :rtype: PagedRecentTracesSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedRecentTracesSearch. + + + :param response: The response of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + :type: PagedRecentTracesSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + + + :return: The status of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedRecentTracesSearch. + + + :param status: The status of this ResponseContainerPagedRecentTracesSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedRecentTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedRecentTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedRecentTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_related_event.py b/wavefront_api_client/models/response_container_paged_related_event.py index cfe4de3..96cac58 100644 --- a/wavefront_api_client/models/response_container_paged_related_event.py +++ b/wavefront_api_client/models/response_container_paged_related_event.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_report_event_anomaly_dto.py b/wavefront_api_client/models/response_container_paged_report_event_anomaly_dto.py index 51d587a..ac3366f 100644 --- a/wavefront_api_client/models/response_container_paged_report_event_anomaly_dto.py +++ b/wavefront_api_client/models/response_container_paged_report_event_anomaly_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_role_dto.py b/wavefront_api_client/models/response_container_paged_role_dto.py index 59ee746..dc35581 100644 --- a/wavefront_api_client/models/response_container_paged_role_dto.py +++ b/wavefront_api_client/models/response_container_paged_role_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_saved_app_map_search.py b/wavefront_api_client/models/response_container_paged_saved_app_map_search.py new file mode 100644 index 0000000..4f2e8fe --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_saved_app_map_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedSavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedSavedAppMapSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedSavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + + + :return: The response of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + :rtype: PagedSavedAppMapSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedSavedAppMapSearch. + + + :param response: The response of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + :type: PagedSavedAppMapSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + + + :return: The status of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedSavedAppMapSearch. + + + :param status: The status of this ResponseContainerPagedSavedAppMapSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedSavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedSavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedSavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_saved_app_map_search_group.py b/wavefront_api_client/models/response_container_paged_saved_app_map_search_group.py new file mode 100644 index 0000000..812c457 --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_saved_app_map_search_group.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedSavedAppMapSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedSavedAppMapSearchGroup', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedSavedAppMapSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + + + :return: The response of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: PagedSavedAppMapSearchGroup + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedSavedAppMapSearchGroup. + + + :param response: The response of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + :type: PagedSavedAppMapSearchGroup + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + + + :return: The status of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedSavedAppMapSearchGroup. + + + :param status: The status of this ResponseContainerPagedSavedAppMapSearchGroup. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedSavedAppMapSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedSavedAppMapSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedSavedAppMapSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_saved_search.py b/wavefront_api_client/models/response_container_paged_saved_search.py index bff6bd1..7772556 100644 --- a/wavefront_api_client/models/response_container_paged_saved_search.py +++ b/wavefront_api_client/models/response_container_paged_saved_search.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_saved_traces_search.py b/wavefront_api_client/models/response_container_paged_saved_traces_search.py new file mode 100644 index 0000000..fa4e09f --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_saved_traces_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedSavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedSavedTracesSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedSavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + + + :return: The response of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + :rtype: PagedSavedTracesSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedSavedTracesSearch. + + + :param response: The response of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + :type: PagedSavedTracesSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + + + :return: The status of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedSavedTracesSearch. + + + :param status: The status of this ResponseContainerPagedSavedTracesSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedSavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedSavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedSavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_saved_traces_search_group.py b/wavefront_api_client/models/response_container_paged_saved_traces_search_group.py new file mode 100644 index 0000000..1887f6e --- /dev/null +++ b/wavefront_api_client/models/response_container_paged_saved_traces_search_group.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerPagedSavedTracesSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'PagedSavedTracesSearchGroup', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerPagedSavedTracesSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + + + :return: The response of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + :rtype: PagedSavedTracesSearchGroup + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerPagedSavedTracesSearchGroup. + + + :param response: The response of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + :type: PagedSavedTracesSearchGroup + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + + + :return: The status of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerPagedSavedTracesSearchGroup. + + + :param status: The status of this ResponseContainerPagedSavedTracesSearchGroup. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerPagedSavedTracesSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerPagedSavedTracesSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerPagedSavedTracesSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_paged_service_account.py b/wavefront_api_client/models/response_container_paged_service_account.py index 6bb4cb4..aa9eb52 100644 --- a/wavefront_api_client/models/response_container_paged_service_account.py +++ b/wavefront_api_client/models/response_container_paged_service_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_source.py b/wavefront_api_client/models/response_container_paged_source.py index 5080536..1b6787d 100644 --- a/wavefront_api_client/models/response_container_paged_source.py +++ b/wavefront_api_client/models/response_container_paged_source.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_span_sampling_policy.py b/wavefront_api_client/models/response_container_paged_span_sampling_policy.py index a9b285e..701b774 100644 --- a/wavefront_api_client/models/response_container_paged_span_sampling_policy.py +++ b/wavefront_api_client/models/response_container_paged_span_sampling_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_paged_user_group_model.py b/wavefront_api_client/models/response_container_paged_user_group_model.py index bf510c9..2ea577a 100644 --- a/wavefront_api_client/models/response_container_paged_user_group_model.py +++ b/wavefront_api_client/models/response_container_paged_user_group_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_proxy.py b/wavefront_api_client/models/response_container_proxy.py index fbc150a..296a5f8 100644 --- a/wavefront_api_client/models/response_container_proxy.py +++ b/wavefront_api_client/models/response_container_proxy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_query_type_dto.py b/wavefront_api_client/models/response_container_query_type_dto.py index 7033e63..d221a7b 100644 --- a/wavefront_api_client/models/response_container_query_type_dto.py +++ b/wavefront_api_client/models/response_container_query_type_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_recent_app_map_search.py b/wavefront_api_client/models/response_container_recent_app_map_search.py new file mode 100644 index 0000000..8002045 --- /dev/null +++ b/wavefront_api_client/models/response_container_recent_app_map_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerRecentAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'RecentAppMapSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerRecentAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerRecentAppMapSearch. # noqa: E501 + + + :return: The response of this ResponseContainerRecentAppMapSearch. # noqa: E501 + :rtype: RecentAppMapSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerRecentAppMapSearch. + + + :param response: The response of this ResponseContainerRecentAppMapSearch. # noqa: E501 + :type: RecentAppMapSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerRecentAppMapSearch. # noqa: E501 + + + :return: The status of this ResponseContainerRecentAppMapSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerRecentAppMapSearch. + + + :param status: The status of this ResponseContainerRecentAppMapSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerRecentAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerRecentAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerRecentAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_recent_traces_search.py b/wavefront_api_client/models/response_container_recent_traces_search.py new file mode 100644 index 0000000..72a7962 --- /dev/null +++ b/wavefront_api_client/models/response_container_recent_traces_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerRecentTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'RecentTracesSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerRecentTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerRecentTracesSearch. # noqa: E501 + + + :return: The response of this ResponseContainerRecentTracesSearch. # noqa: E501 + :rtype: RecentTracesSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerRecentTracesSearch. + + + :param response: The response of this ResponseContainerRecentTracesSearch. # noqa: E501 + :type: RecentTracesSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerRecentTracesSearch. # noqa: E501 + + + :return: The status of this ResponseContainerRecentTracesSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerRecentTracesSearch. + + + :param status: The status of this ResponseContainerRecentTracesSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerRecentTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerRecentTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerRecentTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_role_dto.py b/wavefront_api_client/models/response_container_role_dto.py index 0803841..50f307f 100644 --- a/wavefront_api_client/models/response_container_role_dto.py +++ b/wavefront_api_client/models/response_container_role_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_saved_app_map_search.py b/wavefront_api_client/models/response_container_saved_app_map_search.py new file mode 100644 index 0000000..544fe80 --- /dev/null +++ b/wavefront_api_client/models/response_container_saved_app_map_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerSavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'SavedAppMapSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerSavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerSavedAppMapSearch. # noqa: E501 + + + :return: The response of this ResponseContainerSavedAppMapSearch. # noqa: E501 + :rtype: SavedAppMapSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerSavedAppMapSearch. + + + :param response: The response of this ResponseContainerSavedAppMapSearch. # noqa: E501 + :type: SavedAppMapSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerSavedAppMapSearch. # noqa: E501 + + + :return: The status of this ResponseContainerSavedAppMapSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerSavedAppMapSearch. + + + :param status: The status of this ResponseContainerSavedAppMapSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerSavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerSavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerSavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_saved_app_map_search_group.py b/wavefront_api_client/models/response_container_saved_app_map_search_group.py new file mode 100644 index 0000000..dfc0736 --- /dev/null +++ b/wavefront_api_client/models/response_container_saved_app_map_search_group.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerSavedAppMapSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'SavedAppMapSearchGroup', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerSavedAppMapSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + + + :return: The response of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + :rtype: SavedAppMapSearchGroup + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerSavedAppMapSearchGroup. + + + :param response: The response of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + :type: SavedAppMapSearchGroup + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + + + :return: The status of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerSavedAppMapSearchGroup. + + + :param status: The status of this ResponseContainerSavedAppMapSearchGroup. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerSavedAppMapSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerSavedAppMapSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerSavedAppMapSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_saved_search.py b/wavefront_api_client/models/response_container_saved_search.py index 41ce641..6b11d34 100644 --- a/wavefront_api_client/models/response_container_saved_search.py +++ b/wavefront_api_client/models/response_container_saved_search.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_saved_traces_search.py b/wavefront_api_client/models/response_container_saved_traces_search.py new file mode 100644 index 0000000..0aa3ee2 --- /dev/null +++ b/wavefront_api_client/models/response_container_saved_traces_search.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerSavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'SavedTracesSearch', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerSavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerSavedTracesSearch. # noqa: E501 + + + :return: The response of this ResponseContainerSavedTracesSearch. # noqa: E501 + :rtype: SavedTracesSearch + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerSavedTracesSearch. + + + :param response: The response of this ResponseContainerSavedTracesSearch. # noqa: E501 + :type: SavedTracesSearch + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerSavedTracesSearch. # noqa: E501 + + + :return: The status of this ResponseContainerSavedTracesSearch. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerSavedTracesSearch. + + + :param status: The status of this ResponseContainerSavedTracesSearch. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerSavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerSavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerSavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_saved_traces_search_group.py b/wavefront_api_client/models/response_container_saved_traces_search_group.py new file mode 100644 index 0000000..ae91dd6 --- /dev/null +++ b/wavefront_api_client/models/response_container_saved_traces_search_group.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerSavedTracesSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'SavedTracesSearchGroup', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerSavedTracesSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + + + :return: The response of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + :rtype: SavedTracesSearchGroup + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerSavedTracesSearchGroup. + + + :param response: The response of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + :type: SavedTracesSearchGroup + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + + + :return: The status of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerSavedTracesSearchGroup. + + + :param status: The status of this ResponseContainerSavedTracesSearchGroup. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerSavedTracesSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerSavedTracesSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerSavedTracesSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_service_account.py b/wavefront_api_client/models/response_container_service_account.py index 3408ef3..27b3d11 100644 --- a/wavefront_api_client/models/response_container_service_account.py +++ b/wavefront_api_client/models/response_container_service_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_set_business_function.py b/wavefront_api_client/models/response_container_set_business_function.py index 20205fd..039afdf 100644 --- a/wavefront_api_client/models/response_container_set_business_function.py +++ b/wavefront_api_client/models/response_container_set_business_function.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -74,7 +74,7 @@ def response(self, response): :param response: The response of this ResponseContainerSetBusinessFunction. # noqa: E501 :type: list[str] """ - allowed_values = ["VIEW_MONITORED_APPLICATION_SERVICE", "VIEW_MONITORED_CLUSTER", "VIEW_MONITORED_CLUSTER_TAGS", "VIEW_DASHBOARDS", "VIEW_DASHBOARDS_TAGS", "VIEW_METRIC_TIMESERIES", "VIEW_HOSTS", "VIEW_HOST_TAGS", "VIEW_AGENT_TAGS", "VIEW_EVENTS", "VIEW_EVENT_TAGS", "VIEW_ALERTS", "VIEW_ALERT_TAGS", "VIEW_REGISTERED_QUERIES", "VIEW_REGISTERED_QUERY_TAGS", "VIEW_MAINTENANCE_WINDOWS", "VIEW_NOTIFICANTS", "VIEW_CUSTOM_METRICS", "VIEW_TARGETS", "VIEW_AGENTS", "VIEW_SSH_CONFIGS", "VIEW_EXTERNAL_SERVICES", "VIEW_EXTERNAL_SERVICES_TAGS", "VIEW_EXTERNAL_LINKS", "VIEW_EXTERNAL_LINK_DIGESTS", "VIEW_EXTERNAL_LINK_TAGS", "VIEW_LOGS", "VIEW_SLOW_QUERY_PAGE", "VIEW_SAVED_SEARCHES", "VIEW_MY_MESSAGES", "VIEW_APPLICATIONS", "VIEW_ANOMALY", "SPY_ON_POINTS", "SPY_ON_ID_CREATIONS", "SPY_UNUSED_METRICS", "VIEW_SAML_SSO_SETTINGS", "MODIFY_MONITORED_APPLICATION_SERVICE", "MODIFY_MONITORED_CLUSTER", "MODIFY_MONITORED_CLUSTER_TAGS", "MODIFY_PRIVATE_TAGS", "MODIFY_CUSTOM_METRICS", "MODIFY_DASHBOARDS", "MODIFY_EVENTS", "MODIFY_EVENT_TAGS", "MODIFY_AGENTS", "MODIFY_AGENT_TAGS", "MODIFY_HOSTS", "MODIFY_HOST_TAGS", "MODIFY_MACHINES", "MODIFY_SSH_CONFIGS", "MODIFY_ALERTS", "MODIFY_ALERT_TAGS", "MODIFY_REGISTERED_QUERIES", "MODIFY_REGISTERED_QUERY_TAGS", "MODIFY_MAINTENANCE_WINDOWS", "MODIFY_NOTIFICANTS", "MODIFY_DASHBOARD_TAGS", "MODIFY_TARGETS", "MODIFY_EXTERNAL_SERVICES", "MODIFY_EXTERNAL_SERVICES_TAGS", "CREATE_EMBEDDED_CHARTS", "MODIFY_METRIC_VISIBILITY", "MODIFY_EXTERNAL_LINKS", "MODIFY_EXTERNAL_LINK_TAGS", "MODIFY_SAVED_SEARCHES", "MODIFY_OWN_ONBOARDING_STATE", "MODIFY_APPLICATIONS", "INGESTION_POLICY_MANAGEMENT", "METRICS_POLICY_MANAGEMENT", "MODIFY_SAML_SSO_SETTINGS", "METRIC_INGESTION", "METRIC_INGESTION_LISTENER", "LOGIN", "LOGOUT", "CHANGE_PASSWORD", "SEND_FORGOTTEN_PASSWORD_EMAILS", "CHANGE_USER_PREFERENCE", "CREATE_TOKEN", "REVOKE_ALL_SESSIONS", "REVOKE_ALL_TOKENS", "REVOKE_TOKEN", "GET_TOKENS", "GET_ALL_ACCOUNTS", "GET_ALL_USERS", "GET_ALL_SERVICE_ACCOUNTS", "ADMINISTER_GROUPS", "DELETE_ACCOUNT", "INVITE_USER", "ADMINISTER_SERVICE_ACCOUNTS", "NO_REAUTH_INVITE_USER", "ADMINISTER_USER_GROUPS", "ADMINISTER_CUSTOMER_PREFERENCES", "ROLES_MANAGEMENT", "VIEW_CUSTOMERS", "MODIFY_CUSTOMER", "DELETE_CUSTOMER", "GET_TOKEN_STATUS", "SEND_UI_METRICS", "TOKEN"] # noqa: E501 + allowed_values = ["VIEW_MONITORED_APPLICATION_SERVICE", "VIEW_MONITORED_CLUSTER", "VIEW_MONITORED_CLUSTER_TAGS", "VIEW_DASHBOARDS", "VIEW_DASHBOARDS_TAGS", "VIEW_METRIC_TIMESERIES", "VIEW_HOSTS", "VIEW_HOST_TAGS", "VIEW_AGENT_TAGS", "VIEW_EVENTS", "VIEW_EVENT_TAGS", "VIEW_ALERTS", "VIEW_ALERT_TAGS", "VIEW_REGISTERED_QUERIES", "VIEW_REGISTERED_QUERY_TAGS", "VIEW_MAINTENANCE_WINDOWS", "VIEW_NOTIFICANTS", "VIEW_CUSTOM_METRICS", "VIEW_TARGETS", "VIEW_AGENTS", "VIEW_SSH_CONFIGS", "VIEW_EXTERNAL_SERVICES", "VIEW_EXTERNAL_SERVICES_TAGS", "VIEW_EXTERNAL_LINKS", "VIEW_EXTERNAL_LINK_DIGESTS", "VIEW_EXTERNAL_LINK_TAGS", "VIEW_LOGS", "VIEW_SLOW_QUERY_PAGE", "VIEW_SAVED_SEARCHES", "VIEW_MY_MESSAGES", "VIEW_APPLICATIONS", "VIEW_ANOMALY", "SPY_ON_POINTS", "SPY_ON_ID_CREATIONS", "SPY_UNUSED_METRICS", "VIEW_SAML_SSO_SETTINGS", "MODIFY_MONITORED_APPLICATION_SERVICE", "MODIFY_MONITORED_CLUSTER", "MODIFY_MONITORED_CLUSTER_TAGS", "MODIFY_PRIVATE_TAGS", "MODIFY_CUSTOM_METRICS", "MODIFY_DASHBOARDS", "MODIFY_EVENTS", "MODIFY_EVENT_TAGS", "MODIFY_AGENTS", "MODIFY_AGENT_TAGS", "MODIFY_HOSTS", "MODIFY_HOST_TAGS", "MODIFY_MACHINES", "MODIFY_SSH_CONFIGS", "MODIFY_ALERTS", "MODIFY_ALERT_TAGS", "MODIFY_REGISTERED_QUERIES", "MODIFY_REGISTERED_QUERY_TAGS", "MODIFY_MAINTENANCE_WINDOWS", "MODIFY_NOTIFICANTS", "MODIFY_DASHBOARD_TAGS", "MODIFY_TARGETS", "MODIFY_EXTERNAL_SERVICES", "MODIFY_EXTERNAL_SERVICES_TAGS", "CREATE_EMBEDDED_CHARTS", "MODIFY_METRIC_VISIBILITY", "MODIFY_EXTERNAL_LINKS", "MODIFY_EXTERNAL_LINK_TAGS", "MODIFY_SAVED_SEARCHES", "MODIFY_SAVED_TRACES_SEARCH", "MODIFY_OWN_ONBOARDING_STATE", "MODIFY_APPLICATIONS", "INGESTION_POLICY_MANAGEMENT", "METRICS_POLICY_MANAGEMENT", "MODIFY_SAML_SSO_SETTINGS", "METRIC_INGESTION", "METRIC_INGESTION_LISTENER", "LOGIN", "LOGOUT", "CHANGE_PASSWORD", "SEND_FORGOTTEN_PASSWORD_EMAILS", "CHANGE_USER_PREFERENCE", "CREATE_TOKEN", "REVOKE_ALL_SESSIONS", "REVOKE_ALL_TOKENS", "REVOKE_TOKEN", "GET_TOKENS", "GET_ALL_ACCOUNTS", "GET_ALL_USERS", "GET_ALL_SERVICE_ACCOUNTS", "ADMINISTER_GROUPS", "DELETE_ACCOUNT", "INVITE_USER", "ADMINISTER_SERVICE_ACCOUNTS", "NO_REAUTH_INVITE_USER", "ADMINISTER_USER_GROUPS", "ADMINISTER_ALL_TOKENS", "ADMINISTER_CUSTOMER_PREFERENCES", "ROLES_MANAGEMENT", "VIEW_CUSTOMERS", "MODIFY_CUSTOMER", "DELETE_CUSTOMER", "SEND_UI_METRICS", "TOKEN"] # noqa: E501 if (self._configuration.client_side_validation and not set(response).issubset(set(allowed_values))): # noqa: E501 raise ValueError( diff --git a/wavefront_api_client/models/response_container_set_source_label_pair.py b/wavefront_api_client/models/response_container_set_source_label_pair.py index 6796dab..562419b 100644 --- a/wavefront_api_client/models/response_container_set_source_label_pair.py +++ b/wavefront_api_client/models/response_container_set_source_label_pair.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_source.py b/wavefront_api_client/models/response_container_source.py index 292d155..9fc56ee 100644 --- a/wavefront_api_client/models/response_container_source.py +++ b/wavefront_api_client/models/response_container_source.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_span_sampling_policy.py b/wavefront_api_client/models/response_container_span_sampling_policy.py index 1de7621..ef474fd 100644 --- a/wavefront_api_client/models/response_container_span_sampling_policy.py +++ b/wavefront_api_client/models/response_container_span_sampling_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_string.py b/wavefront_api_client/models/response_container_string.py index d654cd0..c90d7de 100644 --- a/wavefront_api_client/models/response_container_string.py +++ b/wavefront_api_client/models/response_container_string.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_tags_response.py b/wavefront_api_client/models/response_container_tags_response.py index 7c9e2a3..4f7e796 100644 --- a/wavefront_api_client/models/response_container_tags_response.py +++ b/wavefront_api_client/models/response_container_tags_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_user_api_token.py b/wavefront_api_client/models/response_container_user_api_token.py index 7aa5d39..3dd57d1 100644 --- a/wavefront_api_client/models/response_container_user_api_token.py +++ b/wavefront_api_client/models/response_container_user_api_token.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_user_dto.py b/wavefront_api_client/models/response_container_user_dto.py new file mode 100644 index 0000000..83d9e45 --- /dev/null +++ b/wavefront_api_client/models/response_container_user_dto.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class ResponseContainerUserDTO(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'response': 'UserDTO', + 'status': 'ResponseStatus' + } + + attribute_map = { + 'response': 'response', + 'status': 'status' + } + + def __init__(self, response=None, status=None, _configuration=None): # noqa: E501 + """ResponseContainerUserDTO - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._response = None + self._status = None + self.discriminator = None + + if response is not None: + self.response = response + self.status = status + + @property + def response(self): + """Gets the response of this ResponseContainerUserDTO. # noqa: E501 + + + :return: The response of this ResponseContainerUserDTO. # noqa: E501 + :rtype: UserDTO + """ + return self._response + + @response.setter + def response(self, response): + """Sets the response of this ResponseContainerUserDTO. + + + :param response: The response of this ResponseContainerUserDTO. # noqa: E501 + :type: UserDTO + """ + + self._response = response + + @property + def status(self): + """Gets the status of this ResponseContainerUserDTO. # noqa: E501 + + + :return: The status of this ResponseContainerUserDTO. # noqa: E501 + :rtype: ResponseStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResponseContainerUserDTO. + + + :param status: The status of this ResponseContainerUserDTO. # noqa: E501 + :type: ResponseStatus + """ + if self._configuration.client_side_validation and status is None: + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ResponseContainerUserDTO, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ResponseContainerUserDTO): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResponseContainerUserDTO): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/response_container_user_group_model.py b/wavefront_api_client/models/response_container_user_group_model.py index 3597853..f57262e 100644 --- a/wavefront_api_client/models/response_container_user_group_model.py +++ b/wavefront_api_client/models/response_container_user_group_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_validated_users_dto.py b/wavefront_api_client/models/response_container_validated_users_dto.py index a706e58..2c7b026 100644 --- a/wavefront_api_client/models/response_container_validated_users_dto.py +++ b/wavefront_api_client/models/response_container_validated_users_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_container_void.py b/wavefront_api_client/models/response_container_void.py index a777144..23ce1c7 100644 --- a/wavefront_api_client/models/response_container_void.py +++ b/wavefront_api_client/models/response_container_void.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/response_status.py b/wavefront_api_client/models/response_status.py index 5209709..55ac162 100644 --- a/wavefront_api_client/models/response_status.py +++ b/wavefront_api_client/models/response_status.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/role_dto.py b/wavefront_api_client/models/role_dto.py index a8fb11c..5cf0239 100644 --- a/wavefront_api_client/models/role_dto.py +++ b/wavefront_api_client/models/role_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/saved_app_map_search.py b/wavefront_api_client/models/saved_app_map_search.py new file mode 100644 index 0000000..25de53c --- /dev/null +++ b/wavefront_api_client/models/saved_app_map_search.py @@ -0,0 +1,311 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class SavedAppMapSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'deleted': 'bool', + 'id': 'str', + 'name': 'str', + 'search_filters': 'AppSearchFilters', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'deleted': 'deleted', + 'id': 'id', + 'name': 'name', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, deleted=None, id=None, name=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """SavedAppMapSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._deleted = None + self._id = None + self._name = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if deleted is not None: + self.deleted = deleted + if id is not None: + self.id = id + self.name = name + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this SavedAppMapSearch. # noqa: E501 + + + :return: The created_epoch_millis of this SavedAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this SavedAppMapSearch. + + + :param created_epoch_millis: The created_epoch_millis of this SavedAppMapSearch. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this SavedAppMapSearch. # noqa: E501 + + + :return: The creator_id of this SavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this SavedAppMapSearch. + + + :param creator_id: The creator_id of this SavedAppMapSearch. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def deleted(self): + """Gets the deleted of this SavedAppMapSearch. # noqa: E501 + + + :return: The deleted of this SavedAppMapSearch. # noqa: E501 + :rtype: bool + """ + return self._deleted + + @deleted.setter + def deleted(self, deleted): + """Sets the deleted of this SavedAppMapSearch. + + + :param deleted: The deleted of this SavedAppMapSearch. # noqa: E501 + :type: bool + """ + + self._deleted = deleted + + @property + def id(self): + """Gets the id of this SavedAppMapSearch. # noqa: E501 + + + :return: The id of this SavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SavedAppMapSearch. + + + :param id: The id of this SavedAppMapSearch. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this SavedAppMapSearch. # noqa: E501 + + Name of the search # noqa: E501 + + :return: The name of this SavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SavedAppMapSearch. + + Name of the search # noqa: E501 + + :param name: The name of this SavedAppMapSearch. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def search_filters(self): + """Gets the search_filters of this SavedAppMapSearch. # noqa: E501 + + The search filters. # noqa: E501 + + :return: The search_filters of this SavedAppMapSearch. # noqa: E501 + :rtype: AppSearchFilters + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this SavedAppMapSearch. + + The search filters. # noqa: E501 + + :param search_filters: The search_filters of this SavedAppMapSearch. # noqa: E501 + :type: AppSearchFilters + """ + if self._configuration.client_side_validation and search_filters is None: + raise ValueError("Invalid value for `search_filters`, must not be `None`") # noqa: E501 + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this SavedAppMapSearch. # noqa: E501 + + + :return: The updated_epoch_millis of this SavedAppMapSearch. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this SavedAppMapSearch. + + + :param updated_epoch_millis: The updated_epoch_millis of this SavedAppMapSearch. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this SavedAppMapSearch. # noqa: E501 + + + :return: The updater_id of this SavedAppMapSearch. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this SavedAppMapSearch. + + + :param updater_id: The updater_id of this SavedAppMapSearch. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SavedAppMapSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SavedAppMapSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SavedAppMapSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/saved_app_map_search_group.py b/wavefront_api_client/models/saved_app_map_search_group.py new file mode 100644 index 0000000..de2a5cd --- /dev/null +++ b/wavefront_api_client/models/saved_app_map_search_group.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class SavedAppMapSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'id': 'str', + 'name': 'str', + 'search_filters': 'list[str]', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'id': 'id', + 'name': 'name', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, id=None, name=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """SavedAppMapSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._id = None + self._name = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if id is not None: + self.id = id + self.name = name + if search_filters is not None: + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The created_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this SavedAppMapSearchGroup. + + + :param created_epoch_millis: The created_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The creator_id of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this SavedAppMapSearchGroup. + + + :param creator_id: The creator_id of this SavedAppMapSearchGroup. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def id(self): + """Gets the id of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The id of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SavedAppMapSearchGroup. + + + :param id: The id of this SavedAppMapSearchGroup. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this SavedAppMapSearchGroup. # noqa: E501 + + Name of the search group # noqa: E501 + + :return: The name of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SavedAppMapSearchGroup. + + Name of the search group # noqa: E501 + + :param name: The name of this SavedAppMapSearchGroup. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def search_filters(self): + """Gets the search_filters of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The search_filters of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: list[str] + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this SavedAppMapSearchGroup. + + + :param search_filters: The search_filters of this SavedAppMapSearchGroup. # noqa: E501 + :type: list[str] + """ + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The updated_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this SavedAppMapSearchGroup. + + + :param updated_epoch_millis: The updated_epoch_millis of this SavedAppMapSearchGroup. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this SavedAppMapSearchGroup. # noqa: E501 + + + :return: The updater_id of this SavedAppMapSearchGroup. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this SavedAppMapSearchGroup. + + + :param updater_id: The updater_id of this SavedAppMapSearchGroup. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SavedAppMapSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SavedAppMapSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SavedAppMapSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/saved_search.py b/wavefront_api_client/models/saved_search.py index 45ac300..7d2600d 100644 --- a/wavefront_api_client/models/saved_search.py +++ b/wavefront_api_client/models/saved_search.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -149,7 +149,7 @@ def entity_type(self, entity_type): """ if self._configuration.client_side_validation and entity_type is None: raise ValueError("Invalid value for `entity_type`, must not be `None`") # noqa: E501 - allowed_values = ["DASHBOARD", "ALERT", "MAINTENANCE_WINDOW", "NOTIFICANT", "EVENT", "SOURCE", "EXTERNAL_LINK", "AGENT", "CLOUD_INTEGRATION", "APPLICATION", "REGISTERED_QUERY", "USER", "USER_GROUP", "SERVICE_ACCOUNT", "INGESTION_POLICY", "ROLE"] # noqa: E501 + allowed_values = ["DASHBOARD", "ALERT", "MAINTENANCE_WINDOW", "NOTIFICANT", "EVENT", "SOURCE", "EXTERNAL_LINK", "AGENT", "CLOUD_INTEGRATION", "APPLICATION", "REGISTERED_QUERY", "USER", "USER_GROUP", "SERVICE_ACCOUNT", "INGESTION_POLICY", "ROLE", "TOKEN"] # noqa: E501 if (self._configuration.client_side_validation and entity_type not in allowed_values): raise ValueError( diff --git a/wavefront_api_client/models/saved_traces_search.py b/wavefront_api_client/models/saved_traces_search.py new file mode 100644 index 0000000..87d6fc7 --- /dev/null +++ b/wavefront_api_client/models/saved_traces_search.py @@ -0,0 +1,310 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class SavedTracesSearch(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'deleted': 'bool', + 'id': 'str', + 'name': 'str', + 'search_filters': 'AppSearchFilters', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'deleted': 'deleted', + 'id': 'id', + 'name': 'name', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, deleted=None, id=None, name=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """SavedTracesSearch - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._deleted = None + self._id = None + self._name = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if deleted is not None: + self.deleted = deleted + if id is not None: + self.id = id + if name is not None: + self.name = name + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this SavedTracesSearch. # noqa: E501 + + + :return: The created_epoch_millis of this SavedTracesSearch. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this SavedTracesSearch. + + + :param created_epoch_millis: The created_epoch_millis of this SavedTracesSearch. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this SavedTracesSearch. # noqa: E501 + + + :return: The creator_id of this SavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this SavedTracesSearch. + + + :param creator_id: The creator_id of this SavedTracesSearch. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def deleted(self): + """Gets the deleted of this SavedTracesSearch. # noqa: E501 + + + :return: The deleted of this SavedTracesSearch. # noqa: E501 + :rtype: bool + """ + return self._deleted + + @deleted.setter + def deleted(self, deleted): + """Sets the deleted of this SavedTracesSearch. + + + :param deleted: The deleted of this SavedTracesSearch. # noqa: E501 + :type: bool + """ + + self._deleted = deleted + + @property + def id(self): + """Gets the id of this SavedTracesSearch. # noqa: E501 + + + :return: The id of this SavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SavedTracesSearch. + + + :param id: The id of this SavedTracesSearch. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this SavedTracesSearch. # noqa: E501 + + Name of the search # noqa: E501 + + :return: The name of this SavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SavedTracesSearch. + + Name of the search # noqa: E501 + + :param name: The name of this SavedTracesSearch. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def search_filters(self): + """Gets the search_filters of this SavedTracesSearch. # noqa: E501 + + The search filters. # noqa: E501 + + :return: The search_filters of this SavedTracesSearch. # noqa: E501 + :rtype: AppSearchFilters + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this SavedTracesSearch. + + The search filters. # noqa: E501 + + :param search_filters: The search_filters of this SavedTracesSearch. # noqa: E501 + :type: AppSearchFilters + """ + if self._configuration.client_side_validation and search_filters is None: + raise ValueError("Invalid value for `search_filters`, must not be `None`") # noqa: E501 + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this SavedTracesSearch. # noqa: E501 + + + :return: The updated_epoch_millis of this SavedTracesSearch. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this SavedTracesSearch. + + + :param updated_epoch_millis: The updated_epoch_millis of this SavedTracesSearch. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this SavedTracesSearch. # noqa: E501 + + + :return: The updater_id of this SavedTracesSearch. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this SavedTracesSearch. + + + :param updater_id: The updater_id of this SavedTracesSearch. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SavedTracesSearch, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SavedTracesSearch): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SavedTracesSearch): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/saved_traces_search_group.py b/wavefront_api_client/models/saved_traces_search_group.py new file mode 100644 index 0000000..cc89d45 --- /dev/null +++ b/wavefront_api_client/models/saved_traces_search_group.py @@ -0,0 +1,282 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class SavedTracesSearchGroup(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'created_epoch_millis': 'int', + 'creator_id': 'str', + 'id': 'str', + 'name': 'str', + 'search_filters': 'list[str]', + 'updated_epoch_millis': 'int', + 'updater_id': 'str' + } + + attribute_map = { + 'created_epoch_millis': 'createdEpochMillis', + 'creator_id': 'creatorId', + 'id': 'id', + 'name': 'name', + 'search_filters': 'searchFilters', + 'updated_epoch_millis': 'updatedEpochMillis', + 'updater_id': 'updaterId' + } + + def __init__(self, created_epoch_millis=None, creator_id=None, id=None, name=None, search_filters=None, updated_epoch_millis=None, updater_id=None, _configuration=None): # noqa: E501 + """SavedTracesSearchGroup - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._created_epoch_millis = None + self._creator_id = None + self._id = None + self._name = None + self._search_filters = None + self._updated_epoch_millis = None + self._updater_id = None + self.discriminator = None + + if created_epoch_millis is not None: + self.created_epoch_millis = created_epoch_millis + if creator_id is not None: + self.creator_id = creator_id + if id is not None: + self.id = id + self.name = name + if search_filters is not None: + self.search_filters = search_filters + if updated_epoch_millis is not None: + self.updated_epoch_millis = updated_epoch_millis + if updater_id is not None: + self.updater_id = updater_id + + @property + def created_epoch_millis(self): + """Gets the created_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The created_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + :rtype: int + """ + return self._created_epoch_millis + + @created_epoch_millis.setter + def created_epoch_millis(self, created_epoch_millis): + """Sets the created_epoch_millis of this SavedTracesSearchGroup. + + + :param created_epoch_millis: The created_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + :type: int + """ + + self._created_epoch_millis = created_epoch_millis + + @property + def creator_id(self): + """Gets the creator_id of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The creator_id of this SavedTracesSearchGroup. # noqa: E501 + :rtype: str + """ + return self._creator_id + + @creator_id.setter + def creator_id(self, creator_id): + """Sets the creator_id of this SavedTracesSearchGroup. + + + :param creator_id: The creator_id of this SavedTracesSearchGroup. # noqa: E501 + :type: str + """ + + self._creator_id = creator_id + + @property + def id(self): + """Gets the id of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The id of this SavedTracesSearchGroup. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SavedTracesSearchGroup. + + + :param id: The id of this SavedTracesSearchGroup. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this SavedTracesSearchGroup. # noqa: E501 + + Name of the search group # noqa: E501 + + :return: The name of this SavedTracesSearchGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SavedTracesSearchGroup. + + Name of the search group # noqa: E501 + + :param name: The name of this SavedTracesSearchGroup. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and name is None: + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def search_filters(self): + """Gets the search_filters of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The search_filters of this SavedTracesSearchGroup. # noqa: E501 + :rtype: list[str] + """ + return self._search_filters + + @search_filters.setter + def search_filters(self, search_filters): + """Sets the search_filters of this SavedTracesSearchGroup. + + + :param search_filters: The search_filters of this SavedTracesSearchGroup. # noqa: E501 + :type: list[str] + """ + + self._search_filters = search_filters + + @property + def updated_epoch_millis(self): + """Gets the updated_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The updated_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + :rtype: int + """ + return self._updated_epoch_millis + + @updated_epoch_millis.setter + def updated_epoch_millis(self, updated_epoch_millis): + """Sets the updated_epoch_millis of this SavedTracesSearchGroup. + + + :param updated_epoch_millis: The updated_epoch_millis of this SavedTracesSearchGroup. # noqa: E501 + :type: int + """ + + self._updated_epoch_millis = updated_epoch_millis + + @property + def updater_id(self): + """Gets the updater_id of this SavedTracesSearchGroup. # noqa: E501 + + + :return: The updater_id of this SavedTracesSearchGroup. # noqa: E501 + :rtype: str + """ + return self._updater_id + + @updater_id.setter + def updater_id(self, updater_id): + """Sets the updater_id of this SavedTracesSearchGroup. + + + :param updater_id: The updater_id of this SavedTracesSearchGroup. # noqa: E501 + :type: str + """ + + self._updater_id = updater_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SavedTracesSearchGroup, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SavedTracesSearchGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SavedTracesSearchGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/schema.py b/wavefront_api_client/models/schema.py index 3882042..51c161e 100644 --- a/wavefront_api_client/models/schema.py +++ b/wavefront_api_client/models/schema.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/search_query.py b/wavefront_api_client/models/search_query.py index 38057c0..3d8bfed 100644 --- a/wavefront_api_client/models/search_query.py +++ b/wavefront_api_client/models/search_query.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -33,44 +33,77 @@ class SearchQuery(object): and the value is json key in definition. """ swagger_types = { + 'end': 'int', 'key': 'str', 'matching_method': 'str', 'negated': 'bool', + 'start': 'int', 'value': 'str', 'values': 'list[str]' } attribute_map = { + 'end': 'end', 'key': 'key', 'matching_method': 'matchingMethod', 'negated': 'negated', + 'start': 'start', 'value': 'value', 'values': 'values' } - def __init__(self, key=None, matching_method=None, negated=None, value=None, values=None, _configuration=None): # noqa: E501 + def __init__(self, end=None, key=None, matching_method=None, negated=None, start=None, value=None, values=None, _configuration=None): # noqa: E501 """SearchQuery - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._end = None self._key = None self._matching_method = None self._negated = None + self._start = None self._value = None self._values = None self.discriminator = None + if end is not None: + self.end = end self.key = key if matching_method is not None: self.matching_method = matching_method if negated is not None: self.negated = negated + if start is not None: + self.start = start if value is not None: self.value = value if values is not None: self.values = values + @property + def end(self): + """Gets the end of this SearchQuery. # noqa: E501 + + The end point of the range. At least one of start or end points should be available for range search. # noqa: E501 + + :return: The end of this SearchQuery. # noqa: E501 + :rtype: int + """ + return self._end + + @end.setter + def end(self, end): + """Sets the end of this SearchQuery. + + The end point of the range. At least one of start or end points should be available for range search. # noqa: E501 + + :param end: The end of this SearchQuery. # noqa: E501 + :type: int + """ + + self._end = end + @property def key(self): """Gets the key of this SearchQuery. # noqa: E501 @@ -149,6 +182,29 @@ def negated(self, negated): self._negated = negated + @property + def start(self): + """Gets the start of this SearchQuery. # noqa: E501 + + The start point of the range. At least one of start or end points should be available for range search. # noqa: E501 + + :return: The start of this SearchQuery. # noqa: E501 + :rtype: int + """ + return self._start + + @start.setter + def start(self, start): + """Sets the start of this SearchQuery. + + The start point of the range. At least one of start or end points should be available for range search. # noqa: E501 + + :param start: The start of this SearchQuery. # noqa: E501 + :type: int + """ + + self._start = start + @property def value(self): """Gets the value of this SearchQuery. # noqa: E501 diff --git a/wavefront_api_client/models/service_account.py b/wavefront_api_client/models/service_account.py index 371e1c1..a891110 100644 --- a/wavefront_api_client/models/service_account.py +++ b/wavefront_api_client/models/service_account.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -37,6 +37,7 @@ class ServiceAccount(object): 'description': 'str', 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[IngestionPolicy]', 'ingestion_policy': 'IngestionPolicy', 'last_used': 'int', 'roles': 'list[RoleDTO]', @@ -51,6 +52,7 @@ class ServiceAccount(object): 'description': 'description', 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy': 'ingestionPolicy', 'last_used': 'lastUsed', 'roles': 'roles', @@ -60,7 +62,7 @@ class ServiceAccount(object): 'user_groups': 'userGroups' } - def __init__(self, active=None, description=None, groups=None, identifier=None, ingestion_policy=None, last_used=None, roles=None, tokens=None, united_permissions=None, united_roles=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, active=None, description=None, groups=None, identifier=None, ingestion_policies=None, ingestion_policy=None, last_used=None, roles=None, tokens=None, united_permissions=None, united_roles=None, user_groups=None, _configuration=None): # noqa: E501 """ServiceAccount - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -70,6 +72,7 @@ def __init__(self, active=None, description=None, groups=None, identifier=None, self._description = None self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy = None self._last_used = None self._roles = None @@ -85,6 +88,8 @@ def __init__(self, active=None, description=None, groups=None, identifier=None, if groups is not None: self.groups = groups self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy is not None: self.ingestion_policy = ingestion_policy if last_used is not None: @@ -196,6 +201,29 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this ServiceAccount. # noqa: E501 + + The list of service account's ingestion policies. # noqa: E501 + + :return: The ingestion_policies of this ServiceAccount. # noqa: E501 + :rtype: list[IngestionPolicy] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this ServiceAccount. + + The list of service account's ingestion policies. # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this ServiceAccount. # noqa: E501 + :type: list[IngestionPolicy] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy(self): """Gets the ingestion_policy of this ServiceAccount. # noqa: E501 diff --git a/wavefront_api_client/models/service_account_write.py b/wavefront_api_client/models/service_account_write.py index f39e1ce..be7ecfe 100644 --- a/wavefront_api_client/models/service_account_write.py +++ b/wavefront_api_client/models/service_account_write.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -37,6 +37,7 @@ class ServiceAccountWrite(object): 'description': 'str', 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[str]', 'ingestion_policy_id': 'str', 'roles': 'list[str]', 'tokens': 'list[str]', @@ -48,13 +49,14 @@ class ServiceAccountWrite(object): 'description': 'description', 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy_id': 'ingestionPolicyId', 'roles': 'roles', 'tokens': 'tokens', 'user_groups': 'userGroups' } - def __init__(self, active=None, description=None, groups=None, identifier=None, ingestion_policy_id=None, roles=None, tokens=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, active=None, description=None, groups=None, identifier=None, ingestion_policies=None, ingestion_policy_id=None, roles=None, tokens=None, user_groups=None, _configuration=None): # noqa: E501 """ServiceAccountWrite - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -64,6 +66,7 @@ def __init__(self, active=None, description=None, groups=None, identifier=None, self._description = None self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy_id = None self._roles = None self._tokens = None @@ -77,6 +80,8 @@ def __init__(self, active=None, description=None, groups=None, identifier=None, if groups is not None: self.groups = groups self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy_id is not None: self.ingestion_policy_id = ingestion_policy_id if roles is not None: @@ -180,6 +185,29 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this ServiceAccountWrite. # noqa: E501 + + The list of ingestion policy ids, the service account will be added to.\" # noqa: E501 + + :return: The ingestion_policies of this ServiceAccountWrite. # noqa: E501 + :rtype: list[str] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this ServiceAccountWrite. + + The list of ingestion policy ids, the service account will be added to.\" # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this ServiceAccountWrite. # noqa: E501 + :type: list[str] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy_id(self): """Gets the ingestion_policy_id of this ServiceAccountWrite. # noqa: E501 diff --git a/wavefront_api_client/models/snowflake_configuration.py b/wavefront_api_client/models/snowflake_configuration.py new file mode 100644 index 0000000..dc354fe --- /dev/null +++ b/wavefront_api_client/models/snowflake_configuration.py @@ -0,0 +1,268 @@ +# coding: utf-8 + +""" + Wavefront REST API Documentation + +

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 + + OpenAPI spec version: v2 + Contact: chitimba@wavefront.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from wavefront_api_client.configuration import Configuration + + +class SnowflakeConfiguration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'account_id': 'str', + 'metric_filter_regex': 'str', + 'password': 'str', + 'role': 'str', + 'user_name': 'str', + 'warehouse': 'str' + } + + attribute_map = { + 'account_id': 'accountID', + 'metric_filter_regex': 'metricFilterRegex', + 'password': 'password', + 'role': 'role', + 'user_name': 'userName', + 'warehouse': 'warehouse' + } + + def __init__(self, account_id=None, metric_filter_regex=None, password=None, role=None, user_name=None, warehouse=None, _configuration=None): # noqa: E501 + """SnowflakeConfiguration - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._account_id = None + self._metric_filter_regex = None + self._password = None + self._role = None + self._user_name = None + self._warehouse = None + self.discriminator = None + + self.account_id = account_id + if metric_filter_regex is not None: + self.metric_filter_regex = metric_filter_regex + self.password = password + if role is not None: + self.role = role + self.user_name = user_name + if warehouse is not None: + self.warehouse = warehouse + + @property + def account_id(self): + """Gets the account_id of this SnowflakeConfiguration. # noqa: E501 + + Snowflake AccountID # noqa: E501 + + :return: The account_id of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._account_id + + @account_id.setter + def account_id(self, account_id): + """Sets the account_id of this SnowflakeConfiguration. + + Snowflake AccountID # noqa: E501 + + :param account_id: The account_id of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and account_id is None: + raise ValueError("Invalid value for `account_id`, must not be `None`") # noqa: E501 + + self._account_id = account_id + + @property + def metric_filter_regex(self): + """Gets the metric_filter_regex of this SnowflakeConfiguration. # noqa: E501 + + A regular expression that a metric name must match (case-insensitively) in order to be ingested # noqa: E501 + + :return: The metric_filter_regex of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._metric_filter_regex + + @metric_filter_regex.setter + def metric_filter_regex(self, metric_filter_regex): + """Sets the metric_filter_regex of this SnowflakeConfiguration. + + A regular expression that a metric name must match (case-insensitively) in order to be ingested # noqa: E501 + + :param metric_filter_regex: The metric_filter_regex of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + + self._metric_filter_regex = metric_filter_regex + + @property + def password(self): + """Gets the password of this SnowflakeConfiguration. # noqa: E501 + + Snowflake Password # noqa: E501 + + :return: The password of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._password + + @password.setter + def password(self, password): + """Sets the password of this SnowflakeConfiguration. + + Snowflake Password # noqa: E501 + + :param password: The password of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and password is None: + raise ValueError("Invalid value for `password`, must not be `None`") # noqa: E501 + + self._password = password + + @property + def role(self): + """Gets the role of this SnowflakeConfiguration. # noqa: E501 + + Role to be used while querying snowflake database # noqa: E501 + + :return: The role of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._role + + @role.setter + def role(self, role): + """Sets the role of this SnowflakeConfiguration. + + Role to be used while querying snowflake database # noqa: E501 + + :param role: The role of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + + self._role = role + + @property + def user_name(self): + """Gets the user_name of this SnowflakeConfiguration. # noqa: E501 + + Snowflake Username # noqa: E501 + + :return: The user_name of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._user_name + + @user_name.setter + def user_name(self, user_name): + """Sets the user_name of this SnowflakeConfiguration. + + Snowflake Username # noqa: E501 + + :param user_name: The user_name of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + if self._configuration.client_side_validation and user_name is None: + raise ValueError("Invalid value for `user_name`, must not be `None`") # noqa: E501 + + self._user_name = user_name + + @property + def warehouse(self): + """Gets the warehouse of this SnowflakeConfiguration. # noqa: E501 + + Warehouse to be used while querying snowflake database # noqa: E501 + + :return: The warehouse of this SnowflakeConfiguration. # noqa: E501 + :rtype: str + """ + return self._warehouse + + @warehouse.setter + def warehouse(self, warehouse): + """Sets the warehouse of this SnowflakeConfiguration. + + Warehouse to be used while querying snowflake database # noqa: E501 + + :param warehouse: The warehouse of this SnowflakeConfiguration. # noqa: E501 + :type: str + """ + + self._warehouse = warehouse + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnowflakeConfiguration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnowflakeConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SnowflakeConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/wavefront_api_client/models/sortable_search_request.py b/wavefront_api_client/models/sortable_search_request.py index f5e74a3..7ad92e2 100644 --- a/wavefront_api_client/models/sortable_search_request.py +++ b/wavefront_api_client/models/sortable_search_request.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/sorting.py b/wavefront_api_client/models/sorting.py index 69987aa..516fc2d 100644 --- a/wavefront_api_client/models/sorting.py +++ b/wavefront_api_client/models/sorting.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/source.py b/wavefront_api_client/models/source.py index 52848f8..c583bcd 100644 --- a/wavefront_api_client/models/source.py +++ b/wavefront_api_client/models/source.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/source_label_pair.py b/wavefront_api_client/models/source_label_pair.py index 478ab1c..b9bc19b 100644 --- a/wavefront_api_client/models/source_label_pair.py +++ b/wavefront_api_client/models/source_label_pair.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/source_search_request_container.py b/wavefront_api_client/models/source_search_request_container.py index a2aa5a5..ba36362 100644 --- a/wavefront_api_client/models/source_search_request_container.py +++ b/wavefront_api_client/models/source_search_request_container.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/span.py b/wavefront_api_client/models/span.py index 16d115f..51a20f8 100644 --- a/wavefront_api_client/models/span.py +++ b/wavefront_api_client/models/span.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/span_sampling_policy.py b/wavefront_api_client/models/span_sampling_policy.py index 1d280a5..679f8fe 100644 --- a/wavefront_api_client/models/span_sampling_policy.py +++ b/wavefront_api_client/models/span_sampling_policy.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/specific_data.py b/wavefront_api_client/models/specific_data.py index 7e6922c..d4b08f5 100644 --- a/wavefront_api_client/models/specific_data.py +++ b/wavefront_api_client/models/specific_data.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/stats_model_internal_use.py b/wavefront_api_client/models/stats_model_internal_use.py index c57e2d5..79a046e 100644 --- a/wavefront_api_client/models/stats_model_internal_use.py +++ b/wavefront_api_client/models/stats_model_internal_use.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/stripe.py b/wavefront_api_client/models/stripe.py index f05d5a4..51863f5 100644 --- a/wavefront_api_client/models/stripe.py +++ b/wavefront_api_client/models/stripe.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/tags_response.py b/wavefront_api_client/models/tags_response.py index bf922ae..66399e2 100644 --- a/wavefront_api_client/models/tags_response.py +++ b/wavefront_api_client/models/tags_response.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/target_info.py b/wavefront_api_client/models/target_info.py index d6bad2b..9d52415 100644 --- a/wavefront_api_client/models/target_info.py +++ b/wavefront_api_client/models/target_info.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/tesla_configuration.py b/wavefront_api_client/models/tesla_configuration.py index 852be56..e023c89 100644 --- a/wavefront_api_client/models/tesla_configuration.py +++ b/wavefront_api_client/models/tesla_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/timeseries.py b/wavefront_api_client/models/timeseries.py index 62c9e1c..dd74777 100644 --- a/wavefront_api_client/models/timeseries.py +++ b/wavefront_api_client/models/timeseries.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/trace.py b/wavefront_api_client/models/trace.py index 862e5d1..19fce7a 100644 --- a/wavefront_api_client/models/trace.py +++ b/wavefront_api_client/models/trace.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/triage_dashboard.py b/wavefront_api_client/models/triage_dashboard.py index 3df50c7..d17def2 100644 --- a/wavefront_api_client/models/triage_dashboard.py +++ b/wavefront_api_client/models/triage_dashboard.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/tuple.py b/wavefront_api_client/models/tuple.py index edfd579..4f097a4 100644 --- a/wavefront_api_client/models/tuple.py +++ b/wavefront_api_client/models/tuple.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/tuple_result.py b/wavefront_api_client/models/tuple_result.py index c8aaf49..c34a2f3 100644 --- a/wavefront_api_client/models/tuple_result.py +++ b/wavefront_api_client/models/tuple_result.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/tuple_value_result.py b/wavefront_api_client/models/tuple_value_result.py index f1ca6e0..b8bfc6b 100644 --- a/wavefront_api_client/models/tuple_value_result.py +++ b/wavefront_api_client/models/tuple_value_result.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/user_api_token.py b/wavefront_api_client/models/user_api_token.py index d9ea1b0..6b36a5f 100644 --- a/wavefront_api_client/models/user_api_token.py +++ b/wavefront_api_client/models/user_api_token.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -33,34 +33,125 @@ class UserApiToken(object): and the value is json key in definition. """ swagger_types = { + 'account': 'str', + 'account_type': 'str', + 'date_generated': 'int', 'last_used': 'int', 'token_id': 'str', 'token_name': 'str' } attribute_map = { + 'account': 'account', + 'account_type': 'accountType', + 'date_generated': 'dateGenerated', 'last_used': 'lastUsed', 'token_id': 'tokenID', 'token_name': 'tokenName' } - def __init__(self, last_used=None, token_id=None, token_name=None, _configuration=None): # noqa: E501 + def __init__(self, account=None, account_type=None, date_generated=None, last_used=None, token_id=None, token_name=None, _configuration=None): # noqa: E501 """UserApiToken - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() self._configuration = _configuration + self._account = None + self._account_type = None + self._date_generated = None self._last_used = None self._token_id = None self._token_name = None self.discriminator = None + if account is not None: + self.account = account + if account_type is not None: + self.account_type = account_type + if date_generated is not None: + self.date_generated = date_generated if last_used is not None: self.last_used = last_used self.token_id = token_id if token_name is not None: self.token_name = token_name + @property + def account(self): + """Gets the account of this UserApiToken. # noqa: E501 + + The account who generated this token. # noqa: E501 + + :return: The account of this UserApiToken. # noqa: E501 + :rtype: str + """ + return self._account + + @account.setter + def account(self, account): + """Sets the account of this UserApiToken. + + The account who generated this token. # noqa: E501 + + :param account: The account of this UserApiToken. # noqa: E501 + :type: str + """ + + self._account = account + + @property + def account_type(self): + """Gets the account_type of this UserApiToken. # noqa: E501 + + The user or service account generated this token. # noqa: E501 + + :return: The account_type of this UserApiToken. # noqa: E501 + :rtype: str + """ + return self._account_type + + @account_type.setter + def account_type(self, account_type): + """Sets the account_type of this UserApiToken. + + The user or service account generated this token. # noqa: E501 + + :param account_type: The account_type of this UserApiToken. # noqa: E501 + :type: str + """ + allowed_values = ["USER_ACCOUNT", "SERVICE_ACCOUNT", "INACTIVE_SERVICE_ACCOUNT"] # noqa: E501 + if (self._configuration.client_side_validation and + account_type not in allowed_values): + raise ValueError( + "Invalid value for `account_type` ({0}), must be one of {1}" # noqa: E501 + .format(account_type, allowed_values) + ) + + self._account_type = account_type + + @property + def date_generated(self): + """Gets the date_generated of this UserApiToken. # noqa: E501 + + The generation date of the token. # noqa: E501 + + :return: The date_generated of this UserApiToken. # noqa: E501 + :rtype: int + """ + return self._date_generated + + @date_generated.setter + def date_generated(self, date_generated): + """Sets the date_generated of this UserApiToken. + + The generation date of the token. # noqa: E501 + + :param date_generated: The date_generated of this UserApiToken. # noqa: E501 + :type: int + """ + + self._date_generated = date_generated + @property def last_used(self): """Gets the last_used of this UserApiToken. # noqa: E501 diff --git a/wavefront_api_client/models/user_dto.py b/wavefront_api_client/models/user_dto.py index 47eaa9b..8d8b2a0 100644 --- a/wavefront_api_client/models/user_dto.py +++ b/wavefront_api_client/models/user_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -36,6 +36,7 @@ class UserDTO(object): 'customer': 'str', 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[IngestionPolicy]', 'ingestion_policy': 'IngestionPolicy', 'last_successful_login': 'int', 'roles': 'list[RoleDTO]', @@ -47,6 +48,7 @@ class UserDTO(object): 'customer': 'customer', 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy': 'ingestionPolicy', 'last_successful_login': 'lastSuccessfulLogin', 'roles': 'roles', @@ -54,7 +56,7 @@ class UserDTO(object): 'user_groups': 'userGroups' } - def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy=None, last_successful_login=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, customer=None, groups=None, identifier=None, ingestion_policies=None, ingestion_policy=None, last_successful_login=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 """UserDTO - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -63,6 +65,7 @@ def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy self._customer = None self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy = None self._last_successful_login = None self._roles = None @@ -76,6 +79,8 @@ def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy self.groups = groups if identifier is not None: self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy is not None: self.ingestion_policy = ingestion_policy if last_successful_login is not None: @@ -150,6 +155,27 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this UserDTO. # noqa: E501 + + + :return: The ingestion_policies of this UserDTO. # noqa: E501 + :rtype: list[IngestionPolicy] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this UserDTO. + + + :param ingestion_policies: The ingestion_policies of this UserDTO. # noqa: E501 + :type: list[IngestionPolicy] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy(self): """Gets the ingestion_policy of this UserDTO. # noqa: E501 diff --git a/wavefront_api_client/models/user_group.py b/wavefront_api_client/models/user_group.py index f997b82..e9919c7 100644 --- a/wavefront_api_client/models/user_group.py +++ b/wavefront_api_client/models/user_group.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/user_group_model.py b/wavefront_api_client/models/user_group_model.py index 26601e7..d9fe7b4 100644 --- a/wavefront_api_client/models/user_group_model.py +++ b/wavefront_api_client/models/user_group_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -37,6 +37,7 @@ class UserGroupModel(object): 'customer': 'str', 'description': 'str', 'id': 'str', + 'ingestion_policies': 'list[IngestionPolicy]', 'name': 'str', 'properties': 'UserGroupPropertiesDTO', 'role_count': 'int', @@ -50,6 +51,7 @@ class UserGroupModel(object): 'customer': 'customer', 'description': 'description', 'id': 'id', + 'ingestion_policies': 'ingestionPolicies', 'name': 'name', 'properties': 'properties', 'role_count': 'roleCount', @@ -58,7 +60,7 @@ class UserGroupModel(object): 'users': 'users' } - def __init__(self, created_epoch_millis=None, customer=None, description=None, id=None, name=None, properties=None, role_count=None, roles=None, user_count=None, users=None, _configuration=None): # noqa: E501 + def __init__(self, created_epoch_millis=None, customer=None, description=None, id=None, ingestion_policies=None, name=None, properties=None, role_count=None, roles=None, user_count=None, users=None, _configuration=None): # noqa: E501 """UserGroupModel - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -68,6 +70,7 @@ def __init__(self, created_epoch_millis=None, customer=None, description=None, i self._customer = None self._description = None self._id = None + self._ingestion_policies = None self._name = None self._properties = None self._role_count = None @@ -84,6 +87,8 @@ def __init__(self, created_epoch_millis=None, customer=None, description=None, i self.description = description if id is not None: self.id = id + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies self.name = name if properties is not None: self.properties = properties @@ -186,6 +191,29 @@ def id(self, id): self._id = id + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this UserGroupModel. # noqa: E501 + + Ingestion policies linked with the user group # noqa: E501 + + :return: The ingestion_policies of this UserGroupModel. # noqa: E501 + :rtype: list[IngestionPolicy] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this UserGroupModel. + + Ingestion policies linked with the user group # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this UserGroupModel. # noqa: E501 + :type: list[IngestionPolicy] + """ + + self._ingestion_policies = ingestion_policies + @property def name(self): """Gets the name of this UserGroupModel. # noqa: E501 diff --git a/wavefront_api_client/models/user_group_properties_dto.py b/wavefront_api_client/models/user_group_properties_dto.py index 3eaae5d..06be906 100644 --- a/wavefront_api_client/models/user_group_properties_dto.py +++ b/wavefront_api_client/models/user_group_properties_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/user_group_write.py b/wavefront_api_client/models/user_group_write.py index 480bc0b..42616be 100644 --- a/wavefront_api_client/models/user_group_write.py +++ b/wavefront_api_client/models/user_group_write.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/user_model.py b/wavefront_api_client/models/user_model.py index 08e07bc..38f0017 100644 --- a/wavefront_api_client/models/user_model.py +++ b/wavefront_api_client/models/user_model.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -36,6 +36,7 @@ class UserModel(object): 'customer': 'str', 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[IngestionPolicy]', 'ingestion_policy': 'IngestionPolicy', 'last_successful_login': 'int', 'roles': 'list[RoleDTO]', @@ -47,6 +48,7 @@ class UserModel(object): 'customer': 'customer', 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy': 'ingestionPolicy', 'last_successful_login': 'lastSuccessfulLogin', 'roles': 'roles', @@ -54,7 +56,7 @@ class UserModel(object): 'user_groups': 'userGroups' } - def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy=None, last_successful_login=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, customer=None, groups=None, identifier=None, ingestion_policies=None, ingestion_policy=None, last_successful_login=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 """UserModel - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -63,6 +65,7 @@ def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy self._customer = None self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy = None self._last_successful_login = None self._roles = None @@ -73,6 +76,8 @@ def __init__(self, customer=None, groups=None, identifier=None, ingestion_policy self.customer = customer self.groups = groups self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy is not None: self.ingestion_policy = ingestion_policy if last_successful_login is not None: @@ -158,6 +163,27 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this UserModel. # noqa: E501 + + + :return: The ingestion_policies of this UserModel. # noqa: E501 + :rtype: list[IngestionPolicy] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this UserModel. + + + :param ingestion_policies: The ingestion_policies of this UserModel. # noqa: E501 + :type: list[IngestionPolicy] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy(self): """Gets the ingestion_policy of this UserModel. # noqa: E501 diff --git a/wavefront_api_client/models/user_request_dto.py b/wavefront_api_client/models/user_request_dto.py index 258312b..ad257b0 100644 --- a/wavefront_api_client/models/user_request_dto.py +++ b/wavefront_api_client/models/user_request_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -37,6 +37,7 @@ class UserRequestDTO(object): 'customer': 'str', 'groups': 'list[str]', 'identifier': 'str', + 'ingestion_policies': 'list[str]', 'ingestion_policy_id': 'str', 'roles': 'list[str]', 'sso_id': 'str', @@ -48,13 +49,14 @@ class UserRequestDTO(object): 'customer': 'customer', 'groups': 'groups', 'identifier': 'identifier', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy_id': 'ingestionPolicyId', 'roles': 'roles', 'sso_id': 'ssoId', 'user_groups': 'userGroups' } - def __init__(self, credential=None, customer=None, groups=None, identifier=None, ingestion_policy_id=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, credential=None, customer=None, groups=None, identifier=None, ingestion_policies=None, ingestion_policy_id=None, roles=None, sso_id=None, user_groups=None, _configuration=None): # noqa: E501 """UserRequestDTO - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -64,6 +66,7 @@ def __init__(self, credential=None, customer=None, groups=None, identifier=None, self._customer = None self._groups = None self._identifier = None + self._ingestion_policies = None self._ingestion_policy_id = None self._roles = None self._sso_id = None @@ -78,6 +81,8 @@ def __init__(self, credential=None, customer=None, groups=None, identifier=None, self.groups = groups if identifier is not None: self.identifier = identifier + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy_id is not None: self.ingestion_policy_id = ingestion_policy_id if roles is not None: @@ -171,6 +176,27 @@ def identifier(self, identifier): self._identifier = identifier + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this UserRequestDTO. # noqa: E501 + + + :return: The ingestion_policies of this UserRequestDTO. # noqa: E501 + :rtype: list[str] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this UserRequestDTO. + + + :param ingestion_policies: The ingestion_policies of this UserRequestDTO. # noqa: E501 + :type: list[str] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy_id(self): """Gets the ingestion_policy_id of this UserRequestDTO. # noqa: E501 diff --git a/wavefront_api_client/models/user_to_create.py b/wavefront_api_client/models/user_to_create.py index f25dc2e..7d0f795 100644 --- a/wavefront_api_client/models/user_to_create.py +++ b/wavefront_api_client/models/user_to_create.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 @@ -35,6 +35,7 @@ class UserToCreate(object): swagger_types = { 'email_address': 'str', 'groups': 'list[str]', + 'ingestion_policies': 'list[str]', 'ingestion_policy_id': 'str', 'roles': 'list[str]', 'user_groups': 'list[str]' @@ -43,12 +44,13 @@ class UserToCreate(object): attribute_map = { 'email_address': 'emailAddress', 'groups': 'groups', + 'ingestion_policies': 'ingestionPolicies', 'ingestion_policy_id': 'ingestionPolicyId', 'roles': 'roles', 'user_groups': 'userGroups' } - def __init__(self, email_address=None, groups=None, ingestion_policy_id=None, roles=None, user_groups=None, _configuration=None): # noqa: E501 + def __init__(self, email_address=None, groups=None, ingestion_policies=None, ingestion_policy_id=None, roles=None, user_groups=None, _configuration=None): # noqa: E501 """UserToCreate - a model defined in Swagger""" # noqa: E501 if _configuration is None: _configuration = Configuration() @@ -56,6 +58,7 @@ def __init__(self, email_address=None, groups=None, ingestion_policy_id=None, ro self._email_address = None self._groups = None + self._ingestion_policies = None self._ingestion_policy_id = None self._roles = None self._user_groups = None @@ -63,6 +66,8 @@ def __init__(self, email_address=None, groups=None, ingestion_policy_id=None, ro self.email_address = email_address self.groups = groups + if ingestion_policies is not None: + self.ingestion_policies = ingestion_policies if ingestion_policy_id is not None: self.ingestion_policy_id = ingestion_policy_id if roles is not None: @@ -119,6 +124,29 @@ def groups(self, groups): self._groups = groups + @property + def ingestion_policies(self): + """Gets the ingestion_policies of this UserToCreate. # noqa: E501 + + The list of ingestion policy ids, the user will be added to. # noqa: E501 + + :return: The ingestion_policies of this UserToCreate. # noqa: E501 + :rtype: list[str] + """ + return self._ingestion_policies + + @ingestion_policies.setter + def ingestion_policies(self, ingestion_policies): + """Sets the ingestion_policies of this UserToCreate. + + The list of ingestion policy ids, the user will be added to. # noqa: E501 + + :param ingestion_policies: The ingestion_policies of this UserToCreate. # noqa: E501 + :type: list[str] + """ + + self._ingestion_policies = ingestion_policies + @property def ingestion_policy_id(self): """Gets the ingestion_policy_id of this UserToCreate. # noqa: E501 @@ -146,7 +174,7 @@ def ingestion_policy_id(self, ingestion_policy_id): def roles(self): """Gets the roles of this UserToCreate. # noqa: E501 - The list of role ids, the user will be added to.\" # noqa: E501 + The list of role ids, the user will be added to. # noqa: E501 :return: The roles of this UserToCreate. # noqa: E501 :rtype: list[str] @@ -157,7 +185,7 @@ def roles(self): def roles(self, roles): """Sets the roles of this UserToCreate. - The list of role ids, the user will be added to.\" # noqa: E501 + The list of role ids, the user will be added to. # noqa: E501 :param roles: The roles of this UserToCreate. # noqa: E501 :type: list[str] diff --git a/wavefront_api_client/models/validated_users_dto.py b/wavefront_api_client/models/validated_users_dto.py index 4b3a5a0..bfefab5 100644 --- a/wavefront_api_client/models/validated_users_dto.py +++ b/wavefront_api_client/models/validated_users_dto.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/void.py b/wavefront_api_client/models/void.py index d914cea..6b48302 100644 --- a/wavefront_api_client/models/void.py +++ b/wavefront_api_client/models/void.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/vrops_configuration.py b/wavefront_api_client/models/vrops_configuration.py index 78d328d..889691c 100644 --- a/wavefront_api_client/models/vrops_configuration.py +++ b/wavefront_api_client/models/vrops_configuration.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/models/wf_tags.py b/wavefront_api_client/models/wf_tags.py index 6acae83..b079536 100644 --- a/wavefront_api_client/models/wf_tags.py +++ b/wavefront_api_client/models/wf_tags.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501 diff --git a/wavefront_api_client/rest.py b/wavefront_api_client/rest.py index 919963d..226f0e3 100644 --- a/wavefront_api_client/rest.py +++ b/wavefront_api_client/rest.py @@ -1,7 +1,7 @@ # coding: utf-8 """ - Wavefront REST API + Wavefront REST API Documentation

The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.

When you make REST API calls outside the Wavefront REST API documentation you must add the header \"Authorization: Bearer <<API-TOKEN>>\" to your HTTP requests.

# noqa: E501