originv3

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2022 Edgecast Inc., Licensed under the terms of the Apache 2.0 license. See LICENSE file in project root for terms.

Index

Constants

View Source
const (
	DefaultBasePath string = "/cdn/origins/v0.5"
)

Variables

This section is empty.

Functions

func BoolToString

func BoolToString(in bool) string

func NumberToString

func NumberToString[N constraints.Integer | constraints.Float](in N) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type AddAdnGroupParams added in v1.0.0

type AddAdnGroupParams struct {
	CustomerOriginGroupADNRequestCreate CustomerOriginGroupADNRequestCreate
}

AddAdnGroupParams contains the parameters for AddAdnGroup

func NewAddAdnGroupParams added in v1.0.0

func NewAddAdnGroupParams() AddAdnGroupParams

NewAddAdnGroupParams creates a new instance of AddAdnGroupParams

type AddHttpLargeGroupParams added in v1.0.0

type AddHttpLargeGroupParams struct {
	CustomerOriginGroupHTTPRequest CustomerOriginGroupHTTPRequest
}

AddHttpLargeGroupParams contains the parameters for AddHttpLargeGroup

func NewAddHttpLargeGroupParams added in v1.0.0

func NewAddHttpLargeGroupParams() AddHttpLargeGroupParams

NewAddHttpLargeGroupParams creates a new instance of AddHttpLargeGroupParams

type AddOriginParams added in v1.0.0

type AddOriginParams struct {
	// http-large or adn
	MediaType string

	// The Customer Origin without id
	CustomerOriginRequest CustomerOriginRequest
}

AddOriginParams contains the parameters for AddOrigin

func NewAddOriginParams added in v1.0.0

func NewAddOriginParams() AddOriginParams

NewAddOriginParams creates a new instance of AddOriginParams

type AdnGateway

type AdnGateway struct {
	Code                 *string `json:"code,omitempty"`
	Ordinal              *int32  `json:"ordinal,omitempty"`
	City                 *string `json:"city,omitempty"`
	Region               *string `json:"region,omitempty"`
	AdditionalProperties map[string]interface{}
}

AdnGateway struct for AdnGateway

func NewAdnGateway

func NewAdnGateway() *AdnGateway

NewAdnGateway instantiates a new AdnGateway 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 NewAdnGatewayWithDefaults

func NewAdnGatewayWithDefaults() *AdnGateway

NewAdnGatewayWithDefaults instantiates a new AdnGateway 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 (*AdnGateway) GetCity

func (o *AdnGateway) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*AdnGateway) GetCityOk

func (o *AdnGateway) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdnGateway) GetCode

func (o *AdnGateway) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*AdnGateway) GetCodeOk

func (o *AdnGateway) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdnGateway) GetOrdinal

func (o *AdnGateway) GetOrdinal() int32

GetOrdinal returns the Ordinal field value if set, zero value otherwise.

func (*AdnGateway) GetOrdinalOk

func (o *AdnGateway) GetOrdinalOk() (*int32, bool)

GetOrdinalOk returns a tuple with the Ordinal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdnGateway) GetRegion

func (o *AdnGateway) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*AdnGateway) GetRegionOk

func (o *AdnGateway) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AdnGateway) HasCity

func (o *AdnGateway) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*AdnGateway) HasCode

func (o *AdnGateway) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*AdnGateway) HasOrdinal

func (o *AdnGateway) HasOrdinal() bool

HasOrdinal returns a boolean if a field has been set.

func (*AdnGateway) HasRegion

func (o *AdnGateway) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (AdnGateway) MarshalJSON

func (o AdnGateway) MarshalJSON() ([]byte, error)

func (*AdnGateway) SetCity

func (o *AdnGateway) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*AdnGateway) SetCode

func (o *AdnGateway) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*AdnGateway) SetOrdinal

func (o *AdnGateway) SetOrdinal(v int32)

SetOrdinal gets a reference to the given int32 and assigns it to the Ordinal field.

func (*AdnGateway) SetRegion

func (o *AdnGateway) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*AdnGateway) UnmarshalJSON

func (o *AdnGateway) UnmarshalJSON(bytes []byte) (err error)

type AdnOnlyClient

type AdnOnlyClient struct {
	// contains filtered or unexported fields
}

AdnOnlyClient is the concrete client implementation for AdnOnly

func NewAdnOnlyClient

func NewAdnOnlyClient(
	c ecclient.APIClient,
	baseAPIURL string,
) AdnOnlyClient

NewAdnOnlyClient creates a new instance of AdnOnlyClient

func (AdnOnlyClient) AddAdnGroup added in v1.0.0

func (c AdnOnlyClient) AddAdnGroup(
	params AddAdnGroupParams,
) (*CustomerOriginGroupADN, error)

AddAdnGroup - Create new Adn customer origin group

Create Adn new Customer Origin Group

func (AdnOnlyClient) GetAdnGroup added in v1.0.0

func (c AdnOnlyClient) GetAdnGroup(
	params GetAdnGroupParams,
) (*CustomerOriginGroupADN, error)

GetAdnGroup - Get specific Adn customer origin group by id

Get an individual Adn Customer Origin Group

func (AdnOnlyClient) GetAllAdnGroups added in v1.0.0

func (c AdnOnlyClient) GetAllAdnGroups() ([]CustomerOriginGroupADN, error)

GetAllAdnGroups - Get Adn customer origins groups

Get list of Adn Customer Origin Groups

func (AdnOnlyClient) UpdateAdnGroup added in v1.0.0

func (c AdnOnlyClient) UpdateAdnGroup(
	params UpdateAdnGroupParams,
) (*CustomerOriginGroupADN, error)

UpdateAdnGroup - Update Adn customer origin group by id

Update an individual Adn Customer Origin Group

type AdnOnlyClientService

type AdnOnlyClientService interface {
	AddAdnGroup(
		params AddAdnGroupParams,
	) (*CustomerOriginGroupADN, error)

	GetAdnGroup(
		params GetAdnGroupParams,
	) (*CustomerOriginGroupADN, error)

	GetAllAdnGroups() ([]CustomerOriginGroupADN, error)

	UpdateAdnGroup(
		params UpdateAdnGroupParams,
	) (*CustomerOriginGroupADN, error)
}

AdnOnlyClientService defines the operations for AdnOnly

type CommonClient

type CommonClient struct {
	// contains filtered or unexported fields
}

CommonClient is the concrete client implementation for Common

func NewCommonClient

func NewCommonClient(
	c ecclient.APIClient,
	baseAPIURL string,
) CommonClient

NewCommonClient creates a new instance of CommonClient

func (CommonClient) AddOrigin added in v1.0.0

func (c CommonClient) AddOrigin(
	params AddOriginParams,
) (*CustomerOrigin, error)

AddOrigin - Create new Customer origin

Create new Customer Origin

func (CommonClient) DeleteGroup added in v1.0.0

func (c CommonClient) DeleteGroup(
	params DeleteGroupParams,
) error

DeleteGroup - Delete a customer origin group by id

Delete a Customer Origin Group by id

func (CommonClient) DeleteOrigin added in v1.0.0

func (c CommonClient) DeleteOrigin(
	params DeleteOriginParams,
) error

DeleteOrigin - Delete a customer origin by id

Delete an individual Customer Origin

func (CommonClient) GetAllOrigins added in v1.0.0

func (c CommonClient) GetAllOrigins(
	params GetAllOriginsParams,
) ([]CustomerOrigin, error)

GetAllOrigins - Get all Customer origins

Get list of Customer Origin

func (CommonClient) GetEdgeFunctions added in v1.0.0

func (c CommonClient) GetEdgeFunctions(
	params GetEdgeFunctionsParams,
) ([]EdgeFunction, error)

GetEdgeFunctions - Get edge functions for customer origin

Get Edge Functions list to be used as Customer Origin

func (CommonClient) GetGroupStatus added in v1.0.0

func (c CommonClient) GetGroupStatus(
	params GetGroupStatusParams,
) (*CustomerOriginStatus, error)

GetGroupStatus - Get customer origin group status

This API operation gets a customer origin status.

func (CommonClient) GetOrigin added in v1.0.0

func (c CommonClient) GetOrigin(
	params GetOriginParams,
) (*CustomerOrigin, error)

GetOrigin - Get specific Customer origin by id

Get an individual Customer Origin

func (CommonClient) GetOriginsByGroup added in v1.0.0

func (c CommonClient) GetOriginsByGroup(
	params GetOriginsByGroupParams,
) ([]CustomerOriginFailoverOrder, error)

GetOriginsByGroup - Get all customer origins in a group

This API operation gets all customer origins in a group.

func (CommonClient) UpdateFailoverOrder added in v1.0.0

func (c CommonClient) UpdateFailoverOrder(
	params UpdateFailoverOrderParams,
) error

UpdateFailoverOrder - Udpate the failover_order of customer origin in group

Modify the Failover Order in Group

func (CommonClient) UpdateOrigin added in v1.0.0

func (c CommonClient) UpdateOrigin(
	params UpdateOriginParams,
) (*CustomerOrigin, error)

UpdateOrigin - Update an Customer origin by id

Update an individual Customer Origin

type CommonClientService

type CommonClientService interface {
	AddOrigin(
		params AddOriginParams,
	) (*CustomerOrigin, error)

	DeleteGroup(
		params DeleteGroupParams,
	) error

	DeleteOrigin(
		params DeleteOriginParams,
	) error

	GetAllOrigins(
		params GetAllOriginsParams,
	) ([]CustomerOrigin, error)

	GetEdgeFunctions(
		params GetEdgeFunctionsParams,
	) ([]EdgeFunction, error)

	GetGroupStatus(
		params GetGroupStatusParams,
	) (*CustomerOriginStatus, error)

	GetOrigin(
		params GetOriginParams,
	) (*CustomerOrigin, error)

	GetOriginsByGroup(
		params GetOriginsByGroupParams,
	) ([]CustomerOriginFailoverOrder, error)

	UpdateFailoverOrder(
		params UpdateFailoverOrderParams,
	) error

	UpdateOrigin(
		params UpdateOriginParams,
	) (*CustomerOrigin, error)
}

CommonClientService defines the operations for Common

type CustomerOrigin

type CustomerOrigin struct {
	Id                   *int32  `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	Host                 *string `json:"host,omitempty"`
	Port                 *int32  `json:"port,omitempty"`
	IsPrimary            *bool   `json:"is_primary,omitempty"`
	StorageTypeId        *int32  `json:"storage_type_id,omitempty"`
	ProtocolTypeId       *int32  `json:"protocol_type_id,omitempty"`
	GroupId              *int32  `json:"group_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOrigin struct for CustomerOrigin

func NewCustomerOrigin

func NewCustomerOrigin() *CustomerOrigin

NewCustomerOrigin instantiates a new CustomerOrigin 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 NewCustomerOriginWithDefaults

func NewCustomerOriginWithDefaults() *CustomerOrigin

NewCustomerOriginWithDefaults instantiates a new CustomerOrigin 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 (*CustomerOrigin) GetGroupId

func (o *CustomerOrigin) GetGroupId() int32

GetGroupId returns the GroupId field value if set, zero value otherwise.

func (*CustomerOrigin) GetGroupIdOk

func (o *CustomerOrigin) GetGroupIdOk() (*int32, bool)

GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetHost

func (o *CustomerOrigin) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*CustomerOrigin) GetHostOk

func (o *CustomerOrigin) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetId

func (o *CustomerOrigin) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerOrigin) GetIdOk

func (o *CustomerOrigin) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetIsPrimary

func (o *CustomerOrigin) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*CustomerOrigin) GetIsPrimaryOk

func (o *CustomerOrigin) GetIsPrimaryOk() (*bool, bool)

GetIsPrimaryOk returns a tuple with the IsPrimary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetName

func (o *CustomerOrigin) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CustomerOrigin) GetNameOk

func (o *CustomerOrigin) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetPort

func (o *CustomerOrigin) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*CustomerOrigin) GetPortOk

func (o *CustomerOrigin) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetProtocolTypeId

func (o *CustomerOrigin) GetProtocolTypeId() int32

GetProtocolTypeId returns the ProtocolTypeId field value if set, zero value otherwise.

func (*CustomerOrigin) GetProtocolTypeIdOk

func (o *CustomerOrigin) GetProtocolTypeIdOk() (*int32, bool)

GetProtocolTypeIdOk returns a tuple with the ProtocolTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) GetStorageTypeId

func (o *CustomerOrigin) GetStorageTypeId() int32

GetStorageTypeId returns the StorageTypeId field value if set, zero value otherwise.

func (*CustomerOrigin) GetStorageTypeIdOk

func (o *CustomerOrigin) GetStorageTypeIdOk() (*int32, bool)

GetStorageTypeIdOk returns a tuple with the StorageTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOrigin) HasGroupId

func (o *CustomerOrigin) HasGroupId() bool

HasGroupId returns a boolean if a field has been set.

func (*CustomerOrigin) HasHost

func (o *CustomerOrigin) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*CustomerOrigin) HasId

func (o *CustomerOrigin) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerOrigin) HasIsPrimary

func (o *CustomerOrigin) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*CustomerOrigin) HasName

func (o *CustomerOrigin) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomerOrigin) HasPort

func (o *CustomerOrigin) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*CustomerOrigin) HasProtocolTypeId

func (o *CustomerOrigin) HasProtocolTypeId() bool

HasProtocolTypeId returns a boolean if a field has been set.

func (*CustomerOrigin) HasStorageTypeId

func (o *CustomerOrigin) HasStorageTypeId() bool

HasStorageTypeId returns a boolean if a field has been set.

func (CustomerOrigin) MarshalJSON

func (o CustomerOrigin) MarshalJSON() ([]byte, error)

func (*CustomerOrigin) SetGroupId

func (o *CustomerOrigin) SetGroupId(v int32)

SetGroupId gets a reference to the given int32 and assigns it to the GroupId field.

func (*CustomerOrigin) SetHost

func (o *CustomerOrigin) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*CustomerOrigin) SetId

func (o *CustomerOrigin) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*CustomerOrigin) SetIsPrimary

func (o *CustomerOrigin) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*CustomerOrigin) SetName

func (o *CustomerOrigin) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CustomerOrigin) SetPort

func (o *CustomerOrigin) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*CustomerOrigin) SetProtocolTypeId

func (o *CustomerOrigin) SetProtocolTypeId(v int32)

SetProtocolTypeId gets a reference to the given int32 and assigns it to the ProtocolTypeId field.

func (*CustomerOrigin) SetStorageTypeId

func (o *CustomerOrigin) SetStorageTypeId(v int32)

SetStorageTypeId gets a reference to the given int32 and assigns it to the StorageTypeId field.

func (*CustomerOrigin) UnmarshalJSON

func (o *CustomerOrigin) UnmarshalJSON(bytes []byte) (err error)

