Name | Type | Description | Notes |
---|---|---|---|
Domain | string | your custom domain | |
GenerateCertificate | bool | to control if a certificate has to be generated for this custom domain by Qovery. The default value is `true`. This flag should be set to `false` if a CDN or other entities are managing the certificate for the specified domain and the traffic is proxied by the CDN to Qovery. | |
UseCdn | Pointer to bool | Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment: * If `true` then we only check the domain points to an IP * If `false` then we check that the domain resolves to the correct service Load Balancer | [optional] |
func NewCustomDomainRequest(domain string, generateCertificate bool, ) *CustomDomainRequest
NewCustomDomainRequest instantiates a new CustomDomainRequest 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
func NewCustomDomainRequestWithDefaults() *CustomDomainRequest
NewCustomDomainRequestWithDefaults instantiates a new CustomDomainRequest 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
func (o *CustomDomainRequest) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
func (o *CustomDomainRequest) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDomainRequest) SetDomain(v string)
SetDomain sets Domain field to given value.
func (o *CustomDomainRequest) GetGenerateCertificate() bool
GetGenerateCertificate returns the GenerateCertificate field if non-nil, zero value otherwise.
func (o *CustomDomainRequest) GetGenerateCertificateOk() (*bool, bool)
GetGenerateCertificateOk returns a tuple with the GenerateCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDomainRequest) SetGenerateCertificate(v bool)
SetGenerateCertificate sets GenerateCertificate field to given value.
func (o *CustomDomainRequest) GetUseCdn() bool
GetUseCdn returns the UseCdn field if non-nil, zero value otherwise.
func (o *CustomDomainRequest) GetUseCdnOk() (*bool, bool)
GetUseCdnOk returns a tuple with the UseCdn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDomainRequest) SetUseCdn(v bool)
SetUseCdn sets UseCdn field to given value.
func (o *CustomDomainRequest) HasUseCdn() bool
HasUseCdn returns a boolean if a field has been set.