Skip to content

Commit

Permalink
Generated v1.0.0-beta.10
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 22, 2023
1 parent 5bcbba9 commit db8b3bf
Show file tree
Hide file tree
Showing 23 changed files with 646 additions and 338 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.10](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.10) (2023-05-22)

**Bug fixes:**

- fix(acl): change `version` from int to string.
- fix(acl): add missing methods for `service_id` and `service_version` properties.
- fix(backend): make `ssl_check_cert` nullable.
- fix(purge): skip URL escape for `surrogate_key` param.
- fix(snippets): change `priority` and `version` from int to string.
- fix(snippets): add missing methods for `service_id` and `service_version` properties.

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

**Enhancements:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add the following to your project's `go.mod`:

```go.mod
require (
github.com/fastly/fastly-go vv1.0.0-beta.9
github.com/fastly/fastly-go vv1.0.0-beta.10
)
```

Expand Down
8 changes: 4 additions & 4 deletions docs/AclResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**DeletedAt** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**UpdatedAt** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**ServiceID** | Pointer to **string** | | [optional] [readonly]
**Version** | Pointer to **int32** | | [optional] [readonly]
**Version** | Pointer to **string** | String representing the number identifying a version of the service. | [optional] [readonly]
**ID** | Pointer to **string** | | [optional] [readonly]

## Methods
Expand Down Expand Up @@ -188,20 +188,20 @@ HasServiceID returns a boolean if a field has been set.

### GetVersion

`func (o *ACLResponse) GetVersion() int32`
`func (o *ACLResponse) GetVersion() string`

GetVersion returns the Version field if non-nil, zero value otherwise.

### GetVersionOk

`func (o *ACLResponse) GetVersionOk() (*int32, bool)`
`func (o *ACLResponse) GetVersionOk() (*string, bool)`

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

### SetVersion

`func (o *ACLResponse) SetVersion(v int32)`
`func (o *ACLResponse) SetVersion(v string)`

SetVersion sets Version field to given value.

Expand Down
52 changes: 52 additions & 0 deletions docs/AclResponseAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ServiceID** | Pointer to **string** | | [optional] [readonly]
**Version** | Pointer to **string** | String representing the number identifying a version of the service. | [optional] [readonly]
**ID** | Pointer to **string** | | [optional] [readonly]

## Methods
Expand All @@ -25,6 +27,56 @@ NewACLResponseAllOfWithDefaults instantiates a new ACLResponseAllOf 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

### GetServiceID

`func (o *ACLResponseAllOf) GetServiceID() string`

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

### GetServiceIDOk

`func (o *ACLResponseAllOf) GetServiceIDOk() (*string, bool)`

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

### SetServiceID

`func (o *ACLResponseAllOf) SetServiceID(v string)`

SetServiceID sets ServiceID field to given value.

### HasServiceID

`func (o *ACLResponseAllOf) HasServiceID() bool`

HasServiceID returns a boolean if a field has been set.

### GetVersion

`func (o *ACLResponseAllOf) GetVersion() string`

GetVersion returns the Version field if non-nil, zero value otherwise.

### GetVersionOk

`func (o *ACLResponseAllOf) GetVersionOk() (*string, bool)`

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

### SetVersion

`func (o *ACLResponseAllOf) SetVersion(v string)`

SetVersion sets Version field to given value.

### HasVersion

`func (o *ACLResponseAllOf) HasVersion() bool`

HasVersion returns a boolean if a field has been set.

### GetID

`func (o *ACLResponseAllOf) GetID() string`
Expand Down
12 changes: 11 additions & 1 deletion docs/Backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Name | Type | Description | Notes
**Shield** | Pointer to **NullableString** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]
**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 **bool** | Be strict on checking SSL certs. | [optional] [default to true]
**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]
**SslClientCert** | Pointer to **NullableString** | Client certificate attached to origin. | [optional]
**SslClientKey** | Pointer to **NullableString** | Client key attached to origin. | [optional]
Expand Down Expand Up @@ -759,6 +759,16 @@ SetSslCheckCert sets SslCheckCert field to given value.

HasSslCheckCert returns a boolean if a field has been set.

### SetSslCheckCertNil

`func (o *Backend) SetSslCheckCertNil(b bool)`

SetSslCheckCertNil sets the value for SslCheckCert to be an explicit nil

### UnsetSslCheckCert
`func (o *Backend) UnsetSslCheckCert()`

UnsetSslCheckCert ensures that no value is present for SslCheckCert, not even an explicit nil
### GetSslCiphers