type CustomerOriginFailoverOrder

type CustomerOriginFailoverOrder struct {
	Id                   *int32  `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	Host                 *string `json:"host,omitempty"`
	Port                 *int32  `json:"port,omitempty"`
	IsPrimary            *bool   `json:"is_primary,omitempty"`
	StorageTypeId        *int32  `json:"storage_type_id,omitempty"`
	ProtocolTypeId       *int32  `json:"protocol_type_id,omitempty"`
	FailoverOrder        *int32  `json:"failover_order,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginFailoverOrder struct for CustomerOriginFailoverOrder

func NewCustomerOriginFailoverOrder

func NewCustomerOriginFailoverOrder() *CustomerOriginFailoverOrder

NewCustomerOriginFailoverOrder instantiates a new CustomerOriginFailoverOrder 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 NewCustomerOriginFailoverOrderWithDefaults

func NewCustomerOriginFailoverOrderWithDefaults() *CustomerOriginFailoverOrder

NewCustomerOriginFailoverOrderWithDefaults instantiates a new CustomerOriginFailoverOrder 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 (*CustomerOriginFailoverOrder) GetFailoverOrder

func (o *CustomerOriginFailoverOrder) GetFailoverOrder() int32

GetFailoverOrder returns the FailoverOrder field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetFailoverOrderOk

func (o *CustomerOriginFailoverOrder) GetFailoverOrderOk() (*int32, bool)

GetFailoverOrderOk returns a tuple with the FailoverOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetHost

func (o *CustomerOriginFailoverOrder) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetHostOk

func (o *CustomerOriginFailoverOrder) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetIdOk

func (o *CustomerOriginFailoverOrder) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetIsPrimary

func (o *CustomerOriginFailoverOrder) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetIsPrimaryOk

func (o *CustomerOriginFailoverOrder) GetIsPrimaryOk() (*bool, bool)

GetIsPrimaryOk returns a tuple with the IsPrimary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetName

func (o *CustomerOriginFailoverOrder) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetNameOk

func (o *CustomerOriginFailoverOrder) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetPort

func (o *CustomerOriginFailoverOrder) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetPortOk

func (o *CustomerOriginFailoverOrder) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetProtocolTypeId

func (o *CustomerOriginFailoverOrder) GetProtocolTypeId() int32

GetProtocolTypeId returns the ProtocolTypeId field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetProtocolTypeIdOk

func (o *CustomerOriginFailoverOrder) GetProtocolTypeIdOk() (*int32, bool)

GetProtocolTypeIdOk returns a tuple with the ProtocolTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) GetStorageTypeId

func (o *CustomerOriginFailoverOrder) GetStorageTypeId() int32

GetStorageTypeId returns the StorageTypeId field value if set, zero value otherwise.

func (*CustomerOriginFailoverOrder) GetStorageTypeIdOk

func (o *CustomerOriginFailoverOrder) GetStorageTypeIdOk() (*int32, bool)

GetStorageTypeIdOk returns a tuple with the StorageTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginFailoverOrder) HasFailoverOrder

func (o *CustomerOriginFailoverOrder) HasFailoverOrder() bool

HasFailoverOrder returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasHost

func (o *CustomerOriginFailoverOrder) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasId

func (o *CustomerOriginFailoverOrder) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasIsPrimary

func (o *CustomerOriginFailoverOrder) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasName

func (o *CustomerOriginFailoverOrder) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasPort

func (o *CustomerOriginFailoverOrder) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasProtocolTypeId

func (o *CustomerOriginFailoverOrder) HasProtocolTypeId() bool

HasProtocolTypeId returns a boolean if a field has been set.

func (*CustomerOriginFailoverOrder) HasStorageTypeId

func (o *CustomerOriginFailoverOrder) HasStorageTypeId() bool

HasStorageTypeId returns a boolean if a field has been set.

func (CustomerOriginFailoverOrder) MarshalJSON

func (o CustomerOriginFailoverOrder) MarshalJSON() ([]byte, error)

func (*CustomerOriginFailoverOrder) SetFailoverOrder

func (o *CustomerOriginFailoverOrder) SetFailoverOrder(v int32)

SetFailoverOrder gets a reference to the given int32 and assigns it to the FailoverOrder field.

func (*CustomerOriginFailoverOrder) SetHost

func (o *CustomerOriginFailoverOrder) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*CustomerOriginFailoverOrder) SetId

func (o *CustomerOriginFailoverOrder) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*CustomerOriginFailoverOrder) SetIsPrimary

func (o *CustomerOriginFailoverOrder) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*CustomerOriginFailoverOrder) SetName

func (o *CustomerOriginFailoverOrder) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CustomerOriginFailoverOrder) SetPort

func (o *CustomerOriginFailoverOrder) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*CustomerOriginFailoverOrder) SetProtocolTypeId

func (o *CustomerOriginFailoverOrder) SetProtocolTypeId(v int32)

SetProtocolTypeId gets a reference to the given int32 and assigns it to the ProtocolTypeId field.

func (*CustomerOriginFailoverOrder) SetStorageTypeId

func (o *CustomerOriginFailoverOrder) SetStorageTypeId(v int32)

SetStorageTypeId gets a reference to the given int32 and assigns it to the StorageTypeId field.

func (*CustomerOriginFailoverOrder) UnmarshalJSON

func (o *CustomerOriginFailoverOrder) UnmarshalJSON(bytes []byte) (err error)

type CustomerOriginGroupADN

type CustomerOriginGroupADN struct {
	Id                   *int32       `json:"id,omitempty"`
	Name                 *string      `json:"name,omitempty"`
	HostHeader           *string      `json:"host_header,omitempty"`
	ValidationPath       *string      `json:"validation_path,omitempty"`
	NetworkTypeId        *int32       `json:"network_type_id,omitempty"`
	Gateway              *Gateway     `json:"gateway,omitempty"`
	TlsSettings          *TlsSettings `json:"tls_settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginGroupADN

func NewCustomerOriginGroupADN

func NewCustomerOriginGroupADN() *CustomerOriginGroupADN

NewCustomerOriginGroupADN instantiates a new CustomerOriginGroupADN 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 NewCustomerOriginGroupADNWithDefaults

func NewCustomerOriginGroupADNWithDefaults() *CustomerOriginGroupADN

NewCustomerOriginGroupADNWithDefaults instantiates a new CustomerOriginGroupADN 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 (*CustomerOriginGroupADN) GetGateway

func (o *CustomerOriginGroupADN) GetGateway() Gateway

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetGatewayOk

func (o *CustomerOriginGroupADN) GetGatewayOk() (*Gateway, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetHostHeader

func (o *CustomerOriginGroupADN) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetHostHeaderOk

func (o *CustomerOriginGroupADN) GetHostHeaderOk() (*string, bool)

GetHostHeaderOk returns a tuple with the HostHeader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetId

func (o *CustomerOriginGroupADN) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetIdOk

func (o *CustomerOriginGroupADN) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetName

func (o *CustomerOriginGroupADN) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetNameOk

func (o *CustomerOriginGroupADN) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetNetworkTypeId

func (o *CustomerOriginGroupADN) GetNetworkTypeId() int32

GetNetworkTypeId returns the NetworkTypeId field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetNetworkTypeIdOk

func (o *CustomerOriginGroupADN) GetNetworkTypeIdOk() (*int32, bool)

GetNetworkTypeIdOk returns a tuple with the NetworkTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetTlsSettings

func (o *CustomerOriginGroupADN) GetTlsSettings() TlsSettings

GetTlsSettings returns the TlsSettings field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetTlsSettingsOk

func (o *CustomerOriginGroupADN) GetTlsSettingsOk() (*TlsSettings, bool)

GetTlsSettingsOk returns a tuple with the TlsSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) GetValidationPath

func (o *CustomerOriginGroupADN) GetValidationPath() string

GetValidationPath returns the ValidationPath field value if set, zero value otherwise.

func (*CustomerOriginGroupADN) GetValidationPathOk

func (o *CustomerOriginGroupADN) GetValidationPathOk() (*string, bool)

GetValidationPathOk returns a tuple with the ValidationPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADN) HasGateway

func (o *CustomerOriginGroupADN) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasHostHeader

func (o *CustomerOriginGroupADN) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasId

func (o *CustomerOriginGroupADN) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasName

func (o *CustomerOriginGroupADN) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasNetworkTypeId

func (o *CustomerOriginGroupADN) HasNetworkTypeId() bool

HasNetworkTypeId returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasTlsSettings

func (o *CustomerOriginGroupADN) HasTlsSettings() bool

HasTlsSettings returns a boolean if a field has been set.

func (*CustomerOriginGroupADN) HasValidationPath

func (o *CustomerOriginGroupADN) HasValidationPath() bool

HasValidationPath returns a boolean if a field has been set.

func (CustomerOriginGroupADN) MarshalJSON

func (o CustomerOriginGroupADN) MarshalJSON() ([]byte, error)

func (*CustomerOriginGroupADN) SetGateway

func (o *CustomerOriginGroupADN) SetGateway(v Gateway)

SetGateway gets a reference to the given Gateway and assigns it to the Gateway field.

func (*CustomerOriginGroupADN) SetHostHeader

func (o *CustomerOriginGroupADN) SetHostHeader(v string)

SetHostHeader gets a reference to the given string and assigns it to the HostHeader field.

func (*CustomerOriginGroupADN) SetId

func (o *CustomerOriginGroupADN) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*CustomerOriginGroupADN) SetName

func (o *CustomerOriginGroupADN) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CustomerOriginGroupADN) SetNetworkTypeId

func (o *CustomerOriginGroupADN) SetNetworkTypeId(v int32)

SetNetworkTypeId gets a reference to the given int32 and assigns it to the NetworkTypeId field.

func (*CustomerOriginGroupADN) SetTlsSettings

func (o *CustomerOriginGroupADN) SetTlsSettings(v TlsSettings)

SetTlsSettings gets a reference to the given TlsSettings and assigns it to the TlsSettings field.

func (*CustomerOriginGroupADN) SetValidationPath

func (o *CustomerOriginGroupADN) SetValidationPath(v string)

SetValidationPath gets a reference to the given string and assigns it to the ValidationPath field.

func (*CustomerOriginGroupADN) UnmarshalJSON

func (o *CustomerOriginGroupADN) UnmarshalJSON(bytes []byte) (err error)

type CustomerOriginGroupADNRequest

type CustomerOriginGroupADNRequest struct {
	Name       string         `json:"name"`
	HostHeader NullableString `json:"host_header,omitempty"`
	// Validation Path
	ValidationPath       string         `json:"validation_path"`
	NetworkTypeId        NullableInt32  `json:"network_type_id,omitempty"`
	Gateway              GatewayRequest `json:"gateway"`
	TlsSettings          *TlsSettings   `json:"tls_settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginGroupADNRequest

func NewCustomerOriginGroupADNRequest

func NewCustomerOriginGroupADNRequest(name string, validationPath string, gateway GatewayRequest) *CustomerOriginGroupADNRequest

NewCustomerOriginGroupADNRequest instantiates a new CustomerOriginGroupADNRequest 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 NewCustomerOriginGroupADNRequestWithDefaults

func NewCustomerOriginGroupADNRequestWithDefaults() *CustomerOriginGroupADNRequest

NewCustomerOriginGroupADNRequestWithDefaults instantiates a new CustomerOriginGroupADNRequest 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 (*CustomerOriginGroupADNRequest) GetGateway

GetGateway returns the Gateway field value

func (*CustomerOriginGroupADNRequest) GetGatewayOk

func (o *CustomerOriginGroupADNRequest) GetGatewayOk() (*GatewayRequest, bool)

GetGatewayOk returns a tuple with the Gateway field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequest) GetHostHeader

func (o *CustomerOriginGroupADNRequest) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupADNRequest) GetHostHeaderOk

func (o *CustomerOriginGroupADNRequest) GetHostHeaderOk() (*string, bool)

GetHostHeaderOk returns a tuple with the HostHeader field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupADNRequest) GetName

GetName returns the Name field value

func (*CustomerOriginGroupADNRequest) GetNameOk

func (o *CustomerOriginGroupADNRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequest) GetNetworkTypeId

func (o *CustomerOriginGroupADNRequest) GetNetworkTypeId() int32

GetNetworkTypeId returns the NetworkTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupADNRequest) GetNetworkTypeIdOk

func (o *CustomerOriginGroupADNRequest) GetNetworkTypeIdOk() (*int32, bool)

GetNetworkTypeIdOk returns a tuple with the NetworkTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupADNRequest) GetTlsSettings

func (o *CustomerOriginGroupADNRequest) GetTlsSettings() TlsSettings

GetTlsSettings returns the TlsSettings field value if set, zero value otherwise.

func (*CustomerOriginGroupADNRequest) GetTlsSettingsOk

func (o *CustomerOriginGroupADNRequest) GetTlsSettingsOk() (*TlsSettings, bool)

GetTlsSettingsOk returns a tuple with the TlsSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequest) GetValidationPath

func (o *CustomerOriginGroupADNRequest) GetValidationPath() string

GetValidationPath returns the ValidationPath field value

func (*CustomerOriginGroupADNRequest) GetValidationPathOk

func (o *CustomerOriginGroupADNRequest) GetValidationPathOk() (*string, bool)

GetValidationPathOk returns a tuple with the ValidationPath field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequest) HasHostHeader

func (o *CustomerOriginGroupADNRequest) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*CustomerOriginGroupADNRequest) HasNetworkTypeId

func (o *CustomerOriginGroupADNRequest) HasNetworkTypeId() bool

HasNetworkTypeId returns a boolean if a field has been set.

func (*CustomerOriginGroupADNRequest) HasTlsSettings

func (o *CustomerOriginGroupADNRequest) HasTlsSettings() bool

HasTlsSettings returns a boolean if a field has been set.

func (CustomerOriginGroupADNRequest) MarshalJSON

func (o CustomerOriginGroupADNRequest) MarshalJSON() ([]byte, error)

func (*CustomerOriginGroupADNRequest) SetGateway

SetGateway sets field value

func (*CustomerOriginGroupADNRequest) SetHostHeader

func (o *CustomerOriginGroupADNRequest) SetHostHeader(v string)

SetHostHeader gets a reference to the given NullableString and assigns it to the HostHeader field.

func (*CustomerOriginGroupADNRequest) SetHostHeaderNil

func (o *CustomerOriginGroupADNRequest) SetHostHeaderNil()

SetHostHeaderNil sets the value for HostHeader to be an explicit nil

func (*CustomerOriginGroupADNRequest) SetName

func (o *CustomerOriginGroupADNRequest) SetName(v string)

SetName sets field value

func (*CustomerOriginGroupADNRequest) SetNetworkTypeId

func (o *CustomerOriginGroupADNRequest) SetNetworkTypeId(v int32)

