Name | Type | Description | Notes |
---|---|---|---|
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] |
func NewDomainForwardingCreate(type_ string, url string, ) *DomainForwardingCreate
NewDomainForwardingCreate instantiates a new DomainForwardingCreate 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 NewDomainForwardingCreateWithDefaults() *DomainForwardingCreate
NewDomainForwardingCreateWithDefaults instantiates a new DomainForwardingCreate 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 *DomainForwardingCreate) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *DomainForwardingCreate) 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.
func (o *DomainForwardingCreate) SetType(v string)
SetType sets Type field to given value.
func (o *DomainForwardingCreate) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *DomainForwardingCreate) 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.
func (o *DomainForwardingCreate) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *DomainForwardingCreate) GetMask() DomainForwardingMask
GetMask returns the Mask field if non-nil, zero value otherwise.
func (o *DomainForwardingCreate) 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.
func (o *DomainForwardingCreate) SetMask(v DomainForwardingMask)
SetMask sets Mask field to given value.
func (o *DomainForwardingCreate) HasMask() bool
HasMask returns a boolean if a field has been set.