Skip to content

Commit

Permalink
Generated v1.0.0-beta.22
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 24, 2023
1 parent 2396eb0 commit 669c93a
Show file tree
Hide file tree
Showing 61 changed files with 8,714 additions and 320 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [v1.0.0-beta.22](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.22) (2023-10-24)

**Enhancements:**

- feat(stats): add historical DDoS metrics.
- feat(stats): add bot challenges.

**Bug fixes:**

- fix(snippets): ensure POST response's dynamic field is numerical.

## [v1.0.0-beta.21](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.21) (2023-09-01)

**Enhancements:**
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the following to your project's `go.mod`:

```go.mod
require (
github.com/fastly/fastly-go v1.0.0-beta.21
github.com/fastly/fastly-go v1.0.0-beta.22
)
```

Expand Down Expand Up @@ -226,10 +226,10 @@ Class | Method | HTTP request | Description
*InvitationsAPI* | [**CreateInvitation**](docs/InvitationsAPI.md#createinvitation) | **POST** `/invitations` | Create an invitation
*InvitationsAPI* | [**DeleteInvitation**](docs/InvitationsAPI.md#deleteinvitation) | **DELETE** `/invitations/{invitation_id}` | Delete an invitation
*InvitationsAPI* | [**ListInvitations**](docs/InvitationsAPI.md#listinvitations) | **GET** `/invitations` | List invitations
*KvStoreAPI* | [**CreateStore**](docs/KvStoreAPI.md#createstore) | **POST** `/resources/stores/kv` | Create an kv store.
*KvStoreAPI* | [**DeleteStore**](docs/KvStoreAPI.md#deletestore) | **DELETE** `/resources/stores/kv/{store_id}` | Delete an kv store.
*KvStoreAPI* | [**GetStore**](docs/KvStoreAPI.md#getstore) | **GET** `/resources/stores/kv/{store_id}` | Describe an kv store.
*KvStoreAPI* | [**GetStores**](docs/KvStoreAPI.md#getstores) | **GET** `/resources/stores/kv` | List kv stores.
*KvStoreAPI* | [**CreateStore**](docs/KvStoreAPI.md#createstore) | **POST** `/resources/stores/kv` | Create a KV store.
*KvStoreAPI* | [**DeleteStore**](docs/KvStoreAPI.md#deletestore) | **DELETE** `/resources/stores/kv/{store_id}` | Delete a KV store.
*KvStoreAPI* | [**GetStore**](docs/KvStoreAPI.md#getstore) | **GET** `/resources/stores/kv/{store_id}` | Describe a KV store.
*KvStoreAPI* | [**GetStores**](docs/KvStoreAPI.md#getstores) | **GET** `/resources/stores/kv` | List KV stores.
*KvStoreItemAPI* | [**DeleteKeyFromStore**](docs/KvStoreItemAPI.md#deletekeyfromstore) | **DELETE** `/resources/stores/kv/{store_id}/keys/{key_name}` | Delete kv store item.
*KvStoreItemAPI* | [**GetKeys**](docs/KvStoreItemAPI.md#getkeys) | **GET** `/resources/stores/kv/{store_id}/keys` | List kv store keys.
*KvStoreItemAPI* | [**GetValueForKey**](docs/KvStoreItemAPI.md#getvalueforkey) | **GET** `/resources/stores/kv/{store_id}/keys/{key_name}` | Get the value of an kv store item
Expand Down Expand Up @@ -587,6 +587,7 @@ Class | Method | HTTP request | Description
*WafRulesAPI* | [**GetWafRule**](docs/WafRulesAPI.md#getwafrule) | **GET** `/waf/rules/{waf_rule_id}` | Get a rule
*WafRulesAPI* | [**ListWafRules**](docs/WafRulesAPI.md#listwafrules) | **GET** `/waf/rules` | List available WAF rules
*WafTagsAPI* | [**ListWafTags**](docs/WafTagsAPI.md#listwaftags) | **GET** `/waf/tags` | List tags
*WholePlatformDdosHistoricalAPI* | [**GetPlatformDdosHistorical**](docs/WholePlatformDdosHistoricalAPI.md#getplatformddoshistorical) | **GET** `/metrics/platform/ddos` | Get historical DDoS metrics for the entire Fastly platform


## Documentation for Utility Methods
Expand Down
142 changes: 142 additions & 0 deletions docs/HistoricalDdos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# HistoricalDdos

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Status** | Pointer to **string** | Whether or not we were able to successfully execute the query. | [optional]
**Meta** | Pointer to [**HistoricalDdosMeta**](HistoricalDdosMeta.md) | | [optional]
**Msg** | Pointer to **NullableString** | If the query was not successful, this will provide a string that explains why. | [optional]
**Data** | Pointer to [**[]PlatformDdosDataItems**](PlatformDdosDataItems.md) | A list of [entries](#entry-data-model). | [optional]

## Methods

### NewHistoricalDdos

`func NewHistoricalDdos() *HistoricalDdos`

NewHistoricalDdos instantiates a new HistoricalDdos object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewHistoricalDdosWithDefaults

`func NewHistoricalDdosWithDefaults() *HistoricalDdos`

NewHistoricalDdosWithDefaults instantiates a new HistoricalDdos object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetStatus

`func (o *HistoricalDdos) GetStatus() string`

GetStatus returns the Status field if non-nil, zero value otherwise.

### GetStatusOk

`func (o *HistoricalDdos) GetStatusOk() (*string, bool)`

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

### SetStatus

`func (o *HistoricalDdos) SetStatus(v string)`

SetStatus sets Status field to given value.

### HasStatus

`func (o *HistoricalDdos) HasStatus() bool`

HasStatus returns a boolean if a field has been set.

### GetMeta

`func (o *HistoricalDdos) GetMeta() HistoricalDdosMeta`

GetMeta returns the Meta field if non-nil, zero value otherwise.

### GetMetaOk

`func (o *HistoricalDdos) GetMetaOk() (*HistoricalDdosMeta, bool)`

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

### SetMeta

`func (o *HistoricalDdos) SetMeta(v HistoricalDdosMeta)`

SetMeta sets Meta field to given value.

### HasMeta

`func (o *HistoricalDdos) HasMeta() bool`

HasMeta returns a boolean if a field has been set.

### GetMsg

`func (o *HistoricalDdos) GetMsg() string`

GetMsg returns the Msg field if non-nil, zero value otherwise.

### GetMsgOk

`func (o *HistoricalDdos) GetMsgOk() (*string, bool)`

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

### SetMsg

`func (o *HistoricalDdos) SetMsg(v string)`

SetMsg sets Msg field to given value.

### HasMsg

`func (o *HistoricalDdos) HasMsg() bool`

HasMsg returns a boolean if a field has been set.

### SetMsgNil

`func (o *HistoricalDdos) SetMsgNil(b bool)`

SetMsgNil sets the value for Msg to be an explicit nil

### UnsetMsg
`func (o *HistoricalDdos) UnsetMsg()`

UnsetMsg ensures that no value is present for Msg, not even an explicit nil
### GetData

`func (o *HistoricalDdos) GetData() []PlatformDdosDataItems`

GetData returns the Data field if non-nil, zero value otherwise.

### GetDataOk

`func (o *HistoricalDdos) GetDataOk() (*[]PlatformDdosDataItems, bool)`

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

### SetData

`func (o *HistoricalDdos) SetData(v []PlatformDdosDataItems)`

SetData sets Data field to given value.

### HasData

`func (o *HistoricalDdos) HasData() bool`

HasData returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
132 changes: 132 additions & 0 deletions docs/HistoricalDdosMeta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# HistoricalDdosMeta

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Start** | Pointer to **string** | Start time that was used to perform the query as an ISO-8601-formatted date and time. | [optional]
**End** | Pointer to **string** | End time that was used to perform the query as an ISO-8601-formatted date and time. | [optional]
**Downsample** | Pointer to **string** | Downsample that was used to perform the query. One of `hour` or `day`. | [optional]
**Metric** | Pointer to **string** | A comma-separated list of the metrics that were requested. | [optional]

## Methods

### NewHistoricalDdosMeta

`func NewHistoricalDdosMeta() *HistoricalDdosMeta`

NewHistoricalDdosMeta instantiates a new HistoricalDdosMeta object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed

### NewHistoricalDdosMetaWithDefaults

`func NewHistoricalDdosMetaWithDefaults() *HistoricalDdosMeta`

NewHistoricalDdosMetaWithDefaults instantiates a new HistoricalDdosMeta object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetStart

`func (o *HistoricalDdosMeta) GetStart() string`

GetStart returns the Start field if non-nil, zero value otherwise.

### GetStartOk

`func (o *HistoricalDdosMeta) GetStartOk() (*string, bool)`

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

### SetStart

`func (o *HistoricalDdosMeta) SetStart(v string)`

SetStart sets Start field to given value.

### HasStart

`func (o *HistoricalDdosMeta) HasStart() bool`

HasStart returns a boolean if a field has been set.

### GetEnd

`func (o *HistoricalDdosMeta) GetEnd() string`

GetEnd returns the End field if non-nil, zero value otherwise.

### GetEndOk

`func (o *HistoricalDdosMeta) GetEndOk() (*string, bool)`

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

### SetEnd

`func (o *HistoricalDdosMeta) SetEnd(v string)`

SetEnd sets End field to given value.

### HasEnd

`func (o *HistoricalDdosMeta) HasEnd() bool`

HasEnd returns a boolean if a field has been set.

### GetDownsample

`func (o *HistoricalDdosMeta) GetDownsample() string`

GetDownsample returns the Downsample field if non-nil, zero value otherwise.

### GetDownsampleOk

`func (o *HistoricalDdosMeta) GetDownsampleOk() (*string, bool)`

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

### SetDownsample

`func (o *HistoricalDdosMeta) SetDownsample(v string)`

SetDownsample sets Downsample field to given value.

### HasDownsample

`func (o *HistoricalDdosMeta) HasDownsample() bool`

HasDownsample returns a boolean if a field has been set.

### GetMetric

`func (o *HistoricalDdosMeta) GetMetric() string`

GetMetric returns the Metric field if non-nil, zero value otherwise.

### GetMetricOk

`func (o *HistoricalDdosMeta) GetMetricOk() (*string, bool)`

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

### SetMetric

`func (o *HistoricalDdosMeta) SetMetric(v string)`

SetMetric sets Metric field to given value.

### HasMetric

`func (o *HistoricalDdosMeta) HasMetric() bool`

HasMetric returns a boolean if a field has been set.


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

0 comments on commit 669c93a

Please sign in to comment.