Skip to content

Commit

Permalink
Generated v1.0.0-beta.12
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 21, 2023
1 parent 210499a commit 3609f34
Show file tree
Hide file tree
Showing 15 changed files with 412 additions and 44 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

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

**Bug fixes:**

- fix(tls_activation): add tls_configuration and tls_domains.
- fix(tls_subscription): add tls_configuration and common name.

## [v1.0.0-beta.11](https://github.com/fastly/fastly-go/releases/tag/v1.0.0-beta.11) (2023-06-20)

**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 v1.0.0-beta.11
github.com/fastly/fastly-go v1.0.0-beta.12
)
```

Expand Down
54 changes: 54 additions & 0 deletions docs/RelationshipTlsConfigurationForTlsSubscription.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# RelationshipTLSConfigurationForTLSSubscription

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**TLSConfiguration** | Pointer to [**RelationshipTLSConfigurationTLSConfiguration**](RelationshipTLSConfigurationTLSConfiguration.md) | | [optional]

## Methods

### NewRelationshipTLSConfigurationForTLSSubscription

`func NewRelationshipTLSConfigurationForTLSSubscription() *RelationshipTLSConfigurationForTLSSubscription`

NewRelationshipTLSConfigurationForTLSSubscription instantiates a new RelationshipTLSConfigurationForTLSSubscription 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

### NewRelationshipTLSConfigurationForTLSSubscriptionWithDefaults

`func NewRelationshipTLSConfigurationForTLSSubscriptionWithDefaults() *RelationshipTLSConfigurationForTLSSubscription`

NewRelationshipTLSConfigurationForTLSSubscriptionWithDefaults instantiates a new RelationshipTLSConfigurationForTLSSubscription 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

### GetTLSConfiguration

`func (o *RelationshipTLSConfigurationForTLSSubscription) GetTLSConfiguration() RelationshipTLSConfigurationTLSConfiguration`

GetTLSConfiguration returns the TLSConfiguration field if non-nil, zero value otherwise.

### GetTLSConfigurationOk

`func (o *RelationshipTLSConfigurationForTLSSubscription) GetTLSConfigurationOk() (*RelationshipTLSConfigurationTLSConfiguration, bool)`

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

### SetTLSConfiguration

`func (o *RelationshipTLSConfigurationForTLSSubscription) SetTLSConfiguration(v RelationshipTLSConfigurationTLSConfiguration)`

SetTLSConfiguration sets TLSConfiguration field to given value.

### HasTLSConfiguration

`func (o *RelationshipTLSConfigurationForTLSSubscription) HasTLSConfiguration() bool`

HasTLSConfiguration returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
52 changes: 52 additions & 0 deletions docs/RelationshipsForTlsActivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**TLSCertificate** | Pointer to [**RelationshipTLSCertificateTLSCertificate**](RelationshipTLSCertificateTLSCertificate.md) | | [optional]
**TLSConfiguration** | Pointer to [**RelationshipTLSConfigurationTLSConfiguration**](RelationshipTLSConfigurationTLSConfiguration.md) | | [optional]
**TLSDomain** | Pointer to [**RelationshipTLSDomainTLSDomain**](RelationshipTLSDomainTLSDomain.md) | | [optional]

## Methods

Expand Down Expand Up @@ -50,5 +52,55 @@ SetTLSCertificate sets TLSCertificate field to given value.

HasTLSCertificate returns a boolean if a field has been set.

### GetTLSConfiguration

`func (o *RelationshipsForTLSActivation) GetTLSConfiguration() RelationshipTLSConfigurationTLSConfiguration`

GetTLSConfiguration returns the TLSConfiguration field if non-nil, zero value otherwise.

### GetTLSConfigurationOk

`func (o *RelationshipsForTLSActivation) GetTLSConfigurationOk() (*RelationshipTLSConfigurationTLSConfiguration, bool)`

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

### SetTLSConfiguration

`func (o *RelationshipsForTLSActivation) SetTLSConfiguration(v RelationshipTLSConfigurationTLSConfiguration)`

SetTLSConfiguration sets TLSConfiguration field to given value.

### HasTLSConfiguration

`func (o *RelationshipsForTLSActivation) HasTLSConfiguration() bool`

HasTLSConfiguration returns a boolean if a field has been set.

### GetTLSDomain

`func (o *RelationshipsForTLSActivation) GetTLSDomain() RelationshipTLSDomainTLSDomain`

GetTLSDomain returns the TLSDomain field if non-nil, zero value otherwise.

### GetTLSDomainOk

`func (o *RelationshipsForTLSActivation) GetTLSDomainOk() (*RelationshipTLSDomainTLSDomain, bool)`

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

### SetTLSDomain

`func (o *RelationshipsForTLSActivation) SetTLSDomain(v RelationshipTLSDomainTLSDomain)`

SetTLSDomain sets TLSDomain field to given value.

### HasTLSDomain

`func (o *RelationshipsForTLSActivation) HasTLSDomain() bool`

HasTLSDomain returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
78 changes: 52 additions & 26 deletions docs/RelationshipsForTlsSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**TLSConfiguration** | Pointer to [**RelationshipTLSConfigurationTLSConfiguration**](RelationshipTLSConfigurationTLSConfiguration.md) | | [optional]
**CommonName** | Pointer to [**RelationshipMemberTLSDomain**](RelationshipMemberTLSDomain.md) | | [optional]
**TLSDomains** | Pointer to [**RelationshipTLSDomainsTLSDomains**](RelationshipTLSDomainsTLSDomains.md) | | [optional]
**TLSCertificates** | Pointer to [**RelationshipTLSCertificatesTLSCertificates**](RelationshipTLSCertificatesTLSCertificates.md) | | [optional]
**TLSConfiguration** | Pointer to [**RelationshipTLSConfigurationTLSConfiguration**](RelationshipTLSConfigurationTLSConfiguration.md) | | [optional]

## Methods

Expand All @@ -27,6 +28,56 @@ NewRelationshipsForTLSSubscriptionWithDefaults instantiates a new RelationshipsF
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

### GetTLSConfiguration

`func (o *RelationshipsForTLSSubscription) GetTLSConfiguration() RelationshipTLSConfigurationTLSConfiguration`

GetTLSConfiguration returns the TLSConfiguration field if non-nil, zero value otherwise.

### GetTLSConfigurationOk

`func (o *RelationshipsForTLSSubscription) GetTLSConfigurationOk() (*RelationshipTLSConfigurationTLSConfiguration, bool)`

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

### SetTLSConfiguration

`func (o *RelationshipsForTLSSubscription) SetTLSConfiguration(v RelationshipTLSConfigurationTLSConfiguration)`

SetTLSConfiguration sets TLSConfiguration field to given value.

### HasTLSConfiguration

`func (o *RelationshipsForTLSSubscription) HasTLSConfiguration() bool`

HasTLSConfiguration returns a boolean if a field has been set.

### GetCommonName

`func (o *RelationshipsForTLSSubscription) GetCommonName() RelationshipMemberTLSDomain`

GetCommonName returns the CommonName field if non-nil, zero value otherwise.

### GetCommonNameOk

`func (o *RelationshipsForTLSSubscription) GetCommonNameOk() (*RelationshipMemberTLSDomain, bool)`

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

### SetCommonName

`func (o *RelationshipsForTLSSubscription) SetCommonName(v RelationshipMemberTLSDomain)`

SetCommonName sets CommonName field to given value.

### HasCommonName

`func (o *RelationshipsForTLSSubscription) HasCommonName() bool`

HasCommonName returns a boolean if a field has been set.

### GetTLSDomains

`func (o *RelationshipsForTLSSubscription) GetTLSDomains() RelationshipTLSDomainsTLSDomains`
Expand Down Expand Up @@ -77,30 +128,5 @@ SetTLSCertificates sets TLSCertificates field to given value.

HasTLSCertificates returns a boolean if a field has been set.

### GetTLSConfiguration

`func (o *RelationshipsForTLSSubscription) GetTLSConfiguration() RelationshipTLSConfigurationTLSConfiguration`

GetTLSConfiguration returns the TLSConfiguration field if non-nil, zero value otherwise.

### GetTLSConfigurationOk

`func (o *RelationshipsForTLSSubscription) GetTLSConfigurationOk() (*RelationshipTLSConfigurationTLSConfiguration, bool)`

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

### SetTLSConfiguration

`func (o *RelationshipsForTLSSubscription) SetTLSConfiguration(v RelationshipTLSConfigurationTLSConfiguration)`

SetTLSConfiguration sets TLSConfiguration field to given value.

### HasTLSConfiguration

`func (o *RelationshipsForTLSSubscription) HasTLSConfiguration() bool`

HasTLSConfiguration returns a boolean if a field has been set.


[Back to API list](../README.md#documentation-for-api-endpoints) | [Back to README](../README.md)
2 changes: 1 addition & 1 deletion fastly/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ type Configuration struct {
func NewConfiguration() *Configuration {
cfg := &Configuration{
DefaultHeader: make(map[string]string),
UserAgent: "fastly-go/v1.0.0-beta.11",
UserAgent: "fastly-go/v1.0.0-beta.12",
Debug: false,
Servers: ServerConfigurations{
{
Expand Down
2 changes: 1 addition & 1 deletion fastly/model_relationship_common_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"encoding/json"
)

// RelationshipCommonName struct for RelationshipCommonName
// RelationshipCommonName The common name associated with the subscription generated by Fastly TLS. Optional. If you do not pass a common name on create, we will default to the first TLS domain included. If provided, the domain chosen as the common name must be included in TLS domains.
type RelationshipCommonName struct {
CommonName *RelationshipMemberTLSDomain `json:"common_name,omitempty"`
AdditionalProperties map[string]any
Expand Down
2 changes: 1 addition & 1 deletion fastly/model_relationship_mutual_authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"encoding/json"
)

// RelationshipMutualAuthentication struct for RelationshipMutualAuthentication
// RelationshipMutualAuthentication The [Mutual Authentication](/reference/api/tls/mutual-tls/authentication/) for client-to-server authentication. Optional.
type RelationshipMutualAuthentication struct {
MutualAuthentication *RelationshipMutualAuthenticationMutualAuthentication `json:"mutual_authentication,omitempty"`
AdditionalProperties map[string]any
Expand Down
2 changes: 1 addition & 1 deletion fastly/model_relationship_tls_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"encoding/json"
)

// RelationshipTLSCertificate struct for RelationshipTLSCertificate
// RelationshipTLSCertificate The [TLS certificate](/reference/api/tls/custom-certs/certificates/) being used to terminate TLS traffic for a domain. Required.
type RelationshipTLSCertificate struct {
TLSCertificate *RelationshipTLSCertificateTLSCertificate `json:"tls_certificate,omitempty"`
AdditionalProperties map[string]any
Expand Down
2 changes: 1 addition & 1 deletion fastly/model_relationship_tls_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"encoding/json"
)

// RelationshipTLSConfiguration struct for RelationshipTLSConfiguration
// RelationshipTLSConfiguration The [TLS configuration](/reference/api/tls/custom-certs/configuration/) being used to terminate TLS traffic. Optional.
type RelationshipTLSConfiguration struct {
TLSConfiguration *RelationshipTLSConfigurationTLSConfiguration `json:"tls_configuration,omitempty"`
AdditionalProperties map[string]any
Expand Down
Loading

0 comments on commit 3609f34

Please sign in to comment.