`func (o *Backend) GetSslCiphers() string`
Expand Down
12 changes: 11 additions & 1 deletion docs/BackendResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Name | Type | Description | Notes
**Shield** | Pointer to **NullableString** | Identifier of the POP to use as a [shield](https://docs.fastly.com/en/guides/shielding). | [optional]
**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 **bool** | Be strict on checking SSL certs. | [optional] [default to true]
**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]
**SslClientCert** | Pointer to **NullableString** | Client certificate attached to origin. | [optional]
**SslClientKey** | Pointer to **NullableString** | Client key attached to origin. | [optional]
Expand Down Expand Up @@ -765,6 +765,16 @@ SetSslCheckCert sets SslCheckCert field to given value.

HasSslCheckCert returns a boolean if a field has been set.

### SetSslCheckCertNil

`func (o *BackendResponse) SetSslCheckCertNil(b bool)`

SetSslCheckCertNil sets the value for SslCheckCert to be an explicit nil

### UnsetSslCheckCert
`func (o *BackendResponse) UnsetSslCheckCert()`

UnsetSslCheckCert ensures that no value is present for SslCheckCert, not even an explicit nil
### GetSslCiphers

`func (o *BackendResponse) GetSslCiphers() string`
Expand Down
112 changes: 56 additions & 56 deletions docs/SchemasSnippetResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Name | Type | Description | Notes
**Dynamic** | Pointer to **int32** | Sets the snippet version. | [optional]
**Type** | Pointer to **string** | The location in generated VCL where the snippet should be placed. | [optional]
**Content** | Pointer to **string** | The VCL code that specifies exactly what the snippet does. | [optional]
**Priority** | Pointer to **int32** | Priority determines execution order. Lower numbers execute first. | [optional] [default to 100]
**ServiceID** | Pointer to **string** | | [optional] [readonly]
**Version** | Pointer to **int32** | | [optional] [readonly]
**Priority** | Pointer to **string** | Priority determines execution order. Lower numbers execute first. | [optional] [default to "100"]
**CreatedAt** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**DeletedAt** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**UpdatedAt** | Pointer to **NullableTime** | Date and time in ISO 8601 format. | [optional] [readonly]
**ServiceID** | Pointer to **string** | | [optional] [readonly]
**Version** | Pointer to **string** | String representing the number identifying a version of the service. | [optional] [readonly]
**ID** | Pointer to **string** | | [optional] [readonly]

## Methods
Expand Down Expand Up @@ -137,20 +137,20 @@ HasContent returns a boolean if a field has been set.

### GetPriority

`func (o *SchemasSnippetResponse) GetPriority() int32`
`func (o *SchemasSnippetResponse) GetPriority() string`

GetPriority returns the Priority field if non-nil, zero value otherwise.

### GetPriorityOk

`func (o *SchemasSnippetResponse) GetPriorityOk() (*int32, bool)`
`func (o *SchemasSnippetResponse) GetPriorityOk() (*string, bool)`

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

### SetPriority

`func (o *SchemasSnippetResponse) SetPriority(v int32)`
`func (o *SchemasSnippetResponse) SetPriority(v string)`

SetPriority sets Priority field to given value.

Expand All @@ -160,56 +160,6 @@ SetPriority sets Priority field to given value.

HasPriority returns a boolean if a field has been set.

### GetServiceID

`func (o *SchemasSnippetResponse) GetServiceID() string`

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

### GetServiceIDOk

`func (o *SchemasSnippetResponse) GetServiceIDOk() (*string, bool)`

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

### SetServiceID

`func (o *SchemasSnippetResponse) SetServiceID(v string)`

SetServiceID sets ServiceID field to given value.

### HasServiceID

`func (o *SchemasSnippetResponse) HasServiceID() bool`

HasServiceID returns a boolean if a field has been set.

### GetVersion

`func (o *SchemasSnippetResponse) GetVersion() int32`

GetVersion returns the Version field if non-nil, zero value otherwise.

### GetVersionOk

`func (o *SchemasSnippetResponse) GetVersionOk() (*int32, bool)`

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

### SetVersion

`func (o *SchemasSnippetResponse) SetVersion(v int32)`

SetVersion sets Version field to given value.

### HasVersion

`func (o *SchemasSnippetResponse) HasVersion() bool`

HasVersion returns a boolean if a field has been set.

### GetCreatedAt

`func (o *SchemasSnippetResponse) GetCreatedAt() time.Time`
Expand Down Expand Up @@ -315,6 +265,56 @@ HasUpdatedAt returns a boolean if a field has been set.
`func (o *SchemasSnippetResponse) UnsetUpdatedAt()`

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil
### GetServiceID

`func (o *SchemasSnippetResponse) GetServiceID() string`

GetServiceID returns the ServiceID field if non-nil, zero value otherwise.

### GetServiceIDOk

`func (o *SchemasSnippetResponse) GetServiceIDOk() (*string, bool)`

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

### SetServiceID

`func (o *SchemasSnippetResponse) SetServiceID(v string)`

SetServiceID sets ServiceID field to given value.

### HasServiceID

`func (o *SchemasSnippetResponse) HasServiceID() bool`

HasServiceID returns a boolean if a field has been set.