SetNetworkTypeId gets a reference to the given NullableInt32 and assigns it to the NetworkTypeId field.

func (*CustomerOriginGroupADNRequest) SetNetworkTypeIdNil

func (o *CustomerOriginGroupADNRequest) SetNetworkTypeIdNil()

SetNetworkTypeIdNil sets the value for NetworkTypeId to be an explicit nil

func (*CustomerOriginGroupADNRequest) SetTlsSettings

func (o *CustomerOriginGroupADNRequest) SetTlsSettings(v TlsSettings)

SetTlsSettings gets a reference to the given TlsSettings and assigns it to the TlsSettings field.

func (*CustomerOriginGroupADNRequest) SetValidationPath

func (o *CustomerOriginGroupADNRequest) SetValidationPath(v string)

SetValidationPath sets field value

func (*CustomerOriginGroupADNRequest) UnmarshalJSON

func (o *CustomerOriginGroupADNRequest) UnmarshalJSON(bytes []byte) (err error)

func (*CustomerOriginGroupADNRequest) UnsetHostHeader

func (o *CustomerOriginGroupADNRequest) UnsetHostHeader()

UnsetHostHeader ensures that no value is present for HostHeader, not even an explicit nil

func (*CustomerOriginGroupADNRequest) UnsetNetworkTypeId

func (o *CustomerOriginGroupADNRequest) UnsetNetworkTypeId()

UnsetNetworkTypeId ensures that no value is present for NetworkTypeId, not even an explicit nil

type CustomerOriginGroupADNRequestCreate

type CustomerOriginGroupADNRequestCreate struct {
	Name       string         `json:"name"`
	HostHeader NullableString `json:"host_header,omitempty"`
	// Validation Path
	ValidationPath       NullableString       `json:"validation_path,omitempty"`
	NetworkTypeId        NullableInt32        `json:"network_type_id,omitempty"`
	Gateway              GatewayRequestCreate `json:"gateway"`
	TlsSettings          *TlsSettings         `json:"tls_settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginGroupADNRequestCreate

func NewCustomerOriginGroupADNRequestCreate

func NewCustomerOriginGroupADNRequestCreate(name string, gateway GatewayRequestCreate) *CustomerOriginGroupADNRequestCreate

NewCustomerOriginGroupADNRequestCreate instantiates a new CustomerOriginGroupADNRequestCreate 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 NewCustomerOriginGroupADNRequestCreateWithDefaults

func NewCustomerOriginGroupADNRequestCreateWithDefaults() *CustomerOriginGroupADNRequestCreate

NewCustomerOriginGroupADNRequestCreateWithDefaults instantiates a new CustomerOriginGroupADNRequestCreate 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 (*CustomerOriginGroupADNRequestCreate) GetGateway

GetGateway returns the Gateway field value

func (*CustomerOriginGroupADNRequestCreate) GetGatewayOk

GetGatewayOk returns a tuple with the Gateway field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequestCreate) GetHostHeader

func (o *CustomerOriginGroupADNRequestCreate) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupADNRequestCreate) GetHostHeaderOk

func (o *CustomerOriginGroupADNRequestCreate) GetHostHeaderOk() (*string, bool)

GetHostHeaderOk returns a tuple with the HostHeader field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupADNRequestCreate) GetName

GetName returns the Name field value

func (*CustomerOriginGroupADNRequestCreate) GetNameOk

func (o *CustomerOriginGroupADNRequestCreate) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequestCreate) GetNetworkTypeId

func (o *CustomerOriginGroupADNRequestCreate) GetNetworkTypeId() int32

GetNetworkTypeId returns the NetworkTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupADNRequestCreate) GetNetworkTypeIdOk

func (o *CustomerOriginGroupADNRequestCreate) GetNetworkTypeIdOk() (*int32, bool)

GetNetworkTypeIdOk returns a tuple with the NetworkTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupADNRequestCreate) GetTlsSettings

GetTlsSettings returns the TlsSettings field value if set, zero value otherwise.

func (*CustomerOriginGroupADNRequestCreate) GetTlsSettingsOk

func (o *CustomerOriginGroupADNRequestCreate) GetTlsSettingsOk() (*TlsSettings, bool)

GetTlsSettingsOk returns a tuple with the TlsSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupADNRequestCreate) GetValidationPath

func (o *CustomerOriginGroupADNRequestCreate) GetValidationPath() string

GetValidationPath returns the ValidationPath field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupADNRequestCreate) GetValidationPathOk

func (o *CustomerOriginGroupADNRequestCreate) GetValidationPathOk() (*string, bool)

GetValidationPathOk returns a tuple with the ValidationPath field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupADNRequestCreate) HasHostHeader

func (o *CustomerOriginGroupADNRequestCreate) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*CustomerOriginGroupADNRequestCreate) HasNetworkTypeId

func (o *CustomerOriginGroupADNRequestCreate) HasNetworkTypeId() bool

HasNetworkTypeId returns a boolean if a field has been set.

func (*CustomerOriginGroupADNRequestCreate) HasTlsSettings

func (o *CustomerOriginGroupADNRequestCreate) HasTlsSettings() bool

HasTlsSettings returns a boolean if a field has been set.

func (*CustomerOriginGroupADNRequestCreate) HasValidationPath

func (o *CustomerOriginGroupADNRequestCreate) HasValidationPath() bool

HasValidationPath returns a boolean if a field has been set.

func (CustomerOriginGroupADNRequestCreate) MarshalJSON

func (o CustomerOriginGroupADNRequestCreate) MarshalJSON() ([]byte, error)

func (*CustomerOriginGroupADNRequestCreate) SetGateway

SetGateway sets field value

func (*CustomerOriginGroupADNRequestCreate) SetHostHeader

func (o *CustomerOriginGroupADNRequestCreate) SetHostHeader(v string)

SetHostHeader gets a reference to the given NullableString and assigns it to the HostHeader field.

func (*CustomerOriginGroupADNRequestCreate) SetHostHeaderNil

func (o *CustomerOriginGroupADNRequestCreate) SetHostHeaderNil()

SetHostHeaderNil sets the value for HostHeader to be an explicit nil

func (*CustomerOriginGroupADNRequestCreate) SetName

SetName sets field value

func (*CustomerOriginGroupADNRequestCreate) SetNetworkTypeId

func (o *CustomerOriginGroupADNRequestCreate) SetNetworkTypeId(v int32)

SetNetworkTypeId gets a reference to the given NullableInt32 and assigns it to the NetworkTypeId field.

func (*CustomerOriginGroupADNRequestCreate) SetNetworkTypeIdNil

func (o *CustomerOriginGroupADNRequestCreate) SetNetworkTypeIdNil()

SetNetworkTypeIdNil sets the value for NetworkTypeId to be an explicit nil

func (*CustomerOriginGroupADNRequestCreate) SetTlsSettings

func (o *CustomerOriginGroupADNRequestCreate) SetTlsSettings(v TlsSettings)

SetTlsSettings gets a reference to the given TlsSettings and assigns it to the TlsSettings field.

func (*CustomerOriginGroupADNRequestCreate) SetValidationPath

func (o *CustomerOriginGroupADNRequestCreate) SetValidationPath(v string)

SetValidationPath gets a reference to the given NullableString and assigns it to the ValidationPath field.

func (*CustomerOriginGroupADNRequestCreate) SetValidationPathNil

func (o *CustomerOriginGroupADNRequestCreate) SetValidationPathNil()

SetValidationPathNil sets the value for ValidationPath to be an explicit nil

func (*CustomerOriginGroupADNRequestCreate) UnmarshalJSON

func (o *CustomerOriginGroupADNRequestCreate) UnmarshalJSON(bytes []byte) (err error)

func (*CustomerOriginGroupADNRequestCreate) UnsetHostHeader

func (o *CustomerOriginGroupADNRequestCreate) UnsetHostHeader()

UnsetHostHeader ensures that no value is present for HostHeader, not even an explicit nil

func (*CustomerOriginGroupADNRequestCreate) UnsetNetworkTypeId

func (o *CustomerOriginGroupADNRequestCreate) UnsetNetworkTypeId()

UnsetNetworkTypeId ensures that no value is present for NetworkTypeId, not even an explicit nil

func (*CustomerOriginGroupADNRequestCreate) UnsetValidationPath

func (o *CustomerOriginGroupADNRequestCreate) UnsetValidationPath()

UnsetValidationPath ensures that no value is present for ValidationPath, not even an explicit nil

type CustomerOriginGroupHTTP

type CustomerOriginGroupHTTP struct {
	Id                   *int32       `json:"id,omitempty"`
	Name                 *string      `json:"name,omitempty"`
	HostHeader           *string      `json:"host_header,omitempty"`
	ShieldPops           []string     `json:"shield_pops,omitempty"`
	NetworkTypeId        *int32       `json:"network_type_id,omitempty"`
	StrictPciCertified   *bool        `json:"strict_pci_certified,omitempty"`
	TlsSettings          *TlsSettings `json:"tls_settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginGroupHTTP

func NewCustomerOriginGroupHTTP

func NewCustomerOriginGroupHTTP() *CustomerOriginGroupHTTP

NewCustomerOriginGroupHTTP instantiates a new CustomerOriginGroupHTTP 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 NewCustomerOriginGroupHTTPWithDefaults

func NewCustomerOriginGroupHTTPWithDefaults() *CustomerOriginGroupHTTP

NewCustomerOriginGroupHTTPWithDefaults instantiates a new CustomerOriginGroupHTTP 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 (*CustomerOriginGroupHTTP) GetHostHeader

func (o *CustomerOriginGroupHTTP) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetHostHeaderOk

func (o *CustomerOriginGroupHTTP) GetHostHeaderOk() (*string, bool)

GetHostHeaderOk returns a tuple with the HostHeader field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetId

func (o *CustomerOriginGroupHTTP) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetIdOk

func (o *CustomerOriginGroupHTTP) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetName

func (o *CustomerOriginGroupHTTP) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetNameOk

func (o *CustomerOriginGroupHTTP) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetNetworkTypeId

func (o *CustomerOriginGroupHTTP) GetNetworkTypeId() int32

GetNetworkTypeId returns the NetworkTypeId field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetNetworkTypeIdOk

func (o *CustomerOriginGroupHTTP) GetNetworkTypeIdOk() (*int32, bool)

GetNetworkTypeIdOk returns a tuple with the NetworkTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetShieldPops

func (o *CustomerOriginGroupHTTP) GetShieldPops() []string

GetShieldPops returns the ShieldPops field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetShieldPopsOk

func (o *CustomerOriginGroupHTTP) GetShieldPopsOk() ([]string, bool)

GetShieldPopsOk returns a tuple with the ShieldPops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetStrictPciCertified

func (o *CustomerOriginGroupHTTP) GetStrictPciCertified() bool

GetStrictPciCertified returns the StrictPciCertified field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetStrictPciCertifiedOk

func (o *CustomerOriginGroupHTTP) GetStrictPciCertifiedOk() (*bool, bool)

GetStrictPciCertifiedOk returns a tuple with the StrictPciCertified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) GetTlsSettings

func (o *CustomerOriginGroupHTTP) GetTlsSettings() TlsSettings

GetTlsSettings returns the TlsSettings field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTP) GetTlsSettingsOk

func (o *CustomerOriginGroupHTTP) GetTlsSettingsOk() (*TlsSettings, bool)

GetTlsSettingsOk returns a tuple with the TlsSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTP) HasHostHeader

func (o *CustomerOriginGroupHTTP) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasId

func (o *CustomerOriginGroupHTTP) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasName

func (o *CustomerOriginGroupHTTP) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasNetworkTypeId

func (o *CustomerOriginGroupHTTP) HasNetworkTypeId() bool

HasNetworkTypeId returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasShieldPops

func (o *CustomerOriginGroupHTTP) HasShieldPops() bool

HasShieldPops returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasStrictPciCertified

func (o *CustomerOriginGroupHTTP) HasStrictPciCertified() bool

HasStrictPciCertified returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTP) HasTlsSettings

func (o *CustomerOriginGroupHTTP) HasTlsSettings() bool

HasTlsSettings returns a boolean if a field has been set.

func (CustomerOriginGroupHTTP) MarshalJSON

func (o CustomerOriginGroupHTTP) MarshalJSON() ([]byte, error)

func (*CustomerOriginGroupHTTP) SetHostHeader

func (o *CustomerOriginGroupHTTP) SetHostHeader(v string)

SetHostHeader gets a reference to the given string and assigns it to the HostHeader field.

func (*CustomerOriginGroupHTTP) SetId

func (o *CustomerOriginGroupHTTP) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*CustomerOriginGroupHTTP) SetName

func (o *CustomerOriginGroupHTTP) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CustomerOriginGroupHTTP) SetNetworkTypeId

func (o *CustomerOriginGroupHTTP) SetNetworkTypeId(v int32)

SetNetworkTypeId gets a reference to the given int32 and assigns it to the NetworkTypeId field.

func (*CustomerOriginGroupHTTP) SetShieldPops

func (o *CustomerOriginGroupHTTP) SetShieldPops(v []string)

SetShieldPops gets a reference to the given []string and assigns it to the ShieldPops field.

func (*CustomerOriginGroupHTTP) SetStrictPciCertified

func (o *CustomerOriginGroupHTTP) SetStrictPciCertified(v bool)

SetStrictPciCertified gets a reference to the given bool and assigns it to the StrictPciCertified field.

func (*CustomerOriginGroupHTTP) SetTlsSettings

func (o *CustomerOriginGroupHTTP) SetTlsSettings(v TlsSettings)

SetTlsSettings gets a reference to the given TlsSettings and assigns it to the TlsSettings field.

func (*CustomerOriginGroupHTTP) UnmarshalJSON

func (o *CustomerOriginGroupHTTP) UnmarshalJSON(bytes []byte) (err error)

type CustomerOriginGroupHTTPRequest

