Skip to content

Commit 127668e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit a35be2d of spec repo (#297)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e5b6c66 commit 127668e

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev2",
7-
"regenerated": "2021-02-25 15:58:01.746527",
8-
"spec_repo_commit": "8951b7d"
7+
"regenerated": "2021-02-25 18:19:49.133074",
8+
"spec_repo_commit": "a35be2d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-02-25 15:58:41.313124",
13-
"spec_repo_commit": "8951b7d"
12+
"regenerated": "2021-02-25 18:20:29.170478",
13+
"spec_repo_commit": "a35be2d"
1414
}
1515
}
1616
}

docs/v1/DowntimeRecurrence.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ An object defining the recurrence of the downtime.
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**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]
8-
**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]
9-
**type** | **str** | The type of recurrence. Choose from &#x60;days&#x60;, &#x60;weeks&#x60;, &#x60;months&#x60;, &#x60;years&#x60;. | [optional]
8+
**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]
9+
**type** | **str** | The type of recurrence. Choose from &#x60;days&#x60;, &#x60;weeks&#x60;, &#x60;months&#x60;, &#x60;years&#x60;, &#x60;rrule&#x60;. | [optional]
1010
**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]
1111
**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]
1212
**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]

src/datadog_api_client/v1/model/downtime_recurrence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
150150
through its discriminator because we passed in
151151
_visited_composed_classes = (Animal,)
152152
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
153-
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
154-
type (str): The type of recurrence. Choose from `days`, `weeks`, `months`, `years`.. [optional] # noqa: E501
153+
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
154+
type (str): The type of recurrence. Choose from `days`, `weeks`, `months`, `years`, `rrule`.. [optional] # noqa: E501
155155
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
156156
until_occurrences (int, none_type): How many times the downtime is rescheduled. `until_occurences` and `until_date` are mutually exclusive.. [optional] # noqa: E501
157157
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

src/datadog_api_client/v1/openapi.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,23 +1304,26 @@ components:
13041304
maximum: 2147483647
13051305
type: integer
13061306
rrule:
1307-
description: 'The `RRULE` standard for defining recurring events. For example,
1308-
to have a recurring event on the first day of each month,
1307+
description: 'The `RRULE` standard for defining recurring events (**requires
1308+
to set "type" to rrule**)
13091309

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

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

13161317

13171318
**Note**: Attributes specifying the duration in `RRULE` are not supported
1318-
(for example, `DTSTART`, `DTEND`, `DURATION`).'
1319+
(for example, `DTSTART`, `DTEND`, `DURATION`).
1320+
1321+
More examples available in this [downtime guide](https://docs.datadoghq.com/monitors/guide/supress-alert-with-downtimes/?tab=api)'
13191322
example: FREQ=MONTHLY;BYSETPOS=3;BYDAY=WE;INTERVAL=1
13201323
type: string
13211324
type:
13221325
description: The type of recurrence. Choose from `days`, `weeks`, `months`,
1323-
`years`.
1326+
`years`, `rrule`.
13241327
example: weeks
13251328
type: string
13261329
until_date:

0 commit comments

Comments
 (0)