### GetVersion

`func (o *SchemasSnippetResponse) GetVersion() string`

GetVersion returns the Version field if non-nil, zero value otherwise.

### GetVersionOk

`func (o *SchemasSnippetResponse) GetVersionOk() (*string, bool)`

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

### SetVersion

`func (o *SchemasSnippetResponse) SetVersion(v string)`

SetVersion sets Version field to given value.

### HasVersion

`func (o *SchemasSnippetResponse) HasVersion() bool`

HasVersion returns a boolean if a field has been set.

### GetID

`func (o *SchemasSnippetResponse) GetID() string`
Expand Down
8 changes: 4 additions & 4 deletions docs/Snippet.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Dynamic** | Pointer to **int32** | Sets the snippet version. | [optional]
**Type** | Pointer to **string** | The location in generated VCL where the snippet should be placed. | [optional]
**Content** | Pointer to **string** | The VCL code that specifies exactly what the snippet does. | [optional]
**Priority** | Pointer to **int32** | Priority determines execution order. Lower numbers execute first. | [optional] [default to 100]
**Priority** | Pointer to **string** | Priority determines execution order. Lower numbers execute first. | [optional] [default to "100"]

## Methods

Expand Down Expand Up @@ -131,20 +131,20 @@ HasContent returns a boolean if a field has been set.

### GetPriority

`func (o *Snippet) GetPriority() int32`
`func (o *Snippet) GetPriority() string`

GetPriority returns the Priority field if non-nil, zero value otherwise.

### GetPriorityOk

`func (o *Snippet) GetPriorityOk() (*int32, bool)`
`func (o *Snippet) GetPriorityOk() (*string, bool)`

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

### SetPriority

`func (o *Snippet) SetPriority(v int32)`
`func (o *Snippet) SetPriority(v string)`

SetPriority sets Priority field to given value.

Expand Down
8 changes: 4 additions & 4 deletions docs/SnippetAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func main() {
dynamic := int32(56) // int32 | Sets the snippet version. (optional)
resourceType := "resourceType_example" // string | The location in generated VCL where the snippet should be placed. (optional)
content := "content_example" // string | The VCL code that specifies exactly what the snippet does. (optional)
priority := int32(56) // int32 | Priority determines execution order. Lower numbers execute first. (optional) (default to 100)
priority := "priority_example" // string | Priority determines execution order. Lower numbers execute first. (optional) (default to "100")

cfg := fastly.NewConfiguration()
apiClient := fastly.NewAPIClient(cfg)
Expand Down Expand Up @@ -69,7 +69,7 @@ Other parameters are passed through a pointer to a apiCreateSnippetRequest struc

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string** | The name for the snippet. | **dynamic** | **int32** | Sets the snippet version. | **resourceType** | **string** | The location in generated VCL where the snippet should be placed. | **content** | **string** | The VCL code that specifies exactly what the snippet does. | **priority** | **int32** | Priority determines execution order. Lower numbers execute first. | [default to 100]
**name** | **string** | The name for the snippet. | **dynamic** | **int32** | Sets the snippet version. | **resourceType** | **string** | The location in generated VCL where the snippet should be placed. | **content** | **string** | The VCL code that specifies exactly what the snippet does. | **priority** | **string** | Priority determines execution order. Lower numbers execute first. | [default to "100"]

### Return type

Expand Down Expand Up @@ -392,7 +392,7 @@ func main() {
dynamic := int32(56) // int32 | Sets the snippet version. (optional)
resourceType := "resourceType_example" // string | The location in generated VCL where the snippet should be placed. (optional)
content := "content_example" // string | The VCL code that specifies exactly what the snippet does. (optional)
priority := int32(56) // int32 | Priority determines execution order. Lower numbers execute first. (optional) (default to 100)
priority := "priority_example" // string | Priority determines execution order. Lower numbers execute first. (optional) (default to "100")

cfg := fastly.NewConfiguration()
apiClient := fastly.NewAPIClient(cfg)
Expand Down Expand Up @@ -423,7 +423,7 @@ Other parameters are passed through a pointer to a apiUpdateSnippetDynamicReques

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **string** | The name for the snippet. | **dynamic** | **int32** | Sets the snippet version. | **resourceType** | **string** | The location in generated VCL where the snippet should be placed. | **content** | **string** | The VCL code that specifies exactly what the snippet does. | **priority** | **int32** | Priority determines execution order. Lower numbers execute first. | [default to 100]
**name** | **string** | The name for the snippet. | **dynamic** | **int32** | Sets the snippet version. | **resourceType** | **string** | The location in generated VCL where the snippet should be placed. | **content** | **string** | The VCL code that specifies exactly what the snippet does. | **priority** | **string** | Priority determines execution order. Lower numbers execute first. | [default to "100"]

### Return type

Expand Down
Loading

0 comments on commit db8b3bf

Please sign in to comment.