Skip to content

Commit 2a69ad9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a39115f of spec repo
1 parent cd4984c commit 2a69ad9

File tree

9 files changed

+295
-8
lines changed

9 files changed

+295
-8
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.dev11",
7-
"regenerated": "2021-08-12 12:19:19.115712",
8-
"spec_repo_commit": "fa2403b"
7+
"regenerated": "2021-08-13 09:43:47.829811",
8+
"spec_repo_commit": "a39115f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-08-12 12:19:53.786989",
13-
"spec_repo_commit": "fa2403b"
12+
"regenerated": "2021-08-13 09:44:25.070647",
13+
"spec_repo_commit": "a39115f"
1414
}
1515
}
1616
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ docs/SyntheticsErrorCode.md
466466
docs/SyntheticsGetAPITestLatestResultsResponse.md
467467
docs/SyntheticsGetBrowserTestLatestResultsResponse.md
468468
docs/SyntheticsGlobalVariable.md
469+
docs/SyntheticsGlobalVariableAttributes.md
469470
docs/SyntheticsGlobalVariableParseTestOptions.md
470471
docs/SyntheticsGlobalVariableParseTestOptionsType.md
471472
docs/SyntheticsGlobalVariableParserType.md
@@ -1070,6 +1071,7 @@ model_synthetics_error_code.go
10701071
model_synthetics_get_api_test_latest_results_response.go
10711072
model_synthetics_get_browser_test_latest_results_response.go
10721073
model_synthetics_global_variable.go
1074+
model_synthetics_global_variable_attributes.go
10731075
model_synthetics_global_variable_parse_test_options.go
10741076
model_synthetics_global_variable_parse_test_options_type.go
10751077
model_synthetics_global_variable_parser_type.go

api/v1/datadog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@ Class | Method | HTTP request | Description
682682
- [SyntheticsGetAPITestLatestResultsResponse](docs/SyntheticsGetAPITestLatestResultsResponse.md)
683683
- [SyntheticsGetBrowserTestLatestResultsResponse](docs/SyntheticsGetBrowserTestLatestResultsResponse.md)
684684
- [SyntheticsGlobalVariable](docs/SyntheticsGlobalVariable.md)
685+
- [SyntheticsGlobalVariableAttributes](docs/SyntheticsGlobalVariableAttributes.md)
685686
- [SyntheticsGlobalVariableParseTestOptions](docs/SyntheticsGlobalVariableParseTestOptions.md)
686687
- [SyntheticsGlobalVariableParseTestOptionsType](docs/SyntheticsGlobalVariableParseTestOptionsType.md)
687688
- [SyntheticsGlobalVariableParserType](docs/SyntheticsGlobalVariableParserType.md)

api/v1/datadog/api/openapi.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21647,6 +21647,10 @@ components:
2164721647
value: .*
2164821648
description: Example description
2164921649
parse_test_public_id: abc-def-123
21650+
attributes:
21651+
restricted_roles:
21652+
- restricted_roles
21653+
- restricted_roles
2165021654
id: id
2165121655
value:
2165221656
secure: true
@@ -21655,6 +21659,8 @@ components:
2165521659
- team:front
2165621660
- test:workflow-1
2165721661
properties:
21662+
attributes:
21663+
$ref: '#/components/schemas/SyntheticsGlobalVariable_attributes'
2165821664
description:
2165921665
description: Description of the global variable.
2166021666
example: Example description
@@ -21743,6 +21749,10 @@ components:
2174321749
value: .*
2174421750
description: Example description
2174521751
parse_test_public_id: abc-def-123
21752+
attributes:
21753+
restricted_roles:
21754+
- restricted_roles
21755+
- restricted_roles
2174621756
id: id
2174721757
value:
2174821758
secure: true
@@ -21758,6 +21768,10 @@ components:
2175821768
value: .*
2175921769
description: Example description
2176021770
parse_test_public_id: abc-def-123
21771+
attributes:
21772+
restricted_roles:
21773+
- restricted_roles
21774+
- restricted_roles
2176121775
id: id
2176221776
value:
2176321777
secure: true
@@ -29794,6 +29808,21 @@ components:
2979429808
git:
2979529809
$ref: '#/components/schemas/SyntheticsCITest_metadata_git'
2979629810
type: object
29811+
SyntheticsGlobalVariable_attributes:
29812+
description: Attributes of the global variable.
29813+
example:
29814+
restricted_roles:
29815+
- restricted_roles
29816+
- restricted_roles
29817+
properties:
29818+
restricted_roles:
29819+
description: List of role identifiers that can be pulled from the Roles
29820+
API.
29821+
items:
29822+
description: UUID for a role.
29823+
type: string
29824+
type: array
29825+
type: object
2979729826
SyntheticsGlobalVariable_parse_test_options:
2979829827
description: Parser options to use for retrieving a Synthetics global variable
2979929828
from a Synthetics Test. Used in conjunction with `parse_test_public_id`.

