Name | Type | Description | Notes |
---|---|---|---|
Priority | Pointer to int32 | An origin's priority to it's CDN 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 SchemacdnOrigin | [optional] |
func NewCdnScopeOrigin() *CdnScopeOrigin
NewCdnScopeOrigin instantiates a new CdnScopeOrigin 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 NewCdnScopeOriginWithDefaults() *CdnScopeOrigin
NewCdnScopeOriginWithDefaults instantiates a new CdnScopeOrigin 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 *CdnScopeOrigin) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *CdnScopeOrigin) 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 *CdnScopeOrigin) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *CdnScopeOrigin) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *CdnScopeOrigin) GetOrigin() SchemacdnOrigin
GetOrigin returns the Origin field if non-nil, zero value otherwise.
func (o *CdnScopeOrigin) GetOriginOk() (*SchemacdnOrigin, 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 *CdnScopeOrigin) SetOrigin(v SchemacdnOrigin)
SetOrigin sets Origin field to given value.
func (o *CdnScopeOrigin) HasOrigin() bool
HasOrigin returns a boolean if a field has been set.