Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 4.11 KB

DomainForwarding.md

File metadata and controls

119 lines (64 loc) · 4.11 KB

DomainForwarding

Properties

Name Type Description Notes
Fqdn string The fqdn (domain or sub domain) to forward (ex somedomain.com or sub.somedomain.com)
Type string The type of fowarding to implement<br/><ul><li><strong style='margin-left: 12px;'>MASKED</strong> - Prevents the forwarded domain or subdomain URL from displaying in the browser's address bar.</li><li><strong style='margin-left: 12px;'>REDIRECT_PERMANENT*</strong> - Redirects to the url you specified in the forwardTo field using a `301 Moved Permanently` HTTP response. The HTTP 301 response code tells user-agents (including search engines) that the location has permanently moved.</li><li><strong style='margin-left: 12px;'>REDIRECT_TEMPORARY</strong> - Redirects to the url you specified in the forwardTo field using a `302 Found` HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.</li></ul> [default to "REDIRECT_PERMANENT"]
Url string Forwards http(s) traffic to this destination url (ex. http://www.somedomain.com/)
Mask Pointer to DomainForwardingMask [optional]

Methods

NewDomainForwarding

func NewDomainForwarding(fqdn string, type_ string, url string, ) *DomainForwarding

NewDomainForwarding instantiates a new DomainForwarding 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

NewDomainForwardingWithDefaults

func NewDomainForwardingWithDefaults() *DomainForwarding

NewDomainForwardingWithDefaults instantiates a new DomainForwarding 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

GetFqdn

func (o *DomainForwarding) GetFqdn() string

GetFqdn returns the Fqdn field if non-nil, zero value otherwise.

GetFqdnOk

func (o *DomainForwarding) GetFqdnOk() (*string, bool)

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

SetFqdn

func (o *DomainForwarding) SetFqdn(v string)

SetFqdn sets Fqdn field to given value.

GetType

func (o *DomainForwarding) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *DomainForwarding) GetTypeOk() (*string, bool)

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

SetType

func (o *DomainForwarding) SetType(v string)

SetType sets Type field to given value.

GetUrl

func (o *DomainForwarding) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *DomainForwarding) GetUrlOk() (*string, bool)

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

SetUrl

func (o *DomainForwarding) SetUrl(v string)

SetUrl sets Url field to given value.

GetMask

func (o *DomainForwarding) GetMask() DomainForwardingMask

GetMask returns the Mask field if non-nil, zero value otherwise.

GetMaskOk

func (o *DomainForwarding) GetMaskOk() (*DomainForwardingMask, bool)

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

SetMask

func (o *DomainForwarding) SetMask(v DomainForwardingMask)

SetMask sets Mask field to given value.

HasMask

func (o *DomainForwarding) HasMask() bool

HasMask returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]