type CustomerOriginGroupHTTPRequest struct {
	Name                 string         `json:"name"`
	HostHeader           NullableString `json:"host_header,omitempty"`
	ShieldPops           []*string      `json:"shield_pops,omitempty"`
	NetworkTypeId        NullableInt32  `json:"network_type_id,omitempty"`
	StrictPciCertified   NullableBool   `json:"strict_pci_certified,omitempty"`
	TlsSettings          *TlsSettings   `json:"tls_settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginGroupHTTPRequest

func NewCustomerOriginGroupHTTPRequest

func NewCustomerOriginGroupHTTPRequest(name string) *CustomerOriginGroupHTTPRequest

NewCustomerOriginGroupHTTPRequest instantiates a new CustomerOriginGroupHTTPRequest 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 NewCustomerOriginGroupHTTPRequestWithDefaults

func NewCustomerOriginGroupHTTPRequestWithDefaults() *CustomerOriginGroupHTTPRequest

NewCustomerOriginGroupHTTPRequestWithDefaults instantiates a new CustomerOriginGroupHTTPRequest 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 (*CustomerOriginGroupHTTPRequest) GetHostHeader

func (o *CustomerOriginGroupHTTPRequest) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupHTTPRequest) GetHostHeaderOk

func (o *CustomerOriginGroupHTTPRequest) GetHostHeaderOk() (*string, bool)

GetHostHeaderOk returns a tuple with the HostHeader field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupHTTPRequest) GetName

GetName returns the Name field value

func (*CustomerOriginGroupHTTPRequest) GetNameOk

func (o *CustomerOriginGroupHTTPRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTPRequest) GetNetworkTypeId

func (o *CustomerOriginGroupHTTPRequest) GetNetworkTypeId() int32

GetNetworkTypeId returns the NetworkTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupHTTPRequest) GetNetworkTypeIdOk

func (o *CustomerOriginGroupHTTPRequest) GetNetworkTypeIdOk() (*int32, bool)

GetNetworkTypeIdOk returns a tuple with the NetworkTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupHTTPRequest) GetShieldPops

func (o *CustomerOriginGroupHTTPRequest) GetShieldPops() []*string

GetShieldPops returns the ShieldPops field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTPRequest) GetShieldPopsOk

func (o *CustomerOriginGroupHTTPRequest) GetShieldPopsOk() ([]*string, bool)

GetShieldPopsOk returns a tuple with the ShieldPops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTPRequest) GetStrictPciCertified

func (o *CustomerOriginGroupHTTPRequest) GetStrictPciCertified() bool

GetStrictPciCertified returns the StrictPciCertified field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginGroupHTTPRequest) GetStrictPciCertifiedOk

func (o *CustomerOriginGroupHTTPRequest) GetStrictPciCertifiedOk() (*bool, bool)

GetStrictPciCertifiedOk returns a tuple with the StrictPciCertified field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginGroupHTTPRequest) GetTlsSettings

func (o *CustomerOriginGroupHTTPRequest) GetTlsSettings() TlsSettings

GetTlsSettings returns the TlsSettings field value if set, zero value otherwise.

func (*CustomerOriginGroupHTTPRequest) GetTlsSettingsOk

func (o *CustomerOriginGroupHTTPRequest) GetTlsSettingsOk() (*TlsSettings, bool)

GetTlsSettingsOk returns a tuple with the TlsSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginGroupHTTPRequest) HasHostHeader

func (o *CustomerOriginGroupHTTPRequest) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTPRequest) HasNetworkTypeId

func (o *CustomerOriginGroupHTTPRequest) HasNetworkTypeId() bool

HasNetworkTypeId returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTPRequest) HasShieldPops

func (o *CustomerOriginGroupHTTPRequest) HasShieldPops() bool

HasShieldPops returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTPRequest) HasStrictPciCertified

func (o *CustomerOriginGroupHTTPRequest) HasStrictPciCertified() bool

HasStrictPciCertified returns a boolean if a field has been set.

func (*CustomerOriginGroupHTTPRequest) HasTlsSettings

func (o *CustomerOriginGroupHTTPRequest) HasTlsSettings() bool

HasTlsSettings returns a boolean if a field has been set.

func (CustomerOriginGroupHTTPRequest) MarshalJSON

func (o CustomerOriginGroupHTTPRequest) MarshalJSON() ([]byte, error)

func (*CustomerOriginGroupHTTPRequest) SetHostHeader

func (o *CustomerOriginGroupHTTPRequest) SetHostHeader(v string)

SetHostHeader gets a reference to the given NullableString and assigns it to the HostHeader field.

func (*CustomerOriginGroupHTTPRequest) SetHostHeaderNil

func (o *CustomerOriginGroupHTTPRequest) SetHostHeaderNil()

SetHostHeaderNil sets the value for HostHeader to be an explicit nil

func (*CustomerOriginGroupHTTPRequest) SetName

func (o *CustomerOriginGroupHTTPRequest) SetName(v string)

SetName sets field value

func (*CustomerOriginGroupHTTPRequest) SetNetworkTypeId

func (o *CustomerOriginGroupHTTPRequest) SetNetworkTypeId(v int32)

SetNetworkTypeId gets a reference to the given NullableInt32 and assigns it to the NetworkTypeId field.

func (*CustomerOriginGroupHTTPRequest) SetNetworkTypeIdNil

func (o *CustomerOriginGroupHTTPRequest) SetNetworkTypeIdNil()

SetNetworkTypeIdNil sets the value for NetworkTypeId to be an explicit nil

func (CustomerOriginGroupHTTPRequest) SetShieldPOPsFromEdgeNodes added in v1.0.0

func (g CustomerOriginGroupHTTPRequest) SetShieldPOPsFromEdgeNodes(
	edgeNodes []OriginShieldEdgeNode,
)

SetShieldPOPsFromEdgeNodes is a convenience function for setting a group's Shield POPs from a slice of OriginShieldEdgeNodes.

func (*CustomerOriginGroupHTTPRequest) SetShieldPops

func (o *CustomerOriginGroupHTTPRequest) SetShieldPops(v []*string)

SetShieldPops gets a reference to the given []*string and assigns it to the ShieldPops field.

func (*CustomerOriginGroupHTTPRequest) SetStrictPciCertified

func (o *CustomerOriginGroupHTTPRequest) SetStrictPciCertified(v bool)

SetStrictPciCertified gets a reference to the given NullableBool and assigns it to the StrictPciCertified field.

func (*CustomerOriginGroupHTTPRequest) SetStrictPciCertifiedNil

func (o *CustomerOriginGroupHTTPRequest) SetStrictPciCertifiedNil()

SetStrictPciCertifiedNil sets the value for StrictPciCertified to be an explicit nil

func (*CustomerOriginGroupHTTPRequest) SetTlsSettings

func (o *CustomerOriginGroupHTTPRequest) SetTlsSettings(v TlsSettings)

SetTlsSettings gets a reference to the given TlsSettings and assigns it to the TlsSettings field.

func (*CustomerOriginGroupHTTPRequest) UnmarshalJSON

func (o *CustomerOriginGroupHTTPRequest) UnmarshalJSON(bytes []byte) (err error)

func (*CustomerOriginGroupHTTPRequest) UnsetHostHeader

func (o *CustomerOriginGroupHTTPRequest) UnsetHostHeader()

UnsetHostHeader ensures that no value is present for HostHeader, not even an explicit nil

func (*CustomerOriginGroupHTTPRequest) UnsetNetworkTypeId

func (o *CustomerOriginGroupHTTPRequest) UnsetNetworkTypeId()

UnsetNetworkTypeId ensures that no value is present for NetworkTypeId, not even an explicit nil

func (*CustomerOriginGroupHTTPRequest) UnsetStrictPciCertified

func (o *CustomerOriginGroupHTTPRequest) UnsetStrictPciCertified()

UnsetStrictPciCertified ensures that no value is present for StrictPciCertified, not even an explicit nil

type CustomerOriginRequest

type CustomerOriginRequest struct {
	Name NullableString `json:"name,omitempty"`
	Host string         `json:"host"`
	// Require if origin_hostname_protocol_type = 1 | 2
	Port                 *int32        `json:"port,omitempty"`
	IsPrimary            bool          `json:"is_primary"`
	GroupId              int32         `json:"group_id"`
	StorageTypeId        NullableInt32 `json:"storage_type_id,omitempty"`
	ProtocolTypeId       NullableInt32 `json:"protocol_type_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginRequest struct for CustomerOriginRequest

func NewCustomerOriginRequest

func NewCustomerOriginRequest(host string, isPrimary bool, groupId int32) *CustomerOriginRequest

NewCustomerOriginRequest instantiates a new CustomerOriginRequest 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 NewCustomerOriginRequestWithDefaults

func NewCustomerOriginRequestWithDefaults() *CustomerOriginRequest

NewCustomerOriginRequestWithDefaults instantiates a new CustomerOriginRequest 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 (*CustomerOriginRequest) GetGroupId

func (o *CustomerOriginRequest) GetGroupId() int32

GetGroupId returns the GroupId field value

func (*CustomerOriginRequest) GetGroupIdOk

func (o *CustomerOriginRequest) GetGroupIdOk() (*int32, bool)

GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.

func (*CustomerOriginRequest) GetHost

func (o *CustomerOriginRequest) GetHost() string

GetHost returns the Host field value

func (*CustomerOriginRequest) GetHostOk

func (o *CustomerOriginRequest) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.

func (*CustomerOriginRequest) GetIsPrimary

func (o *CustomerOriginRequest) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value

func (*CustomerOriginRequest) GetIsPrimaryOk

func (o *CustomerOriginRequest) GetIsPrimaryOk() (*bool, bool)

GetIsPrimaryOk returns a tuple with the IsPrimary field value and a boolean to check if the value has been set.

func (*CustomerOriginRequest) GetName

func (o *CustomerOriginRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginRequest) GetNameOk

func (o *CustomerOriginRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginRequest) GetPort

func (o *CustomerOriginRequest) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*CustomerOriginRequest) GetPortOk

func (o *CustomerOriginRequest) GetPortOk() (*int32, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginRequest) GetProtocolTypeId

func (o *CustomerOriginRequest) GetProtocolTypeId() int32

GetProtocolTypeId returns the ProtocolTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginRequest) GetProtocolTypeIdOk

func (o *CustomerOriginRequest) GetProtocolTypeIdOk() (*int32, bool)

GetProtocolTypeIdOk returns a tuple with the ProtocolTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginRequest) GetStorageTypeId

func (o *CustomerOriginRequest) GetStorageTypeId() int32

GetStorageTypeId returns the StorageTypeId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CustomerOriginRequest) GetStorageTypeIdOk

func (o *CustomerOriginRequest) GetStorageTypeIdOk() (*int32, bool)

GetStorageTypeIdOk returns a tuple with the StorageTypeId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CustomerOriginRequest) HasName

func (o *CustomerOriginRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomerOriginRequest) HasPort

func (o *CustomerOriginRequest) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*CustomerOriginRequest) HasProtocolTypeId

func (o *CustomerOriginRequest) HasProtocolTypeId() bool

HasProtocolTypeId returns a boolean if a field has been set.

func (*CustomerOriginRequest) HasStorageTypeId

func (o *CustomerOriginRequest) HasStorageTypeId() bool

HasStorageTypeId returns a boolean if a field has been set.

func (CustomerOriginRequest) MarshalJSON

func (o CustomerOriginRequest) MarshalJSON() ([]byte, error)

func (*CustomerOriginRequest) SetGroupId

func (o *CustomerOriginRequest) SetGroupId(v int32)

SetGroupId sets field value

func (*CustomerOriginRequest) SetHost

func (o *CustomerOriginRequest) SetHost(v string)

SetHost sets field value

func (*CustomerOriginRequest) SetIsPrimary

func (o *CustomerOriginRequest) SetIsPrimary(v bool)

SetIsPrimary sets field value

func (*CustomerOriginRequest) SetName

func (o *CustomerOriginRequest) SetName(v string)

SetName gets a reference to the given NullableString and assigns it to the Name field.

func (*CustomerOriginRequest) SetNameNil

func (o *CustomerOriginRequest) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*CustomerOriginRequest) SetPort

func (o *CustomerOriginRequest) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*CustomerOriginRequest) SetProtocolTypeId

func (o *CustomerOriginRequest) SetProtocolTypeId(v int32)

SetProtocolTypeId gets a reference to the given NullableInt32 and assigns it to the ProtocolTypeId field.

func (*CustomerOriginRequest) SetProtocolTypeIdNil

func (o *CustomerOriginRequest) SetProtocolTypeIdNil()

SetProtocolTypeIdNil sets the value for ProtocolTypeId to be an explicit nil

func (*CustomerOriginRequest) SetStorageTypeId

func (o *CustomerOriginRequest) SetStorageTypeId(v int32)

SetStorageTypeId gets a reference to the given NullableInt32 and assigns it to the StorageTypeId field.

func (*CustomerOriginRequest) SetStorageTypeIdNil

func (o *CustomerOriginRequest) SetStorageTypeIdNil()

SetStorageTypeIdNil sets the value for StorageTypeId to be an explicit nil

func (*CustomerOriginRequest) UnmarshalJSON

func (o *CustomerOriginRequest) UnmarshalJSON(bytes []byte) (err error)

func (*CustomerOriginRequest) UnsetName

func (o *CustomerOriginRequest) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

func (*CustomerOriginRequest) UnsetProtocolTypeId

func (o *CustomerOriginRequest) UnsetProtocolTypeId()

UnsetProtocolTypeId ensures that no value is present for ProtocolTypeId, not even an explicit nil

func (*CustomerOriginRequest) UnsetStorageTypeId

func (o *CustomerOriginRequest) UnsetStorageTypeId()

UnsetStorageTypeId ensures that no value is present for StorageTypeId, not even an explicit nil

type CustomerOriginStatus