api/v1/datadog/docs/SyntheticsGlobalVariable.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
---- | ---- | ----------- | ------
7+
**Attributes** | Pointer to [**SyntheticsGlobalVariableAttributes**](SyntheticsGlobalVariableAttributes.md) | | [optional]
78
**Description** | **string** | Description of the global variable. |
89
**Id** | Pointer to **string** | Unique identifier of the global variable. | [optional] [readonly]
910
**Name** | **string** | Name of the global variable. |
@@ -31,6 +32,31 @@ NewSyntheticsGlobalVariableWithDefaults instantiates a new SyntheticsGlobalVaria
3132
This constructor will only assign default values to properties that have it defined,
3233
but it doesn't guarantee that properties required by API are set.
3334

35+
### GetAttributes
36+
37+
`func (o *SyntheticsGlobalVariable) GetAttributes() SyntheticsGlobalVariableAttributes`
38+
39+
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
40+
41+
### GetAttributesOk
42+
43+
`func (o *SyntheticsGlobalVariable) GetAttributesOk() (*SyntheticsGlobalVariableAttributes, bool)`
44+
45+
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise
46+
and a boolean to check if the value has been set.
47+
48+
### SetAttributes
49+
50+
`func (o *SyntheticsGlobalVariable) SetAttributes(v SyntheticsGlobalVariableAttributes)`
51+
52+
SetAttributes sets Attributes field to given value.
53+
54+
### HasAttributes
55+
56+
`func (o *SyntheticsGlobalVariable) HasAttributes() bool`
57+
58+
HasAttributes returns a boolean if a field has been set.
59+
3460
### GetDescription
3561

3662
`func (o *SyntheticsGlobalVariable) GetDescription() string`
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# SyntheticsGlobalVariableAttributes
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
---- | ---- | ----------- | ------
7+
**RestrictedRoles** | Pointer to **[]string** | List of role identifiers that can be pulled from the Roles API. | [optional]
8+
9+
## Methods
10+
11+
### NewSyntheticsGlobalVariableAttributes
12+
13+
`func NewSyntheticsGlobalVariableAttributes() *SyntheticsGlobalVariableAttributes`
14+
15+
NewSyntheticsGlobalVariableAttributes instantiates a new SyntheticsGlobalVariableAttributes object.
16+
This constructor will assign default values to properties that have it defined,
17+
and makes sure properties required by API are set, but the set of arguments
18+
will change when the set of required properties is changed.
19+
20+
### NewSyntheticsGlobalVariableAttributesWithDefaults
21+
22+
`func NewSyntheticsGlobalVariableAttributesWithDefaults() *SyntheticsGlobalVariableAttributes`
23+
24+
NewSyntheticsGlobalVariableAttributesWithDefaults instantiates a new SyntheticsGlobalVariableAttributes object.
25+
This constructor will only assign default values to properties that have it defined,
26+
but it doesn't guarantee that properties required by API are set.
27+
28+
### GetRestrictedRoles
29+
30+
`func (o *SyntheticsGlobalVariableAttributes) GetRestrictedRoles() []string`
31+
32+
GetRestrictedRoles returns the RestrictedRoles field if non-nil, zero value otherwise.
33+
34+
### GetRestrictedRolesOk
35+
36+
`func (o *SyntheticsGlobalVariableAttributes) GetRestrictedRolesOk() (*[]string, bool)`
37+
38+
GetRestrictedRolesOk returns a tuple with the RestrictedRoles field if it's non-nil, zero value otherwise
39+
and a boolean to check if the value has been set.
40+
41+
### SetRestrictedRoles
42+
43+
`func (o *SyntheticsGlobalVariableAttributes) SetRestrictedRoles(v []string)`
44+
45+
SetRestrictedRoles sets RestrictedRoles field to given value.
46+
47+
### HasRestrictedRoles
48+
49+
`func (o *SyntheticsGlobalVariableAttributes) HasRestrictedRoles() bool`
50+
51+
HasRestrictedRoles returns a boolean if a field has been set.
52+
53+
54+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
55+
56+

api/v1/datadog/model_synthetics_global_variable.go

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

0 commit comments

Comments
 (0)