Skip to content

Commit 4f18352

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c9b81da of spec repo
1 parent 39f3f54 commit 4f18352

File tree

4 files changed

+16
-225
lines changed

4 files changed

+16
-225
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.5.1.dev2",
7-
"regenerated": "2022-01-12 16:36:53.454472",
8-
"spec_repo_commit": "9f3c740"
7+
"regenerated": "2022-01-13 09:31:00.227979",
8+
"spec_repo_commit": "c9b81da"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-12 16:36:53.476238",
13-
"spec_repo_commit": "9f3c740"
12+
"regenerated": "2022-01-13 09:31:00.244784",
13+
"spec_repo_commit": "c9b81da"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,16 +1862,6 @@ components:
18621862

18631863
Any tags associated with the host are also applied to this event.'
18641864
type: string
1865-
id:
1866-
description: Integer ID of the event.
1867-
format: int64
1868-
readOnly: true
1869-
type: integer
1870-
payload:
1871-
description: Payload of the event.
1872-
example: '{}'
1873-
readOnly: true
1874-
type: string
18751865
priority:
18761866
$ref: '#/components/schemas/EventPriority'
18771867
related_event_id:
@@ -1908,10 +1898,6 @@ components:
19081898
description: The event title.
19091899
example: Did you hear the news today?
19101900
type: string
1911-
url:
1912-
description: URL of the event.
1913-
readOnly: true
1914-
type: string
19151901
required:
19161902
- title
19171903
- text

api/v1/datadog/docs/EventCreateRequest.md

Lines changed: 11 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,19 @@
22

33
## Properties
44

5-
| Name | Type | Description | Notes |
6-
| ------------------ | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
7-
| **AggregationKey** | Pointer to **string** | An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream. | [optional] |
8-
| **AlertType** | Pointer to [**EventAlertType**](EventAlertType.md) | | [optional] |
9-
| **DateHappened** | Pointer to **int64** | POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 7 days. | [optional] |
10-
| **DeviceName** | Pointer to **string** | A device name. | [optional] |
11-
| **Host** | Pointer to **string** | Host name to associate with the event. Any tags associated with the host are also applied to this event. | [optional] |
12-
| **Id** | Pointer to **int64** | Integer ID of the event. | [optional] [readonly] |
13-
| **Payload** | Pointer to **string** | Payload of the event. | [optional] [readonly] |
14-
| **Priority** | Pointer to [**EventPriority**](EventPriority.md) | | [optional] |
15-
| **RelatedEventId** | Pointer to **int64** | ID of the parent event. Must be sent as an integer (that is no quotes). | [optional] |
16-
| **SourceTypeName** | Pointer to **string** | The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). | [optional] |
17-
| **Tags** | Pointer to **[]string** | A list of tags to apply to the event. | [optional] |
5+
| Name | Type | Description | Notes |
6+
| ------------------ | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
7+
| **AggregationKey** | Pointer to **string** | An arbitrary string to use for aggregation. Limited to 100 characters. If you specify a key, all events using that key are grouped together in the Event Stream. | [optional] |
8+
| **AlertType** | Pointer to [**EventAlertType**](EventAlertType.md) | | [optional] |
9+
| **DateHappened** | Pointer to **int64** | POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events no older than 7 days. | [optional] |
10+
| **DeviceName** | Pointer to **string** | A device name. | [optional] |
11+
| **Host** | Pointer to **string** | Host name to associate with the event. Any tags associated with the host are also applied to this event. | [optional] |
12+
| **Priority** | Pointer to [**EventPriority**](EventPriority.md) | | [optional] |
13+
| **RelatedEventId** | Pointer to **int64** | ID of the parent event. Must be sent as an integer (that is no quotes). | [optional] |
14+
| **SourceTypeName** | Pointer to **string** | The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. A complete list of source attribute values [available here](https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value). | [optional] |
15+
| **Tags** | Pointer to **[]string** | A list of tags to apply to the event. | [optional] |
1816
| **Text** | **string** | The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with `%%% \\n` and end the text block with `\\n %%%`. Use `msg_text` with the Datadog Ruby library. |
1917
| **Title** | **string** | The event title. |
20-
| **Url** | Pointer to **string** | URL of the event. | [optional] [readonly] |
2118

2219
## Methods
2320

@@ -163,56 +160,6 @@ SetHost sets Host field to given value.
163160

164161
HasHost returns a boolean if a field has been set.
165162

166-
### GetId
167-
168-
`func (o *EventCreateRequest) GetId() int64`
169-
170-
GetId returns the Id field if non-nil, zero value otherwise.
171-
172-
### GetIdOk
173-
174-
`func (o *EventCreateRequest) GetIdOk() (*int64, bool)`
175-
176-
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
177-
and a boolean to check if the value has been set.
178-
179-
### SetId
180-
181-
`func (o *EventCreateRequest) SetId(v int64)`
182-
183-
SetId sets Id field to given value.
184-
185-
### HasId
186-
187-
`func (o *EventCreateRequest) HasId() bool`
188-
189-
HasId returns a boolean if a field has been set.
190-
191-
### GetPayload
192-
193-
`func (o *EventCreateRequest) GetPayload() string`
194-
195-
GetPayload returns the Payload field if non-nil, zero value otherwise.
196-
197-
### GetPayloadOk
198-
199-
`func (o *EventCreateRequest) GetPayloadOk() (*string, bool)`
200-
201-
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise
202-
and a boolean to check if the value has been set.
203-
204-
### SetPayload
205-
206-
`func (o *EventCreateRequest) SetPayload(v string)`
207-
208-
SetPayload sets Payload field to given value.
209-
210-
### HasPayload
211-
212-
`func (o *EventCreateRequest) HasPayload() bool`
213-
214-
HasPayload returns a boolean if a field has been set.
215-
216163
### GetPriority
217164

218165
`func (o *EventCreateRequest) GetPriority() EventPriority`
@@ -351,29 +298,4 @@ and a boolean to check if the value has been set.
351298

352299
SetTitle sets Title field to given value.
353300

354-
### GetUrl
355-
356-
`func (o *EventCreateRequest) GetUrl() string`
357-
358-
GetUrl returns the Url field if non-nil, zero value otherwise.
359-
360-
### GetUrlOk
361-
362-
`func (o *EventCreateRequest) GetUrlOk() (*string, bool)`
363-
364-
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
365-
and a boolean to check if the value has been set.
366-
367-
### SetUrl
368-
369-
`func (o *EventCreateRequest) SetUrl(v string)`
370-
371-
SetUrl sets Url field to given value.
372-
373-
### HasUrl
374-
375-
`func (o *EventCreateRequest) HasUrl() bool`
376-
377-
HasUrl returns a boolean if a field has been set.
378-
379301
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

api/v1/datadog/model_event_create_request.go

Lines changed: 1 addition & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)