Skip to content

Commit 9c36264

Browse files
feat(api): api update
1 parent 3cbd246 commit 9c36264

File tree

118 files changed

+4424
-10072
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+4424
-10072
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1802
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-56da74b4ad875807aa6c4b3ef1fdf57ec7d2a527715770a08dd76afcc5d1ad33.yml
3-
openapi_spec_hash: c6f5be1be7d0433742907540dcc485d8
1+
configured_endpoints: 1809
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-77d61495fecd0d26b9adff1af0ab3510b06a3cc2c6781b9a40aabcad2f10588a.yml
3+
openapi_spec_hash: 95dee3be411dda77306a41dc7d49eb35
44
config_hash: ac04197a992afb1d8c3b416fc46e8c8e

addressing/prefix.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,9 @@ type Prefix struct {
152152
AccountID string `json:"account_id"`
153153
// Prefix advertisement status to the Internet. This field is only not 'null' if on
154154
// demand is enabled.
155-
//
156-
// Deprecated: Prefer the
157-
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
158-
// instead, which allows for advertising multiple BGP routes within a single IP
159-
// Prefix.
160155
Advertised bool `json:"advertised,nullable"`
161156
// Last time the advertisement status was changed. This field is only not 'null' if
162157
// on demand is enabled.
163-
//
164-
// Deprecated: Prefer the
165-
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
166-
// instead, which allows for advertising multiple BGP routes within a single IP
167-
// Prefix.
168158
AdvertisedModifiedAt time.Time `json:"advertised_modified_at,nullable" format:"date-time"`
169159
// Approval state of the prefix (P = pending, V = active).
170160
Approved string `json:"approved"`
@@ -180,19 +170,9 @@ type Prefix struct {
180170
ModifiedAt time.Time `json:"modified_at" format:"date-time"`
181171
// Whether advertisement of the prefix to the Internet may be dynamically enabled
182172
// or disabled.
183-
//
184-
// Deprecated: Prefer the
185-
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
186-
// instead, which allows for advertising multiple BGP routes within a single IP
187-
// Prefix.
188173
OnDemandEnabled bool `json:"on_demand_enabled"`
189174
// Whether advertisement status of the prefix is locked, meaning it cannot be
190175
// changed.
191-
//
192-
// Deprecated: Prefer the
193-
// [BGP Prefixes API](https://developers.cloudflare.com/api/resources/addressing/subresources/prefixes/subresources/bgp_prefixes/)
194-
// instead, which allows for advertising multiple BGP routes within a single IP
195-
// Prefix.
196176
OnDemandLocked bool `json:"on_demand_locked"`
197177
JSON prefixJSON `json:"-"`
198178
}

0 commit comments

Comments
 (0)