Name | Type | Description | Notes |
---|---|---|---|
Priority | Pointer to int32 | An origin's priority to its site scope If a CDN scope is powered by more than one origin, then the one with the lower priority number takes higher precedence. | [optional] |
Origin | Pointer to SchemadeliveryOrigin | [optional] |
func NewDeliveryScopeOrigin() *DeliveryScopeOrigin
NewDeliveryScopeOrigin instantiates a new DeliveryScopeOrigin 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 NewDeliveryScopeOriginWithDefaults() *DeliveryScopeOrigin
NewDeliveryScopeOriginWithDefaults instantiates a new DeliveryScopeOrigin 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 *DeliveryScopeOrigin) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *DeliveryScopeOrigin) 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 *DeliveryScopeOrigin) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *DeliveryScopeOrigin) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *DeliveryScopeOrigin) GetOrigin() SchemadeliveryOrigin
GetOrigin returns the Origin field if non-nil, zero value otherwise.
func (o *DeliveryScopeOrigin) GetOriginOk() (*SchemadeliveryOrigin, 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 *DeliveryScopeOrigin) SetOrigin(v SchemadeliveryOrigin)
SetOrigin sets Origin field to given value.
func (o *DeliveryScopeOrigin) HasOrigin() bool
HasOrigin returns a boolean if a field has been set.