@@ -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