type CustomerOriginStatus struct {
	State                string                 `json:"state"`
	PercentPropagated    float32                `json:"percent_propagated"`
	Pops                 []PopPropagationStatus `json:"pops,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomerOriginStatus struct for CustomerOriginStatus

func NewCustomerOriginStatus

func NewCustomerOriginStatus(state string, percentPropagated float32) *CustomerOriginStatus

NewCustomerOriginStatus instantiates a new CustomerOriginStatus 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 NewCustomerOriginStatusWithDefaults

func NewCustomerOriginStatusWithDefaults() *CustomerOriginStatus

NewCustomerOriginStatusWithDefaults instantiates a new CustomerOriginStatus 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 (*CustomerOriginStatus) GetPercentPropagated

func (o *CustomerOriginStatus) GetPercentPropagated() float32

GetPercentPropagated returns the PercentPropagated field value

func (*CustomerOriginStatus) GetPercentPropagatedOk

func (o *CustomerOriginStatus) GetPercentPropagatedOk() (*float32, bool)

GetPercentPropagatedOk returns a tuple with the PercentPropagated field value and a boolean to check if the value has been set.

func (*CustomerOriginStatus) GetPops

GetPops returns the Pops field value if set, zero value otherwise.

func (*CustomerOriginStatus) GetPopsOk

func (o *CustomerOriginStatus) GetPopsOk() ([]PopPropagationStatus, bool)

GetPopsOk returns a tuple with the Pops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerOriginStatus) GetState

func (o *CustomerOriginStatus) GetState() string

GetState returns the State field value

func (*CustomerOriginStatus) GetStateOk

func (o *CustomerOriginStatus) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*CustomerOriginStatus) HasPops

func (o *CustomerOriginStatus) HasPops() bool

HasPops returns a boolean if a field has been set.

func (CustomerOriginStatus) MarshalJSON

func (o CustomerOriginStatus) MarshalJSON() ([]byte, error)

func (*CustomerOriginStatus) SetPercentPropagated

func (o *CustomerOriginStatus) SetPercentPropagated(v float32)

SetPercentPropagated sets field value

func (*CustomerOriginStatus) SetPops

SetPops gets a reference to the given []PopPropagationStatus and assigns it to the Pops field.

func (*CustomerOriginStatus) SetState

func (o *CustomerOriginStatus) SetState(v string)

SetState sets field value

func (*CustomerOriginStatus) UnmarshalJSON

func (o *CustomerOriginStatus) UnmarshalJSON(bytes []byte) (err error)

type DeleteGroupParams added in v1.0.0

type DeleteGroupParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Group Id
	GroupId int32
}

DeleteGroupParams contains the parameters for DeleteGroup

func NewDeleteGroupParams added in v1.0.0

func NewDeleteGroupParams() DeleteGroupParams

NewDeleteGroupParams creates a new instance of DeleteGroupParams

type DeleteOriginParams added in v1.0.0

type DeleteOriginParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Id
	Id int32
}

DeleteOriginParams contains the parameters for DeleteOrigin

func NewDeleteOriginParams added in v1.0.0

func NewDeleteOriginParams() DeleteOriginParams

NewDeleteOriginParams creates a new instance of DeleteOriginParams

type EdgeFunction

type EdgeFunction struct {
	EdgeFunctionName     string `json:"edge_function_name"`
	EdgeFunctionId       string `json:"edge_function_id"`
	EdgeFunctionHostname string `json:"edge_function_hostname"`
	AdditionalProperties map[string]interface{}
}

EdgeFunction

func NewEdgeFunction

func NewEdgeFunction(edgeFunctionName string, edgeFunctionId string, edgeFunctionHostname string) *EdgeFunction

NewEdgeFunction instantiates a new EdgeFunction 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 NewEdgeFunctionWithDefaults

func NewEdgeFunctionWithDefaults() *EdgeFunction

NewEdgeFunctionWithDefaults instantiates a new EdgeFunction 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 (*EdgeFunction) GetEdgeFunctionHostname

func (o *EdgeFunction) GetEdgeFunctionHostname() string

GetEdgeFunctionHostname returns the EdgeFunctionHostname field value

func (*EdgeFunction) GetEdgeFunctionHostnameOk

func (o *EdgeFunction) GetEdgeFunctionHostnameOk() (*string, bool)

GetEdgeFunctionHostnameOk returns a tuple with the EdgeFunctionHostname field value and a boolean to check if the value has been set.

func (*EdgeFunction) GetEdgeFunctionId

func (o *EdgeFunction) GetEdgeFunctionId() string

GetEdgeFunctionId returns the EdgeFunctionId field value

func (*EdgeFunction) GetEdgeFunctionIdOk

func (o *EdgeFunction) GetEdgeFunctionIdOk() (*string, bool)

GetEdgeFunctionIdOk returns a tuple with the EdgeFunctionId field value and a boolean to check if the value has been set.

func (*EdgeFunction) GetEdgeFunctionName

func (o *EdgeFunction) GetEdgeFunctionName() string

GetEdgeFunctionName returns the EdgeFunctionName field value

func (*EdgeFunction) GetEdgeFunctionNameOk

func (o *EdgeFunction) GetEdgeFunctionNameOk() (*string, bool)

GetEdgeFunctionNameOk returns a tuple with the EdgeFunctionName field value and a boolean to check if the value has been set.

func (EdgeFunction) MarshalJSON

func (o EdgeFunction) MarshalJSON() ([]byte, error)

func (*EdgeFunction) SetEdgeFunctionHostname

func (o *EdgeFunction) SetEdgeFunctionHostname(v string)

SetEdgeFunctionHostname sets field value

func (*EdgeFunction) SetEdgeFunctionId

func (o *EdgeFunction) SetEdgeFunctionId(v string)

SetEdgeFunctionId sets field value

func (*EdgeFunction) SetEdgeFunctionName

func (o *EdgeFunction) SetEdgeFunctionName(v string)

SetEdgeFunctionName sets field value

func (*EdgeFunction) UnmarshalJSON

func (o *EdgeFunction) UnmarshalJSON(bytes []byte) (err error)

type FailoverOrder

type FailoverOrder struct {
	Id                   int32  `json:"id"`
	Host                 string `json:"host"`
	FailoverOrder        int32  `json:"failover_order"`
	AdditionalProperties map[string]interface{}
}

FailoverOrder struct for FailoverOrder

func NewFailoverOrder

func NewFailoverOrder(id int32, host string, failoverOrder int32) *FailoverOrder

NewFailoverOrder instantiates a new FailoverOrder 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 NewFailoverOrderWithDefaults

func NewFailoverOrderWithDefaults() *FailoverOrder

NewFailoverOrderWithDefaults instantiates a new FailoverOrder 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 (*FailoverOrder) GetFailoverOrder

func (o *FailoverOrder) GetFailoverOrder() int32

GetFailoverOrder returns the FailoverOrder field value

func (*FailoverOrder) GetFailoverOrderOk

func (o *FailoverOrder) GetFailoverOrderOk() (*int32, bool)

GetFailoverOrderOk returns a tuple with the FailoverOrder field value and a boolean to check if the value has been set.

func (*FailoverOrder) GetHost

func (o *FailoverOrder) GetHost() string

GetHost returns the Host field value

func (*FailoverOrder) GetHostOk

func (o *FailoverOrder) GetHostOk() (*string, bool)

GetHostOk returns a tuple with the Host field value and a boolean to check if the value has been set.

func (*FailoverOrder) GetId

func (o *FailoverOrder) GetId() int32

GetId returns the Id field value

func (*FailoverOrder) GetIdOk

func (o *FailoverOrder) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (FailoverOrder) MarshalJSON

func (o FailoverOrder) MarshalJSON() ([]byte, error)

func (*FailoverOrder) SetFailoverOrder

func (o *FailoverOrder) SetFailoverOrder(v int32)

SetFailoverOrder sets field value

func (*FailoverOrder) SetHost

func (o *FailoverOrder) SetHost(v string)

SetHost sets field value

func (*FailoverOrder) SetId

func (o *FailoverOrder) SetId(v int32)

SetId sets field value

func (*FailoverOrder) UnmarshalJSON

func (o *FailoverOrder) UnmarshalJSON(bytes []byte) (err error)

type Gateway

type Gateway struct {
	SelectionLastRequested NullableTime   `json:"selection_last_requested,omitempty"`
	FollowRedirect         NullableBool   `json:"follow_redirect,omitempty"`
	PopLastUpdate          NullableTime   `json:"pop_last_update,omitempty"`
	SelectionError         NullableString `json:"selection_error,omitempty"`
	Selected               NullableBool   `json:"selected,omitempty"`
	GatewayReselection     NullableBool   `json:"gateway_reselection,omitempty"`
	Pops                   []AdnGateway   `json:"pops,omitempty"`
	AdditionalProperties   map[string]interface{}
}

Gateway struct for Gateway

func NewGateway

func NewGateway() *Gateway

NewGateway instantiates a new Gateway 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 NewGatewayWithDefaults

func NewGatewayWithDefaults() *Gateway

NewGatewayWithDefaults instantiates a new Gateway 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 (*Gateway) GetFollowRedirect

func (o *Gateway) GetFollowRedirect() bool

GetFollowRedirect returns the FollowRedirect field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetFollowRedirectOk

func (o *Gateway) GetFollowRedirectOk() (*bool, bool)

GetFollowRedirectOk returns a tuple with the FollowRedirect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) GetGatewayReselection

func (o *Gateway) GetGatewayReselection() bool

GetGatewayReselection returns the GatewayReselection field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetGatewayReselectionOk

func (o *Gateway) GetGatewayReselectionOk() (*bool, bool)

GetGatewayReselectionOk returns a tuple with the GatewayReselection field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) GetPopLastUpdate

func (o *Gateway) GetPopLastUpdate() time.Time

GetPopLastUpdate returns the PopLastUpdate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetPopLastUpdateOk

func (o *Gateway) GetPopLastUpdateOk() (*time.Time, bool)

GetPopLastUpdateOk returns a tuple with the PopLastUpdate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) GetPops

func (o *Gateway) GetPops() []AdnGateway

GetPops returns the Pops field value if set, zero value otherwise.

func (*Gateway) GetPopsOk

func (o *Gateway) GetPopsOk() ([]AdnGateway, bool)

GetPopsOk returns a tuple with the Pops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetSelected

func (o *Gateway) GetSelected() bool

GetSelected returns the Selected field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetSelectedOk

func (o *Gateway) GetSelectedOk() (*bool, bool)

GetSelectedOk returns a tuple with the Selected field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) GetSelectionError

func (o *Gateway) GetSelectionError() string

GetSelectionError returns the SelectionError field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetSelectionErrorOk

func (o *Gateway) GetSelectionErrorOk() (*string, bool)

GetSelectionErrorOk returns a tuple with the SelectionError field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) GetSelectionLastRequested

func (o *Gateway) GetSelectionLastRequested() time.Time

GetSelectionLastRequested returns the SelectionLastRequested field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Gateway) GetSelectionLastRequestedOk

func (o *Gateway) GetSelectionLastRequestedOk() (*time.Time, bool)

GetSelectionLastRequestedOk returns a tuple with the SelectionLastRequested field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Gateway) HasFollowRedirect

func (o *Gateway) HasFollowRedirect() bool

HasFollowRedirect returns a boolean if a field has been set.

func (*Gateway) HasGatewayReselection

func (o *Gateway) HasGatewayReselection() bool

HasGatewayReselection returns a boolean if a field has been set.

func (*Gateway) HasPopLastUpdate

func (o *Gateway) HasPopLastUpdate() bool

HasPopLastUpdate returns a boolean if a field has been set.

func (*Gateway) HasPops

func (o *Gateway) HasPops() bool

HasPops returns a boolean if a field has been set.

func (*Gateway) HasSelected

func (o *Gateway) HasSelected() bool

HasSelected returns a boolean if a field has been set.

func (*Gateway) HasSelectionError

func (o *Gateway) HasSelectionError() bool

HasSelectionError returns a boolean if a field has been set.

func (*Gateway) HasSelectionLastRequested

func (o *Gateway) HasSelectionLastRequested() bool

HasSelectionLastRequested returns a boolean if a field has been set.

func (Gateway) MarshalJSON

func (o Gateway) MarshalJSON() ([]byte, error)

func (*Gateway) SetFollowRedirect

func (o *Gateway) SetFollowRedirect(v bool)

SetFollowRedirect gets a reference to the given NullableBool and assigns it to the FollowRedirect field.

func (*Gateway) SetFollowRedirectNil

func (o *Gateway) SetFollowRedirectNil()

SetFollowRedirectNil sets the value for FollowRedirect to be an explicit nil

func (*Gateway) SetGatewayReselection

func (o *Gateway) SetGatewayReselection(v bool)

SetGatewayReselection gets a reference to the given NullableBool and assigns it to the GatewayReselection field.

func (*Gateway) SetGatewayReselectionNil

func (o *Gateway) SetGatewayReselectionNil()

SetGatewayReselectionNil sets the value for GatewayReselection to be an explicit nil

func (*Gateway) SetPopLastUpdate

func (o *Gateway) SetPopLastUpdate(v time.Time)

SetPopLastUpdate gets a reference to the given NullableTime and assigns it to the PopLastUpdate field.

func (*Gateway) SetPopLastUpdateNil

func (o *Gateway) SetPopLastUpdateNil()

SetPopLastUpdateNil sets the value for PopLastUpdate to be an explicit nil

func (*Gateway) SetPops

func (o *Gateway) SetPops(v []AdnGateway)

SetPops gets a reference to the given []AdnGateway and assigns it to the Pops field.

func (*Gateway) SetSelected

func (o *Gateway) SetSelected(v bool)

SetSelected gets a reference to the given NullableBool and assigns it to the Selected field.

func (*Gateway) SetSelectedNil

func (o *Gateway) SetSelectedNil()

SetSelectedNil sets the value for Selected to be an explicit nil

func (*Gateway) SetSelectionError

func (o *Gateway) SetSelectionError(v string)

SetSelectionError gets a reference to the given NullableString and assigns it to the SelectionError field.

func (*Gateway) SetSelectionErrorNil

func (o *Gateway) SetSelectionErrorNil()

SetSelectionErrorNil sets the value for SelectionError to be an explicit nil

func (*Gateway) SetSelectionLastRequested

func (o *Gateway) SetSelectionLastRequested(v time.Time)

SetSelectionLastRequested gets a reference to the given NullableTime and assigns it to the SelectionLastRequested field.

func (*Gateway) SetSelectionLastRequestedNil

func (o *Gateway) SetSelectionLastRequestedNil()

SetSelectionLastRequestedNil sets the value for SelectionLastRequested to be an explicit nil

func (*Gateway) UnmarshalJSON

func (o *Gateway) UnmarshalJSON(bytes []byte) (err error)

func (*Gateway) UnsetFollowRedirect

func (o *Gateway) UnsetFollowRedirect()

UnsetFollowRedirect ensures that no value is present for FollowRedirect, not even an explicit nil

func (*Gateway) UnsetGatewayReselection

func (o *Gateway) UnsetGatewayReselection()

UnsetGatewayReselection ensures that no value is present for GatewayReselection, not even an explicit nil

func (*Gateway) UnsetPopLastUpdate

func (o *Gateway) UnsetPopLastUpdate()

UnsetPopLastUpdate ensures that no value is present for PopLastUpdate, not even an explicit nil

func (*Gateway) UnsetSelected

func (o *Gateway) UnsetSelected()

UnsetSelected ensures that no value is present for Selected, not even an explicit nil

func (*Gateway) UnsetSelectionError

func (o *Gateway) UnsetSelectionError()

UnsetSelectionError ensures that no value is present for SelectionError, not even an explicit nil

func (*Gateway) UnsetSelectionLastRequested

func (o *Gateway) UnsetSelectionLastRequested()

UnsetSelectionLastRequested ensures that no value is present for SelectionLastRequested, not even an explicit nil

type GatewayRequest

type GatewayRequest struct {
	FollowRedirect       NullableBool `json:"follow_redirect,omitempty"`
	GatewayReselection   NullableBool `json:"gateway_reselection,omitempty"`
	AdditionalProperties map[string]interface{}
}

GatewayRequest struct for GatewayRequest

func NewGatewayRequest

func NewGatewayRequest() *GatewayRequest

NewGatewayRequest instantiates a new GatewayRequest 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 NewGatewayRequestWithDefaults

func NewGatewayRequestWithDefaults() *GatewayRequest

NewGatewayRequestWithDefaults instantiates a new GatewayRequest 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 (*GatewayRequest) GetFollowRedirect

func (o *GatewayRequest) GetFollowRedirect() bool

GetFollowRedirect returns the FollowRedirect field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GatewayRequest) GetFollowRedirectOk

func (o *GatewayRequest) GetFollowRedirectOk() (*bool, bool)

GetFollowRedirectOk returns a tuple with the FollowRedirect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GatewayRequest) GetGatewayReselection

func (o *GatewayRequest) GetGatewayReselection() bool

GetGatewayReselection returns the GatewayReselection field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GatewayRequest) GetGatewayReselectionOk

func (o *GatewayRequest) GetGatewayReselectionOk() (*bool, bool)

GetGatewayReselectionOk returns a tuple with the GatewayReselection field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GatewayRequest) HasFollowRedirect

func (o *GatewayRequest) HasFollowRedirect() bool

HasFollowRedirect returns a boolean if a field has been set.

func (*GatewayRequest) HasGatewayReselection

func (o *GatewayRequest) HasGatewayReselection() bool

HasGatewayReselection returns a boolean if a field has been set.

func (GatewayRequest) MarshalJSON

func (o GatewayRequest) MarshalJSON() ([]byte, error)

func (*GatewayRequest) SetFollowRedirect

func (o *GatewayRequest) SetFollowRedirect(v bool)

SetFollowRedirect gets a reference to the given NullableBool and assigns it to the FollowRedirect field.

func (*GatewayRequest) SetFollowRedirectNil

func (o *GatewayRequest) SetFollowRedirectNil()

SetFollowRedirectNil sets the value for FollowRedirect to be an explicit nil

func (*GatewayRequest) SetGatewayReselection

func (o *GatewayRequest) SetGatewayReselection(v bool)

SetGatewayReselection gets a reference to the given NullableBool and assigns it to the GatewayReselection field.

func (*GatewayRequest) SetGatewayReselectionNil

func (o *GatewayRequest) SetGatewayReselectionNil()

SetGatewayReselectionNil sets the value for GatewayReselection to be an explicit nil

func (*GatewayRequest) UnmarshalJSON

func (o *GatewayRequest) UnmarshalJSON(bytes []byte) (err error)

func (*GatewayRequest) UnsetFollowRedirect

func (o *GatewayRequest) UnsetFollowRedirect()

UnsetFollowRedirect ensures that no value is present for FollowRedirect, not even an explicit nil

func (*GatewayRequest) UnsetGatewayReselection

func (o *GatewayRequest) UnsetGatewayReselection()

UnsetGatewayReselection ensures that no value is present for GatewayReselection, not even an explicit nil

type GatewayRequestCreate

type GatewayRequestCreate struct {
	FollowRedirect       NullableBool `json:"follow_redirect,omitempty"`
	AdditionalProperties map[string]interface{}
}

GatewayRequestCreate struct for GatewayRequestCreate

func NewGatewayRequestCreate

func NewGatewayRequestCreate() *GatewayRequestCreate

NewGatewayRequestCreate instantiates a new GatewayRequestCreate 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 NewGatewayRequestCreateWithDefaults

func NewGatewayRequestCreateWithDefaults() *GatewayRequestCreate

NewGatewayRequestCreateWithDefaults instantiates a new GatewayRequestCreate 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 (*GatewayRequestCreate) GetFollowRedirect

func (o *GatewayRequestCreate) GetFollowRedirect() bool

GetFollowRedirect returns the FollowRedirect field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GatewayRequestCreate) GetFollowRedirectOk

func (o *GatewayRequestCreate) GetFollowRedirectOk() (*bool, bool)

GetFollowRedirectOk returns a tuple with the FollowRedirect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GatewayRequestCreate) HasFollowRedirect

func (o *GatewayRequestCreate) HasFollowRedirect() bool

HasFollowRedirect returns a boolean if a field has been set.

func (GatewayRequestCreate) MarshalJSON

func (o GatewayRequestCreate) MarshalJSON() ([]byte, error)

func (*GatewayRequestCreate) SetFollowRedirect

func (o *GatewayRequestCreate) SetFollowRedirect(v bool)

SetFollowRedirect gets a reference to the given NullableBool and assigns it to the FollowRedirect field.

func (*GatewayRequestCreate) SetFollowRedirectNil

func (o *GatewayRequestCreate) SetFollowRedirectNil()

SetFollowRedirectNil sets the value for FollowRedirect to be an explicit nil

func (*GatewayRequestCreate) UnmarshalJSON

func (o *GatewayRequestCreate) UnmarshalJSON(bytes []byte) (err error)

func (*GatewayRequestCreate) UnsetFollowRedirect

func (o *GatewayRequestCreate) UnsetFollowRedirect()

UnsetFollowRedirect ensures that no value is present for FollowRedirect, not even an explicit nil

type GetAdnGroupParams added in v1.0.0

type GetAdnGroupParams struct {
	// Customer Origin Group Id
	GroupId int32
}

GetAdnGroupParams contains the parameters for GetAdnGroup

func NewGetAdnGroupParams added in v1.0.0

func NewGetAdnGroupParams() GetAdnGroupParams

NewGetAdnGroupParams creates a new instance of GetAdnGroupParams

type GetAllOriginsParams added in v1.0.0

type GetAllOriginsParams struct {
	// http-large or adn
	MediaType string

	// [false | true] only. Get Error with another value
	Ascending bool

	// In range [1, 1000]
	PageSize int32

	// In range [1, 1000]
	PageNumber int32

	Sortby string
}

GetAllOriginsParams contains the parameters for GetAllOrigins

func NewGetAllOriginsParams added in v1.0.0

func NewGetAllOriginsParams() GetAllOriginsParams

NewGetAllOriginsParams creates a new instance of GetAllOriginsParams

type GetEdgeFunctionsParams added in v1.0.0

type GetEdgeFunctionsParams struct {
	// http-large or adn
	MediaType string
}

GetEdgeFunctionsParams contains the parameters for GetEdgeFunctions

func NewGetEdgeFunctionsParams added in v1.0.0

func NewGetEdgeFunctionsParams() GetEdgeFunctionsParams

NewGetEdgeFunctionsParams creates a new instance of GetEdgeFunctionsParams

type GetGroupStatusParams added in v1.0.0

type GetGroupStatusParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Group Id
	GroupId int32
}

GetGroupStatusParams contains the parameters for GetGroupStatus

func NewGetGroupStatusParams added in v1.0.0

func NewGetGroupStatusParams() GetGroupStatusParams

NewGetGroupStatusParams creates a new instance of GetGroupStatusParams

type GetHttpLargeGroupParams added in v1.0.0

type GetHttpLargeGroupParams struct {
	// Customer Origin Group Id
	GroupId int32
}

GetHttpLargeGroupParams contains the parameters for GetHttpLargeGroup

func NewGetHttpLargeGroupParams added in v1.0.0

func NewGetHttpLargeGroupParams() GetHttpLargeGroupParams

NewGetHttpLargeGroupParams creates a new instance of GetHttpLargeGroupParams

type GetOriginParams added in v1.0.0

type GetOriginParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Id
	Id int32
}

GetOriginParams contains the parameters for GetOrigin

func NewGetOriginParams added in v1.0.0

func NewGetOriginParams() GetOriginParams

NewGetOriginParams creates a new instance of GetOriginParams

type GetOriginShieldPopsParams added in v1.0.0

type GetOriginShieldPopsParams struct {
	Findcode string
}

GetOriginShieldPopsParams contains the parameters for GetOriginShieldPops

func NewGetOriginShieldPopsParams added in v1.0.0

func NewGetOriginShieldPopsParams() GetOriginShieldPopsParams

NewGetOriginShieldPopsParams creates a new instance of GetOriginShieldPopsParams

type GetOriginsByGroupParams added in v1.0.0

type GetOriginsByGroupParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Group Id
	GroupId int32
}

GetOriginsByGroupParams contains the parameters for GetOriginsByGroup

func NewGetOriginsByGroupParams added in v1.0.0

func NewGetOriginsByGroupParams() GetOriginsByGroupParams

NewGetOriginsByGroupParams creates a new instance of GetOriginsByGroupParams

type HttpLargeOnlyClient

type HttpLargeOnlyClient struct {
	// contains filtered or unexported fields
}

HttpLargeOnlyClient is the concrete client implementation for HttpLargeOnly

func NewHttpLargeOnlyClient

func NewHttpLargeOnlyClient(
	c ecclient.APIClient,
	baseAPIURL string,
) HttpLargeOnlyClient

NewHttpLargeOnlyClient creates a new instance of HttpLargeOnlyClient

func (HttpLargeOnlyClient) AddHttpLargeGroup added in v1.0.0

func (c HttpLargeOnlyClient) AddHttpLargeGroup(
	params AddHttpLargeGroupParams,
) (*CustomerOriginGroupHTTP, error)

AddHttpLargeGroup - Create new Http Large customer origin group

Create new Http Large Customer Origin Group

func (HttpLargeOnlyClient) GetAllHttpLargeGroups added in v1.0.0

func (c HttpLargeOnlyClient) GetAllHttpLargeGroups() ([]CustomerOriginGroupHTTP, error)

GetAllHttpLargeGroups - Get Http Large customer origins groups

Get list of Http Large Customer Origin Groups

func (HttpLargeOnlyClient) GetHttpLargeGroup added in v1.0.0

func (c HttpLargeOnlyClient) GetHttpLargeGroup(
	params GetHttpLargeGroupParams,
) (*CustomerOriginGroupHTTP, error)

GetHttpLargeGroup - Get specific Http Large customer origin group by id

Get an individual Http Large Customer Origin Group

func (HttpLargeOnlyClient) GetOriginShieldPops added in v1.0.0

func (c HttpLargeOnlyClient) GetOriginShieldPops(
	params GetOriginShieldPopsParams,
) ([]OriginShieldEdgeNode, error)

GetOriginShieldPops - Get list of origin shield pops

Get list of Origin Shield Pops. This API should work only for http-large Origin

func (HttpLargeOnlyClient) UpdateHttpLargeGroup added in v1.0.0

func (c HttpLargeOnlyClient) UpdateHttpLargeGroup(
	params UpdateHttpLargeGroupParams,
) (*CustomerOriginGroupHTTP, error)

UpdateHttpLargeGroup - Update Http Large customer origin group by id

Update an individual Http Large Customer Origin Group

type HttpLargeOnlyClientService

type HttpLargeOnlyClientService interface {
	AddHttpLargeGroup(
		params AddHttpLargeGroupParams,
	) (*CustomerOriginGroupHTTP, error)

	GetAllHttpLargeGroups() ([]CustomerOriginGroupHTTP, error)

	GetHttpLargeGroup(
		params GetHttpLargeGroupParams,
	) (*CustomerOriginGroupHTTP, error)

	GetOriginShieldPops(
		params GetOriginShieldPopsParams,
	) ([]OriginShieldEdgeNode, error)

	UpdateHttpLargeGroup(
		params UpdateHttpLargeGroupParams,
	) (*CustomerOriginGroupHTTP, error)
}

HttpLargeOnlyClientService defines the operations for HttpLargeOnly

type NetworkType

type NetworkType struct {
	Id                   *int32  `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	Value                *string `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkType struct for NetworkType

func NewNetworkType

func NewNetworkType() *NetworkType

NewNetworkType instantiates a new NetworkType 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 NewNetworkTypeWithDefaults

func NewNetworkTypeWithDefaults() *NetworkType

NewNetworkTypeWithDefaults instantiates a new NetworkType 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 (*NetworkType) GetId

func (o *NetworkType) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*NetworkType) GetIdOk

func (o *NetworkType) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkType) GetName

func (o *NetworkType) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkType) GetNameOk

func (o *NetworkType) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkType) GetValue

func (o *NetworkType) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*NetworkType) GetValueOk

func (o *NetworkType) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkType) HasId

func (o *NetworkType) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkType) HasName

func (o *NetworkType) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkType) HasValue

func (o *NetworkType) HasValue() bool

HasValue returns a boolean if a field has been set.

func (NetworkType) MarshalJSON

func (o NetworkType) MarshalJSON() ([]byte, error)

func (*NetworkType) SetId

func (o *NetworkType) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*NetworkType) SetName

func (o *NetworkType) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkType) SetValue

func (o *NetworkType) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*NetworkType) UnmarshalJSON

func (o *NetworkType) UnmarshalJSON(bytes []byte) (err error)

type NullableAdnGateway

type NullableAdnGateway struct {
	// contains filtered or unexported fields
}

func NewNullableAdnGateway

func NewNullableAdnGateway(val AdnGateway) NullableAdnGateway

func (NullableAdnGateway) Get

func (v NullableAdnGateway) Get() *AdnGateway

func (NullableAdnGateway) IsSet

func (v NullableAdnGateway) IsSet() bool

func (NullableAdnGateway) MarshalJSON

func (v NullableAdnGateway) MarshalJSON() ([]byte, error)

func (*NullableAdnGateway) Set

func (v *NullableAdnGateway) Set(val *AdnGateway)

func (*NullableAdnGateway) UnmarshalJSON

func (v *NullableAdnGateway) UnmarshalJSON(src []byte) error

func (*NullableAdnGateway) Unset

func (v *NullableAdnGateway) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val bool) NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCustomerOrigin

type NullableCustomerOrigin struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerOrigin

func NewNullableCustomerOrigin(val CustomerOrigin) NullableCustomerOrigin

func (NullableCustomerOrigin) Get

func (NullableCustomerOrigin) IsSet

func (v NullableCustomerOrigin) IsSet() bool

func (NullableCustomerOrigin) MarshalJSON

func (v NullableCustomerOrigin) MarshalJSON() ([]byte, error)

func (*NullableCustomerOrigin) Set

func (*NullableCustomerOrigin) UnmarshalJSON

func (v *NullableCustomerOrigin) UnmarshalJSON(src []byte) error

func (*NullableCustomerOrigin) Unset

func (v *NullableCustomerOrigin) Unset()

type NullableCustomerOriginFailoverOrder

type NullableCustomerOriginFailoverOrder struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginFailoverOrder) Get

func (NullableCustomerOriginFailoverOrder) IsSet

func (NullableCustomerOriginFailoverOrder) MarshalJSON

func (v NullableCustomerOriginFailoverOrder) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginFailoverOrder) Set

func (*NullableCustomerOriginFailoverOrder) UnmarshalJSON

func (v *NullableCustomerOriginFailoverOrder) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginFailoverOrder) Unset

type NullableCustomerOriginGroupADN

type NullableCustomerOriginGroupADN struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginGroupADN) Get

func (NullableCustomerOriginGroupADN) IsSet

func (NullableCustomerOriginGroupADN) MarshalJSON

func (v NullableCustomerOriginGroupADN) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginGroupADN) Set

func (*NullableCustomerOriginGroupADN) UnmarshalJSON

func (v *NullableCustomerOriginGroupADN) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginGroupADN) Unset

func (v *NullableCustomerOriginGroupADN) Unset()

type NullableCustomerOriginGroupADNRequest

type NullableCustomerOriginGroupADNRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginGroupADNRequest) Get

func (NullableCustomerOriginGroupADNRequest) IsSet

func (NullableCustomerOriginGroupADNRequest) MarshalJSON

func (v NullableCustomerOriginGroupADNRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginGroupADNRequest) Set

func (*NullableCustomerOriginGroupADNRequest) UnmarshalJSON

func (v *NullableCustomerOriginGroupADNRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginGroupADNRequest) Unset

type NullableCustomerOriginGroupADNRequestCreate

type NullableCustomerOriginGroupADNRequestCreate struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginGroupADNRequestCreate) Get

func (NullableCustomerOriginGroupADNRequestCreate) IsSet

func (NullableCustomerOriginGroupADNRequestCreate) MarshalJSON

func (*NullableCustomerOriginGroupADNRequestCreate) Set

func (*NullableCustomerOriginGroupADNRequestCreate) UnmarshalJSON

func (v *NullableCustomerOriginGroupADNRequestCreate) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginGroupADNRequestCreate) Unset

type NullableCustomerOriginGroupHTTP

type NullableCustomerOriginGroupHTTP struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginGroupHTTP) Get

func (NullableCustomerOriginGroupHTTP) IsSet

func (NullableCustomerOriginGroupHTTP) MarshalJSON

func (v NullableCustomerOriginGroupHTTP) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginGroupHTTP) Set

func (*NullableCustomerOriginGroupHTTP) UnmarshalJSON

func (v *NullableCustomerOriginGroupHTTP) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginGroupHTTP) Unset

type NullableCustomerOriginGroupHTTPRequest

type NullableCustomerOriginGroupHTTPRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginGroupHTTPRequest) Get

func (NullableCustomerOriginGroupHTTPRequest) IsSet

func (NullableCustomerOriginGroupHTTPRequest) MarshalJSON

func (v NullableCustomerOriginGroupHTTPRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginGroupHTTPRequest) Set

func (*NullableCustomerOriginGroupHTTPRequest) UnmarshalJSON

func (v *NullableCustomerOriginGroupHTTPRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginGroupHTTPRequest) Unset

type NullableCustomerOriginRequest

type NullableCustomerOriginRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginRequest) Get

func (NullableCustomerOriginRequest) IsSet

func (NullableCustomerOriginRequest) MarshalJSON

func (v NullableCustomerOriginRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginRequest) Set

func (*NullableCustomerOriginRequest) UnmarshalJSON

func (v *NullableCustomerOriginRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginRequest) Unset

func (v *NullableCustomerOriginRequest) Unset()

type NullableCustomerOriginStatus

type NullableCustomerOriginStatus struct {
	// contains filtered or unexported fields
}

func (NullableCustomerOriginStatus) Get

func (NullableCustomerOriginStatus) IsSet

func (NullableCustomerOriginStatus) MarshalJSON

func (v NullableCustomerOriginStatus) MarshalJSON() ([]byte, error)

func (*NullableCustomerOriginStatus) Set

func (*NullableCustomerOriginStatus) UnmarshalJSON

func (v *NullableCustomerOriginStatus) UnmarshalJSON(src []byte) error

func (*NullableCustomerOriginStatus) Unset

func (v *NullableCustomerOriginStatus) Unset()

type NullableEdgeFunction

type NullableEdgeFunction struct {
	// contains filtered or unexported fields
}

func NewNullableEdgeFunction

func NewNullableEdgeFunction(val EdgeFunction) NullableEdgeFunction

func (NullableEdgeFunction) Get

func (NullableEdgeFunction) IsSet

func (v NullableEdgeFunction) IsSet() bool

func (NullableEdgeFunction) MarshalJSON

func (v NullableEdgeFunction) MarshalJSON() ([]byte, error)

func (*NullableEdgeFunction) Set

func (v *NullableEdgeFunction) Set(val *EdgeFunction)

func (*NullableEdgeFunction) UnmarshalJSON

func (v *NullableEdgeFunction) UnmarshalJSON(src []byte) error

func (*NullableEdgeFunction) Unset

func (v *NullableEdgeFunction) Unset()

type NullableFailoverOrder

type NullableFailoverOrder struct {
	// contains filtered or unexported fields
}

func NewNullableFailoverOrder

func NewNullableFailoverOrder(val FailoverOrder) NullableFailoverOrder

func (NullableFailoverOrder) Get

func (NullableFailoverOrder) IsSet

func (v NullableFailoverOrder) IsSet() bool

func (NullableFailoverOrder) MarshalJSON

func (v NullableFailoverOrder) MarshalJSON() ([]byte, error)

func (*NullableFailoverOrder) Set

func (v *NullableFailoverOrder) Set(val *FailoverOrder)

func (*NullableFailoverOrder) UnmarshalJSON

func (v *NullableFailoverOrder) UnmarshalJSON(src []byte) error

func (*NullableFailoverOrder) Unset

func (v *NullableFailoverOrder) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val float32) NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val float64) NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGateway

type NullableGateway struct {
	// contains filtered or unexported fields
}

func NewNullableGateway

func NewNullableGateway(val Gateway) NullableGateway

func (NullableGateway) Get

func (v NullableGateway) Get() *Gateway

func (NullableGateway) IsSet

func (v NullableGateway) IsSet() bool

func (NullableGateway) MarshalJSON

func (v NullableGateway) MarshalJSON() ([]byte, error)

func (*NullableGateway) Set

func (v *NullableGateway) Set(val *Gateway)

func (*NullableGateway) UnmarshalJSON

func (v *NullableGateway) UnmarshalJSON(src []byte) error

func (*NullableGateway) Unset

func (v *NullableGateway) Unset()

type NullableGatewayRequest

type NullableGatewayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableGatewayRequest

func NewNullableGatewayRequest(val GatewayRequest) NullableGatewayRequest

func (NullableGatewayRequest) Get

func (NullableGatewayRequest) IsSet

func (v NullableGatewayRequest) IsSet() bool

func (NullableGatewayRequest) MarshalJSON

func (v NullableGatewayRequest) MarshalJSON() ([]byte, error)

func (*NullableGatewayRequest) Set

func (*NullableGatewayRequest) UnmarshalJSON

func (v *NullableGatewayRequest) UnmarshalJSON(src []byte) error

func (*NullableGatewayRequest) Unset

func (v *NullableGatewayRequest) Unset()

type NullableGatewayRequestCreate

type NullableGatewayRequestCreate struct {
	// contains filtered or unexported fields
}

func (NullableGatewayRequestCreate) Get

func (NullableGatewayRequestCreate) IsSet

func (NullableGatewayRequestCreate) MarshalJSON

func (v NullableGatewayRequestCreate) MarshalJSON() ([]byte, error)

func (*NullableGatewayRequestCreate) Set

func (*NullableGatewayRequestCreate) UnmarshalJSON

func (v *NullableGatewayRequestCreate) UnmarshalJSON(src []byte) error

func (*NullableGatewayRequestCreate) Unset

func (v *NullableGatewayRequestCreate) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val int) NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val int32) NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val int64) NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableNetworkType

type NullableNetworkType struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkType

func NewNullableNetworkType(val NetworkType) NullableNetworkType

func (NullableNetworkType) Get

func (NullableNetworkType) IsSet

func (v NullableNetworkType) IsSet() bool

func (NullableNetworkType) MarshalJSON

func (v NullableNetworkType) MarshalJSON() ([]byte, error)

func (*NullableNetworkType) Set

func (v *NullableNetworkType) Set(val *NetworkType)

func (*NullableNetworkType) UnmarshalJSON

func (v *NullableNetworkType) UnmarshalJSON(src []byte) error

func (*NullableNetworkType) Unset

func (v *NullableNetworkType) Unset()

type NullableOriginShieldEdgeNode

type NullableOriginShieldEdgeNode struct {
	// contains filtered or unexported fields
}

func (NullableOriginShieldEdgeNode) Get

func (NullableOriginShieldEdgeNode) IsSet

func (NullableOriginShieldEdgeNode) MarshalJSON

func (v NullableOriginShieldEdgeNode) MarshalJSON() ([]byte, error)

func (*NullableOriginShieldEdgeNode) Set

func (*NullableOriginShieldEdgeNode) UnmarshalJSON

func (v *NullableOriginShieldEdgeNode) UnmarshalJSON(src []byte) error

func (*NullableOriginShieldEdgeNode) Unset

func (v *NullableOriginShieldEdgeNode) Unset()

type NullableOriginShieldPop

type NullableOriginShieldPop struct {
	// contains filtered or unexported fields
}

func NewNullableOriginShieldPop

func NewNullableOriginShieldPop(val OriginShieldPop) NullableOriginShieldPop

func (NullableOriginShieldPop) Get

func (NullableOriginShieldPop) IsSet

func (v NullableOriginShieldPop) IsSet() bool

func (NullableOriginShieldPop) MarshalJSON

func (v NullableOriginShieldPop) MarshalJSON() ([]byte, error)

func (*NullableOriginShieldPop) Set

func (*NullableOriginShieldPop) UnmarshalJSON

func (v *NullableOriginShieldPop) UnmarshalJSON(src []byte) error

func (*NullableOriginShieldPop) Unset

func (v *NullableOriginShieldPop) Unset()

type NullablePopPropagationStatus

type NullablePopPropagationStatus struct {
	// contains filtered or unexported fields
}

func (NullablePopPropagationStatus) Get

func (NullablePopPropagationStatus) IsSet

func (NullablePopPropagationStatus) MarshalJSON

func (v NullablePopPropagationStatus) MarshalJSON() ([]byte, error)

func (*NullablePopPropagationStatus) Set

func (*NullablePopPropagationStatus) UnmarshalJSON

func (v *NullablePopPropagationStatus) UnmarshalJSON(src []byte) error

func (*NullablePopPropagationStatus) Unset

func (v *NullablePopPropagationStatus) Unset()

type NullableProtocolType

type NullableProtocolType struct {
	// contains filtered or unexported fields
}

func NewNullableProtocolType

func NewNullableProtocolType(val ProtocolType) NullableProtocolType

func (NullableProtocolType) Get

func (NullableProtocolType) IsSet

func (v NullableProtocolType) IsSet() bool

func (NullableProtocolType) MarshalJSON

func (v NullableProtocolType) MarshalJSON() ([]byte, error)

func (*NullableProtocolType) Set

func (v *NullableProtocolType) Set(val *ProtocolType)

func (*NullableProtocolType) UnmarshalJSON

func (v *NullableProtocolType) UnmarshalJSON(src []byte) error

func (*NullableProtocolType) Unset

func (v *NullableProtocolType) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val string) NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val time.Time) NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTlsSettings

type NullableTlsSettings struct {
	// contains filtered or unexported fields
}

func NewNullableTlsSettings

func NewNullableTlsSettings(val TlsSettings) NullableTlsSettings

func (NullableTlsSettings) Get

func (NullableTlsSettings) IsSet

func (v NullableTlsSettings) IsSet() bool

func (NullableTlsSettings) MarshalJSON

func (v NullableTlsSettings) MarshalJSON() ([]byte, error)

func (*NullableTlsSettings) Set

func (v *NullableTlsSettings) Set(val *TlsSettings)

func (*NullableTlsSettings) UnmarshalJSON

func (v *NullableTlsSettings) UnmarshalJSON(src []byte) error

func (*NullableTlsSettings) Unset

func (v *NullableTlsSettings) Unset()

type OriginShieldEdgeNode

type OriginShieldEdgeNode struct {
	RegionId             *int32            `json:"region_id,omitempty"`
	RegionName           *string           `json:"region_name,omitempty"`
	BypassCode           *string           `json:"bypass_code,omitempty"`
	BypassName           *string           `json:"bypass_name,omitempty"`
	Pops                 []OriginShieldPop `json:"pops,omitempty"`
	AdditionalProperties map[string]interface{}
}

OriginShieldEdgeNode struct for OriginShieldEdgeNode

func NewOriginShieldEdgeNode

func NewOriginShieldEdgeNode() *OriginShieldEdgeNode

NewOriginShieldEdgeNode instantiates a new OriginShieldEdgeNode 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 NewOriginShieldEdgeNodeWithDefaults

func NewOriginShieldEdgeNodeWithDefaults() *OriginShieldEdgeNode

NewOriginShieldEdgeNodeWithDefaults instantiates a new OriginShieldEdgeNode 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 (*OriginShieldEdgeNode) GetBypassCode

func (o *OriginShieldEdgeNode) GetBypassCode() string

GetBypassCode returns the BypassCode field value if set, zero value otherwise.

func (*OriginShieldEdgeNode) GetBypassCodeOk

func (o *OriginShieldEdgeNode) GetBypassCodeOk() (*string, bool)

GetBypassCodeOk returns a tuple with the BypassCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldEdgeNode) GetBypassName

func (o *OriginShieldEdgeNode) GetBypassName() string

GetBypassName returns the BypassName field value if set, zero value otherwise.

func (*OriginShieldEdgeNode) GetBypassNameOk

func (o *OriginShieldEdgeNode) GetBypassNameOk() (*string, bool)

GetBypassNameOk returns a tuple with the BypassName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldEdgeNode) GetPops

func (o *OriginShieldEdgeNode) GetPops() []OriginShieldPop

GetPops returns the Pops field value if set, zero value otherwise.

func (*OriginShieldEdgeNode) GetPopsOk

func (o *OriginShieldEdgeNode) GetPopsOk() ([]OriginShieldPop, bool)

GetPopsOk returns a tuple with the Pops field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldEdgeNode) GetRegionId

func (o *OriginShieldEdgeNode) GetRegionId() int32

GetRegionId returns the RegionId field value if set, zero value otherwise.

func (*OriginShieldEdgeNode) GetRegionIdOk

func (o *OriginShieldEdgeNode) GetRegionIdOk() (*int32, bool)

GetRegionIdOk returns a tuple with the RegionId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldEdgeNode) GetRegionName

func (o *OriginShieldEdgeNode) GetRegionName() string

GetRegionName returns the RegionName field value if set, zero value otherwise.

func (*OriginShieldEdgeNode) GetRegionNameOk

func (o *OriginShieldEdgeNode) GetRegionNameOk() (*string, bool)

GetRegionNameOk returns a tuple with the RegionName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldEdgeNode) HasBypassCode

func (o *OriginShieldEdgeNode) HasBypassCode() bool

HasBypassCode returns a boolean if a field has been set.

func (*OriginShieldEdgeNode) HasBypassName

func (o *OriginShieldEdgeNode) HasBypassName() bool

HasBypassName returns a boolean if a field has been set.

func (*OriginShieldEdgeNode) HasPops

func (o *OriginShieldEdgeNode) HasPops() bool

HasPops returns a boolean if a field has been set.

func (*OriginShieldEdgeNode) HasRegionId

func (o *OriginShieldEdgeNode) HasRegionId() bool

HasRegionId returns a boolean if a field has been set.

func (*OriginShieldEdgeNode) HasRegionName

func (o *OriginShieldEdgeNode) HasRegionName() bool

HasRegionName returns a boolean if a field has been set.

func (OriginShieldEdgeNode) MarshalJSON

func (o OriginShieldEdgeNode) MarshalJSON() ([]byte, error)

func (*OriginShieldEdgeNode) SetBypassCode

func (o *OriginShieldEdgeNode) SetBypassCode(v string)

SetBypassCode gets a reference to the given string and assigns it to the BypassCode field.

func (*OriginShieldEdgeNode) SetBypassName

func (o *OriginShieldEdgeNode) SetBypassName(v string)

SetBypassName gets a reference to the given string and assigns it to the BypassName field.

func (*OriginShieldEdgeNode) SetPops

func (o *OriginShieldEdgeNode) SetPops(v []OriginShieldPop)

SetPops gets a reference to the given []OriginShieldPop and assigns it to the Pops field.

func (*OriginShieldEdgeNode) SetRegionId

func (o *OriginShieldEdgeNode) SetRegionId(v int32)

SetRegionId gets a reference to the given int32 and assigns it to the RegionId field.

func (*OriginShieldEdgeNode) SetRegionName

func (o *OriginShieldEdgeNode) SetRegionName(v string)

SetRegionName gets a reference to the given string and assigns it to the RegionName field.

func (*OriginShieldEdgeNode) UnmarshalJSON

func (o *OriginShieldEdgeNode) UnmarshalJSON(bytes []byte) (err error)

type OriginShieldPop

type OriginShieldPop struct {
	Id                   *int32  `json:"id,omitempty"`
	Code                 *string `json:"code,omitempty"`
	City                 *string `json:"city,omitempty"`
	IsPciCertified       *bool   `json:"is_pci_certified,omitempty"`
	AdditionalProperties map[string]interface{}
}

OriginShieldPop OriginShieldPop object

func NewOriginShieldPop

func NewOriginShieldPop() *OriginShieldPop

NewOriginShieldPop instantiates a new OriginShieldPop 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 NewOriginShieldPopWithDefaults

func NewOriginShieldPopWithDefaults() *OriginShieldPop

NewOriginShieldPopWithDefaults instantiates a new OriginShieldPop 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 (*OriginShieldPop) GetCity

func (o *OriginShieldPop) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*OriginShieldPop) GetCityOk

func (o *OriginShieldPop) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldPop) GetCode

func (o *OriginShieldPop) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*OriginShieldPop) GetCodeOk

func (o *OriginShieldPop) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldPop) GetId

func (o *OriginShieldPop) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*OriginShieldPop) GetIdOk

func (o *OriginShieldPop) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldPop) GetIsPciCertified

func (o *OriginShieldPop) GetIsPciCertified() bool

GetIsPciCertified returns the IsPciCertified field value if set, zero value otherwise.

func (*OriginShieldPop) GetIsPciCertifiedOk

func (o *OriginShieldPop) GetIsPciCertifiedOk() (*bool, bool)

GetIsPciCertifiedOk returns a tuple with the IsPciCertified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OriginShieldPop) HasCity

func (o *OriginShieldPop) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*OriginShieldPop) HasCode

func (o *OriginShieldPop) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*OriginShieldPop) HasId

func (o *OriginShieldPop) HasId() bool

HasId returns a boolean if a field has been set.

func (*OriginShieldPop) HasIsPciCertified

func (o *OriginShieldPop) HasIsPciCertified() bool

HasIsPciCertified returns a boolean if a field has been set.

func (OriginShieldPop) MarshalJSON

func (o OriginShieldPop) MarshalJSON() ([]byte, error)

func (*OriginShieldPop) SetCity

func (o *OriginShieldPop) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*OriginShieldPop) SetCode

func (o *OriginShieldPop) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*OriginShieldPop) SetId

func (o *OriginShieldPop) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*OriginShieldPop) SetIsPciCertified

func (o *OriginShieldPop) SetIsPciCertified(v bool)

SetIsPciCertified gets a reference to the given bool and assigns it to the IsPciCertified field.

func (*OriginShieldPop) UnmarshalJSON

func (o *OriginShieldPop) UnmarshalJSON(bytes []byte) (err error)

type Phase3Client

type Phase3Client struct {
	// contains filtered or unexported fields
}

Phase3Client is the concrete client implementation for Phase3

func NewPhase3Client

func NewPhase3Client(
	c ecclient.APIClient,
	baseAPIURL string,
) Phase3Client

NewPhase3Client creates a new instance of Phase3Client

func (Phase3Client) GetAvailableHostnameResolutionMethods added in v1.0.0

func (c Phase3Client) GetAvailableHostnameResolutionMethods() ([]NetworkType, error)

GetAvailableHostnameResolutionMethods - Get Network Types

Get Origin Network Regions

func (Phase3Client) GetAvailableProtocols added in v1.0.0

func (c Phase3Client) GetAvailableProtocols() ([]ProtocolType, error)

GetAvailableProtocols - Get Protocol Types

Get Protocol Types

type Phase3ClientService

type Phase3ClientService interface {
	GetAvailableHostnameResolutionMethods() ([]NetworkType, error)

	GetAvailableProtocols() ([]ProtocolType, error)
}

Phase3ClientService defines the operations for Phase3

type PopPropagationStatus

type PopPropagationStatus struct {
	Name                 *string  `json:"name,omitempty"`
	PercentagePropagated *float32 `json:"percentage_propagated,omitempty"`
	AdditionalProperties map[string]interface{}
}

PopPropagationStatus struct for PopPropagationStatus

func NewPopPropagationStatus

func NewPopPropagationStatus() *PopPropagationStatus

NewPopPropagationStatus instantiates a new PopPropagationStatus 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 NewPopPropagationStatusWithDefaults

func NewPopPropagationStatusWithDefaults() *PopPropagationStatus

NewPopPropagationStatusWithDefaults instantiates a new PopPropagationStatus 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 (*PopPropagationStatus) GetName

func (o *PopPropagationStatus) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PopPropagationStatus) GetNameOk

func (o *PopPropagationStatus) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PopPropagationStatus) GetPercentagePropagated

func (o *PopPropagationStatus) GetPercentagePropagated() float32

GetPercentagePropagated returns the PercentagePropagated field value if set, zero value otherwise.

func (*PopPropagationStatus) GetPercentagePropagatedOk

func (o *PopPropagationStatus) GetPercentagePropagatedOk() (*float32, bool)

GetPercentagePropagatedOk returns a tuple with the PercentagePropagated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PopPropagationStatus) HasName

func (o *PopPropagationStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*PopPropagationStatus) HasPercentagePropagated

func (o *PopPropagationStatus) HasPercentagePropagated() bool

HasPercentagePropagated returns a boolean if a field has been set.

func (PopPropagationStatus) MarshalJSON

func (o PopPropagationStatus) MarshalJSON() ([]byte, error)

func (*PopPropagationStatus) SetName

func (o *PopPropagationStatus) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PopPropagationStatus) SetPercentagePropagated

func (o *PopPropagationStatus) SetPercentagePropagated(v float32)

SetPercentagePropagated gets a reference to the given float32 and assigns it to the PercentagePropagated field.

func (*PopPropagationStatus) UnmarshalJSON

func (o *PopPropagationStatus) UnmarshalJSON(bytes []byte) (err error)

type ProtocolType

type ProtocolType struct {
	Id                   *int32  `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProtocolType struct for ProtocolType

func NewProtocolType

func NewProtocolType() *ProtocolType

NewProtocolType instantiates a new ProtocolType 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 NewProtocolTypeWithDefaults

func NewProtocolTypeWithDefaults() *ProtocolType

NewProtocolTypeWithDefaults instantiates a new ProtocolType 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 (*ProtocolType) GetId

func (o *ProtocolType) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*ProtocolType) GetIdOk

