| Name | Type | Description | Notes |
|---|---|---|---|
| Origin | Pointer to DeliveryConnectScopeToOriginRequestOrigin | [optional] | |
| Priority | Pointer to int32 | The origin's priority to the scope If more than one origin powers a CDN scope, then the one with the lower priority number takes higher precedence. When there is an origin already in place, the following rules are followed: - If an origin ID is provided, then the current origin at that priority is disconnected in favor of the new one. - If an origin is provided and the current origin at the given priority is dedicated, then the origin is updated in place. - If an origin is provided and no dedicated origin exists, the origin is created and connected to the scope. | [optional] |
| OriginId | Pointer to string | The ID of an existing origin to associate with a scope This is useful for connecting to a shared origin. | [optional] |
func NewDeliveryConnectScopeToOriginRequest() *DeliveryConnectScopeToOriginRequest
NewDeliveryConnectScopeToOriginRequest instantiates a new DeliveryConnectScopeToOriginRequest 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 NewDeliveryConnectScopeToOriginRequestWithDefaults() *DeliveryConnectScopeToOriginRequest
NewDeliveryConnectScopeToOriginRequestWithDefaults instantiates a new DeliveryConnectScopeToOriginRequest 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 *DeliveryConnectScopeToOriginRequest) GetOrigin() DeliveryConnectScopeToOriginRequestOrigin
GetOrigin returns the Origin field if non-nil, zero value otherwise.
func (o *DeliveryConnectScopeToOriginRequest) GetOriginOk() (*DeliveryConnectScopeToOriginRequestOrigin, bool)
GetOriginOk returns a tuple with the Origin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeliveryConnectScopeToOriginRequest) SetOrigin(v DeliveryConnectScopeToOriginRequestOrigin)
SetOrigin sets Origin field to given value.
func (o *DeliveryConnectScopeToOriginRequest) HasOrigin() bool
HasOrigin returns a boolean if a field has been set.
func (o *DeliveryConnectScopeToOriginRequest) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *DeliveryConnectScopeToOriginRequest) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeliveryConnectScopeToOriginRequest) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *DeliveryConnectScopeToOriginRequest) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *DeliveryConnectScopeToOriginRequest) GetOriginId() string
GetOriginId returns the OriginId field if non-nil, zero value otherwise.
func (o *DeliveryConnectScopeToOriginRequest) GetOriginIdOk() (*string, bool)
GetOriginIdOk returns a tuple with the OriginId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeliveryConnectScopeToOriginRequest) SetOriginId(v string)
SetOriginId sets OriginId field to given value.
func (o *DeliveryConnectScopeToOriginRequest) HasOriginId() bool
HasOriginId returns a boolean if a field has been set.