Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.51 KB

DeliveryScopeOrigin.md

File metadata and controls

82 lines (45 loc) · 2.51 KB

DeliveryScopeOrigin

Properties

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]

Methods

NewDeliveryScopeOrigin

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

NewDeliveryScopeOriginWithDefaults

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

GetPriority

func (o *DeliveryScopeOrigin) GetPriority() int32

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

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.

SetPriority

func (o *DeliveryScopeOrigin) SetPriority(v int32)

SetPriority sets Priority field to given value.

HasPriority

func (o *DeliveryScopeOrigin) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetOrigin

func (o *DeliveryScopeOrigin) GetOrigin() SchemadeliveryOrigin

GetOrigin returns the Origin field if non-nil, zero value otherwise.

GetOriginOk

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.

SetOrigin

func (o *DeliveryScopeOrigin) SetOrigin(v SchemadeliveryOrigin)

SetOrigin sets Origin field to given value.

HasOrigin

func (o *DeliveryScopeOrigin) HasOrigin() bool

HasOrigin returns a boolean if a field has been set.

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