func (o *ProtocolType) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProtocolType) GetName

func (o *ProtocolType) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ProtocolType) GetNameOk

func (o *ProtocolType) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProtocolType) HasId

func (o *ProtocolType) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProtocolType) HasName

func (o *ProtocolType) HasName() bool

HasName returns a boolean if a field has been set.

func (ProtocolType) MarshalJSON

func (o ProtocolType) MarshalJSON() ([]byte, error)

func (*ProtocolType) SetId

func (o *ProtocolType) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*ProtocolType) SetName

func (o *ProtocolType) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ProtocolType) UnmarshalJSON

func (o *ProtocolType) UnmarshalJSON(bytes []byte) (err error)

type Service

type Service struct {
	Logger eclog.Logger

	AdnOnly AdnOnlyClientService

	Common CommonClientService

	HttpLargeOnly HttpLargeOnlyClientService

	Phase3 Phase3ClientService
	// contains filtered or unexported fields
}

Service manages communication with the Customer Origins API v3 API v0.5.0

func New

func New(config edgecast.SDKConfig) (*Service, error)

New creates a new Service

type TlsSettings

type TlsSettings struct {
	SniHostname          NullableString `json:"sni_hostname,omitempty"`
	AllowSelfSigned      *bool          `json:"allow_self_signed,omitempty"`
	PublicKeysToVerify   []string       `json:"public_keys_to_verify,omitempty"`
	AdditionalProperties map[string]interface{}
}

