Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IP prefixes by location for synthetics endpoints #565

Merged
merged 1 commit into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.3.0",
"regenerated": "2020-11-12 14:38:27.645114",
"spec_repo_commit": "6a8fa99"
"regenerated": "2020-11-12 15:41:45.139498",
"spec_repo_commit": "9d03fff"
},
"v2": {
"apigentools_version": "1.3.0",
"regenerated": "2020-11-12 14:38:33.381059",
"spec_repo_commit": "6a8fa99"
"regenerated": "2020-11-12 15:41:50.799684",
"spec_repo_commit": "9d03fff"
}
}
}
34 changes: 34 additions & 0 deletions api/v1/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9195,9 +9195,17 @@ components:
IPPrefixesSynthetics:
description: Available prefix information for the Synthetics endpoints.
example:
prefixes_ipv6_by_location:
key:
- prefixes_ipv6_by_location
- prefixes_ipv6_by_location
prefixes_ipv4:
- prefixes_ipv4
- prefixes_ipv4
prefixes_ipv4_by_location:
key:
- prefixes_ipv4_by_location
- prefixes_ipv4_by_location
prefixes_ipv6:
- prefixes_ipv6
- prefixes_ipv6
Expand All @@ -9208,12 +9216,30 @@ components:
description: IPv4 prefix
type: string
type: array
prefixes_ipv4_by_location:
additionalProperties:
description: List of IPv4 prefixes.
items:
description: IPv4 prefix.
type: string
type: array
description: List of IPv4 prefixes by location.
type: object
prefixes_ipv6:
description: List of IPv6 prefixes.
items:
description: IPv6 prefix
type: string
type: array
prefixes_ipv6_by_location:
additionalProperties:
description: List of IPv6 prefixes.
items:
description: IPv6 prefix.
type: string
type: array
description: List of IPv6 prefixes by location.
type: object
type: object
IPPrefixesWebhooks:
description: Available prefix information for the Webhook endpoints.
Expand Down Expand Up @@ -9256,9 +9282,17 @@ components:
- prefixes_ipv6
- prefixes_ipv6
synthetics:
prefixes_ipv6_by_location:
key:
- prefixes_ipv6_by_location
- prefixes_ipv6_by_location
prefixes_ipv4:
- prefixes_ipv4
- prefixes_ipv4
prefixes_ipv4_by_location:
key:
- prefixes_ipv4_by_location
- prefixes_ipv4_by_location
prefixes_ipv6:
- prefixes_ipv6
- prefixes_ipv6
Expand Down
52 changes: 52 additions & 0 deletions api/v1/datadog/docs/IPPrefixesSynthetics.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**PrefixesIpv4** | Pointer to **[]string** | List of IPv4 prefixes. | [optional]
**PrefixesIpv4ByLocation** | Pointer to [**map[string][]string**](array.md) | List of IPv4 prefixes by location. | [optional]
**PrefixesIpv6** | Pointer to **[]string** | List of IPv6 prefixes. | [optional]
**PrefixesIpv6ByLocation** | Pointer to [**map[string][]string**](array.md) | List of IPv6 prefixes by location. | [optional]

## Methods

Expand Down Expand Up @@ -51,6 +53,31 @@ SetPrefixesIpv4 sets PrefixesIpv4 field to given value.

HasPrefixesIpv4 returns a boolean if a field has been set.

### GetPrefixesIpv4ByLocation

`func (o *IPPrefixesSynthetics) GetPrefixesIpv4ByLocation() map[string][]string`

GetPrefixesIpv4ByLocation returns the PrefixesIpv4ByLocation field if non-nil, zero value otherwise.

### GetPrefixesIpv4ByLocationOk

`func (o *IPPrefixesSynthetics) GetPrefixesIpv4ByLocationOk() (*map[string][]string, bool)`

GetPrefixesIpv4ByLocationOk returns a tuple with the PrefixesIpv4ByLocation field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPrefixesIpv4ByLocation

`func (o *IPPrefixesSynthetics) SetPrefixesIpv4ByLocation(v map[string][]string)`

SetPrefixesIpv4ByLocation sets PrefixesIpv4ByLocation field to given value.

### HasPrefixesIpv4ByLocation

`func (o *IPPrefixesSynthetics) HasPrefixesIpv4ByLocation() bool`

HasPrefixesIpv4ByLocation returns a boolean if a field has been set.

### GetPrefixesIpv6

`func (o *IPPrefixesSynthetics) GetPrefixesIpv6() []string`
Expand All @@ -76,6 +103,31 @@ SetPrefixesIpv6 sets PrefixesIpv6 field to given value.

HasPrefixesIpv6 returns a boolean if a field has been set.

### GetPrefixesIpv6ByLocation

`func (o *IPPrefixesSynthetics) GetPrefixesIpv6ByLocation() map[string][]string`

GetPrefixesIpv6ByLocation returns the PrefixesIpv6ByLocation field if non-nil, zero value otherwise.

### GetPrefixesIpv6ByLocationOk

`func (o *IPPrefixesSynthetics) GetPrefixesIpv6ByLocationOk() (*map[string][]string, bool)`

GetPrefixesIpv6ByLocationOk returns a tuple with the PrefixesIpv6ByLocation field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPrefixesIpv6ByLocation

`func (o *IPPrefixesSynthetics) SetPrefixesIpv6ByLocation(v map[string][]string)`

SetPrefixesIpv6ByLocation sets PrefixesIpv6ByLocation field to given value.

### HasPrefixesIpv6ByLocation

`func (o *IPPrefixesSynthetics) HasPrefixesIpv6ByLocation() bool`

HasPrefixesIpv6ByLocation returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
74 changes: 74 additions & 0 deletions api/v1/datadog/model_ip_prefixes_synthetics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.