Skip to content

Commit

Permalink
Autogenerated Update v2.32.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
wf-jenkins committed May 10, 2019
1 parent e1a160c commit 3819d1c
Show file tree
Hide file tree
Showing 76 changed files with 4,645 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.4
2.4.5
2 changes: 1 addition & 1 deletion .swagger-codegen/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"gitUserId": "wavefrontHQ",
"packageName": "wavefront_api_client",
"packageUrl": "https://github.com/wavefrontHQ/python-client",
"packageVersion": "2.30.15"
"packageVersion": "2.32.19"
}
7 changes: 7 additions & 0 deletions .swagger-codegen/config.jsone
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"gitRepoId": "python-client",
"gitUserId": "wavefrontHQ",
"packageName": "wavefront_api_client",
"packageUrl": "https://github.com/wavefrontHQ/python-client",
"packageVersion": "2.30.15"
}
43 changes: 28 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.15
- Package version: 2.32.19
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -59,15 +59,13 @@ configuration.api_key['X-AUTH-TOKEN'] = 'YOUR_API_KEY'

# create an instance of the API class
api_instance = wavefront_api_client.AlertApi(wavefront_api_client.ApiClient(configuration))
id = 'id_example' # str |
tag_value = 'tag_value_example' # str |
body = [wavefront_api_client.AccessControlListWriteDTO()] # list[AccessControlListWriteDTO] | (optional)

try:
# Add a tag to a specific alert
api_response = api_instance.add_alert_tag(id, tag_value)
pprint(api_response)
# Adds the specified ids to the given alerts' ACL
api_instance.add_access(body=body)
except ApiException as e:
print("Exception when calling AlertApi->add_alert_tag: %s\n" % e)
print("Exception when calling AlertApi->add_access: %s\n" % e)