TlsSettings

func NewTlsSettings

func NewTlsSettings() *TlsSettings

NewTlsSettings instantiates a new TlsSettings 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 NewTlsSettingsWithDefaults

func NewTlsSettingsWithDefaults() *TlsSettings

NewTlsSettingsWithDefaults instantiates a new TlsSettings 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 (*TlsSettings) GetAllowSelfSigned

func (o *TlsSettings) GetAllowSelfSigned() bool

GetAllowSelfSigned returns the AllowSelfSigned field value if set, zero value otherwise.

func (*TlsSettings) GetAllowSelfSignedOk

func (o *TlsSettings) GetAllowSelfSignedOk() (*bool, bool)

GetAllowSelfSignedOk returns a tuple with the AllowSelfSigned field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TlsSettings) GetPublicKeysToVerify

func (o *TlsSettings) GetPublicKeysToVerify() []string

GetPublicKeysToVerify returns the PublicKeysToVerify field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TlsSettings) GetPublicKeysToVerifyOk

func (o *TlsSettings) GetPublicKeysToVerifyOk() ([]string, bool)

GetPublicKeysToVerifyOk returns a tuple with the PublicKeysToVerify field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TlsSettings) GetSniHostname

func (o *TlsSettings) GetSniHostname() string

GetSniHostname returns the SniHostname field value if set, zero value otherwise (both if not set or set to explicit null).

