Skip to content

Commit 747cd0b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e72d1cd of spec repo
1 parent 1cf694d commit 747cd0b

File tree

9 files changed

+250
-41
lines changed

9 files changed

+250
-41
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.6.2",
7-
"regenerated": "2022-02-11 17:09:50.628260",
8-
"spec_repo_commit": "f8964dd"
7+
"regenerated": "2022-02-14 16:41:15.278925",
8+
"spec_repo_commit": "e72d1cd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-02-11 17:09:50.640365",
13-
"spec_repo_commit": "f8964dd"
12+
"regenerated": "2022-02-14 16:41:15.291078",
13+
"spec_repo_commit": "e72d1cd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,10 @@ components:
25632563
example: '@browser.name:Chrome'
25642564
type: string
25652565
steps:
2566-
$ref: '#/components/schemas/FunnelSteps'
2566+
description: List of funnel steps.
2567+
items:
2568+
$ref: '#/components/schemas/FunnelStep'
2569+
type: array
25672570
required:
25682571
- query_string
25692572
- data_source
@@ -2586,24 +2589,21 @@ components:
25862589
type: string
25872590
x-enum-varnames:
25882591
- RUM
2589-
FunnelSteps:
2590-
description: List of funnel steps.
2591-
items:
2592-
description: The funnel step.
2593-
properties:
2594-
facet:
2595-
description: The facet of the step.
2596-
example: '@view.name'
2597-
type: string
2598-
value:
2599-
description: The value of the step.
2600-
example: /apm/home
2601-
type: string
2602-
required:
2603-
- facet
2604-
- value
2605-
type: object
2606-
type: array
2592+
FunnelStep:
2593+
description: The funnel step.
2594+
properties:
2595+
facet:
2596+
description: The facet of the step.
2597+
example: '@view.name'
2598+
type: string
2599+
value:
2600+
description: The value of the step.
2601+
example: /apm/home
2602+
type: string
2603+
required:
2604+
- facet
2605+
- value
2606+
type: object
26072607
FunnelWidgetDefinition:
26082608
description: 'The funnel visualization displays a funnel of user sessions that
26092609
maps a sequence of view navigation and user interaction in your application.

api/v1/datadog/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ docs/FreeTextWidgetDefinitionType.md
149149
docs/FunnelQuery.md
150150
docs/FunnelRequestType.md
151151
docs/FunnelSource.md
152+
docs/FunnelStep.md
152153
docs/FunnelWidgetDefinition.md
153154
docs/FunnelWidgetDefinitionType.md
154155
docs/FunnelWidgetRequest.md
@@ -852,6 +853,7 @@ model_free_text_widget_definition_type.go
852853
model_funnel_query.go
853854
model_funnel_request_type.go
854855
model_funnel_source.go
856+
model_funnel_step.go
855857
model_funnel_widget_definition.go
856858
model_funnel_widget_definition_type.go
857859
model_funnel_widget_request.go

api/v1/datadog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ All URIs are relative to *https://api.datadoghq.com*
400400
- [FunnelQuery](docs/FunnelQuery.md)
401401
- [FunnelRequestType](docs/FunnelRequestType.md)
402402
- [FunnelSource](docs/FunnelSource.md)
403+
- [FunnelStep](docs/FunnelStep.md)
403404
- [FunnelWidgetDefinition](docs/FunnelWidgetDefinition.md)
404405
- [FunnelWidgetDefinitionType](docs/FunnelWidgetDefinitionType.md)
405406
- [FunnelWidgetRequest](docs/FunnelWidgetRequest.md)

api/v1/datadog/docs/FunnelQuery.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
| --------------- | ----------------------------------- | --------------------- | ----------------------------- |
77
| **DataSource** | [**FunnelSource**](FunnelSource.md) | | [default to FUNNELSOURCE_RUM] |
88
| **QueryString** | **string** | The widget query. |
9-
| **Steps** | **[]interface{}** | List of funnel steps. |
9+
| **Steps** | [**[]FunnelStep**](FunnelStep.md) | List of funnel steps. |
1010

1111
## Methods
1212

1313
### NewFunnelQuery
1414

15-
`func NewFunnelQuery(dataSource FunnelSource, queryString string, steps []interface{}) *FunnelQuery`
15+
`func NewFunnelQuery(dataSource FunnelSource, queryString string, steps []FunnelStep) *FunnelQuery`
1616

1717
NewFunnelQuery instantiates a new FunnelQuery object.
1818
This constructor will assign default values to properties that have it defined,
@@ -67,20 +67,20 @@ SetQueryString sets QueryString field to given value.
6767

6868
### GetSteps
6969

70-
`func (o *FunnelQuery) GetSteps() []interface{}`
70+
`func (o *FunnelQuery) GetSteps() []FunnelStep`
7171

7272
GetSteps returns the Steps field if non-nil, zero value otherwise.
7373

7474
### GetStepsOk
7575

76-
`func (o *FunnelQuery) GetStepsOk() (*[]interface{}, bool)`
76+
`func (o *FunnelQuery) GetStepsOk() (*[]FunnelStep, bool)`
7777

7878
GetStepsOk returns a tuple with the Steps field if it's non-nil, zero value otherwise
7979
and a boolean to check if the value has been set.
8080

8181
### SetSteps
8282

83-
`func (o *FunnelQuery) SetSteps(v []interface{})`
83+
`func (o *FunnelQuery) SetSteps(v []FunnelStep)`
8484

8585
SetSteps sets Steps field to given value.
8686

api/v1/datadog/docs/FunnelStep.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# FunnelStep
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| --------- | ---------- | ---------------------- | ----- |
7+
| **Facet** | **string** | The facet of the step. |
8+
| **Value** | **string** | The value of the step. |
9+
10+
## Methods
11+
12+
### NewFunnelStep
13+
14+
`func NewFunnelStep(facet string, value string) *FunnelStep`
15+
16+
NewFunnelStep instantiates a new FunnelStep object.
17+
This constructor will assign default values to properties that have it defined,
18+
and makes sure properties required by API are set, but the set of arguments
19+
will change when the set of required properties is changed.
20+
21+
### NewFunnelStepWithDefaults
22+
23+
`func NewFunnelStepWithDefaults() *FunnelStep`
24+
25+
NewFunnelStepWithDefaults instantiates a new FunnelStep object.
26+
This constructor will only assign default values to properties that have it defined,
27+
but it doesn't guarantee that properties required by API are set.
28+
29+
### GetFacet
30+
31+
`func (o *FunnelStep) GetFacet() string`
32+
33+
GetFacet returns the Facet field if non-nil, zero value otherwise.
34+
35+
### GetFacetOk
36+
37+
`func (o *FunnelStep) GetFacetOk() (*string, bool)`
38+
39+
GetFacetOk returns a tuple with the Facet field if it's non-nil, zero value otherwise
40+
and a boolean to check if the value has been set.
41+
42+
### SetFacet
43+
44+
`func (o *FunnelStep) SetFacet(v string)`
45+
46+
SetFacet sets Facet field to given value.
47+
48+
### GetValue
49+
50+
`func (o *FunnelStep) GetValue() string`
51+
52+
GetValue returns the Value field if non-nil, zero value otherwise.
53+
54+
### GetValueOk
55+
56+
`func (o *FunnelStep) GetValueOk() (*string, bool)`
57+
58+
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
59+
and a boolean to check if the value has been set.
60+
61+
### SetValue
62+
63+
`func (o *FunnelStep) SetValue(v string)`
64+
65+
SetValue sets Value field to given value.
66+
67+
[[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_funnel_query.go

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

0 commit comments

Comments
 (0)