```

Expand All @@ -77,23 +75,33 @@ All URIs are relative to *https://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AlertApi* | [**add_access**](docs/AlertApi.md#add_access) | **POST** /api/v2/alert/acl/add | Adds the specified ids to the given alerts' ACL
*AlertApi* | [**add_alert_tag**](docs/AlertApi.md#add_alert_tag) | **PUT** /api/v2/alert/{id}/tag/{tagValue} | Add a tag to a specific alert
*AlertApi* | [**can_user_modify**](docs/AlertApi.md#can_user_modify) | **GET** /api/v2/alert/{id}/canUserModify |
*AlertApi* | [**clone_alert**](docs/AlertApi.md#clone_alert) | **POST** /api/v2/alert/{id}/clone | Clones the specified alert
*AlertApi* | [**create_alert**](docs/AlertApi.md#create_alert) | **POST** /api/v2/alert | Create a specific alert
*AlertApi* | [**delete_alert**](docs/AlertApi.md#delete_alert) | **DELETE** /api/v2/alert/{id} | Delete a specific alert
*AlertApi* | [**get_access_control_list**](docs/AlertApi.md#get_access_control_list) | **GET** /api/v2/alert/acl | Get Access Control Lists' union for the specified alerts
*AlertApi* | [**get_alert**](docs/AlertApi.md#get_alert) | **GET** /api/v2/alert/{id} | Get a specific alert
*AlertApi* | [**get_alert_history**](docs/AlertApi.md#get_alert_history) | **GET** /api/v2/alert/{id}/history | Get the version history of a specific alert
*AlertApi* | [**get_alert_tags**](docs/AlertApi.md#get_alert_tags) | **GET** /api/v2/alert/{id}/tag | Get all tags associated with a specific alert
*AlertApi* | [**get_alert_version**](docs/AlertApi.md#get_alert_version) | **GET** /api/v2/alert/{id}/history/{version} | Get a specific historical version of a specific alert
*AlertApi* | [**get_alerts_summary**](docs/AlertApi.md#get_alerts_summary) | **GET** /api/v2/alert/summary | Count alerts of various statuses for a customer
*AlertApi* | [**get_all_alert**](docs/AlertApi.md#get_all_alert) | **GET** /api/v2/alert | Get all alerts for a customer
*AlertApi* | [**hide_alert**](docs/AlertApi.md#hide_alert) | **POST** /api/v2/alert/{id}/uninstall | Hide a specific integration alert
*AlertApi* | [**remove_access**](docs/AlertApi.md#remove_access) | **POST** /api/v2/alert/acl/remove | Removes the specified ids from the given alerts' ACL
*AlertApi* | [**remove_alert_tag**](docs/AlertApi.md#remove_alert_tag) | **DELETE** /api/v2/alert/{id}/tag/{tagValue} | Remove a tag from a specific alert
*AlertApi* | [**set_acl**](docs/AlertApi.md#set_acl) | **PUT** /api/v2/alert/acl/set | Set ACL for the specified alerts
*AlertApi* | [**set_alert_tags**](docs/AlertApi.md#set_alert_tags) | **POST** /api/v2/alert/{id}/tag | Set all tags associated with a specific alert
*AlertApi* | [**snooze_alert**](docs/AlertApi.md#snooze_alert) | **POST** /api/v2/alert/{id}/snooze | Snooze a specific alert for some number of seconds
*AlertApi* | [**undelete_alert**](docs/AlertApi.md#undelete_alert) | **POST** /api/v2/alert/{id}/undelete | Undelete a specific alert
*AlertApi* | [**unhide_alert**](docs/AlertApi.md#unhide_alert) | **POST** /api/v2/alert/{id}/install | Unhide a specific integration alert
*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_token**](docs/ApiTokenApi.md#delete_token) | **DELETE** /api/v2/apitoken/{id} | Delete the specified api token
*ApiTokenApi* | [**get_all_tokens**](docs/ApiTokenApi.md#get_all_tokens) | **GET** /api/v2/apitoken | Get all api tokens for a user
*ApiTokenApi* | [**update_token_name**](docs/ApiTokenApi.md#update_token_name) | **PUT** /api/v2/apitoken/{id} | Update the name of the specified api token
*CloudIntegrationApi* | [**create_cloud_integration**](docs/CloudIntegrationApi.md#create_cloud_integration) | **POST** /api/v2/cloudintegration | Create a cloud integration
*CloudIntegrationApi* | [**delete_cloud_integration**](docs/CloudIntegrationApi.md#delete_cloud_integration) | **DELETE** /api/v2/cloudintegration/{id} | Delete a specific cloud integration
*CloudIntegrationApi* | [**disable_cloud_integration**](docs/CloudIntegrationApi.md#disable_cloud_integration) | **POST** /api/v2/cloudintegration/{id}/disable | Disable a specific cloud integration
Expand Down Expand Up @@ -259,8 +267,8 @@ Class | Method | HTTP request | Description
*UserApi* | [**create_or_update_user**](docs/UserApi.md#create_or_update_user) | **POST** /api/v2/user | Creates or updates a user
*UserApi* | [**delete_multiple_users**](docs/UserApi.md#delete_multiple_users) | **POST** /api/v2/user/deleteUsers | Deletes multiple users
*UserApi* | [**delete_user**](docs/UserApi.md#delete_user) | **DELETE** /api/v2/user/{id} | Deletes a user identified by id
*UserApi* | [**get_all_user**](docs/UserApi.md#get_all_user) | **GET** /api/v2/user | Get all users
*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/v2/user/{id} | Retrieves a user by identifier (email addr)
*UserApi* | [**get_all_users**](docs/UserApi.md#get_all_users) | **GET** /api/v2/user | Get all users
*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/v2/user/{id} | Retrieves a user by identifier (email address)
*UserApi* | [**grant_permission_to_users**](docs/UserApi.md#grant_permission_to_users) | **POST** /api/v2/user/grant/{permission} | Grants a specific user permission to multiple users
*UserApi* | [**grant_user_permission**](docs/UserApi.md#grant_user_permission) | **POST** /api/v2/user/{id}/grant | Grants a specific user permission
*UserApi* | [**invite_users**](docs/UserApi.md#invite_users) | **POST** /api/v2/user/invite | Invite users with given user groups and permissions.
Expand All @@ -287,10 +295,11 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [ACL](docs/ACL.md)
- [AWSBaseCredentials](docs/AWSBaseCredentials.md)
- [AccessControlElement](docs/AccessControlElement.md)
- [AccessControlListReadDTO](docs/AccessControlListReadDTO.md)
- [AccessControlListSimple](docs/AccessControlListSimple.md)
- [AccessControlListWriteDTO](docs/AccessControlListWriteDTO.md)
- [Alert](docs/Alert.md)
- [AvroBackedStandardizedDTO](docs/AvroBackedStandardizedDTO.md)
- [AzureActivityLogConfiguration](docs/AzureActivityLogConfiguration.md)
Expand Down Expand Up @@ -362,7 +371,7 @@ Class | Method | HTTP request | Description
- [PagedProxy](docs/PagedProxy.md)
- [PagedSavedSearch](docs/PagedSavedSearch.md)
- [PagedSource](docs/PagedSource.md)
- [PagedUserGroup](docs/PagedUserGroup.md)
- [PagedUserGroupModel](docs/PagedUserGroupModel.md)
- [Point](docs/Point.md)
- [Proxy](docs/Proxy.md)
- [QueryEvent](docs/QueryEvent.md)
Expand All @@ -380,11 +389,12 @@ Class | Method | HTTP request | Description
- [ResponseContainerHistoryResponse](docs/ResponseContainerHistoryResponse.md)
- [ResponseContainerIntegration](docs/ResponseContainerIntegration.md)
- [ResponseContainerIntegrationStatus](docs/ResponseContainerIntegrationStatus.md)
- [ResponseContainerListACL](docs/ResponseContainerListACL.md)
- [ResponseContainerListAccessControlListReadDTO](docs/ResponseContainerListAccessControlListReadDTO.md)
- [ResponseContainerListIntegration](docs/ResponseContainerListIntegration.md)
- [ResponseContainerListIntegrationManifestGroup](docs/ResponseContainerListIntegrationManifestGroup.md)
- [ResponseContainerListString](docs/ResponseContainerListString.md)
- [ResponseContainerListUserGroup](docs/ResponseContainerListUserGroup.md)
- [ResponseContainerListUserApiToken](docs/ResponseContainerListUserApiToken.md)
- [ResponseContainerListUserGroupModel](docs/ResponseContainerListUserGroupModel.md)
- [ResponseContainerMaintenanceWindow](docs/ResponseContainerMaintenanceWindow.md)
- [ResponseContainerMapStringInteger](docs/ResponseContainerMapStringInteger.md)
- [ResponseContainerMapStringIntegrationStatus](docs/ResponseContainerMapStringIntegrationStatus.md)
Expand All @@ -406,12 +416,13 @@ Class | Method | HTTP request | Description
- [ResponseContainerPagedProxy](docs/ResponseContainerPagedProxy.md)
- [ResponseContainerPagedSavedSearch](docs/ResponseContainerPagedSavedSearch.md)
- [ResponseContainerPagedSource](docs/ResponseContainerPagedSource.md)
- [ResponseContainerPagedUserGroup](docs/ResponseContainerPagedUserGroup.md)
- [ResponseContainerPagedUserGroupModel](docs/ResponseContainerPagedUserGroupModel.md)
- [ResponseContainerProxy](docs/ResponseContainerProxy.md)
- [ResponseContainerSavedSearch](docs/ResponseContainerSavedSearch.md)
- [ResponseContainerSource](docs/ResponseContainerSource.md)
- [ResponseContainerTagsResponse](docs/ResponseContainerTagsResponse.md)
- [ResponseContainerUserGroup](docs/ResponseContainerUserGroup.md)
- [ResponseContainerUserApiToken](docs/ResponseContainerUserApiToken.md)
- [ResponseContainerUserGroupModel](docs/ResponseContainerUserGroupModel.md)
- [ResponseContainerValidatedUsersDTO](docs/ResponseContainerValidatedUsersDTO.md)
- [ResponseStatus](docs/ResponseStatus.md)
- [SavedSearch](docs/SavedSearch.md)
Expand All @@ -427,8 +438,10 @@ Class | Method | HTTP request | Description
- [TeslaConfiguration](docs/TeslaConfiguration.md)
- [Timeseries](docs/Timeseries.md)
- [User](docs/User.md)
- [UserApiToken](docs/UserApiToken.md)
- [UserDTO](docs/UserDTO.md)
- [UserGroup](docs/UserGroup.md)
- [UserGroupModel](docs/UserGroupModel.md)
- [UserGroupPropertiesDTO](docs/UserGroupPropertiesDTO.md)
- [UserGroupWrite](docs/UserGroupWrite.md)
- [UserModel](docs/UserModel.md)
Expand Down
1 change: 1 addition & 0 deletions docs/AccessControlElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | | [optional]
**id** | **str** | | [optional]
**name** | **str** | | [optional]

Expand Down
12 changes: 12 additions & 0 deletions docs/AccessControlListReadDTO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AccessControlListReadDTO

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entity_id** | **str** | The entity Id | [optional]
**modify_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user groups ids that have modify permission | [optional]
**view_acl** | [**list[AccessControlElement]**](AccessControlElement.md) | List of users and user group ids that have view permission | [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)


12 changes: 12 additions & 0 deletions docs/AccessControlListWriteDTO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AccessControlListWriteDTO

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entity_id** | **str** | The entity Id | [optional]
**modify_acl** | **list[str]** | List of users and user groups ids that have modify permission | [optional]
**view_acl** | **list[str]** | List of users and user group ids that have view permission | [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)


3 changes: 3 additions & 0 deletions docs/Alert.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
## Properties
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_type** | **str** | Alert type. | [optional]
**alerts_last_day** | **int** | | [optional]
**alerts_last_month** | **int** | | [optional]
**alerts_last_week** | **int** | | [optional]
**can_user_modify** | **bool** | Whether the user can modify the alert. | [optional]
**condition** | **str** | A Wavefront query that is evaluated at regular intervals (default 1m). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes |
**condition_qb_enabled** | **bool** | Whether the condition query was created using the Query Builder. Default false | [optional]
**condition_qb_serialization** | **str** | The special serialization of the Query Builder that corresponds to the condition query. Applicable only when conditionQBEnabled is true | [optional]
Expand Down Expand Up @@ -42,6 +44,7 @@ Name | Type | Description | Notes
**notificants** | **list[str]** | A derived field listing the webhook ids used by this alert | [optional]
**notification_resend_frequency_minutes** | **int** | How often to re-trigger a continually failing alert. If absent or <= 0, no retriggering occurs | [optional]
**num_points_in_failure_frame** | **int** | Number of points scanned in alert query time frame. | [optional]
**orphan** | **bool** | | [optional]
**points_scanned_at_last_query** | **int** | A derived field recording the number of data points scanned when the system last computed this alert's condition | [optional]
**prefiring_host_label_pairs** | [**list[SourceLabelPair]**](SourceLabelPair.md) | Lists the series that are starting to fail, defined as failing for greater than 50% of the checks in the window determined by the \"minutes\" parameter | [optional]
**process_rate_minutes** | **int** | The interval between checks for this alert, in minutes. Defaults to 1 minute | [optional]
Expand Down
Loading

0 comments on commit 3819d1c

Please sign in to comment.