func (*TlsSettings) GetSniHostnameOk

func (o *TlsSettings) GetSniHostnameOk() (*string, bool)

GetSniHostnameOk returns a tuple with the SniHostname field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TlsSettings) HasAllowSelfSigned

func (o *TlsSettings) HasAllowSelfSigned() bool

HasAllowSelfSigned returns a boolean if a field has been set.

func (*TlsSettings) HasPublicKeysToVerify

func (o *TlsSettings) HasPublicKeysToVerify() bool

HasPublicKeysToVerify returns a boolean if a field has been set.

func (*TlsSettings) HasSniHostname

func (o *TlsSettings) HasSniHostname() bool

HasSniHostname returns a boolean if a field has been set.

func (TlsSettings) MarshalJSON

func (o TlsSettings) MarshalJSON() ([]byte, error)

func (*TlsSettings) SetAllowSelfSigned

func (o *TlsSettings) SetAllowSelfSigned(v bool)

SetAllowSelfSigned gets a reference to the given bool and assigns it to the AllowSelfSigned field.

func (*TlsSettings) SetPublicKeysToVerify

func (o *TlsSettings) SetPublicKeysToVerify(v []string)

SetPublicKeysToVerify gets a reference to the given []string and assigns it to the PublicKeysToVerify field.

func (*TlsSettings) SetSniHostname

func (o *TlsSettings) SetSniHostname(v string)

SetSniHostname gets a reference to the given NullableString and assigns it to the SniHostname field.

func (*TlsSettings) SetSniHostnameNil

func (o *TlsSettings) SetSniHostnameNil()

SetSniHostnameNil sets the value for SniHostname to be an explicit nil

func (*TlsSettings) UnmarshalJSON

func (o *TlsSettings) UnmarshalJSON(bytes []byte) (err error)

func (*TlsSettings) UnsetSniHostname

func (o *TlsSettings) UnsetSniHostname()

UnsetSniHostname ensures that no value is present for SniHostname, not even an explicit nil

type UpdateAdnGroupParams added in v1.0.0

type UpdateAdnGroupParams struct {
	// Customer Origin Group Id
	GroupId int32

	CustomerOriginGroupADNRequest CustomerOriginGroupADNRequest
}

UpdateAdnGroupParams contains the parameters for UpdateAdnGroup

func NewUpdateAdnGroupParams added in v1.0.0

func NewUpdateAdnGroupParams() UpdateAdnGroupParams

NewUpdateAdnGroupParams creates a new instance of UpdateAdnGroupParams

type UpdateFailoverOrderParams added in v1.0.0

type UpdateFailoverOrderParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Group Id
	GroupId int32

	FailoverOrder []FailoverOrder
}

UpdateFailoverOrderParams contains the parameters for UpdateFailoverOrder

func NewUpdateFailoverOrderParams added in v1.0.0

func NewUpdateFailoverOrderParams() UpdateFailoverOrderParams

NewUpdateFailoverOrderParams creates a new instance of UpdateFailoverOrderParams

type UpdateHttpLargeGroupParams added in v1.0.0

type UpdateHttpLargeGroupParams struct {
	// Customer Origin Group Id
	GroupId int32

	CustomerOriginGroupHTTPRequest CustomerOriginGroupHTTPRequest
}

UpdateHttpLargeGroupParams contains the parameters for UpdateHttpLargeGroup

func NewUpdateHttpLargeGroupParams added in v1.0.0

func NewUpdateHttpLargeGroupParams() UpdateHttpLargeGroupParams

NewUpdateHttpLargeGroupParams creates a new instance of UpdateHttpLargeGroupParams

type UpdateOriginParams added in v1.0.0

type UpdateOriginParams struct {
	// http-large or adn
	MediaType string

	// Customer Origin Id
	Id int32

	// The modified Customer Origin
	CustomerOriginRequest CustomerOriginRequest
}

UpdateOriginParams contains the parameters for UpdateOrigin

func NewUpdateOriginParams added in v1.0.0

func NewUpdateOriginParams() UpdateOriginParams

NewUpdateOriginParams creates a new instance of UpdateOriginParams

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL