Skip to content

Commit

Permalink
Regenerate client from commit a35be2d of spec repo (#297)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 25, 2021
1 parent e5b6c66 commit 127668e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-25 15:58:01.746527",
"spec_repo_commit": "8951b7d"
"regenerated": "2021-02-25 18:19:49.133074",
"spec_repo_commit": "a35be2d"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-25 15:58:41.313124",
"spec_repo_commit": "8951b7d"
"regenerated": "2021-02-25 18:20:29.170478",
"spec_repo_commit": "a35be2d"
}
}
}
4 changes: 2 additions & 2 deletions docs/v1/DowntimeRecurrence.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ An object defining the recurrence of the downtime.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**period** | **int** | How often to repeat as an integer. For example, to repeat every 3 days, select a type of &#x60;days&#x60; and a period of &#x60;3&#x60;. | [optional]
**rrule** | **str** | The &#x60;RRULE&#x60; standard for defining recurring events. For example, to have a recurring event on the first day of each month, select a type of &#x60;rrule&#x60; and set the &#x60;FREQ&#x60; to &#x60;MONTHLY&#x60; and &#x60;BYMONTHDAY&#x60; to &#x60;1&#x60;. Most common &#x60;rrule&#x60; options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in &#x60;RRULE&#x60; are not supported (for example, &#x60;DTSTART&#x60;, &#x60;DTEND&#x60;, &#x60;DURATION&#x60;). | [optional]
**type** | **str** | The type of recurrence. Choose from &#x60;days&#x60;, &#x60;weeks&#x60;, &#x60;months&#x60;, &#x60;years&#x60;. | [optional]
**rrule** | **str** | The &#x60;RRULE&#x60; standard for defining recurring events (**requires to set \&quot;type\&quot; to rrule**) For example, to have a recurring event on the first day of each month, set the type to &#x60;rrule&#x60; and set the &#x60;FREQ&#x60; to &#x60;MONTHLY&#x60; and &#x60;BYMONTHDAY&#x60; to &#x60;1&#x60;. Most common &#x60;rrule&#x60; options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in &#x60;RRULE&#x60; are not supported (for example, &#x60;DTSTART&#x60;, &#x60;DTEND&#x60;, &#x60;DURATION&#x60;). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/supress-alert-with-downtimes/?tab&#x3D;api) | [optional]
**type** | **str** | The type of recurrence. Choose from &#x60;days&#x60;, &#x60;weeks&#x60;, &#x60;months&#x60;, &#x60;years&#x60;, &#x60;rrule&#x60;. | [optional]
**until_date** | **int, none_type** | The date at which the recurrence should end as a POSIX timestamp. &#x60;until_occurences&#x60; and &#x60;until_date&#x60; are mutually exclusive. | [optional]
**until_occurrences** | **int, none_type** | How many times the downtime is rescheduled. &#x60;until_occurences&#x60; and &#x60;until_date&#x60; are mutually exclusive. | [optional]
**week_days** | **[str]** | A list of week days to repeat on. Choose from &#x60;Mon&#x60;, &#x60;Tue&#x60;, &#x60;Wed&#x60;, &#x60;Thu&#x60;, &#x60;Fri&#x60;, &#x60;Sat&#x60; or &#x60;Sun&#x60;. Only applicable when type is weeks. First letter must be capitalized. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions src/datadog_api_client/v1/model/downtime_recurrence.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
period (int): How often to repeat as an integer. For example, to repeat every 3 days, select a type of `days` and a period of `3`.. [optional] # noqa: E501
rrule (str): The `RRULE` standard for defining recurring events. For example, to have a recurring event on the first day of each month, select a type of `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`).. [optional] # noqa: E501
type (str): The type of recurrence. Choose from `days`, `weeks`, `months`, `years`.. [optional] # noqa: E501
rrule (str): The `RRULE` standard for defining recurring events (**requires to set \"type\" to rrule**) For example, to have a recurring event on the first day of each month, set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY` to `1`. Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545) are supported. **Note**: Attributes specifying the duration in `RRULE` are not supported (for example, `DTSTART`, `DTEND`, `DURATION`). More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/supress-alert-with-downtimes/?tab=api). [optional] # noqa: E501
type (str): The type of recurrence. Choose from `days`, `weeks`, `months`, `years`, `rrule`.. [optional] # noqa: E501
until_date (int, none_type): The date at which the recurrence should end as a POSIX timestamp. `until_occurences` and `until_date` are mutually exclusive.. [optional] # noqa: E501
until_occurrences (int, none_type): How many times the downtime is rescheduled. `until_occurences` and `until_date` are mutually exclusive.. [optional] # noqa: E501
week_days ([str]): A list of week days to repeat on. Choose from `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` or `Sun`. Only applicable when type is weeks. First letter must be capitalized.. [optional] # noqa: E501
Expand Down
13 changes: 8 additions & 5 deletions src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1304,23 +1304,26 @@ components:
maximum: 2147483647
type: integer
rrule:
description: 'The `RRULE` standard for defining recurring events. For example,
to have a recurring event on the first day of each month,
description: 'The `RRULE` standard for defining recurring events (**requires
to set "type" to rrule**)

select a type of `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY`
For example, to have a recurring event on the first day of each month,
set the type to `rrule` and set the `FREQ` to `MONTHLY` and `BYMONTHDAY`
to `1`.

Most common `rrule` options from the [iCalendar Spec](https://tools.ietf.org/html/rfc5545)
are supported.


**Note**: Attributes specifying the duration in `RRULE` are not supported
(for example, `DTSTART`, `DTEND`, `DURATION`).'
(for example, `DTSTART`, `DTEND`, `DURATION`).

More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/supress-alert-with-downtimes/?tab=api)'
example: FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1
type: string
type:
description: The type of recurrence. Choose from `days`, `weeks`, `months`,
`years`.
`years`, `rrule`.
example: weeks
type: string
until_date:
Expand Down

0 comments on commit 127668e

Please sign in to comment.