Name | Type | Description | Notes |
---|---|---|---|
Path | Pointer to string | The origin's path Paths default to "/" | [optional] |
Hostname | Pointer to string | The origin's hostname or IP address | [optional] |
Port | Pointer to int32 | The HTTP port to connect to the origin | [optional] |
SecurePort | Pointer to int32 | The HTTPS port to connect to the origin | [optional] |
func NewCdnConnectScopeToOriginRequestOrigin() *CdnConnectScopeToOriginRequestOrigin
NewCdnConnectScopeToOriginRequestOrigin instantiates a new CdnConnectScopeToOriginRequestOrigin 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 NewCdnConnectScopeToOriginRequestOriginWithDefaults() *CdnConnectScopeToOriginRequestOrigin
NewCdnConnectScopeToOriginRequestOriginWithDefaults instantiates a new CdnConnectScopeToOriginRequestOrigin 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 *CdnConnectScopeToOriginRequestOrigin) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *CdnConnectScopeToOriginRequestOrigin) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) SetPath(v string)
SetPath sets Path field to given value.
func (o *CdnConnectScopeToOriginRequestOrigin) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) GetHostname() string
GetHostname returns the Hostname field if non-nil, zero value otherwise.
func (o *CdnConnectScopeToOriginRequestOrigin) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) SetHostname(v string)
SetHostname sets Hostname field to given value.
func (o *CdnConnectScopeToOriginRequestOrigin) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *CdnConnectScopeToOriginRequestOrigin) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) SetPort(v int32)
SetPort sets Port field to given value.
func (o *CdnConnectScopeToOriginRequestOrigin) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) GetSecurePort() int32
GetSecurePort returns the SecurePort field if non-nil, zero value otherwise.
func (o *CdnConnectScopeToOriginRequestOrigin) GetSecurePortOk() (*int32, bool)
GetSecurePortOk returns a tuple with the SecurePort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CdnConnectScopeToOriginRequestOrigin) SetSecurePort(v int32)
SetSecurePort sets SecurePort field to given value.
func (o *CdnConnectScopeToOriginRequestOrigin) HasSecurePort() bool
HasSecurePort returns a boolean if a field has been set.