Skip to content

Commit

Permalink
fix: fqdn should be optional in ConfigForwarder
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewab committed Feb 23, 2024
1 parent 3b4702a commit b816702
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 15 deletions.
9 changes: 7 additions & 2 deletions dns_config/docs/ConfigForwarder.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Address** | **string** | Server IP address. |
**Fqdn** | **string** | Server FQDN. |
**Fqdn** | Pointer to **string** | Server FQDN. | [optional]
**ProtocolFqdn** | Pointer to **string** | Server FQDN in punycode. | [optional] [readonly]

## Methods

### NewConfigForwarder

`func NewConfigForwarder(address string, fqdn string, ) *ConfigForwarder`
`func NewConfigForwarder(address string, ) *ConfigForwarder`

NewConfigForwarder instantiates a new ConfigForwarder object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -66,6 +66,11 @@ and a boolean to check if the value has been set.

SetFqdn sets Fqdn field to given value.

### HasFqdn

`func (o *ConfigForwarder) HasFqdn() bool`

HasFqdn returns a boolean if a field has been set.

### GetProtocolFqdn

Expand Down
35 changes: 22 additions & 13 deletions dns_config/model_config_forwarder.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b816702

Please sign in to comment.