Skip to content

Commit

Permalink
Generated v1.0.0-beta.27
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 28, 2024
1 parent e990bd1 commit 44de51f
Show file tree
Hide file tree
Showing 114 changed files with 7,666 additions and 196 deletions.
34 changes: 26 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## [v1.0.0-beta.27](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.27) (2024-02-28)

**Enhancements:**

- feat(billing): add 'get invoice by invoice ID' endpoint.
- feat(billing): add 'list invoices' endpoint.
- feat(image_opto): add 'shield' and 'transform' methods and fields.
- feat(secret_store): add 'name' filter.
- feat(tls): add 'create CSR' endpoint.
- feat(tls_subscription): add 'active order' methods and fields.

**Documentation:**

- doc(backend) fix openssl link.
- doc(director,domain_inspector,pool,realtime) fix POPs link.
- doc(service) fix service version link.
- doc(tls) fix activation link.

## [v1.0.0-beta.26](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.26) (2024-02-19)

**Bug fixes:**
Expand Down Expand Up @@ -283,26 +301,26 @@ Substantial changes were made to the underlying OpenAPI specification that produ

**Enhancements:**

* Object Store API [commit](https://github.com/fastly/fastly-go/commit/e69498474f02c2208072160821a0d49c6999087d)
- Object Store API [commit](https://github.com/fastly/fastly-go/commit/e69498474f02c2208072160821a0d49c6999087d)

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

**Bug fixes:**

* Fixed OpenAPI schemas to produce missing methods for updating service settings [commit](https://github.com/fastly/fastly-go/commit/4c0423bfccbb4f62cb90f894f630b26306ffdc1a)
- Fixed OpenAPI schemas to produce missing methods for updating service settings [commit](https://github.com/fastly/fastly-go/commit/4c0423bfccbb4f62cb90f894f630b26306ffdc1a)

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

**Enhancements:**

* Update service settings API endpoint [commit](https://github.com/fastly/fastly-go/commit/0c29f6af943304085de0c999e45407e151600e3a)
* Config Store API endpoints [commit](https://github.com/fastly/fastly-go/commit/0c29f6af943304085de0c999e45407e151600e3a)
- Update service settings API endpoint [commit](https://github.com/fastly/fastly-go/commit/0c29f6af943304085de0c999e45407e151600e3a)
- Config Store API endpoints [commit](https://github.com/fastly/fastly-go/commit/0c29f6af943304085de0c999e45407e151600e3a)

## [v1.0.0-beta.0](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.0) (2022-12-15)

**Enhancements:**

* New interface from code-generated API client [commit](https://github.com/fastly/fastly-go/commit/6b36bdea0aacc79321a1a970c57f0a31ca09ca45)
* [Blog post: Better Fastly API clients with OpenAPI Generator](https://dev.to/fastly/better-fastly-api-clients-with-openapi-generator-3lno)
* [Documentation](https://github.com/fastly/fastly-go#documentation-for-api-endpoints)
* [Unsupported API endpoints](https://github.com/fastly/fastly-go#issues)
- New interface from code-generated API client [commit](https://github.com/fastly/fastly-go/commit/6b36bdea0aacc79321a1a970c57f0a31ca09ca45)
- [Blog post: Better Fastly API clients with OpenAPI Generator](https://dev.to/fastly/better-fastly-api-clients-with-openapi-generator-3lno)
- [Documentation](https://github.com/fastly/fastly-go#documentation-for-api-endpoints)
- [Unsupported API endpoints](https://github.com/fastly/fastly-go#issues)
20 changes: 13 additions & 7 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.26
github.com/fastly/fastly-go v1.0.0-beta.27
)
```

Expand Down Expand Up @@ -93,6 +93,8 @@ Class | Method | HTTP request | Description
*BillingAddressAPI* | [**DeleteBillingAddr**](docs/BillingAddressAPI.md#deletebillingaddr) | **DELETE** `/customer/{customer_id}/billing_address` | Delete a billing address
*BillingAddressAPI* | [**GetBillingAddr**](docs/BillingAddressAPI.md#getbillingaddr) | **GET** `/customer/{customer_id}/billing_address` | Get a billing address
*BillingAddressAPI* | [**UpdateBillingAddr**](docs/BillingAddressAPI.md#updatebillingaddr) | **PATCH** `/customer/{customer_id}/billing_address` | Update a billing address
*BillingInvoicesAPI* | [**GetInvoiceByInvoiceID**](docs/BillingInvoicesAPI.md#getinvoicebyinvoiceid) | **GET** `/billing/v3/invoices/{invoice_id}` | Get invoice by ID.
*BillingInvoicesAPI* | [**ListInvoices**](docs/BillingInvoicesAPI.md#listinvoices) | **GET** `/billing/v3/invoices` | List of invoices.
*CacheSettingsAPI* | [**CreateCacheSettings**](docs/CacheSettingsAPI.md#createcachesettings) | **POST** `/service/{service_id}/version/{version_id}/cache_settings` | Create a cache settings object
*CacheSettingsAPI* | [**DeleteCacheSettings**](docs/CacheSettingsAPI.md#deletecachesettings) | **DELETE** `/service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name}` | Delete a cache settings object
*CacheSettingsAPI* | [**GetCacheSettings**](docs/CacheSettingsAPI.md#getcachesettings) | **GET** `/service/{service_id}/version/{version_id}/cache_settings/{cache_settings_name}` | Get a cache settings object
Expand Down Expand Up @@ -508,6 +510,7 @@ Class | Method | HTTP request | Description
*TLSConfigurationsAPI* | [**GetTLSConfig**](docs/TlsConfigurationsAPI.md#gettlsconfig) | **GET** `/tls/configurations/{tls_configuration_id}` | Get a TLS configuration
*TLSConfigurationsAPI* | [**ListTLSConfigs**](docs/TlsConfigurationsAPI.md#listtlsconfigs) | **GET** `/tls/configurations` | List TLS configurations
*TLSConfigurationsAPI* | [**UpdateTLSConfig**](docs/TlsConfigurationsAPI.md#updatetlsconfig) | **PATCH** `/tls/configurations/{tls_configuration_id}` | Update a TLS configuration
*TLSCsrsAPI* | [**CreateCsr**](docs/TlsCsrsAPI.md#createcsr) | **POST** `/tls/certificate_signing_requests` | Create CSR
*TLSDomainsAPI* | [**ListTLSDomains**](docs/TlsDomainsAPI.md#listtlsdomains) | **GET** `/tls/domains` | List TLS domains
*TLSPrivateKeysAPI* | [**CreateTLSKey**](docs/TlsPrivateKeysAPI.md#createtlskey) | **POST** `/tls/private_keys` | Create a TLS private key
*TLSPrivateKeysAPI* | [**DeleteTLSKey**](docs/TlsPrivateKeysAPI.md#deletetlskey) | **DELETE** `/tls/private_keys/{tls_private_key_id}` | Delete a TLS private key
Expand Down Expand Up @@ -610,12 +613,15 @@ Each of these functions takes a value of the given basic type and returns a poin

The fastly-go API client currently does not support the following endpoints:

- [`/resources/stores/kv/{store_id}/batch`](https://developer.fastly.com/reference/api/services/resources/kv-store-item) (PUT)
- [`/tls/activations/{tls_activation_id}`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET, PATCH)
- [`/tls/activations`](https://developer.fastly.com/reference/api/tls/mutual-tls/activations) (GET)
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/h`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://developer.fastly.com/reference/api/metrics-stats/origin-insights) (GET)
- [`/alerts/definitions/{definition_id}`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (DELETE, GET, PUT)
- [`/alerts/definitions`](https://www.fastly.com/documentation/reference/api/observability/alerts/definitions) (GET, POST)
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)


If you encounter any non-security-related bug or unexpected behavior, please [file an issue][bug]
Expand Down
46 changes: 23 additions & 23 deletions docs/ErrorResponse.md → docs/AutomationTokenErrorResponse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ErrorResponse
# AutomationTokenErrorResponse

## Properties

Expand All @@ -11,120 +11,120 @@ Name | Type | Description | Notes

## Methods

### NewErrorResponse
### NewAutomationTokenErrorResponse

`func NewErrorResponse() *ErrorResponse`
`func NewAutomationTokenErrorResponse() *AutomationTokenErrorResponse`

NewErrorResponse instantiates a new ErrorResponse object
NewAutomationTokenErrorResponse instantiates a new AutomationTokenErrorResponse 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

### NewErrorResponseWithDefaults
### NewAutomationTokenErrorResponseWithDefaults

`func NewErrorResponseWithDefaults() *ErrorResponse`
`func NewAutomationTokenErrorResponseWithDefaults() *AutomationTokenErrorResponse`

NewErrorResponseWithDefaults instantiates a new ErrorResponse object
NewAutomationTokenErrorResponseWithDefaults instantiates a new AutomationTokenErrorResponse 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

### GetDetail

`func (o *ErrorResponse) GetDetail() string`
`func (o *AutomationTokenErrorResponse) GetDetail() string`

GetDetail returns the Detail field if non-nil, zero value otherwise.

### GetDetailOk

`func (o *ErrorResponse) GetDetailOk() (*string, bool)`
`func (o *AutomationTokenErrorResponse) GetDetailOk() (*string, bool)`

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

### SetDetail

`func (o *ErrorResponse) SetDetail(v string)`
`func (o *AutomationTokenErrorResponse) SetDetail(v string)`

SetDetail sets Detail field to given value.

### HasDetail

`func (o *ErrorResponse) HasDetail() bool`
`func (o *AutomationTokenErrorResponse) HasDetail() bool`

HasDetail returns a boolean if a field has been set.

### GetErrors

`func (o *ErrorResponse) GetErrors() []any`
`func (o *AutomationTokenErrorResponse) GetErrors() []any`

GetErrors returns the Errors field if non-nil, zero value otherwise.

### GetErrorsOk

`func (o *ErrorResponse) GetErrorsOk() (*[]any, bool)`
`func (o *AutomationTokenErrorResponse) GetErrorsOk() (*[]any, bool)`

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

### SetErrors

`func (o *ErrorResponse) SetErrors(v []any)`
`func (o *AutomationTokenErrorResponse) SetErrors(v []any)`

SetErrors sets Errors field to given value.

### HasErrors

`func (o *ErrorResponse) HasErrors() bool`
`func (o *AutomationTokenErrorResponse) HasErrors() bool`

HasErrors returns a boolean if a field has been set.

### GetStatus

`func (o *ErrorResponse) GetStatus() int32`
`func (o *AutomationTokenErrorResponse) GetStatus() int32`

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

### GetStatusOk

`func (o *ErrorResponse) GetStatusOk() (*int32, bool)`
`func (o *AutomationTokenErrorResponse) GetStatusOk() (*int32, 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 *ErrorResponse) SetStatus(v int32)`
`func (o *AutomationTokenErrorResponse) SetStatus(v int32)`

SetStatus sets Status field to given value.

### HasStatus

`func (o *ErrorResponse) HasStatus() bool`
`func (o *AutomationTokenErrorResponse) HasStatus() bool`

HasStatus returns a boolean if a field has been set.

### GetTitle

`func (o *ErrorResponse) GetTitle() string`
`func (o *AutomationTokenErrorResponse) GetTitle() string`

GetTitle returns the Title field if non-nil, zero value otherwise.

### GetTitleOk

`func (o *ErrorResponse) GetTitleOk() (*string, bool)`
`func (o *AutomationTokenErrorResponse) GetTitleOk() (*string, bool)`

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

### SetTitle

`func (o *ErrorResponse) SetTitle(v string)`
`func (o *AutomationTokenErrorResponse) SetTitle(v string)`

SetTitle sets Title field to given value.

### HasTitle

`func (o *ErrorResponse) HasTitle() bool`
`func (o *AutomationTokenErrorResponse) HasTitle() bool`

HasTitle returns a boolean if a field has been set.

Expand Down
4 changes: 2 additions & 2 deletions docs/AutomationTokensAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Error when calling `AutomationTokensAPI.RevokeAutomationTokenID`: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RevokeAutomationTokenID`: ErrorResponse
// response from `RevokeAutomationTokenID`: AutomationTokenErrorResponse
fmt.Fprintf(os.Stdout, "Response from `AutomationTokensAPI.RevokeAutomationTokenID`: %v\n", resp)
}
```
Expand All @@ -328,7 +328,7 @@ Name | Type | Description | Notes

### Return type

[**ErrorResponse**](ErrorResponse.md)
[**AutomationTokenErrorResponse**](AutomationTokenErrorResponse.md)

### Authorization

Expand Down
2 changes: 1 addition & 1 deletion docs/Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Name | Type | Description | Notes
**SslCaCert** | Pointer to **NullableString** | CA certificate attached to origin. | [optional]
**SslCertHostname** | Pointer to **NullableString** | Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all. | [optional]
**SslCheckCert** | Pointer to **NullableBool** | Be strict on checking SSL certs. | [optional] [default to true]
**SslCiphers** | Pointer to **NullableString** | List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**SslCiphers** | Pointer to **NullableString** | List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic `503` error response will be generated. | [optional]
**SslClientCert** | Pointer to **NullableString** | Client certificate attached to origin. | [optional]
**SslClientKey** | Pointer to **NullableString** | Client key attached to origin. | [optional]
**SslHostname** | Pointer to **NullableString** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional]
Expand Down
Loading

0 comments on commit 44de51f

Please sign in to comment.