v1beta2api

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedDomainStatusEnumValues = []DomainStatus{
	"CREATING",
	"ACTIVE",
	"UPDATING",
	"DELETING",
	"ERROR",
}

All allowed values of DomainStatus enum

View Source
var AllowedRegionEnumValues = []Region{
	"EU",
	"US",
	"AF",
	"SA",
	"ASIA",
}

All allowed values of Region enum

View Source
var AllowedWAFRuleActionEnumValues = []WAFRuleAction{
	"BLOCKED",
	"LOGGED",
	"ALLOWED",
}

All allowed values of WAFRuleAction enum

View Source
var AllowedWafModeEnumValues = []WafMode{
	"DISABLED",
	"ENABLED",
	"LOG_ONLY",
}

All allowed values of WafMode enum

View Source
var AllowedWafParanoiaLevelEnumValues = []WafParanoiaLevel{
	"L1",
	"L2",
	"L3",
	"L4",
}

All allowed values of WafParanoiaLevel enum

View Source
var AllowedWafTypeEnumValues = []WafType{
	"FREE",
	"PREMIUM",
}

All allowed values of WafType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

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 APIClient

type APIClient struct {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the CDN API API v1beta2.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateDistributionRequest

type ApiCreateDistributionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateDistributionRequest) CreateDistributionPayload

func (r ApiCreateDistributionRequest) CreateDistributionPayload(createDistributionPayload CreateDistributionPayload) ApiCreateDistributionRequest

func (ApiCreateDistributionRequest) Execute

type ApiDeleteCustomDomainRequest

type ApiDeleteCustomDomainRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteCustomDomainRequest) Execute

func (ApiDeleteCustomDomainRequest) IntentId

type ApiDeleteDistributionRequest

type ApiDeleteDistributionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteDistributionRequest) Execute

func (ApiDeleteDistributionRequest) IntentId

While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple DELETE-Requests with the same `intentId` are received, all but the first request are dropped.

type ApiFindCachePathsRequest

type ApiFindCachePathsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiFindCachePathsRequest) Execute

func (ApiFindCachePathsRequest) Path

A substring of the search query.

type ApiGetCacheInfoRequest

type ApiGetCacheInfoRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetCacheInfoRequest) Execute

func (ApiGetCacheInfoRequest) PurgePath

func (r ApiGetCacheInfoRequest) PurgePath(purgePath string) ApiGetCacheInfoRequest

type ApiGetCustomDomainRequest

type ApiGetCustomDomainRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetCustomDomainRequest) Execute

type ApiGetDistributionRequest

type ApiGetDistributionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetDistributionRequest) Execute

func (ApiGetDistributionRequest) WithWafStatus

func (r ApiGetDistributionRequest) WithWafStatus(withWafStatus bool) ApiGetDistributionRequest

If set, the top level of a distribution contains a `waf` property, which defines the status of the waf. This includes a list of all resolved rules.

type ApiGetLogsRequest

type ApiGetLogsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetLogsRequest) CacheHit

func (r ApiGetLogsRequest) CacheHit(cacheHit bool) ApiGetLogsRequest

Filters based on whether the request was served from the CDN cache. Can be combined with other filters

func (ApiGetLogsRequest) DataCenterRegion

func (r ApiGetLogsRequest) DataCenterRegion(dataCenterRegion string) ApiGetLogsRequest

Filters by the CDN data center region that served the request. Can be combined with other filters

func (ApiGetLogsRequest) Execute

func (r ApiGetLogsRequest) Execute() (*GetLogsResponse, error)

func (ApiGetLogsRequest) From

the start of the time range for which logs should be returned

func (ApiGetLogsRequest) PageIdentifier

func (r ApiGetLogsRequest) PageIdentifier(pageIdentifier string) ApiGetLogsRequest

Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API.

func (ApiGetLogsRequest) PageSize

func (r ApiGetLogsRequest) PageSize(pageSize int32) ApiGetLogsRequest

Quantifies how many log entries should be returned on this page. Must be a natural number between 1 and 1000 (inclusive)

func (ApiGetLogsRequest) RequestCountryCode

func (r ApiGetLogsRequest) RequestCountryCode(requestCountryCode string) ApiGetLogsRequest

Filters by the originating country of the user request. Can be combined with other filters

func (ApiGetLogsRequest) SortBy

func (r ApiGetLogsRequest) SortBy(sortBy string) ApiGetLogsRequest

Sorts the log messages by a specific field. Defaults to `timestamp`. Supported sort options: - `timestamp` - `dataCenterRegion` - `requestCountryCode` - `statusCode` - `cacheHit` - `size` - `path` - `host`

func (ApiGetLogsRequest) SortOrder

func (r ApiGetLogsRequest) SortOrder(sortOrder string) ApiGetLogsRequest

func (ApiGetLogsRequest) StatusCode

func (r ApiGetLogsRequest) StatusCode(statusCode int32) ApiGetLogsRequest

Filters by the HTTP status code returned to the client. Can be combined with other filters

func (ApiGetLogsRequest) To

the end of the time range for which logs should be returned. If not specified, \"now\" is used.

func (ApiGetLogsRequest) WafAction

func (r ApiGetLogsRequest) WafAction(wafAction WAFRuleAction) ApiGetLogsRequest

If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked

type ApiGetLogsSearchFiltersRequest

type ApiGetLogsSearchFiltersRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetLogsSearchFiltersRequest) Execute

func (ApiGetLogsSearchFiltersRequest) Filter

Optional search string. Will search the **values** for the text input.

type ApiGetStatisticsRequest

type ApiGetStatisticsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetStatisticsRequest) Execute

func (ApiGetStatisticsRequest) From

the start of the time range for which statistics should be returned

func (ApiGetStatisticsRequest) Interval

Over which interval should statistics be aggregated? defaults to hourly resolution **NOTE**: Intervals are grouped in buckets that start and end based on a day in UTC+0 time. So for the `daily` interval, the group starts (inclusive) and ends (exclusive) at `00:00Z`

func (ApiGetStatisticsRequest) To

the end of the time range for which statistics should be returned. If not specified, the end of the current time interval is used, e.g. next day for daily, next month for monthly, and so on.

type ApiListDistributionsRequest

type ApiListDistributionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListDistributionsRequest) Execute

func (ApiListDistributionsRequest) PageIdentifier

func (r ApiListDistributionsRequest) PageIdentifier(pageIdentifier string) ApiListDistributionsRequest

Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API.

func (ApiListDistributionsRequest) PageSize

Quantifies how many distributions should be returned on this page. Must be a natural number between 1 and 100 (inclusive)

func (ApiListDistributionsRequest) SortBy

The following sort options exist. We default to `createdAt` - `id` - Sort by distribution Id using String comparison - `updatedAt` - Sort by when the distribution configuration was last modified, for example by changing the regions or response headers - `createdAt` - Sort by when the distribution was initially created. - `originUrl` - Sort by originUrl using String comparison - `status` - Sort by distribution status, using String comparison - `originUrlRelated` - The originUrl is segmented and reversed before sorting. E.g. `www.example.com` is converted to `com.example.www` for sorting. This way, distributions pointing to the same domain trees are grouped next to each other.

func (ApiListDistributionsRequest) SortOrder

func (ApiListDistributionsRequest) WithWafStatus

func (r ApiListDistributionsRequest) WithWafStatus(withWafStatus bool) ApiListDistributionsRequest

If set, the top level of a distribution contains a `waf` property, which defines the status of the waf. This includes a list of all resolved rules.

type ApiListWafCollectionsRequest

type ApiListWafCollectionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListWafCollectionsRequest) Execute

type ApiPatchDistributionRequest

type ApiPatchDistributionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiPatchDistributionRequest) Execute

func (ApiPatchDistributionRequest) PatchDistributionPayload

func (r ApiPatchDistributionRequest) PatchDistributionPayload(patchDistributionPayload PatchDistributionPayload) ApiPatchDistributionRequest

type ApiPurgeCacheRequest

type ApiPurgeCacheRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiPurgeCacheRequest) Execute

func (r ApiPurgeCacheRequest) Execute() (map[string]interface{}, error)

func (ApiPurgeCacheRequest) PurgeCachePayload

func (r ApiPurgeCacheRequest) PurgeCachePayload(purgeCachePayload PurgeCachePayload) ApiPurgeCacheRequest

type ApiPutCustomDomainRequest

type ApiPutCustomDomainRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiPutCustomDomainRequest) Execute

func (ApiPutCustomDomainRequest) PutCustomDomainPayload

func (r ApiPutCustomDomainRequest) PutCustomDomainPayload(putCustomDomainPayload PutCustomDomainPayload) ApiPutCustomDomainRequest

type BucketBackend

type BucketBackend struct {
	BucketUrl string `json:"bucketUrl"`
	Region    string `json:"region"`
	Type      string `json:"type"`
}

BucketBackend struct for BucketBackend

func NewBucketBackend

func NewBucketBackend(bucketUrl string, region string, types string) *BucketBackend

NewBucketBackend instantiates a new BucketBackend 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 NewBucketBackendWithDefaults

func NewBucketBackendWithDefaults() *BucketBackend

NewBucketBackendWithDefaults instantiates a new BucketBackend 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 (*BucketBackend) GetBucketUrl

func (o *BucketBackend) GetBucketUrl() string

GetBucketUrl returns the BucketUrl field value

func (*BucketBackend) GetBucketUrlOk

func (o *BucketBackend) GetBucketUrlOk() (*string, bool)

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

func (*BucketBackend) GetRegion

func (o *BucketBackend) GetRegion() string

GetRegion returns the Region field value

func (*BucketBackend) GetRegionOk

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

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

func (*BucketBackend) GetType

func (o *BucketBackend) GetType() string

GetType returns the Type field value

func (*BucketBackend) GetTypeOk

func (o *BucketBackend) GetTypeOk() (*string, bool)

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

func (BucketBackend) MarshalJSON

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

func (*BucketBackend) SetBucketUrl

func (o *BucketBackend) SetBucketUrl(v string)

SetBucketUrl sets field value

func (*BucketBackend) SetRegion

func (o *BucketBackend) SetRegion(v string)

SetRegion sets field value

func (*BucketBackend) SetType

func (o *BucketBackend) SetType(v string)

SetType sets field value

func (BucketBackend) ToMap

func (o BucketBackend) ToMap() (map[string]interface{}, error)

func (*BucketBackend) UnmarshalJSON

func (o *BucketBackend) UnmarshalJSON(data []byte) (err error)

type BucketBackendCreate

type BucketBackendCreate struct {
	BucketUrl   string            `json:"bucketUrl"`
	Credentials BucketCredentials `json:"credentials"`
	Region      string            `json:"region"`
	Type        string            `json:"type"`
}

BucketBackendCreate struct for BucketBackendCreate

func NewBucketBackendCreate

func NewBucketBackendCreate(bucketUrl string, credentials BucketCredentials, region string, types string) *BucketBackendCreate

NewBucketBackendCreate instantiates a new BucketBackendCreate 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 NewBucketBackendCreateWithDefaults

func NewBucketBackendCreateWithDefaults() *BucketBackendCreate

NewBucketBackendCreateWithDefaults instantiates a new BucketBackendCreate 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 (*BucketBackendCreate) GetBucketUrl

func (o *BucketBackendCreate) GetBucketUrl() string

GetBucketUrl returns the BucketUrl field value

func (*BucketBackendCreate) GetBucketUrlOk

func (o *BucketBackendCreate) GetBucketUrlOk() (*string, bool)

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

func (*BucketBackendCreate) GetCredentials

func (o *BucketBackendCreate) GetCredentials() BucketCredentials

GetCredentials returns the Credentials field value

func (*BucketBackendCreate) GetCredentialsOk

func (o *BucketBackendCreate) GetCredentialsOk() (*BucketCredentials, bool)

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

func (*BucketBackendCreate) GetRegion

func (o *BucketBackendCreate) GetRegion() string

GetRegion returns the Region field value

func (*BucketBackendCreate) GetRegionOk

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

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

func (*BucketBackendCreate) GetType

func (o *BucketBackendCreate) GetType() string

GetType returns the Type field value

func (*BucketBackendCreate) GetTypeOk

func (o *BucketBackendCreate) GetTypeOk() (*string, bool)

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

func (BucketBackendCreate) MarshalJSON

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

func (*BucketBackendCreate) SetBucketUrl

func (o *BucketBackendCreate) SetBucketUrl(v string)

SetBucketUrl sets field value

func (*BucketBackendCreate) SetCredentials

func (o *BucketBackendCreate) SetCredentials(v BucketCredentials)

SetCredentials sets field value

func (*BucketBackendCreate) SetRegion

func (o *BucketBackendCreate) SetRegion(v string)

SetRegion sets field value

func (*BucketBackendCreate) SetType

func (o *BucketBackendCreate) SetType(v string)

SetType sets field value

func (BucketBackendCreate) ToMap

func (o BucketBackendCreate) ToMap() (map[string]interface{}, error)

func (*BucketBackendCreate) UnmarshalJSON

func (o *BucketBackendCreate) UnmarshalJSON(data []byte) (err error)

type BucketBackendPatch

type BucketBackendPatch struct {
	BucketUrl   *string            `json:"bucketUrl,omitempty"`
	Credentials *BucketCredentials `json:"credentials,omitempty"`
	Region      *string            `json:"region,omitempty"`
	Type        string             `json:"type"`
}

BucketBackendPatch struct for BucketBackendPatch

func NewBucketBackendPatch

func NewBucketBackendPatch(types string) *BucketBackendPatch

NewBucketBackendPatch instantiates a new BucketBackendPatch 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 NewBucketBackendPatchWithDefaults

func NewBucketBackendPatchWithDefaults() *BucketBackendPatch

NewBucketBackendPatchWithDefaults instantiates a new BucketBackendPatch 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 (*BucketBackendPatch) GetBucketUrl

func (o *BucketBackendPatch) GetBucketUrl() string

GetBucketUrl returns the BucketUrl field value if set, zero value otherwise.

func (*BucketBackendPatch) GetBucketUrlOk

func (o *BucketBackendPatch) GetBucketUrlOk() (*string, bool)

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

func (*BucketBackendPatch) GetCredentials

func (o *BucketBackendPatch) GetCredentials() BucketCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*BucketBackendPatch) GetCredentialsOk

func (o *BucketBackendPatch) GetCredentialsOk() (*BucketCredentials, bool)

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

func (*BucketBackendPatch) GetRegion

func (o *BucketBackendPatch) GetRegion() string

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

func (*BucketBackendPatch) GetRegionOk

func (o *BucketBackendPatch) 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 (*BucketBackendPatch) GetType

func (o *BucketBackendPatch) GetType() string

GetType returns the Type field value

func (*BucketBackendPatch) GetTypeOk

func (o *BucketBackendPatch) GetTypeOk() (*string, bool)

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

func (*BucketBackendPatch) HasBucketUrl

func (o *BucketBackendPatch) HasBucketUrl() bool

HasBucketUrl returns a boolean if a field has been set.

func (*BucketBackendPatch) HasCredentials

func (o *BucketBackendPatch) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*BucketBackendPatch) HasRegion

func (o *BucketBackendPatch) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (BucketBackendPatch) MarshalJSON

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

func (*BucketBackendPatch) SetBucketUrl

func (o *BucketBackendPatch) SetBucketUrl(v string)

SetBucketUrl gets a reference to the given string and assigns it to the BucketUrl field.

func (*BucketBackendPatch) SetCredentials

func (o *BucketBackendPatch) SetCredentials(v BucketCredentials)

SetCredentials gets a reference to the given BucketCredentials and assigns it to the Credentials field.

func (*BucketBackendPatch) SetRegion

func (o *BucketBackendPatch) SetRegion(v string)

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

func (*BucketBackendPatch) SetType

func (o *BucketBackendPatch) SetType(v string)

SetType sets field value

func (BucketBackendPatch) ToMap

func (o BucketBackendPatch) ToMap() (map[string]interface{}, error)

func (*BucketBackendPatch) UnmarshalJSON

func (o *BucketBackendPatch) UnmarshalJSON(data []byte) (err error)

type BucketCredentials

type BucketCredentials struct {
	AccessKeyId     string `json:"accessKeyId"`
	SecretAccessKey string `json:"secretAccessKey"`
}

BucketCredentials struct for BucketCredentials

func NewBucketCredentials

func NewBucketCredentials(accessKeyId string, secretAccessKey string) *BucketCredentials

NewBucketCredentials instantiates a new BucketCredentials 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 NewBucketCredentialsWithDefaults

func NewBucketCredentialsWithDefaults() *BucketCredentials

NewBucketCredentialsWithDefaults instantiates a new BucketCredentials 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 (*BucketCredentials) GetAccessKeyId

func (o *BucketCredentials) GetAccessKeyId() string

GetAccessKeyId returns the AccessKeyId field value

func (*BucketCredentials) GetAccessKeyIdOk

func (o *BucketCredentials) GetAccessKeyIdOk() (*string, bool)

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

func (*BucketCredentials) GetSecretAccessKey

func (o *BucketCredentials) GetSecretAccessKey() string

GetSecretAccessKey returns the SecretAccessKey field value

func (*BucketCredentials) GetSecretAccessKeyOk

func (o *BucketCredentials) GetSecretAccessKeyOk() (*string, bool)

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

func (BucketCredentials) MarshalJSON

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

func (*BucketCredentials) SetAccessKeyId

func (o *BucketCredentials) SetAccessKeyId(v string)

SetAccessKeyId sets field value

func (*BucketCredentials) SetSecretAccessKey

func (o *BucketCredentials) SetSecretAccessKey(v string)

SetSecretAccessKey sets field value

func (BucketCredentials) ToMap

func (o BucketCredentials) ToMap() (map[string]interface{}, error)

func (*BucketCredentials) UnmarshalJSON

func (o *BucketCredentials) UnmarshalJSON(data []byte) (err error)

type Config

type Config struct {
	Backend ConfigBackend `json:"backend"`
	// Restricts access to your content based on country.  We use the ISO 3166-1 alpha-2 standard for country codes (e.g. DE, ES, GB).  This setting blocks users from the specified countries.
	BlockedCountries []string `json:"blockedCountries"`
	// Restricts access to your content by specifying a list of blocked IPv4 addresses.  This feature enhances security and privacy by preventing these addresses from accessing your distribution.
	BlockedIps []string `json:"blockedIps"`
	// Sets the default cache duration for the distribution.  The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M)
	DefaultCacheDuration NullableString `json:"defaultCacheDuration,omitempty"`
	LogSink              *LokiLogSink   `json:"logSink,omitempty"`
	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
	MonthlyLimitBytes NullableInt64 `json:"monthlyLimitBytes,omitempty"`
	Optimizer         *Optimizer    `json:"optimizer,omitempty"`
	Regions           []Region      `json:"regions"`
	Waf               WafConfig     `json:"waf"`
}

Config struct for Config

func NewConfig

func NewConfig(backend ConfigBackend, blockedCountries []string, blockedIps []string, regions []Region, waf WafConfig) *Config

NewConfig instantiates a new Config 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 NewConfigWithDefaults

func NewConfigWithDefaults() *Config

NewConfigWithDefaults instantiates a new Config 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 (*Config) GetBackend

func (o *Config) GetBackend() ConfigBackend

GetBackend returns the Backend field value

func (*Config) GetBackendOk

func (o *Config) GetBackendOk() (*ConfigBackend, bool)

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

func (*Config) GetBlockedCountries

func (o *Config) GetBlockedCountries() []string

GetBlockedCountries returns the BlockedCountries field value

func (*Config) GetBlockedCountriesOk

func (o *Config) GetBlockedCountriesOk() ([]string, bool)

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

func (*Config) GetBlockedIps

func (o *Config) GetBlockedIps() []string

GetBlockedIps returns the BlockedIps field value

func (*Config) GetBlockedIpsOk

func (o *Config) GetBlockedIpsOk() ([]string, bool)

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

func (*Config) GetDefaultCacheDuration

func (o *Config) GetDefaultCacheDuration() string

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

func (*Config) GetDefaultCacheDurationOk

func (o *Config) GetDefaultCacheDurationOk() (*string, bool)

GetDefaultCacheDurationOk returns a tuple with the DefaultCacheDuration 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 (*Config) GetLogSink

func (o *Config) GetLogSink() LokiLogSink

GetLogSink returns the LogSink field value if set, zero value otherwise.

func (*Config) GetLogSinkOk

func (o *Config) GetLogSinkOk() (*LokiLogSink, bool)

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

func (*Config) GetMonthlyLimitBytes

func (o *Config) GetMonthlyLimitBytes() int64

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

func (*Config) GetMonthlyLimitBytesOk

func (o *Config) GetMonthlyLimitBytesOk() (*int64, bool)

GetMonthlyLimitBytesOk returns a tuple with the MonthlyLimitBytes 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 (*Config) GetOptimizer

func (o *Config) GetOptimizer() Optimizer

GetOptimizer returns the Optimizer field value if set, zero value otherwise.

func (*Config) GetOptimizerOk

func (o *Config) GetOptimizerOk() (*Optimizer, bool)

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

func (*Config) GetRegions

func (o *Config) GetRegions() []Region

GetRegions returns the Regions field value

func (*Config) GetRegionsOk

func (o *Config) GetRegionsOk() ([]Region, bool)

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

func (*Config) GetWaf

func (o *Config) GetWaf() WafConfig

GetWaf returns the Waf field value

func (*Config) GetWafOk

func (o *Config) GetWafOk() (*WafConfig, bool)

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

func (*Config) HasDefaultCacheDuration

func (o *Config) HasDefaultCacheDuration() bool

HasDefaultCacheDuration returns a boolean if a field has been set.

func (*Config) HasLogSink

func (o *Config) HasLogSink() bool

HasLogSink returns a boolean if a field has been set.

func (*Config) HasMonthlyLimitBytes

func (o *Config) HasMonthlyLimitBytes() bool

HasMonthlyLimitBytes returns a boolean if a field has been set.

func (*Config) HasOptimizer

func (o *Config) HasOptimizer() bool

HasOptimizer returns a boolean if a field has been set.

func (Config) MarshalJSON

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

func (*Config) SetBackend

func (o *Config) SetBackend(v ConfigBackend)

SetBackend sets field value

func (*Config) SetBlockedCountries

func (o *Config) SetBlockedCountries(v []string)

SetBlockedCountries sets field value

func (*Config) SetBlockedIps

func (o *Config) SetBlockedIps(v []string)

SetBlockedIps sets field value

func (*Config) SetDefaultCacheDuration

func (o *Config) SetDefaultCacheDuration(v string)

SetDefaultCacheDuration gets a reference to the given NullableString and assigns it to the DefaultCacheDuration field.

func (*Config) SetDefaultCacheDurationNil

func (o *Config) SetDefaultCacheDurationNil()

SetDefaultCacheDurationNil sets the value for DefaultCacheDuration to be an explicit nil

func (*Config) SetLogSink

func (o *Config) SetLogSink(v LokiLogSink)

SetLogSink gets a reference to the given LokiLogSink and assigns it to the LogSink field.

func (*Config) SetMonthlyLimitBytes

func (o *Config) SetMonthlyLimitBytes(v int64)

SetMonthlyLimitBytes gets a reference to the given NullableInt64 and assigns it to the MonthlyLimitBytes field.

func (*Config) SetMonthlyLimitBytesNil

func (o *Config) SetMonthlyLimitBytesNil()

SetMonthlyLimitBytesNil sets the value for MonthlyLimitBytes to be an explicit nil

func (*Config) SetOptimizer

func (o *Config) SetOptimizer(v Optimizer)

SetOptimizer gets a reference to the given Optimizer and assigns it to the Optimizer field.

func (*Config) SetRegions

func (o *Config) SetRegions(v []Region)

SetRegions sets field value

func (*Config) SetWaf

func (o *Config) SetWaf(v WafConfig)

SetWaf sets field value

func (Config) ToMap

func (o Config) ToMap() (map[string]interface{}, error)

func (*Config) UnmarshalJSON

func (o *Config) UnmarshalJSON(data []byte) (err error)

func (*Config) UnsetDefaultCacheDuration

func (o *Config) UnsetDefaultCacheDuration()

UnsetDefaultCacheDuration ensures that no value is present for DefaultCacheDuration, not even an explicit nil

func (*Config) UnsetMonthlyLimitBytes

func (o *Config) UnsetMonthlyLimitBytes()

UnsetMonthlyLimitBytes ensures that no value is present for MonthlyLimitBytes, not even an explicit nil

type ConfigBackend

type ConfigBackend struct {
	BucketBackend *BucketBackend
	HttpBackend   *HttpBackend
}

ConfigBackend - struct for ConfigBackend

func BucketBackendAsConfigBackend

func BucketBackendAsConfigBackend(v *BucketBackend) ConfigBackend

BucketBackendAsConfigBackend is a convenience function that returns BucketBackend wrapped in ConfigBackend

func HttpBackendAsConfigBackend

func HttpBackendAsConfigBackend(v *HttpBackend) ConfigBackend

HttpBackendAsConfigBackend is a convenience function that returns HttpBackend wrapped in ConfigBackend

func (*ConfigBackend) GetActualInstance

func (obj *ConfigBackend) GetActualInstance() interface{}

Get the actual instance

func (ConfigBackend) GetActualInstanceValue

func (obj ConfigBackend) GetActualInstanceValue() interface{}

Get the actual instance value

func (ConfigBackend) MarshalJSON

func (src ConfigBackend) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ConfigBackend) UnmarshalJSON

func (dst *ConfigBackend) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ConfigPatch

type ConfigPatch struct {
	Backend *ConfigPatchBackend `json:"backend,omitempty"`
	// Restricts access to your content based on country.  We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB).  This setting blocks users from the specified countries.
	BlockedCountries []string `json:"blockedCountries,omitempty"`
	// Restricts access to your content by specifying a list of blocked IPv4 addresses.  This feature enhances security and privacy by preventing these addresses from accessing your distribution.
	BlockedIps []string `json:"blockedIps,omitempty"`
	// Sets the default cache duration for the distribution.  The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M)
	DefaultCacheDuration NullableString           `json:"defaultCacheDuration,omitempty"`
	LogSink              NullableLokiLogSinkPatch `json:"logSink,omitempty"`
	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
	MonthlyLimitBytes NullableInt64   `json:"monthlyLimitBytes,omitempty"`
	Optimizer         *OptimizerPatch `json:"optimizer,omitempty"`
	Regions           []Region        `json:"regions,omitempty"`
	Waf               *WafConfigPatch `json:"waf,omitempty"`
}

ConfigPatch struct for ConfigPatch

func NewConfigPatch

func NewConfigPatch() *ConfigPatch

NewConfigPatch instantiates a new ConfigPatch 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 NewConfigPatchWithDefaults

func NewConfigPatchWithDefaults() *ConfigPatch

NewConfigPatchWithDefaults instantiates a new ConfigPatch 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 (*ConfigPatch) GetBackend

func (o *ConfigPatch) GetBackend() ConfigPatchBackend

GetBackend returns the Backend field value if set, zero value otherwise.

func (*ConfigPatch) GetBackendOk

func (o *ConfigPatch) GetBackendOk() (*ConfigPatchBackend, bool)

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

func (*ConfigPatch) GetBlockedCountries

func (o *ConfigPatch) GetBlockedCountries() []string

GetBlockedCountries returns the BlockedCountries field value if set, zero value otherwise.

func (*ConfigPatch) GetBlockedCountriesOk

func (o *ConfigPatch) GetBlockedCountriesOk() ([]string, bool)

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

func (*ConfigPatch) GetBlockedIps

func (o *ConfigPatch) GetBlockedIps() []string

GetBlockedIps returns the BlockedIps field value if set, zero value otherwise.

func (*ConfigPatch) GetBlockedIpsOk

func (o *ConfigPatch) GetBlockedIpsOk() ([]string, bool)

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

func (*ConfigPatch) GetDefaultCacheDuration

func (o *ConfigPatch) GetDefaultCacheDuration() string

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

func (*ConfigPatch) GetDefaultCacheDurationOk

func (o *ConfigPatch) GetDefaultCacheDurationOk() (*string, bool)

GetDefaultCacheDurationOk returns a tuple with the DefaultCacheDuration 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 (*ConfigPatch) GetLogSink

func (o *ConfigPatch) GetLogSink() LokiLogSinkPatch

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

func (*ConfigPatch) GetLogSinkOk

func (o *ConfigPatch) GetLogSinkOk() (*LokiLogSinkPatch, bool)

GetLogSinkOk returns a tuple with the LogSink 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 (*ConfigPatch) GetMonthlyLimitBytes

func (o *ConfigPatch) GetMonthlyLimitBytes() int64

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

func (*ConfigPatch) GetMonthlyLimitBytesOk

func (o *ConfigPatch) GetMonthlyLimitBytesOk() (*int64, bool)

GetMonthlyLimitBytesOk returns a tuple with the MonthlyLimitBytes 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 (*ConfigPatch) GetOptimizer

func (o *ConfigPatch) GetOptimizer() OptimizerPatch

GetOptimizer returns the Optimizer field value if set, zero value otherwise.

func (*ConfigPatch) GetOptimizerOk

func (o *ConfigPatch) GetOptimizerOk() (*OptimizerPatch, bool)

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

func (*ConfigPatch) GetRegions

func (o *ConfigPatch) GetRegions() []Region

GetRegions returns the Regions field value if set, zero value otherwise.

func (*ConfigPatch) GetRegionsOk

func (o *ConfigPatch) GetRegionsOk() ([]Region, bool)

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

func (*ConfigPatch) GetWaf

func (o *ConfigPatch) GetWaf() WafConfigPatch

GetWaf returns the Waf field value if set, zero value otherwise.

func (*ConfigPatch) GetWafOk

func (o *ConfigPatch) GetWafOk() (*WafConfigPatch, bool)

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

func (*ConfigPatch) HasBackend

func (o *ConfigPatch) HasBackend() bool

HasBackend returns a boolean if a field has been set.

func (*ConfigPatch) HasBlockedCountries

func (o *ConfigPatch) HasBlockedCountries() bool

HasBlockedCountries returns a boolean if a field has been set.

func (*ConfigPatch) HasBlockedIps

func (o *ConfigPatch) HasBlockedIps() bool

HasBlockedIps returns a boolean if a field has been set.

func (*ConfigPatch) HasDefaultCacheDuration

func (o *ConfigPatch) HasDefaultCacheDuration() bool

HasDefaultCacheDuration returns a boolean if a field has been set.

func (*ConfigPatch) HasLogSink

func (o *ConfigPatch) HasLogSink() bool

HasLogSink returns a boolean if a field has been set.

func (*ConfigPatch) HasMonthlyLimitBytes

func (o *ConfigPatch) HasMonthlyLimitBytes() bool

HasMonthlyLimitBytes returns a boolean if a field has been set.

func (*ConfigPatch) HasOptimizer

func (o *ConfigPatch) HasOptimizer() bool

HasOptimizer returns a boolean if a field has been set.

func (*ConfigPatch) HasRegions

func (o *ConfigPatch) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (*ConfigPatch) HasWaf

func (o *ConfigPatch) HasWaf() bool

HasWaf returns a boolean if a field has been set.

func (ConfigPatch) MarshalJSON

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

func (*ConfigPatch) SetBackend

func (o *ConfigPatch) SetBackend(v ConfigPatchBackend)

SetBackend gets a reference to the given ConfigPatchBackend and assigns it to the Backend field.

func (*ConfigPatch) SetBlockedCountries

func (o *ConfigPatch) SetBlockedCountries(v []string)

SetBlockedCountries gets a reference to the given []string and assigns it to the BlockedCountries field.

func (*ConfigPatch) SetBlockedIps

func (o *ConfigPatch) SetBlockedIps(v []string)

SetBlockedIps gets a reference to the given []string and assigns it to the BlockedIps field.

func (*ConfigPatch) SetDefaultCacheDuration

func (o *ConfigPatch) SetDefaultCacheDuration(v string)

SetDefaultCacheDuration gets a reference to the given NullableString and assigns it to the DefaultCacheDuration field.

func (*ConfigPatch) SetDefaultCacheDurationNil

func (o *ConfigPatch) SetDefaultCacheDurationNil()

SetDefaultCacheDurationNil sets the value for DefaultCacheDuration to be an explicit nil

func (*ConfigPatch) SetLogSink

func (o *ConfigPatch) SetLogSink(v LokiLogSinkPatch)

SetLogSink gets a reference to the given NullableLokiLogSinkPatch and assigns it to the LogSink field.

func (*ConfigPatch) SetLogSinkNil

func (o *ConfigPatch) SetLogSinkNil()

SetLogSinkNil sets the value for LogSink to be an explicit nil

func (*ConfigPatch) SetMonthlyLimitBytes

func (o *ConfigPatch) SetMonthlyLimitBytes(v int64)

SetMonthlyLimitBytes gets a reference to the given NullableInt64 and assigns it to the MonthlyLimitBytes field.

func (*ConfigPatch) SetMonthlyLimitBytesNil

func (o *ConfigPatch) SetMonthlyLimitBytesNil()

SetMonthlyLimitBytesNil sets the value for MonthlyLimitBytes to be an explicit nil

func (*ConfigPatch) SetOptimizer

func (o *ConfigPatch) SetOptimizer(v OptimizerPatch)

SetOptimizer gets a reference to the given OptimizerPatch and assigns it to the Optimizer field.

func (*ConfigPatch) SetRegions

func (o *ConfigPatch) SetRegions(v []Region)

SetRegions gets a reference to the given []Region and assigns it to the Regions field.

func (*ConfigPatch) SetWaf

func (o *ConfigPatch) SetWaf(v WafConfigPatch)

SetWaf gets a reference to the given WafConfigPatch and assigns it to the Waf field.

func (ConfigPatch) ToMap

func (o ConfigPatch) ToMap() (map[string]interface{}, error)

func (*ConfigPatch) UnsetDefaultCacheDuration

func (o *ConfigPatch) UnsetDefaultCacheDuration()

UnsetDefaultCacheDuration ensures that no value is present for DefaultCacheDuration, not even an explicit nil

func (*ConfigPatch) UnsetLogSink

func (o *ConfigPatch) UnsetLogSink()

UnsetLogSink ensures that no value is present for LogSink, not even an explicit nil

func (*ConfigPatch) UnsetMonthlyLimitBytes

func (o *ConfigPatch) UnsetMonthlyLimitBytes()

UnsetMonthlyLimitBytes ensures that no value is present for MonthlyLimitBytes, not even an explicit nil

type ConfigPatchBackend

type ConfigPatchBackend struct {
	BucketBackendPatch *BucketBackendPatch
	HttpBackendPatch   *HttpBackendPatch
}

ConfigPatchBackend - struct for ConfigPatchBackend

func BucketBackendPatchAsConfigPatchBackend

func BucketBackendPatchAsConfigPatchBackend(v *BucketBackendPatch) ConfigPatchBackend

BucketBackendPatchAsConfigPatchBackend is a convenience function that returns BucketBackendPatch wrapped in ConfigPatchBackend

func HttpBackendPatchAsConfigPatchBackend

func HttpBackendPatchAsConfigPatchBackend(v *HttpBackendPatch) ConfigPatchBackend

HttpBackendPatchAsConfigPatchBackend is a convenience function that returns HttpBackendPatch wrapped in ConfigPatchBackend

func (*ConfigPatchBackend) GetActualInstance

func (obj *ConfigPatchBackend) GetActualInstance() interface{}

Get the actual instance

func (ConfigPatchBackend) GetActualInstanceValue

func (obj ConfigPatchBackend) GetActualInstanceValue() interface{}

Get the actual instance value

func (ConfigPatchBackend) MarshalJSON

func (src ConfigPatchBackend) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*ConfigPatchBackend) UnmarshalJSON

func (dst *ConfigPatchBackend) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateDistributionPayload

type CreateDistributionPayload struct {
	Backend CreateDistributionPayloadBackend `json:"backend"`
	// Restricts access to your content based on country.  We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB).  This setting blocks users from the specified countries.
	BlockedCountries []string `json:"blockedCountries,omitempty"`
	// Restricts access to your content by specifying a list of blocked IPv4 addresses.  This feature enhances security and privacy by preventing these addresses from accessing your distribution.
	BlockedIps []string `json:"blockedIps,omitempty"`
	// Sets the default cache duration for the distribution.  The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M)
	DefaultCacheDuration *string `json:"defaultCacheDuration,omitempty"`
	// While optional, it is greatly encouraged to provide an `intentId`.  This is used to deduplicate requests.   If multiple POST-Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.
	IntentId *string            `json:"intentId,omitempty"`
	LogSink  *LokiLogSinkCreate `json:"logSink,omitempty"`
	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
	MonthlyLimitBytes *int64     `json:"monthlyLimitBytes,omitempty"`
	Optimizer         *Optimizer `json:"optimizer,omitempty"`
	// Define in which regions you would like your content to be cached.
	Regions []Region   `json:"regions"`
	Waf     *WafConfig `json:"waf,omitempty"`
}

CreateDistributionPayload struct for CreateDistributionPayload

func NewCreateDistributionPayload

func NewCreateDistributionPayload(backend CreateDistributionPayloadBackend, regions []Region) *CreateDistributionPayload

NewCreateDistributionPayload instantiates a new CreateDistributionPayload 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 NewCreateDistributionPayloadWithDefaults

func NewCreateDistributionPayloadWithDefaults() *CreateDistributionPayload

NewCreateDistributionPayloadWithDefaults instantiates a new CreateDistributionPayload 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 (*CreateDistributionPayload) GetBackend

GetBackend returns the Backend field value

func (*CreateDistributionPayload) GetBackendOk

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

func (*CreateDistributionPayload) GetBlockedCountries

func (o *CreateDistributionPayload) GetBlockedCountries() []string

GetBlockedCountries returns the BlockedCountries field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetBlockedCountriesOk

func (o *CreateDistributionPayload) GetBlockedCountriesOk() ([]string, bool)

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

func (*CreateDistributionPayload) GetBlockedIps

func (o *CreateDistributionPayload) GetBlockedIps() []string

GetBlockedIps returns the BlockedIps field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetBlockedIpsOk

func (o *CreateDistributionPayload) GetBlockedIpsOk() ([]string, bool)

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

func (*CreateDistributionPayload) GetDefaultCacheDuration

func (o *CreateDistributionPayload) GetDefaultCacheDuration() string

GetDefaultCacheDuration returns the DefaultCacheDuration field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetDefaultCacheDurationOk

func (o *CreateDistributionPayload) GetDefaultCacheDurationOk() (*string, bool)

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

func (*CreateDistributionPayload) GetIntentId

func (o *CreateDistributionPayload) GetIntentId() string

GetIntentId returns the IntentId field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetIntentIdOk

func (o *CreateDistributionPayload) GetIntentIdOk() (*string, bool)

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

func (*CreateDistributionPayload) GetLogSink

GetLogSink returns the LogSink field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetLogSinkOk

func (o *CreateDistributionPayload) GetLogSinkOk() (*LokiLogSinkCreate, bool)

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

func (*CreateDistributionPayload) GetMonthlyLimitBytes

func (o *CreateDistributionPayload) GetMonthlyLimitBytes() int64

GetMonthlyLimitBytes returns the MonthlyLimitBytes field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetMonthlyLimitBytesOk

func (o *CreateDistributionPayload) GetMonthlyLimitBytesOk() (*int64, bool)

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

func (*CreateDistributionPayload) GetOptimizer

func (o *CreateDistributionPayload) GetOptimizer() Optimizer

GetOptimizer returns the Optimizer field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetOptimizerOk

func (o *CreateDistributionPayload) GetOptimizerOk() (*Optimizer, bool)

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

func (*CreateDistributionPayload) GetRegions

func (o *CreateDistributionPayload) GetRegions() []Region

GetRegions returns the Regions field value

func (*CreateDistributionPayload) GetRegionsOk

func (o *CreateDistributionPayload) GetRegionsOk() ([]Region, bool)

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

func (*CreateDistributionPayload) GetWaf

GetWaf returns the Waf field value if set, zero value otherwise.

func (*CreateDistributionPayload) GetWafOk

func (o *CreateDistributionPayload) GetWafOk() (*WafConfig, bool)

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

func (*CreateDistributionPayload) HasBlockedCountries

func (o *CreateDistributionPayload) HasBlockedCountries() bool

HasBlockedCountries returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasBlockedIps

func (o *CreateDistributionPayload) HasBlockedIps() bool

HasBlockedIps returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasDefaultCacheDuration

func (o *CreateDistributionPayload) HasDefaultCacheDuration() bool

HasDefaultCacheDuration returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasIntentId

func (o *CreateDistributionPayload) HasIntentId() bool

HasIntentId returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasLogSink

func (o *CreateDistributionPayload) HasLogSink() bool

HasLogSink returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasMonthlyLimitBytes

func (o *CreateDistributionPayload) HasMonthlyLimitBytes() bool

HasMonthlyLimitBytes returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasOptimizer

func (o *CreateDistributionPayload) HasOptimizer() bool

HasOptimizer returns a boolean if a field has been set.

func (*CreateDistributionPayload) HasWaf

func (o *CreateDistributionPayload) HasWaf() bool

HasWaf returns a boolean if a field has been set.

func (CreateDistributionPayload) MarshalJSON

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

func (*CreateDistributionPayload) SetBackend

SetBackend sets field value

func (*CreateDistributionPayload) SetBlockedCountries

func (o *CreateDistributionPayload) SetBlockedCountries(v []string)

SetBlockedCountries gets a reference to the given []string and assigns it to the BlockedCountries field.

func (*CreateDistributionPayload) SetBlockedIps

func (o *CreateDistributionPayload) SetBlockedIps(v []string)

SetBlockedIps gets a reference to the given []string and assigns it to the BlockedIps field.

func (*CreateDistributionPayload) SetDefaultCacheDuration

func (o *CreateDistributionPayload) SetDefaultCacheDuration(v string)

SetDefaultCacheDuration gets a reference to the given string and assigns it to the DefaultCacheDuration field.

func (*CreateDistributionPayload) SetIntentId

func (o *CreateDistributionPayload) SetIntentId(v string)

SetIntentId gets a reference to the given string and assigns it to the IntentId field.

func (*CreateDistributionPayload) SetLogSink

SetLogSink gets a reference to the given LokiLogSinkCreate and assigns it to the LogSink field.

func (*CreateDistributionPayload) SetMonthlyLimitBytes

func (o *CreateDistributionPayload) SetMonthlyLimitBytes(v int64)

SetMonthlyLimitBytes gets a reference to the given int64 and assigns it to the MonthlyLimitBytes field.

func (*CreateDistributionPayload) SetOptimizer

func (o *CreateDistributionPayload) SetOptimizer(v Optimizer)

SetOptimizer gets a reference to the given Optimizer and assigns it to the Optimizer field.

func (*CreateDistributionPayload) SetRegions

func (o *CreateDistributionPayload) SetRegions(v []Region)

SetRegions sets field value

func (*CreateDistributionPayload) SetWaf

func (o *CreateDistributionPayload) SetWaf(v WafConfig)

SetWaf gets a reference to the given WafConfig and assigns it to the Waf field.

func (CreateDistributionPayload) ToMap

func (o CreateDistributionPayload) ToMap() (map[string]interface{}, error)

func (*CreateDistributionPayload) UnmarshalJSON

func (o *CreateDistributionPayload) UnmarshalJSON(data []byte) (err error)

type CreateDistributionPayloadBackend

type CreateDistributionPayloadBackend struct {
	BucketBackendCreate *BucketBackendCreate
	HttpBackendCreate   *HttpBackendCreate
}

CreateDistributionPayloadBackend - Configuration for the content origin backend.

func BucketBackendCreateAsCreateDistributionPayloadBackend

func BucketBackendCreateAsCreateDistributionPayloadBackend(v *BucketBackendCreate) CreateDistributionPayloadBackend

BucketBackendCreateAsCreateDistributionPayloadBackend is a convenience function that returns BucketBackendCreate wrapped in CreateDistributionPayloadBackend

func HttpBackendCreateAsCreateDistributionPayloadBackend

func HttpBackendCreateAsCreateDistributionPayloadBackend(v *HttpBackendCreate) CreateDistributionPayloadBackend

HttpBackendCreateAsCreateDistributionPayloadBackend is a convenience function that returns HttpBackendCreate wrapped in CreateDistributionPayloadBackend

func (*CreateDistributionPayloadBackend) GetActualInstance

func (obj *CreateDistributionPayloadBackend) GetActualInstance() interface{}

Get the actual instance

func (CreateDistributionPayloadBackend) GetActualInstanceValue

func (obj CreateDistributionPayloadBackend) GetActualInstanceValue() interface{}

Get the actual instance value

func (CreateDistributionPayloadBackend) MarshalJSON

func (src CreateDistributionPayloadBackend) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateDistributionPayloadBackend) UnmarshalJSON

func (dst *CreateDistributionPayloadBackend) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateDistributionResponse

type CreateDistributionResponse struct {
	Distribution Distribution `json:"distribution"`
}

CreateDistributionResponse struct for CreateDistributionResponse

func NewCreateDistributionResponse

func NewCreateDistributionResponse(distribution Distribution) *CreateDistributionResponse

NewCreateDistributionResponse instantiates a new CreateDistributionResponse 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 NewCreateDistributionResponseWithDefaults

func NewCreateDistributionResponseWithDefaults() *CreateDistributionResponse

NewCreateDistributionResponseWithDefaults instantiates a new CreateDistributionResponse 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 (*CreateDistributionResponse) GetDistribution

func (o *CreateDistributionResponse) GetDistribution() Distribution

GetDistribution returns the Distribution field value

func (*CreateDistributionResponse) GetDistributionOk

func (o *CreateDistributionResponse) GetDistributionOk() (*Distribution, bool)

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

func (CreateDistributionResponse) MarshalJSON

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

func (*CreateDistributionResponse) SetDistribution

func (o *CreateDistributionResponse) SetDistribution(v Distribution)

SetDistribution sets field value

func (CreateDistributionResponse) ToMap

func (o CreateDistributionResponse) ToMap() (map[string]interface{}, error)

func (*CreateDistributionResponse) UnmarshalJSON

func (o *CreateDistributionResponse) UnmarshalJSON(data []byte) (err error)

type CustomDomain

type CustomDomain struct {
	// This object is present if the custom domain has errors.
	Errors []StatusError `json:"errors,omitempty"`
	// The domain. Can be used as input for the GetCustomDomain endpoint
	Name   string       `json:"name"`
	Status DomainStatus `json:"status"`
}

CustomDomain Definition of a custom domain

func NewCustomDomain

func NewCustomDomain(name string, status DomainStatus) *CustomDomain

NewCustomDomain instantiates a new CustomDomain 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 NewCustomDomainWithDefaults

func NewCustomDomainWithDefaults() *CustomDomain

NewCustomDomainWithDefaults instantiates a new CustomDomain 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 (*CustomDomain) GetErrors

func (o *CustomDomain) GetErrors() []StatusError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*CustomDomain) GetErrorsOk

func (o *CustomDomain) GetErrorsOk() ([]StatusError, bool)

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

func (*CustomDomain) GetName

func (o *CustomDomain) GetName() string

GetName returns the Name field value

func (*CustomDomain) GetNameOk

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

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

func (*CustomDomain) GetStatus

func (o *CustomDomain) GetStatus() DomainStatus

GetStatus returns the Status field value

func (*CustomDomain) GetStatusOk

func (o *CustomDomain) GetStatusOk() (*DomainStatus, bool)

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

func (*CustomDomain) HasErrors

func (o *CustomDomain) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (CustomDomain) MarshalJSON

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

func (*CustomDomain) SetErrors

func (o *CustomDomain) SetErrors(v []StatusError)

SetErrors gets a reference to the given []StatusError and assigns it to the Errors field.

func (*CustomDomain) SetName

func (o *CustomDomain) SetName(v string)

SetName sets field value

func (*CustomDomain) SetStatus

func (o *CustomDomain) SetStatus(v DomainStatus)

SetStatus sets field value

func (CustomDomain) ToMap

func (o CustomDomain) ToMap() (map[string]interface{}, error)

func (*CustomDomain) UnmarshalJSON

func (o *CustomDomain) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateDistribution Create new distribution

		CreateDistribution will create a new CDN distribution

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@return ApiCreateDistributionRequest
	*/
	CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest

	// CreateDistributionExecute executes the request
	//  @return CreateDistributionResponse
	CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)

	/*
		DeleteCustomDomain Delete a custom domain

		Removes a custom domain


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@param domain
		@return ApiDeleteCustomDomainRequest
	*/
	DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest

	// DeleteCustomDomainExecute executes the request
	//  @return DeleteCustomDomainResponse
	DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)

	/*
		DeleteDistribution Delete distribution

		DeleteDistribution accepts a project- and distribution-Id and will delete a distribution.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@return ApiDeleteDistributionRequest
	*/
	DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest

	// DeleteDistributionExecute executes the request
	//  @return DeleteDistributionResponse
	DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)

	/*
			FindCachePaths Return Paths that were purged

			This returns paths that are present in the cache purging history.
		Only substrings of the provided input are returned.
		The response is sorted in descending order by the most recent purge.

		So, assuming you have have the following purged for a distribution
		- `/test/1` at `2025-01-01`
		- `/test/2` at `2025-01-02`
		- `/someOtherPath/1` at `2025-01-03`
		- `/test/1` at `2025-01-04`
		- `/test/3` at `2025-01-05`,
		this would return the following paths, in the following order, assuming `/te` was the search parameter:
		- `/test/3`
		- `/test/1`
		- `/test/2`


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Your STACKIT Project Id
			@param distributionId
			@return ApiFindCachePathsRequest
	*/
	FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest

	// FindCachePathsExecute executes the request
	//  @return FindCachePathsResponse
	FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)

	/*
			GetCacheInfo Get Infos about the Caching State

			Return caching info metadata, which contains the last cache purging time and a history of the most recent *full* purges.

		If (and only if) you provide the path query parameter, the history will also contain granular cache purges.
		The request will not fail if no data about a path is found.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Your STACKIT Project Id
			@param distributionId
			@return ApiGetCacheInfoRequest
	*/
	GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest

	// GetCacheInfoExecute executes the request
	//  @return GetCacheInfoResponse
	GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)

	/*
		GetCustomDomain Retrieve a specific custom domain

		Returns a 200 and the custom domain if this custom domain was associated to this distribution, else 404


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@param domain
		@return ApiGetCustomDomainRequest
	*/
	GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest

	// GetCustomDomainExecute executes the request
	//  @return GetCustomDomainResponse
	GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)

	/*
		GetDistribution Get distribution by Id

		This returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions also return 404.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@return ApiGetDistributionRequest
	*/
	GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest

	// GetDistributionExecute executes the request
	//  @return GetDistributionResponse
	GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error)

	/*
		GetLogs Retrieve distribution logs

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId Your CDN distribution Id
		@return ApiGetLogsRequest
	*/
	GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest

	// GetLogsExecute executes the request
	//  @return GetLogsResponse
	GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error)

	/*
		GetLogsSearchFilters Get relevant search filters for this distribution based on user input.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project ID.
		@param distributionId Your CDN distribution ID.
		@return ApiGetLogsSearchFiltersRequest
	*/
	GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest

	// GetLogsSearchFiltersExecute executes the request
	//  @return GetLogsSearchFiltersResponse
	GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)

	/*
			GetStatistics Retrieve the statistics of a distribution

			Returns the statistics of the distribution in the given
		time range. The response is a list of statistics records. Each record aggregates the statistics for its time interval.
		In case no statistics for a time interval exist, no record is returned.
		The time range for which statistics should be returned can be configured using query parameters.

		Timestamps are assumed to be UTC. This is especially important for the "buckets" when you, for example, return daily information. A day always starts and ends at 00:00Z.

		**Important Note:** Lower bounds are inclusive, upper bounds are exclusive. If you, for example, want a daily grouped which starts on the 1st Jan and also contains the full 10th Jan day, you would define `2025-01-01T00:00:00Z` as the lower and `2025-01-11T00:00:00Z` as the upper bound.

		The upper bound is optional. If you omit it, the API will use the start of the next interval as the upper bound.
		Example: if `interval` is `hourly`, `from` would default to the start of the next hour, if it's `daily`, `from` would default to the start of the next day, etc.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Your STACKIT Project Id
			@param distributionId
			@return ApiGetStatisticsRequest
	*/
	GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest

	// GetStatisticsExecute executes the request
	//  @return GetStatisticsResponse
	GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)

	/*
			ListDistributions List all distributions belonging to a specific project

			ListDistributions returns a list of all CDN distributions associated with
		a given project, ordered by their distribution Id.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Your STACKIT Project Id
			@return ApiListDistributionsRequest
	*/
	ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest

	// ListDistributionsExecute executes the request
	//  @return ListDistributionsResponse
	ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)

	/*
		ListWafCollections List all WAF rule collections of the project

		Returns all WAF rule collections available to the project

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@return ApiListWafCollectionsRequest
	*/
	ListWafCollections(ctx context.Context, projectId string) ApiListWafCollectionsRequest

	// ListWafCollectionsExecute executes the request
	//  @return ListWafCollectionsResponse
	ListWafCollectionsExecute(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)

	/*
		PatchDistribution Update existing distribution

		Modify a CDN distribution with a partial update. Only the fields specified in the request will be modified.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@return ApiPatchDistributionRequest
	*/
	PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest

	// PatchDistributionExecute executes the request
	//  @return PatchDistributionResponse
	PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)

	/*
			PurgeCache Clear distribution cache

			Clear the cache for this distribution.
		All content, regardless of its staleness, will get refetched from the host.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId Your STACKIT Project Id
			@param distributionId
			@return ApiPurgeCacheRequest
	*/
	PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest

	// PurgeCacheExecute executes the request
	//  @return map[string]interface{}
	PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error)

	/*
		PutCustomDomain Create or update a custom domain

		Creates a new custom domain. If it already exists, this will overwrite the previous custom domain's properties.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId Your STACKIT Project Id
		@param distributionId
		@param domain
		@return ApiPutCustomDomainRequest
	*/
	PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest

	// PutCustomDomainExecute executes the request
	//  @return PutCustomDomainResponse
	PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateDistribution

func (a *DefaultAPIService) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest

CreateDistribution Create new distribution

CreateDistribution will create a new CDN distribution

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@return ApiCreateDistributionRequest

func (*DefaultAPIService) CreateDistributionExecute

Execute executes the request

@return CreateDistributionResponse

func (*DefaultAPIService) DeleteCustomDomain

func (a *DefaultAPIService) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest

DeleteCustomDomain Delete a custom domain

Removes a custom domain

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@param domain
@return ApiDeleteCustomDomainRequest

func (*DefaultAPIService) DeleteCustomDomainExecute

Execute executes the request

@return DeleteCustomDomainResponse

func (*DefaultAPIService) DeleteDistribution

func (a *DefaultAPIService) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest

DeleteDistribution Delete distribution

DeleteDistribution accepts a project- and distribution-Id and will delete a distribution.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiDeleteDistributionRequest

func (*DefaultAPIService) DeleteDistributionExecute

Execute executes the request

@return DeleteDistributionResponse

func (*DefaultAPIService) FindCachePaths

func (a *DefaultAPIService) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest

FindCachePaths Return Paths that were purged

This returns paths that are present in the cache purging history. Only substrings of the provided input are returned. The response is sorted in descending order by the most recent purge.

So, assuming you have have the following purged for a distribution - `/test/1` at `2025-01-01` - `/test/2` at `2025-01-02` - `/someOtherPath/1` at `2025-01-03` - `/test/1` at `2025-01-04` - `/test/3` at `2025-01-05`, this would return the following paths, in the following order, assuming `/te` was the search parameter: - `/test/3` - `/test/1` - `/test/2`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiFindCachePathsRequest

func (*DefaultAPIService) FindCachePathsExecute

Execute executes the request

@return FindCachePathsResponse

func (*DefaultAPIService) GetCacheInfo

func (a *DefaultAPIService) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest

GetCacheInfo Get Infos about the Caching State

Return caching info metadata, which contains the last cache purging time and a history of the most recent *full* purges.

If (and only if) you provide the path query parameter, the history will also contain granular cache purges. The request will not fail if no data about a path is found.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiGetCacheInfoRequest

func (*DefaultAPIService) GetCacheInfoExecute

Execute executes the request

@return GetCacheInfoResponse

func (*DefaultAPIService) GetCustomDomain

func (a *DefaultAPIService) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest

GetCustomDomain Retrieve a specific custom domain

Returns a 200 and the custom domain if this custom domain was associated to this distribution, else 404

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@param domain
@return ApiGetCustomDomainRequest

func (*DefaultAPIService) GetCustomDomainExecute

Execute executes the request

@return GetCustomDomainResponse

func (*DefaultAPIService) GetDistribution

func (a *DefaultAPIService) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest

GetDistribution Get distribution by Id

This returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions also return 404.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiGetDistributionRequest

func (*DefaultAPIService) GetDistributionExecute

Execute executes the request

@return GetDistributionResponse

func (*DefaultAPIService) GetLogs

func (a *DefaultAPIService) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest

GetLogs Retrieve distribution logs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId Your CDN distribution Id
@return ApiGetLogsRequest

func (*DefaultAPIService) GetLogsExecute

func (a *DefaultAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error)

Execute executes the request

@return GetLogsResponse

func (*DefaultAPIService) GetLogsSearchFilters

func (a *DefaultAPIService) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest

GetLogsSearchFilters Get relevant search filters for this distribution based on user input.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project ID.
@param distributionId Your CDN distribution ID.
@return ApiGetLogsSearchFiltersRequest

func (*DefaultAPIService) GetLogsSearchFiltersExecute

Execute executes the request

@return GetLogsSearchFiltersResponse

func (*DefaultAPIService) GetStatistics

func (a *DefaultAPIService) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest

GetStatistics Retrieve the statistics of a distribution

Returns the statistics of the distribution in the given time range. The response is a list of statistics records. Each record aggregates the statistics for its time interval. In case no statistics for a time interval exist, no record is returned. The time range for which statistics should be returned can be configured using query parameters.

Timestamps are assumed to be UTC. This is especially important for the "buckets" when you, for example, return daily information. A day always starts and ends at 00:00Z.

**Important Note:** Lower bounds are inclusive, upper bounds are exclusive. If you, for example, want a daily grouped which starts on the 1st Jan and also contains the full 10th Jan day, you would define `2025-01-01T00:00:00Z` as the lower and `2025-01-11T00:00:00Z` as the upper bound.

The upper bound is optional. If you omit it, the API will use the start of the next interval as the upper bound. Example: if `interval` is `hourly`, `from` would default to the start of the next hour, if it's `daily`, `from` would default to the start of the next day, etc.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiGetStatisticsRequest

func (*DefaultAPIService) GetStatisticsExecute

Execute executes the request

@return GetStatisticsResponse

func (*DefaultAPIService) ListDistributions

func (a *DefaultAPIService) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest

ListDistributions List all distributions belonging to a specific project

ListDistributions returns a list of all CDN distributions associated with a given project, ordered by their distribution Id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@return ApiListDistributionsRequest

func (*DefaultAPIService) ListDistributionsExecute

Execute executes the request

@return ListDistributionsResponse

func (*DefaultAPIService) ListWafCollections

func (a *DefaultAPIService) ListWafCollections(ctx context.Context, projectId string) ApiListWafCollectionsRequest

ListWafCollections List all WAF rule collections of the project

Returns all WAF rule collections available to the project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@return ApiListWafCollectionsRequest

func (*DefaultAPIService) ListWafCollectionsExecute

Execute executes the request

@return ListWafCollectionsResponse

func (*DefaultAPIService) PatchDistribution

func (a *DefaultAPIService) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest

PatchDistribution Update existing distribution

Modify a CDN distribution with a partial update. Only the fields specified in the request will be modified.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiPatchDistributionRequest

func (*DefaultAPIService) PatchDistributionExecute

Execute executes the request

@return PatchDistributionResponse

func (*DefaultAPIService) PurgeCache

func (a *DefaultAPIService) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest

PurgeCache Clear distribution cache

Clear the cache for this distribution. All content, regardless of its staleness, will get refetched from the host.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@return ApiPurgeCacheRequest

func (*DefaultAPIService) PurgeCacheExecute

func (a *DefaultAPIService) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error)

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) PutCustomDomain

func (a *DefaultAPIService) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest

PutCustomDomain Create or update a custom domain

Creates a new custom domain. If it already exists, this will overwrite the previous custom domain's properties.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Your STACKIT Project Id
@param distributionId
@param domain
@return ApiPutCustomDomainRequest

func (*DefaultAPIService) PutCustomDomainExecute

Execute executes the request

@return PutCustomDomainResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateDistributionExecuteMock can be populated to implement the behavior of the CreateDistributionExecute function of this mock
	CreateDistributionExecuteMock *func(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)
	// DeleteCustomDomainExecuteMock can be populated to implement the behavior of the DeleteCustomDomainExecute function of this mock
	DeleteCustomDomainExecuteMock *func(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)
	// DeleteDistributionExecuteMock can be populated to implement the behavior of the DeleteDistributionExecute function of this mock
	DeleteDistributionExecuteMock *func(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)
	// FindCachePathsExecuteMock can be populated to implement the behavior of the FindCachePathsExecute function of this mock
	FindCachePathsExecuteMock *func(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)
	// GetCacheInfoExecuteMock can be populated to implement the behavior of the GetCacheInfoExecute function of this mock
	GetCacheInfoExecuteMock *func(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)
	// GetCustomDomainExecuteMock can be populated to implement the behavior of the GetCustomDomainExecute function of this mock
	GetCustomDomainExecuteMock *func(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)
	// GetDistributionExecuteMock can be populated to implement the behavior of the GetDistributionExecute function of this mock
	GetDistributionExecuteMock *func(r ApiGetDistributionRequest) (*GetDistributionResponse, error)
	// GetLogsExecuteMock can be populated to implement the behavior of the GetLogsExecute function of this mock
	GetLogsExecuteMock *func(r ApiGetLogsRequest) (*GetLogsResponse, error)
	// GetLogsSearchFiltersExecuteMock can be populated to implement the behavior of the GetLogsSearchFiltersExecute function of this mock
	GetLogsSearchFiltersExecuteMock *func(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)
	// GetStatisticsExecuteMock can be populated to implement the behavior of the GetStatisticsExecute function of this mock
	GetStatisticsExecuteMock *func(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)
	// ListDistributionsExecuteMock can be populated to implement the behavior of the ListDistributionsExecute function of this mock
	ListDistributionsExecuteMock *func(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)
	// ListWafCollectionsExecuteMock can be populated to implement the behavior of the ListWafCollectionsExecute function of this mock
	ListWafCollectionsExecuteMock *func(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)
	// PatchDistributionExecuteMock can be populated to implement the behavior of the PatchDistributionExecute function of this mock
	PatchDistributionExecuteMock *func(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)
	// PurgeCacheExecuteMock can be populated to implement the behavior of the PurgeCacheExecute function of this mock
	PurgeCacheExecuteMock *func(r ApiPurgeCacheRequest) (map[string]interface{}, error)
	// PutCustomDomainExecuteMock can be populated to implement the behavior of the PutCustomDomainExecute function of this mock
	PutCustomDomainExecuteMock *func(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateDistribution

func (a DefaultAPIServiceMock) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest

func (DefaultAPIServiceMock) CreateDistributionExecute

CreateDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDistributionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteCustomDomain

func (a DefaultAPIServiceMock) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest

func (DefaultAPIServiceMock) DeleteCustomDomainExecute

DeleteCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCustomDomainExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteDistribution

func (a DefaultAPIServiceMock) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest

func (DefaultAPIServiceMock) DeleteDistributionExecute

DeleteDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDistributionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) FindCachePaths

func (a DefaultAPIServiceMock) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest

func (DefaultAPIServiceMock) FindCachePathsExecute

FindCachePathsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the FindCachePathsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetCacheInfo

func (a DefaultAPIServiceMock) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest

func (DefaultAPIServiceMock) GetCacheInfoExecute

GetCacheInfoExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCacheInfoExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetCustomDomain

func (a DefaultAPIServiceMock) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest

func (DefaultAPIServiceMock) GetCustomDomainExecute

GetCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCustomDomainExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetDistribution

func (a DefaultAPIServiceMock) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest

func (DefaultAPIServiceMock) GetDistributionExecute

GetDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDistributionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetLogs

func (a DefaultAPIServiceMock) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest

func (DefaultAPIServiceMock) GetLogsExecute

GetLogsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetLogsSearchFilters

func (a DefaultAPIServiceMock) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest

func (DefaultAPIServiceMock) GetLogsSearchFiltersExecute

GetLogsSearchFiltersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsSearchFiltersExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetStatistics

func (a DefaultAPIServiceMock) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest

func (DefaultAPIServiceMock) GetStatisticsExecute

GetStatisticsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetStatisticsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListDistributions

func (a DefaultAPIServiceMock) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest

func (DefaultAPIServiceMock) ListDistributionsExecute

ListDistributionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDistributionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListWafCollections

func (a DefaultAPIServiceMock) ListWafCollections(ctx context.Context, projectId string) ApiListWafCollectionsRequest

func (DefaultAPIServiceMock) ListWafCollectionsExecute

ListWafCollectionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWafCollectionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PatchDistribution

func (a DefaultAPIServiceMock) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest

func (DefaultAPIServiceMock) PatchDistributionExecute

PatchDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchDistributionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PurgeCache

func (a DefaultAPIServiceMock) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest

func (DefaultAPIServiceMock) PurgeCacheExecute

func (a DefaultAPIServiceMock) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error)

PurgeCacheExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PurgeCacheExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PutCustomDomain

func (a DefaultAPIServiceMock) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest

func (DefaultAPIServiceMock) PutCustomDomainExecute

PutCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PutCustomDomainExecuteMock field in the DefaultAPIServiceMock struct.

type DeleteCustomDomainResponse

type DeleteCustomDomainResponse struct {
	CustomDomain *CustomDomain `json:"customDomain,omitempty"`
}

DeleteCustomDomainResponse Returns the custom domain that was deleted while the deletion has not completed yet. After the deletion was successful the response will be empty.

func NewDeleteCustomDomainResponse

func NewDeleteCustomDomainResponse() *DeleteCustomDomainResponse

NewDeleteCustomDomainResponse instantiates a new DeleteCustomDomainResponse 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 NewDeleteCustomDomainResponseWithDefaults

func NewDeleteCustomDomainResponseWithDefaults() *DeleteCustomDomainResponse

NewDeleteCustomDomainResponseWithDefaults instantiates a new DeleteCustomDomainResponse 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 (*DeleteCustomDomainResponse) GetCustomDomain

func (o *DeleteCustomDomainResponse) GetCustomDomain() CustomDomain

GetCustomDomain returns the CustomDomain field value if set, zero value otherwise.

func (*DeleteCustomDomainResponse) GetCustomDomainOk

func (o *DeleteCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)

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

func (*DeleteCustomDomainResponse) HasCustomDomain

func (o *DeleteCustomDomainResponse) HasCustomDomain() bool

HasCustomDomain returns a boolean if a field has been set.

func (DeleteCustomDomainResponse) MarshalJSON

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

func (*DeleteCustomDomainResponse) SetCustomDomain

func (o *DeleteCustomDomainResponse) SetCustomDomain(v CustomDomain)

SetCustomDomain gets a reference to the given CustomDomain and assigns it to the CustomDomain field.

func (DeleteCustomDomainResponse) ToMap

func (o DeleteCustomDomainResponse) ToMap() (map[string]interface{}, error)

type DeleteDistributionResponse

type DeleteDistributionResponse struct {
	Distribution *Distribution `json:"distribution,omitempty"`
}

DeleteDistributionResponse struct for DeleteDistributionResponse

func NewDeleteDistributionResponse

func NewDeleteDistributionResponse() *DeleteDistributionResponse

NewDeleteDistributionResponse instantiates a new DeleteDistributionResponse 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 NewDeleteDistributionResponseWithDefaults

func NewDeleteDistributionResponseWithDefaults() *DeleteDistributionResponse

NewDeleteDistributionResponseWithDefaults instantiates a new DeleteDistributionResponse 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 (*DeleteDistributionResponse) GetDistribution

func (o *DeleteDistributionResponse) GetDistribution() Distribution

GetDistribution returns the Distribution field value if set, zero value otherwise.

func (*DeleteDistributionResponse) GetDistributionOk

func (o *DeleteDistributionResponse) GetDistributionOk() (*Distribution, bool)

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

func (*DeleteDistributionResponse) HasDistribution

func (o *DeleteDistributionResponse) HasDistribution() bool

HasDistribution returns a boolean if a field has been set.

func (DeleteDistributionResponse) MarshalJSON

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

func (*DeleteDistributionResponse) SetDistribution

func (o *DeleteDistributionResponse) SetDistribution(v Distribution)

SetDistribution gets a reference to the given Distribution and assigns it to the Distribution field.

func (DeleteDistributionResponse) ToMap

func (o DeleteDistributionResponse) ToMap() (map[string]interface{}, error)

type Distribution

type Distribution struct {
	Config Config `json:"config"`
	// RFC3339 string defining when the distribution was created
	CreatedAt time.Time `json:"createdAt"`
	Domains   []Domain  `json:"domains"`
	// This object may be present if, and only if the distribution has encountered an error state.
	Errors    []StatusError `json:"errors,omitempty"`
	Id        string        `json:"id"`
	ProjectId string        `json:"projectId"`
	// - `CREATING`: The distribution was just created.    All the relevant resources are created in the background. Once fully reconciled,   this switches to `ACTIVE`. If there are any issues, the status changes to    `ERROR`. You can look at the `errors` array to get more infos. - `ACTIVE`: The usual state. The desired configuration is synced, there are no errors - `UPDATING`: The state when there is a discrepancy between the desired and    actual configuration state. This occurs right after an update. Will switch to    `ACTIVE` or `ERROR`, depending on if synchronizing succeeds or not. - `DELETING`: The state right after a delete request was received. The distribution will stay in this status   until all resources have been successfully removed, or until we encounter an `ERROR` state.    **NOTE:** You can keep fetching the distribution while it is deleting.    After successful deletion, trying to get a distribution will return a 404 Not Found response - `ERROR`: The error state. Look at the `errors` array for more info.
	Status string `json:"status"`
	// RFC3339 string which returns the last time the distribution configuration was modified.
	UpdatedAt time.Time        `json:"updatedAt"`
	Waf       *DistributionWaf `json:"waf,omitempty"`
}

Distribution struct for Distribution

func NewDistribution

func NewDistribution(config Config, createdAt time.Time, domains []Domain, id string, projectId string, status string, updatedAt time.Time) *Distribution

NewDistribution instantiates a new Distribution 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 NewDistributionWithDefaults

func NewDistributionWithDefaults() *Distribution

NewDistributionWithDefaults instantiates a new Distribution 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 (*Distribution) GetConfig

func (o *Distribution) GetConfig() Config

GetConfig returns the Config field value

func (*Distribution) GetConfigOk

func (o *Distribution) GetConfigOk() (*Config, bool)

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

func (*Distribution) GetCreatedAt

func (o *Distribution) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Distribution) GetCreatedAtOk

func (o *Distribution) GetCreatedAtOk() (*time.Time, bool)

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

func (*Distribution) GetDomains

func (o *Distribution) GetDomains() []Domain

GetDomains returns the Domains field value

func (*Distribution) GetDomainsOk

func (o *Distribution) GetDomainsOk() ([]Domain, bool)

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

func (*Distribution) GetErrors

func (o *Distribution) GetErrors() []StatusError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Distribution) GetErrorsOk

func (o *Distribution) GetErrorsOk() ([]StatusError, bool)

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

func (*Distribution) GetId

func (o *Distribution) GetId() string

GetId returns the Id field value

func (*Distribution) GetIdOk

func (o *Distribution) GetIdOk() (*string, bool)

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

func (*Distribution) GetProjectId

func (o *Distribution) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*Distribution) GetProjectIdOk

func (o *Distribution) GetProjectIdOk() (*string, bool)

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

func (*Distribution) GetStatus

func (o *Distribution) GetStatus() string

GetStatus returns the Status field value

func (*Distribution) GetStatusOk

func (o *Distribution) GetStatusOk() (*string, bool)

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

func (*Distribution) GetUpdatedAt

func (o *Distribution) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Distribution) GetUpdatedAtOk

func (o *Distribution) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Distribution) GetWaf

func (o *Distribution) GetWaf() DistributionWaf

GetWaf returns the Waf field value if set, zero value otherwise.

func (*Distribution) GetWafOk

func (o *Distribution) GetWafOk() (*DistributionWaf, bool)

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

func (*Distribution) HasErrors

func (o *Distribution) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*Distribution) HasWaf

func (o *Distribution) HasWaf() bool

HasWaf returns a boolean if a field has been set.

func (Distribution) MarshalJSON

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

func (*Distribution) SetConfig

func (o *Distribution) SetConfig(v Config)

SetConfig sets field value

func (*Distribution) SetCreatedAt

func (o *Distribution) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Distribution) SetDomains

func (o *Distribution) SetDomains(v []Domain)

SetDomains sets field value

func (*Distribution) SetErrors

func (o *Distribution) SetErrors(v []StatusError)

SetErrors gets a reference to the given []StatusError and assigns it to the Errors field.

func (*Distribution) SetId

func (o *Distribution) SetId(v string)

SetId sets field value

func (*Distribution) SetProjectId

func (o *Distribution) SetProjectId(v string)

SetProjectId sets field value

func (*Distribution) SetStatus

func (o *Distribution) SetStatus(v string)

SetStatus sets field value

func (*Distribution) SetUpdatedAt

func (o *Distribution) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Distribution) SetWaf

func (o *Distribution) SetWaf(v DistributionWaf)

SetWaf gets a reference to the given DistributionWaf and assigns it to the Waf field.

func (Distribution) ToMap

func (o Distribution) ToMap() (map[string]interface{}, error)

func (*Distribution) UnmarshalJSON

func (o *Distribution) UnmarshalJSON(data []byte) (err error)

type DistributionLogsRecord

type DistributionLogsRecord struct {
	CacheHit         bool   `json:"cacheHit"`
	DataCenterRegion string `json:"dataCenterRegion"`
	DistributionId   string `json:"distributionId"`
	Host             string `json:"host"`
	Path             string `json:"path"`
	// ISO 3166-1 A2 compliant country code
	RequestCountryCode string        `json:"requestCountryCode"`
	Size               int64         `json:"size"`
	StatusCode         int32         `json:"statusCode"`
	Timestamp          time.Time     `json:"timestamp"`
	WafViolation       *WAFViolation `json:"wafViolation,omitempty"`
}

DistributionLogsRecord struct for DistributionLogsRecord

func NewDistributionLogsRecord

func NewDistributionLogsRecord(cacheHit bool, dataCenterRegion string, distributionId string, host string, path string, requestCountryCode string, size int64, statusCode int32, timestamp time.Time) *DistributionLogsRecord

NewDistributionLogsRecord instantiates a new DistributionLogsRecord 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 NewDistributionLogsRecordWithDefaults

func NewDistributionLogsRecordWithDefaults() *DistributionLogsRecord

NewDistributionLogsRecordWithDefaults instantiates a new DistributionLogsRecord 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 (*DistributionLogsRecord) GetCacheHit

func (o *DistributionLogsRecord) GetCacheHit() bool

GetCacheHit returns the CacheHit field value

func (*DistributionLogsRecord) GetCacheHitOk

func (o *DistributionLogsRecord) GetCacheHitOk() (*bool, bool)

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

func (*DistributionLogsRecord) GetDataCenterRegion

func (o *DistributionLogsRecord) GetDataCenterRegion() string

GetDataCenterRegion returns the DataCenterRegion field value

func (*DistributionLogsRecord) GetDataCenterRegionOk

func (o *DistributionLogsRecord) GetDataCenterRegionOk() (*string, bool)

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

func (*DistributionLogsRecord) GetDistributionId

func (o *DistributionLogsRecord) GetDistributionId() string

GetDistributionId returns the DistributionId field value

func (*DistributionLogsRecord) GetDistributionIdOk

func (o *DistributionLogsRecord) GetDistributionIdOk() (*string, bool)

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

func (*DistributionLogsRecord) GetHost

func (o *DistributionLogsRecord) GetHost() string

GetHost returns the Host field value

func (*DistributionLogsRecord) GetHostOk

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

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

func (*DistributionLogsRecord) GetPath

func (o *DistributionLogsRecord) GetPath() string

GetPath returns the Path field value

func (*DistributionLogsRecord) GetPathOk

func (o *DistributionLogsRecord) GetPathOk() (*string, bool)

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

func (*DistributionLogsRecord) GetRequestCountryCode

func (o *DistributionLogsRecord) GetRequestCountryCode() string

GetRequestCountryCode returns the RequestCountryCode field value

func (*DistributionLogsRecord) GetRequestCountryCodeOk

func (o *DistributionLogsRecord) GetRequestCountryCodeOk() (*string, bool)

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

func (*DistributionLogsRecord) GetSize

func (o *DistributionLogsRecord) GetSize() int64

GetSize returns the Size field value

func (*DistributionLogsRecord) GetSizeOk

func (o *DistributionLogsRecord) GetSizeOk() (*int64, bool)

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

func (*DistributionLogsRecord) GetStatusCode

func (o *DistributionLogsRecord) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*DistributionLogsRecord) GetStatusCodeOk

func (o *DistributionLogsRecord) GetStatusCodeOk() (*int32, bool)

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

func (*DistributionLogsRecord) GetTimestamp

func (o *DistributionLogsRecord) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*DistributionLogsRecord) GetTimestampOk

func (o *DistributionLogsRecord) GetTimestampOk() (*time.Time, bool)

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

func (*DistributionLogsRecord) GetWafViolation

func (o *DistributionLogsRecord) GetWafViolation() WAFViolation

GetWafViolation returns the WafViolation field value if set, zero value otherwise.

func (*DistributionLogsRecord) GetWafViolationOk

func (o *DistributionLogsRecord) GetWafViolationOk() (*WAFViolation, bool)

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

func (*DistributionLogsRecord) HasWafViolation

func (o *DistributionLogsRecord) HasWafViolation() bool

HasWafViolation returns a boolean if a field has been set.

func (DistributionLogsRecord) MarshalJSON

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

func (*DistributionLogsRecord) SetCacheHit

func (o *DistributionLogsRecord) SetCacheHit(v bool)

SetCacheHit sets field value

func (*DistributionLogsRecord) SetDataCenterRegion

func (o *DistributionLogsRecord) SetDataCenterRegion(v string)

SetDataCenterRegion sets field value

func (*DistributionLogsRecord) SetDistributionId

func (o *DistributionLogsRecord) SetDistributionId(v string)

SetDistributionId sets field value

func (*DistributionLogsRecord) SetHost

func (o *DistributionLogsRecord) SetHost(v string)

SetHost sets field value

func (*DistributionLogsRecord) SetPath

func (o *DistributionLogsRecord) SetPath(v string)

SetPath sets field value

func (*DistributionLogsRecord) SetRequestCountryCode

func (o *DistributionLogsRecord) SetRequestCountryCode(v string)

SetRequestCountryCode sets field value

func (*DistributionLogsRecord) SetSize

func (o *DistributionLogsRecord) SetSize(v int64)

SetSize sets field value

func (*DistributionLogsRecord) SetStatusCode

func (o *DistributionLogsRecord) SetStatusCode(v int32)

SetStatusCode sets field value

func (*DistributionLogsRecord) SetTimestamp

func (o *DistributionLogsRecord) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*DistributionLogsRecord) SetWafViolation

func (o *DistributionLogsRecord) SetWafViolation(v WAFViolation)

SetWafViolation gets a reference to the given WAFViolation and assigns it to the WafViolation field.

func (DistributionLogsRecord) ToMap

func (o DistributionLogsRecord) ToMap() (map[string]interface{}, error)

func (*DistributionLogsRecord) UnmarshalJSON

func (o *DistributionLogsRecord) UnmarshalJSON(data []byte) (err error)

type DistributionStatisticsRecord

type DistributionStatisticsRecord struct {
	// Number of cached requests that were served
	CachedRequests int64 `json:"cachedRequests"`
	// Total number of requests that were served
	TotalRequests int64 `json:"totalRequests"`
	// Total traffic in bytes that occurred during the time interval
	TotalTrafficBytes int64 `json:"totalTrafficBytes"`
	// Exclusive end of the time interval the statistics refer to
	End     time.Time                           `json:"end"`
	Regions DistributionStatisticsRecordRegions `json:"regions"`
	// Start of the time interval the statistics refer to
	Start time.Time `json:"start"`
}

DistributionStatisticsRecord Aggregated statistics of a distribution during a time interval

func NewDistributionStatisticsRecord

func NewDistributionStatisticsRecord(cachedRequests int64, totalRequests int64, totalTrafficBytes int64, end time.Time, regions DistributionStatisticsRecordRegions, start time.Time) *DistributionStatisticsRecord

NewDistributionStatisticsRecord instantiates a new DistributionStatisticsRecord 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 NewDistributionStatisticsRecordWithDefaults

func NewDistributionStatisticsRecordWithDefaults() *DistributionStatisticsRecord

NewDistributionStatisticsRecordWithDefaults instantiates a new DistributionStatisticsRecord 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 (*DistributionStatisticsRecord) GetCachedRequests

func (o *DistributionStatisticsRecord) GetCachedRequests() int64

GetCachedRequests returns the CachedRequests field value

func (*DistributionStatisticsRecord) GetCachedRequestsOk

func (o *DistributionStatisticsRecord) GetCachedRequestsOk() (*int64, bool)

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

func (*DistributionStatisticsRecord) GetEnd

GetEnd returns the End field value

func (*DistributionStatisticsRecord) GetEndOk

func (o *DistributionStatisticsRecord) GetEndOk() (*time.Time, bool)

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

func (*DistributionStatisticsRecord) GetRegions

GetRegions returns the Regions field value

func (*DistributionStatisticsRecord) GetRegionsOk

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

func (*DistributionStatisticsRecord) GetStart

func (o *DistributionStatisticsRecord) GetStart() time.Time

GetStart returns the Start field value

func (*DistributionStatisticsRecord) GetStartOk

func (o *DistributionStatisticsRecord) GetStartOk() (*time.Time, bool)

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

func (*DistributionStatisticsRecord) GetTotalRequests

func (o *DistributionStatisticsRecord) GetTotalRequests() int64

GetTotalRequests returns the TotalRequests field value

func (*DistributionStatisticsRecord) GetTotalRequestsOk

func (o *DistributionStatisticsRecord) GetTotalRequestsOk() (*int64, bool)

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

func (*DistributionStatisticsRecord) GetTotalTrafficBytes

func (o *DistributionStatisticsRecord) GetTotalTrafficBytes() int64

GetTotalTrafficBytes returns the TotalTrafficBytes field value

func (*DistributionStatisticsRecord) GetTotalTrafficBytesOk

func (o *DistributionStatisticsRecord) GetTotalTrafficBytesOk() (*int64, bool)

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

func (DistributionStatisticsRecord) MarshalJSON

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

func (*DistributionStatisticsRecord) SetCachedRequests

func (o *DistributionStatisticsRecord) SetCachedRequests(v int64)

SetCachedRequests sets field value

func (*DistributionStatisticsRecord) SetEnd

func (o *DistributionStatisticsRecord) SetEnd(v time.Time)

SetEnd sets field value

func (*DistributionStatisticsRecord) SetRegions

SetRegions sets field value

func (*DistributionStatisticsRecord) SetStart

func (o *DistributionStatisticsRecord) SetStart(v time.Time)

SetStart sets field value

func (*DistributionStatisticsRecord) SetTotalRequests

func (o *DistributionStatisticsRecord) SetTotalRequests(v int64)

SetTotalRequests sets field value

func (*DistributionStatisticsRecord) SetTotalTrafficBytes

func (o *DistributionStatisticsRecord) SetTotalTrafficBytes(v int64)

SetTotalTrafficBytes sets field value

func (DistributionStatisticsRecord) ToMap

func (o DistributionStatisticsRecord) ToMap() (map[string]interface{}, error)

func (*DistributionStatisticsRecord) UnmarshalJSON

func (o *DistributionStatisticsRecord) UnmarshalJSON(data []byte) (err error)

type DistributionStatisticsRecordEntry

type DistributionStatisticsRecordEntry struct {
	// Number of cached requests that were served
	CachedRequests int64 `json:"cachedRequests"`
	// Total number of requests that were served
	TotalRequests int64 `json:"totalRequests"`
	// Total traffic in bytes that occurred during the time interval
	TotalTrafficBytes int64 `json:"totalTrafficBytes"`
}

DistributionStatisticsRecordEntry struct for DistributionStatisticsRecordEntry

func NewDistributionStatisticsRecordEntry

func NewDistributionStatisticsRecordEntry(cachedRequests int64, totalRequests int64, totalTrafficBytes int64) *DistributionStatisticsRecordEntry

NewDistributionStatisticsRecordEntry instantiates a new DistributionStatisticsRecordEntry 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 NewDistributionStatisticsRecordEntryWithDefaults

func NewDistributionStatisticsRecordEntryWithDefaults() *DistributionStatisticsRecordEntry

NewDistributionStatisticsRecordEntryWithDefaults instantiates a new DistributionStatisticsRecordEntry 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 (*DistributionStatisticsRecordEntry) GetCachedRequests

func (o *DistributionStatisticsRecordEntry) GetCachedRequests() int64

GetCachedRequests returns the CachedRequests field value

func (*DistributionStatisticsRecordEntry) GetCachedRequestsOk

func (o *DistributionStatisticsRecordEntry) GetCachedRequestsOk() (*int64, bool)

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

func (*DistributionStatisticsRecordEntry) GetTotalRequests

func (o *DistributionStatisticsRecordEntry) GetTotalRequests() int64

GetTotalRequests returns the TotalRequests field value

func (*DistributionStatisticsRecordEntry) GetTotalRequestsOk

func (o *DistributionStatisticsRecordEntry) GetTotalRequestsOk() (*int64, bool)

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

func (*DistributionStatisticsRecordEntry) GetTotalTrafficBytes

func (o *DistributionStatisticsRecordEntry) GetTotalTrafficBytes() int64

GetTotalTrafficBytes returns the TotalTrafficBytes field value

func (*DistributionStatisticsRecordEntry) GetTotalTrafficBytesOk

func (o *DistributionStatisticsRecordEntry) GetTotalTrafficBytesOk() (*int64, bool)

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

func (DistributionStatisticsRecordEntry) MarshalJSON

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

func (*DistributionStatisticsRecordEntry) SetCachedRequests

func (o *DistributionStatisticsRecordEntry) SetCachedRequests(v int64)

SetCachedRequests sets field value

func (*DistributionStatisticsRecordEntry) SetTotalRequests

func (o *DistributionStatisticsRecordEntry) SetTotalRequests(v int64)

SetTotalRequests sets field value

func (*DistributionStatisticsRecordEntry) SetTotalTrafficBytes

func (o *DistributionStatisticsRecordEntry) SetTotalTrafficBytes(v int64)

SetTotalTrafficBytes sets field value

func (DistributionStatisticsRecordEntry) ToMap

func (o DistributionStatisticsRecordEntry) ToMap() (map[string]interface{}, error)

func (*DistributionStatisticsRecordEntry) UnmarshalJSON

func (o *DistributionStatisticsRecordEntry) UnmarshalJSON(data []byte) (err error)

type DistributionStatisticsRecordRegions

type DistributionStatisticsRecordRegions struct {
	AF   DistributionStatisticsRecordEntry `json:"AF"`
	ASIA DistributionStatisticsRecordEntry `json:"ASIA"`
	EU   DistributionStatisticsRecordEntry `json:"EU"`
	SA   DistributionStatisticsRecordEntry `json:"SA"`
	US   DistributionStatisticsRecordEntry `json:"US"`
}

DistributionStatisticsRecordRegions Mapping of regions to the metrics for this region for the defined time interval All regions are always present. If no traffic was reported for a region, it will still contain 0-filled properties

func NewDistributionStatisticsRecordRegions

NewDistributionStatisticsRecordRegions instantiates a new DistributionStatisticsRecordRegions 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 NewDistributionStatisticsRecordRegionsWithDefaults

func NewDistributionStatisticsRecordRegionsWithDefaults() *DistributionStatisticsRecordRegions

NewDistributionStatisticsRecordRegionsWithDefaults instantiates a new DistributionStatisticsRecordRegions 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 (*DistributionStatisticsRecordRegions) GetAF

GetAF returns the AF field value

func (*DistributionStatisticsRecordRegions) GetAFOk

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

func (*DistributionStatisticsRecordRegions) GetASIA

GetASIA returns the ASIA field value

func (*DistributionStatisticsRecordRegions) GetASIAOk

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

func (*DistributionStatisticsRecordRegions) GetEU

GetEU returns the EU field value

func (*DistributionStatisticsRecordRegions) GetEUOk

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

func (*DistributionStatisticsRecordRegions) GetSA

GetSA returns the SA field value

func (*DistributionStatisticsRecordRegions) GetSAOk

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

func (*DistributionStatisticsRecordRegions) GetUS

GetUS returns the US field value

func (*DistributionStatisticsRecordRegions) GetUSOk

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

func (DistributionStatisticsRecordRegions) MarshalJSON

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

func (*DistributionStatisticsRecordRegions) SetAF

SetAF sets field value

func (*DistributionStatisticsRecordRegions) SetASIA

SetASIA sets field value

func (*DistributionStatisticsRecordRegions) SetEU

SetEU sets field value

func (*DistributionStatisticsRecordRegions) SetSA

SetSA sets field value

func (*DistributionStatisticsRecordRegions) SetUS

SetUS sets field value

func (DistributionStatisticsRecordRegions) ToMap

func (o DistributionStatisticsRecordRegions) ToMap() (map[string]interface{}, error)

func (*DistributionStatisticsRecordRegions) UnmarshalJSON

func (o *DistributionStatisticsRecordRegions) UnmarshalJSON(data []byte) (err error)

type DistributionWaf

type DistributionWaf struct {
	DisabledRules []WafStatusRuleBlock `json:"disabledRules"`
	EnabledRules  []WafStatusRuleBlock `json:"enabledRules"`
	LogOnlyRules  []WafStatusRuleBlock `json:"logOnlyRules"`
}

DistributionWaf For this property to be present two pre-conditions must be met: - the WAF was enabled at least once - the query parameter ?withWafStatus is truthy This property contains the waf Status. At this point in time, this contains all resolved rules. Rules are split into 3 groups: - enabledRules - logOnlyRules - disabledRules **Do note that the global waf mode (Disabled, LogOnly, Enabled) is *NOT* reflected in this list!**

func NewDistributionWaf

func NewDistributionWaf(disabledRules []WafStatusRuleBlock, enabledRules []WafStatusRuleBlock, logOnlyRules []WafStatusRuleBlock) *DistributionWaf

NewDistributionWaf instantiates a new DistributionWaf 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 NewDistributionWafWithDefaults

func NewDistributionWafWithDefaults() *DistributionWaf

NewDistributionWafWithDefaults instantiates a new DistributionWaf 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 (*DistributionWaf) GetDisabledRules

func (o *DistributionWaf) GetDisabledRules() []WafStatusRuleBlock

GetDisabledRules returns the DisabledRules field value

func (*DistributionWaf) GetDisabledRulesOk

func (o *DistributionWaf) GetDisabledRulesOk() ([]WafStatusRuleBlock, bool)

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

func (*DistributionWaf) GetEnabledRules

func (o *DistributionWaf) GetEnabledRules() []WafStatusRuleBlock

GetEnabledRules returns the EnabledRules field value

func (*DistributionWaf) GetEnabledRulesOk

func (o *DistributionWaf) GetEnabledRulesOk() ([]WafStatusRuleBlock, bool)

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

func (*DistributionWaf) GetLogOnlyRules

func (o *DistributionWaf) GetLogOnlyRules() []WafStatusRuleBlock

GetLogOnlyRules returns the LogOnlyRules field value

func (*DistributionWaf) GetLogOnlyRulesOk

func (o *DistributionWaf) GetLogOnlyRulesOk() ([]WafStatusRuleBlock, bool)

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

func (DistributionWaf) MarshalJSON

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

func (*DistributionWaf) SetDisabledRules

func (o *DistributionWaf) SetDisabledRules(v []WafStatusRuleBlock)

SetDisabledRules sets field value

func (*DistributionWaf) SetEnabledRules

func (o *DistributionWaf) SetEnabledRules(v []WafStatusRuleBlock)

SetEnabledRules sets field value

func (*DistributionWaf) SetLogOnlyRules

func (o *DistributionWaf) SetLogOnlyRules(v []WafStatusRuleBlock)

SetLogOnlyRules sets field value

func (DistributionWaf) ToMap

func (o DistributionWaf) ToMap() (map[string]interface{}, error)

func (*DistributionWaf) UnmarshalJSON

func (o *DistributionWaf) UnmarshalJSON(data []byte) (err error)

type Domain

type Domain struct {
	// This object is present if the custom domain has errors.
	Errors []StatusError `json:"errors,omitempty"`
	// The domain. If this is a custom domain, you can call the GetCustomDomain Endpoint
	Name   string       `json:"name"`
	Status DomainStatus `json:"status"`
	// Specifies the type of this Domain. Custom Domain can be further queries using the GetCustomDomain Endpoint
	Type string `json:"type"`
}

Domain Definition of a custom or managed domain without any certificates or keys

func NewDomain

func NewDomain(name string, status DomainStatus, types string) *Domain

NewDomain instantiates a new Domain 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 NewDomainWithDefaults

func NewDomainWithDefaults() *Domain

NewDomainWithDefaults instantiates a new Domain 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 (*Domain) GetErrors

func (o *Domain) GetErrors() []StatusError

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Domain) GetErrorsOk

func (o *Domain) GetErrorsOk() ([]StatusError, bool)

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

func (*Domain) GetName

func (o *Domain) GetName() string

GetName returns the Name field value

func (*Domain) GetNameOk

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

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

func (*Domain) GetStatus

func (o *Domain) GetStatus() DomainStatus

GetStatus returns the Status field value

func (*Domain) GetStatusOk

func (o *Domain) GetStatusOk() (*DomainStatus, bool)

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

func (*Domain) GetType

func (o *Domain) GetType() string

GetType returns the Type field value

func (*Domain) GetTypeOk

func (o *Domain) GetTypeOk() (*string, bool)

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

func (*Domain) HasErrors

func (o *Domain) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (Domain) MarshalJSON

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

func (*Domain) SetErrors

func (o *Domain) SetErrors(v []StatusError)

SetErrors gets a reference to the given []StatusError and assigns it to the Errors field.

func (*Domain) SetName

func (o *Domain) SetName(v string)

SetName sets field value

func (*Domain) SetStatus

func (o *Domain) SetStatus(v DomainStatus)

SetStatus sets field value

func (*Domain) SetType

func (o *Domain) SetType(v string)

SetType sets field value

func (Domain) ToMap

func (o Domain) ToMap() (map[string]interface{}, error)

func (*Domain) UnmarshalJSON

func (o *Domain) UnmarshalJSON(data []byte) (err error)

type DomainStatus

type DomainStatus string

DomainStatus The status of the domain: CREATING indicates that the custom domain is being set up. UPDATING means that requested changes are being applied to the custom domain. ACTIVE means the custom domain is currently configured and active. DELETING means that the domain is in the process of being removed from the distribution. In case the domain has the ERROR state, more information will be available in the errors list.

const (
	DOMAINSTATUS_CREATING DomainStatus = "CREATING"
	DOMAINSTATUS_ACTIVE   DomainStatus = "ACTIVE"
	DOMAINSTATUS_UPDATING DomainStatus = "UPDATING"
	DOMAINSTATUS_DELETING DomainStatus = "DELETING"
	DOMAINSTATUS_ERROR    DomainStatus = "ERROR"
)

List of DomainStatus

func NewDomainStatusFromValue

func NewDomainStatusFromValue(v string) (*DomainStatus, error)

NewDomainStatusFromValue returns a pointer to a valid DomainStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DomainStatus) IsValid

func (v DomainStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DomainStatus) Ptr

func (v DomainStatus) Ptr() *DomainStatus

Ptr returns reference to DomainStatus value

func (*DomainStatus) UnmarshalJSON

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

type ErrorDetails

type ErrorDetails struct {
	// German description of the error
	De *string `json:"de,omitempty"`
	// English description of the error
	En string `json:"en"`
	// Optional field in the request this error detail refers to
	Field *string `json:"field,omitempty"`
	Key   string  `json:"key"`
}

ErrorDetails struct for ErrorDetails

func NewErrorDetails

func NewErrorDetails(en string, key string) *ErrorDetails

NewErrorDetails instantiates a new ErrorDetails 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 NewErrorDetailsWithDefaults

func NewErrorDetailsWithDefaults() *ErrorDetails

NewErrorDetailsWithDefaults instantiates a new ErrorDetails 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 (*ErrorDetails) GetDe

func (o *ErrorDetails) GetDe() string

GetDe returns the De field value if set, zero value otherwise.

func (*ErrorDetails) GetDeOk

func (o *ErrorDetails) GetDeOk() (*string, bool)

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

func (*ErrorDetails) GetEn

func (o *ErrorDetails) GetEn() string

GetEn returns the En field value

func (*ErrorDetails) GetEnOk

func (o *ErrorDetails) GetEnOk() (*string, bool)

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

func (*ErrorDetails) GetField

func (o *ErrorDetails) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*ErrorDetails) GetFieldOk

func (o *ErrorDetails) GetFieldOk() (*string, bool)

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

func (*ErrorDetails) GetKey

func (o *ErrorDetails) GetKey() string

GetKey returns the Key field value

func (*ErrorDetails) GetKeyOk

func (o *ErrorDetails) GetKeyOk() (*string, bool)

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

func (*ErrorDetails) HasDe

func (o *ErrorDetails) HasDe() bool

HasDe returns a boolean if a field has been set.

func (*ErrorDetails) HasField

func (o *ErrorDetails) HasField() bool

HasField returns a boolean if a field has been set.

func (ErrorDetails) MarshalJSON

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

func (*ErrorDetails) SetDe

func (o *ErrorDetails) SetDe(v string)

SetDe gets a reference to the given string and assigns it to the De field.

func (*ErrorDetails) SetEn

func (o *ErrorDetails) SetEn(v string)

SetEn sets field value

func (*ErrorDetails) SetField

func (o *ErrorDetails) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*ErrorDetails) SetKey

func (o *ErrorDetails) SetKey(v string)

SetKey sets field value

func (ErrorDetails) ToMap

func (o ErrorDetails) ToMap() (map[string]interface{}, error)

func (*ErrorDetails) UnmarshalJSON

func (o *ErrorDetails) UnmarshalJSON(data []byte) (err error)

type FindCachePathsResponse

type FindCachePathsResponse struct {
	Response []FindCachePathsResponseEntry `json:"response"`
}

FindCachePathsResponse struct for FindCachePathsResponse

func NewFindCachePathsResponse

func NewFindCachePathsResponse(response []FindCachePathsResponseEntry) *FindCachePathsResponse

NewFindCachePathsResponse instantiates a new FindCachePathsResponse 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 NewFindCachePathsResponseWithDefaults

func NewFindCachePathsResponseWithDefaults() *FindCachePathsResponse

NewFindCachePathsResponseWithDefaults instantiates a new FindCachePathsResponse 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 (*FindCachePathsResponse) GetResponse

GetResponse returns the Response field value

func (*FindCachePathsResponse) GetResponseOk

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

func (FindCachePathsResponse) MarshalJSON

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

func (*FindCachePathsResponse) SetResponse

SetResponse sets field value

func (FindCachePathsResponse) ToMap

func (o FindCachePathsResponse) ToMap() (map[string]interface{}, error)

func (*FindCachePathsResponse) UnmarshalJSON

func (o *FindCachePathsResponse) UnmarshalJSON(data []byte) (err error)

type FindCachePathsResponseEntry

type FindCachePathsResponseEntry struct {
	// Defines one path that was previously used as part of a granular purge
	Path string `json:"path"`
}

FindCachePathsResponseEntry struct for FindCachePathsResponseEntry

func NewFindCachePathsResponseEntry

func NewFindCachePathsResponseEntry(path string) *FindCachePathsResponseEntry

NewFindCachePathsResponseEntry instantiates a new FindCachePathsResponseEntry 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 NewFindCachePathsResponseEntryWithDefaults

func NewFindCachePathsResponseEntryWithDefaults() *FindCachePathsResponseEntry

NewFindCachePathsResponseEntryWithDefaults instantiates a new FindCachePathsResponseEntry 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 (*FindCachePathsResponseEntry) GetPath

func (o *FindCachePathsResponseEntry) GetPath() string

GetPath returns the Path field value

func (*FindCachePathsResponseEntry) GetPathOk

func (o *FindCachePathsResponseEntry) GetPathOk() (*string, bool)

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

func (FindCachePathsResponseEntry) MarshalJSON

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

func (*FindCachePathsResponseEntry) SetPath

func (o *FindCachePathsResponseEntry) SetPath(v string)

SetPath sets field value

func (FindCachePathsResponseEntry) ToMap

func (o FindCachePathsResponseEntry) ToMap() (map[string]interface{}, error)

func (*FindCachePathsResponseEntry) UnmarshalJSON

func (o *FindCachePathsResponseEntry) UnmarshalJSON(data []byte) (err error)

type GenericJsonResponse

type GenericJsonResponse struct {
	// Listing of issues with your request
	Details []ErrorDetails `json:"details,omitempty"`
	Message string         `json:"message"`
}

GenericJsonResponse struct for GenericJsonResponse

func NewGenericJsonResponse

func NewGenericJsonResponse(message string) *GenericJsonResponse

NewGenericJsonResponse instantiates a new GenericJsonResponse 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 NewGenericJsonResponseWithDefaults

func NewGenericJsonResponseWithDefaults() *GenericJsonResponse

NewGenericJsonResponseWithDefaults instantiates a new GenericJsonResponse 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 (*GenericJsonResponse) GetDetails

func (o *GenericJsonResponse) GetDetails() []ErrorDetails

GetDetails returns the Details field value if set, zero value otherwise.

func (*GenericJsonResponse) GetDetailsOk

func (o *GenericJsonResponse) GetDetailsOk() ([]ErrorDetails, bool)

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

func (*GenericJsonResponse) GetMessage

func (o *GenericJsonResponse) GetMessage() string

GetMessage returns the Message field value

func (*GenericJsonResponse) GetMessageOk

func (o *GenericJsonResponse) GetMessageOk() (*string, bool)

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

func (*GenericJsonResponse) HasDetails

func (o *GenericJsonResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (GenericJsonResponse) MarshalJSON

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

func (*GenericJsonResponse) SetDetails

func (o *GenericJsonResponse) SetDetails(v []ErrorDetails)

SetDetails gets a reference to the given []ErrorDetails and assigns it to the Details field.

func (*GenericJsonResponse) SetMessage

func (o *GenericJsonResponse) SetMessage(v string)

SetMessage sets field value

func (GenericJsonResponse) ToMap

func (o GenericJsonResponse) ToMap() (map[string]interface{}, error)

func (*GenericJsonResponse) UnmarshalJSON

func (o *GenericJsonResponse) UnmarshalJSON(data []byte) (err error)

type GetCacheInfoResponse

type GetCacheInfoResponse struct {
	History []GetCacheInfoResponseHistoryEntry `json:"history"`
	// Returns the last time the cache was purged by calling the PurgeCache endpoint.  Time represented as RFC3339 compliant string. If the cache was never purged, this returns `null`
	LastPurgeTime NullableTime `json:"lastPurgeTime"`
}

GetCacheInfoResponse struct for GetCacheInfoResponse

func NewGetCacheInfoResponse

func NewGetCacheInfoResponse(history []GetCacheInfoResponseHistoryEntry, lastPurgeTime NullableTime) *GetCacheInfoResponse

NewGetCacheInfoResponse instantiates a new GetCacheInfoResponse 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 NewGetCacheInfoResponseWithDefaults

func NewGetCacheInfoResponseWithDefaults() *GetCacheInfoResponse

NewGetCacheInfoResponseWithDefaults instantiates a new GetCacheInfoResponse 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 (*GetCacheInfoResponse) GetHistory

GetHistory returns the History field value

func (*GetCacheInfoResponse) GetHistoryOk

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

func (*GetCacheInfoResponse) GetLastPurgeTime

func (o *GetCacheInfoResponse) GetLastPurgeTime() time.Time

GetLastPurgeTime returns the LastPurgeTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*GetCacheInfoResponse) GetLastPurgeTimeOk

func (o *GetCacheInfoResponse) GetLastPurgeTimeOk() (*time.Time, bool)

GetLastPurgeTimeOk returns a tuple with the LastPurgeTime field value 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 (GetCacheInfoResponse) MarshalJSON

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

func (*GetCacheInfoResponse) SetHistory

SetHistory sets field value

func (*GetCacheInfoResponse) SetLastPurgeTime

func (o *GetCacheInfoResponse) SetLastPurgeTime(v time.Time)

SetLastPurgeTime sets field value

func (GetCacheInfoResponse) ToMap

func (o GetCacheInfoResponse) ToMap() (map[string]interface{}, error)

func (*GetCacheInfoResponse) UnmarshalJSON

func (o *GetCacheInfoResponse) UnmarshalJSON(data []byte) (err error)

type GetCacheInfoResponseHistoryEntry

type GetCacheInfoResponseHistoryEntry struct {
	OccurredAt time.Time `json:"occurredAt"`
	Type       string    `json:"type"`
}

GetCacheInfoResponseHistoryEntry struct for GetCacheInfoResponseHistoryEntry

func NewGetCacheInfoResponseHistoryEntry

func NewGetCacheInfoResponseHistoryEntry(occurredAt time.Time, types string) *GetCacheInfoResponseHistoryEntry

NewGetCacheInfoResponseHistoryEntry instantiates a new GetCacheInfoResponseHistoryEntry 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 NewGetCacheInfoResponseHistoryEntryWithDefaults

func NewGetCacheInfoResponseHistoryEntryWithDefaults() *GetCacheInfoResponseHistoryEntry

NewGetCacheInfoResponseHistoryEntryWithDefaults instantiates a new GetCacheInfoResponseHistoryEntry 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 (*GetCacheInfoResponseHistoryEntry) GetOccurredAt

func (o *GetCacheInfoResponseHistoryEntry) GetOccurredAt() time.Time

GetOccurredAt returns the OccurredAt field value

func (*GetCacheInfoResponseHistoryEntry) GetOccurredAtOk

func (o *GetCacheInfoResponseHistoryEntry) GetOccurredAtOk() (*time.Time, bool)

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

func (*GetCacheInfoResponseHistoryEntry) GetType

GetType returns the Type field value

func (*GetCacheInfoResponseHistoryEntry) GetTypeOk

func (o *GetCacheInfoResponseHistoryEntry) GetTypeOk() (*string, bool)

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

func (GetCacheInfoResponseHistoryEntry) MarshalJSON

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

func (*GetCacheInfoResponseHistoryEntry) SetOccurredAt

func (o *GetCacheInfoResponseHistoryEntry) SetOccurredAt(v time.Time)

SetOccurredAt sets field value

func (*GetCacheInfoResponseHistoryEntry) SetType

SetType sets field value

func (GetCacheInfoResponseHistoryEntry) ToMap

func (o GetCacheInfoResponseHistoryEntry) ToMap() (map[string]interface{}, error)

func (*GetCacheInfoResponseHistoryEntry) UnmarshalJSON

func (o *GetCacheInfoResponseHistoryEntry) UnmarshalJSON(data []byte) (err error)

type GetCustomDomainCustomCertificate

type GetCustomDomainCustomCertificate struct {
	Type string `json:"type"`
	// Whenever a new custom certificate is added the version is increased by 1.
	Version int32 `json:"version"`
}

GetCustomDomainCustomCertificate Returned if a custom certificate is used. Response does not contain the certificate or key.

func NewGetCustomDomainCustomCertificate

func NewGetCustomDomainCustomCertificate(types string, version int32) *GetCustomDomainCustomCertificate

NewGetCustomDomainCustomCertificate instantiates a new GetCustomDomainCustomCertificate 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 NewGetCustomDomainCustomCertificateWithDefaults

func NewGetCustomDomainCustomCertificateWithDefaults() *GetCustomDomainCustomCertificate

NewGetCustomDomainCustomCertificateWithDefaults instantiates a new GetCustomDomainCustomCertificate 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 (*GetCustomDomainCustomCertificate) GetType

GetType returns the Type field value

func (*GetCustomDomainCustomCertificate) GetTypeOk

func (o *GetCustomDomainCustomCertificate) GetTypeOk() (*string, bool)

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

func (*GetCustomDomainCustomCertificate) GetVersion

func (o *GetCustomDomainCustomCertificate) GetVersion() int32

GetVersion returns the Version field value

func (*GetCustomDomainCustomCertificate) GetVersionOk

func (o *GetCustomDomainCustomCertificate) GetVersionOk() (*int32, bool)

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

func (GetCustomDomainCustomCertificate) MarshalJSON

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

func (*GetCustomDomainCustomCertificate) SetType

SetType sets field value

func (*GetCustomDomainCustomCertificate) SetVersion

func (o *GetCustomDomainCustomCertificate) SetVersion(v int32)

SetVersion sets field value

func (GetCustomDomainCustomCertificate) ToMap

func (o GetCustomDomainCustomCertificate) ToMap() (map[string]interface{}, error)

func (*GetCustomDomainCustomCertificate) UnmarshalJSON

func (o *GetCustomDomainCustomCertificate) UnmarshalJSON(data []byte) (err error)

type GetCustomDomainManagedCertificate

type GetCustomDomainManagedCertificate struct {
	Type string `json:"type"`
}

GetCustomDomainManagedCertificate This is returned when no custom certificate is used. We provision and manage a Let's Encrypt Certificate for you

func NewGetCustomDomainManagedCertificate

func NewGetCustomDomainManagedCertificate(types string) *GetCustomDomainManagedCertificate

NewGetCustomDomainManagedCertificate instantiates a new GetCustomDomainManagedCertificate 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 NewGetCustomDomainManagedCertificateWithDefaults

func NewGetCustomDomainManagedCertificateWithDefaults() *GetCustomDomainManagedCertificate

NewGetCustomDomainManagedCertificateWithDefaults instantiates a new GetCustomDomainManagedCertificate 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 (*GetCustomDomainManagedCertificate) GetType

GetType returns the Type field value

func (*GetCustomDomainManagedCertificate) GetTypeOk

func (o *GetCustomDomainManagedCertificate) GetTypeOk() (*string, bool)

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

func (GetCustomDomainManagedCertificate) MarshalJSON

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

func (*GetCustomDomainManagedCertificate) SetType

SetType sets field value

func (GetCustomDomainManagedCertificate) ToMap

func (o GetCustomDomainManagedCertificate) ToMap() (map[string]interface{}, error)

func (*GetCustomDomainManagedCertificate) UnmarshalJSON

func (o *GetCustomDomainManagedCertificate) UnmarshalJSON(data []byte) (err error)

type GetCustomDomainResponse

type GetCustomDomainResponse struct {
	Certificate  GetCustomDomainResponseCertificate `json:"certificate"`
	CustomDomain CustomDomain                       `json:"customDomain"`
}

GetCustomDomainResponse struct for GetCustomDomainResponse

func NewGetCustomDomainResponse

func NewGetCustomDomainResponse(certificate GetCustomDomainResponseCertificate, customDomain CustomDomain) *GetCustomDomainResponse

NewGetCustomDomainResponse instantiates a new GetCustomDomainResponse 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 NewGetCustomDomainResponseWithDefaults

func NewGetCustomDomainResponseWithDefaults() *GetCustomDomainResponse

NewGetCustomDomainResponseWithDefaults instantiates a new GetCustomDomainResponse 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 (*GetCustomDomainResponse) GetCertificate

GetCertificate returns the Certificate field value

func (*GetCustomDomainResponse) GetCertificateOk

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

func (*GetCustomDomainResponse) GetCustomDomain

func (o *GetCustomDomainResponse) GetCustomDomain() CustomDomain

GetCustomDomain returns the CustomDomain field value

func (*GetCustomDomainResponse) GetCustomDomainOk

func (o *GetCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)

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

func (GetCustomDomainResponse) MarshalJSON

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

func (*GetCustomDomainResponse) SetCertificate

SetCertificate sets field value

func (*GetCustomDomainResponse) SetCustomDomain

func (o *GetCustomDomainResponse) SetCustomDomain(v CustomDomain)

SetCustomDomain sets field value

func (GetCustomDomainResponse) ToMap

func (o GetCustomDomainResponse) ToMap() (map[string]interface{}, error)

func (*GetCustomDomainResponse) UnmarshalJSON

func (o *GetCustomDomainResponse) UnmarshalJSON(data []byte) (err error)

type GetCustomDomainResponseCertificate

type GetCustomDomainResponseCertificate struct {
	GetCustomDomainCustomCertificate  *GetCustomDomainCustomCertificate
	GetCustomDomainManagedCertificate *GetCustomDomainManagedCertificate
}

GetCustomDomainResponseCertificate - struct for GetCustomDomainResponseCertificate

func GetCustomDomainCustomCertificateAsGetCustomDomainResponseCertificate

func GetCustomDomainCustomCertificateAsGetCustomDomainResponseCertificate(v *GetCustomDomainCustomCertificate) GetCustomDomainResponseCertificate

GetCustomDomainCustomCertificateAsGetCustomDomainResponseCertificate is a convenience function that returns GetCustomDomainCustomCertificate wrapped in GetCustomDomainResponseCertificate

func GetCustomDomainManagedCertificateAsGetCustomDomainResponseCertificate

func GetCustomDomainManagedCertificateAsGetCustomDomainResponseCertificate(v *GetCustomDomainManagedCertificate) GetCustomDomainResponseCertificate

GetCustomDomainManagedCertificateAsGetCustomDomainResponseCertificate is a convenience function that returns GetCustomDomainManagedCertificate wrapped in GetCustomDomainResponseCertificate

func (*GetCustomDomainResponseCertificate) GetActualInstance

func (obj *GetCustomDomainResponseCertificate) GetActualInstance() interface{}

Get the actual instance

func (GetCustomDomainResponseCertificate) GetActualInstanceValue

func (obj GetCustomDomainResponseCertificate) GetActualInstanceValue() interface{}

Get the actual instance value

func (GetCustomDomainResponseCertificate) MarshalJSON

func (src GetCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*GetCustomDomainResponseCertificate) UnmarshalJSON

func (dst *GetCustomDomainResponseCertificate) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type GetDistributionResponse

type GetDistributionResponse struct {
	Distribution Distribution `json:"distribution"`
}

GetDistributionResponse struct for GetDistributionResponse

func NewGetDistributionResponse

func NewGetDistributionResponse(distribution Distribution) *GetDistributionResponse

NewGetDistributionResponse instantiates a new GetDistributionResponse 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 NewGetDistributionResponseWithDefaults

func NewGetDistributionResponseWithDefaults() *GetDistributionResponse

NewGetDistributionResponseWithDefaults instantiates a new GetDistributionResponse 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 (*GetDistributionResponse) GetDistribution

func (o *GetDistributionResponse) GetDistribution() Distribution

GetDistribution returns the Distribution field value

func (*GetDistributionResponse) GetDistributionOk

func (o *GetDistributionResponse) GetDistributionOk() (*Distribution, bool)

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

func (GetDistributionResponse) MarshalJSON

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

func (*GetDistributionResponse) SetDistribution

func (o *GetDistributionResponse) SetDistribution(v Distribution)

SetDistribution sets field value

func (GetDistributionResponse) ToMap

func (o GetDistributionResponse) ToMap() (map[string]interface{}, error)

func (*GetDistributionResponse) UnmarshalJSON

func (o *GetDistributionResponse) UnmarshalJSON(data []byte) (err error)

type GetLogsResponse

type GetLogsResponse struct {
	Logs               []DistributionLogsRecord `json:"logs"`
	NextPageIdentifier *string                  `json:"nextPageIdentifier,omitempty"`
}

GetLogsResponse struct for GetLogsResponse

func NewGetLogsResponse

func NewGetLogsResponse(logs []DistributionLogsRecord) *GetLogsResponse

NewGetLogsResponse instantiates a new GetLogsResponse 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 NewGetLogsResponseWithDefaults

func NewGetLogsResponseWithDefaults() *GetLogsResponse

NewGetLogsResponseWithDefaults instantiates a new GetLogsResponse 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 (*GetLogsResponse) GetLogs

func (o *GetLogsResponse) GetLogs() []DistributionLogsRecord

GetLogs returns the Logs field value

func (*GetLogsResponse) GetLogsOk

func (o *GetLogsResponse) GetLogsOk() ([]DistributionLogsRecord, bool)

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

func (*GetLogsResponse) GetNextPageIdentifier

func (o *GetLogsResponse) GetNextPageIdentifier() string

GetNextPageIdentifier returns the NextPageIdentifier field value if set, zero value otherwise.

func (*GetLogsResponse) GetNextPageIdentifierOk

func (o *GetLogsResponse) GetNextPageIdentifierOk() (*string, bool)

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

func (*GetLogsResponse) HasNextPageIdentifier

func (o *GetLogsResponse) HasNextPageIdentifier() bool

HasNextPageIdentifier returns a boolean if a field has been set.

func (GetLogsResponse) MarshalJSON

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

func (*GetLogsResponse) SetLogs

func (o *GetLogsResponse) SetLogs(v []DistributionLogsRecord)

SetLogs sets field value

func (*GetLogsResponse) SetNextPageIdentifier

func (o *GetLogsResponse) SetNextPageIdentifier(v string)

SetNextPageIdentifier gets a reference to the given string and assigns it to the NextPageIdentifier field.

func (GetLogsResponse) ToMap

func (o GetLogsResponse) ToMap() (map[string]interface{}, error)

func (*GetLogsResponse) UnmarshalJSON

func (o *GetLogsResponse) UnmarshalJSON(data []byte) (err error)

type GetLogsSearchFiltersResponse

type GetLogsSearchFiltersResponse struct {
	Cache      []string                                    `json:"cache"`
	DataCenter GetLogsSearchFiltersResponseDatacenterBlock `json:"dataCenter"`
	// List of ISO-3166 Alpha2 Country Codes matching the input filter. Response is ordered in ascending order.   For more Info about the country codes, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
	RemoteCountry []string `json:"remoteCountry"`
	// List of Status Codes matching the input filter. Response is ordered in ascending order.
	Status []int32 `json:"status"`
}

GetLogsSearchFiltersResponse struct for GetLogsSearchFiltersResponse

func NewGetLogsSearchFiltersResponse

func NewGetLogsSearchFiltersResponse(cache []string, dataCenter GetLogsSearchFiltersResponseDatacenterBlock, remoteCountry []string, status []int32) *GetLogsSearchFiltersResponse

NewGetLogsSearchFiltersResponse instantiates a new GetLogsSearchFiltersResponse 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 NewGetLogsSearchFiltersResponseWithDefaults

func NewGetLogsSearchFiltersResponseWithDefaults() *GetLogsSearchFiltersResponse

NewGetLogsSearchFiltersResponseWithDefaults instantiates a new GetLogsSearchFiltersResponse 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 (*GetLogsSearchFiltersResponse) GetCache

func (o *GetLogsSearchFiltersResponse) GetCache() []string

GetCache returns the Cache field value

func (*GetLogsSearchFiltersResponse) GetCacheOk

func (o *GetLogsSearchFiltersResponse) GetCacheOk() ([]string, bool)

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

func (*GetLogsSearchFiltersResponse) GetDataCenter

GetDataCenter returns the DataCenter field value

func (*GetLogsSearchFiltersResponse) GetDataCenterOk

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

func (*GetLogsSearchFiltersResponse) GetRemoteCountry

func (o *GetLogsSearchFiltersResponse) GetRemoteCountry() []string

GetRemoteCountry returns the RemoteCountry field value

func (*GetLogsSearchFiltersResponse) GetRemoteCountryOk

func (o *GetLogsSearchFiltersResponse) GetRemoteCountryOk() ([]string, bool)

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

func (*GetLogsSearchFiltersResponse) GetStatus

func (o *GetLogsSearchFiltersResponse) GetStatus() []int32

GetStatus returns the Status field value

func (*GetLogsSearchFiltersResponse) GetStatusOk

func (o *GetLogsSearchFiltersResponse) GetStatusOk() ([]int32, bool)

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

func (GetLogsSearchFiltersResponse) MarshalJSON

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

func (*GetLogsSearchFiltersResponse) SetCache

func (o *GetLogsSearchFiltersResponse) SetCache(v []string)

SetCache sets field value

func (*GetLogsSearchFiltersResponse) SetDataCenter

SetDataCenter sets field value

func (*GetLogsSearchFiltersResponse) SetRemoteCountry

func (o *GetLogsSearchFiltersResponse) SetRemoteCountry(v []string)

SetRemoteCountry sets field value

func (*GetLogsSearchFiltersResponse) SetStatus

func (o *GetLogsSearchFiltersResponse) SetStatus(v []int32)

SetStatus sets field value

func (GetLogsSearchFiltersResponse) ToMap

func (o GetLogsSearchFiltersResponse) ToMap() (map[string]interface{}, error)

func (*GetLogsSearchFiltersResponse) UnmarshalJSON

func (o *GetLogsSearchFiltersResponse) UnmarshalJSON(data []byte) (err error)

type GetLogsSearchFiltersResponseDatacenterBlock

GetLogsSearchFiltersResponseDatacenterBlock Object containing Datacenters to filter for. Each datacenter is grouped to the respective region.

func NewGetLogsSearchFiltersResponseDatacenterBlock

NewGetLogsSearchFiltersResponseDatacenterBlock instantiates a new GetLogsSearchFiltersResponseDatacenterBlock 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 NewGetLogsSearchFiltersResponseDatacenterBlockWithDefaults

func NewGetLogsSearchFiltersResponseDatacenterBlockWithDefaults() *GetLogsSearchFiltersResponseDatacenterBlock

NewGetLogsSearchFiltersResponseDatacenterBlockWithDefaults instantiates a new GetLogsSearchFiltersResponseDatacenterBlock 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 (*GetLogsSearchFiltersResponseDatacenterBlock) GetAF

GetAF returns the AF field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetAFOk

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

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetASIA

GetASIA returns the ASIA field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetASIAOk

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

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetEU

GetEU returns the EU field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetEUOk

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

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetNA

GetNA returns the NA field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetNAOk

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

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetSA

GetSA returns the SA field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) GetSAOk

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

func (GetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON

func (*GetLogsSearchFiltersResponseDatacenterBlock) SetAF

SetAF sets field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) SetASIA

SetASIA sets field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) SetEU

SetEU sets field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) SetNA

SetNA sets field value

func (*GetLogsSearchFiltersResponseDatacenterBlock) SetSA

SetSA sets field value

func (GetLogsSearchFiltersResponseDatacenterBlock) ToMap

func (o GetLogsSearchFiltersResponseDatacenterBlock) ToMap() (map[string]interface{}, error)

func (*GetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON

func (o *GetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON(data []byte) (err error)

type GetLogsSearchFiltersResponseDatacenterBlockItem

type GetLogsSearchFiltersResponseDatacenterBlockItem struct {
	DisplayName string `json:"displayName"`
	Id          string `json:"id"`
}

GetLogsSearchFiltersResponseDatacenterBlockItem A datacenter. The `id` defines the key needed to filter against the logs endpoint, while the `displayName` defines a human-readable Name.

func NewGetLogsSearchFiltersResponseDatacenterBlockItem

func NewGetLogsSearchFiltersResponseDatacenterBlockItem(displayName string, id string) *GetLogsSearchFiltersResponseDatacenterBlockItem

NewGetLogsSearchFiltersResponseDatacenterBlockItem instantiates a new GetLogsSearchFiltersResponseDatacenterBlockItem 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 NewGetLogsSearchFiltersResponseDatacenterBlockItemWithDefaults

func NewGetLogsSearchFiltersResponseDatacenterBlockItemWithDefaults() *GetLogsSearchFiltersResponseDatacenterBlockItem

NewGetLogsSearchFiltersResponseDatacenterBlockItemWithDefaults instantiates a new GetLogsSearchFiltersResponseDatacenterBlockItem 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 (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayName

GetDisplayName returns the DisplayName field value

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayNameOk

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

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetId

GetId returns the Id field value

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetIdOk

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

func (GetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) SetDisplayName

SetDisplayName sets field value

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) SetId

SetId sets field value

func (GetLogsSearchFiltersResponseDatacenterBlockItem) ToMap

func (o GetLogsSearchFiltersResponseDatacenterBlockItem) ToMap() (map[string]interface{}, error)

func (*GetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON

func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON(data []byte) (err error)

type GetStatisticsResponse

type GetStatisticsResponse struct {
	Records []DistributionStatisticsRecord `json:"records"`
}

GetStatisticsResponse struct for GetStatisticsResponse

func NewGetStatisticsResponse

func NewGetStatisticsResponse(records []DistributionStatisticsRecord) *GetStatisticsResponse

NewGetStatisticsResponse instantiates a new GetStatisticsResponse 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 NewGetStatisticsResponseWithDefaults

func NewGetStatisticsResponseWithDefaults() *GetStatisticsResponse

NewGetStatisticsResponseWithDefaults instantiates a new GetStatisticsResponse 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 (*GetStatisticsResponse) GetRecords

GetRecords returns the Records field value

func (*GetStatisticsResponse) GetRecordsOk

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

func (GetStatisticsResponse) MarshalJSON

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

func (*GetStatisticsResponse) SetRecords

SetRecords sets field value

func (GetStatisticsResponse) ToMap

func (o GetStatisticsResponse) ToMap() (map[string]interface{}, error)

func (*GetStatisticsResponse) UnmarshalJSON

func (o *GetStatisticsResponse) UnmarshalJSON(data []byte) (err error)

type HttpBackend

type HttpBackend struct {
	// An object mapping multiple alternative origins to country codes.  Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins.
	Geofencing map[string][]string `json:"geofencing"`
	// Headers that will be sent with every request to the configured origin.  **WARNING**: Do not store sensitive values in the headers.  The configuration is stored as plain text.
	OriginRequestHeaders map[string]string `json:"originRequestHeaders"`
	// The origin of the content that should be made available through the CDN.   Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed.   So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234`
	OriginUrl string `json:"originUrl"`
	Type      string `json:"type"`
}

HttpBackend struct for HttpBackend

func NewHttpBackend

func NewHttpBackend(geofencing map[string][]string, originRequestHeaders map[string]string, originUrl string, types string) *HttpBackend

NewHttpBackend instantiates a new HttpBackend 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 NewHttpBackendWithDefaults

func NewHttpBackendWithDefaults() *HttpBackend

NewHttpBackendWithDefaults instantiates a new HttpBackend 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 (*HttpBackend) GetGeofencing

func (o *HttpBackend) GetGeofencing() map[string][]string

GetGeofencing returns the Geofencing field value

func (*HttpBackend) GetGeofencingOk

func (o *HttpBackend) GetGeofencingOk() (*map[string][]string, bool)

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

func (*HttpBackend) GetOriginRequestHeaders

func (o *HttpBackend) GetOriginRequestHeaders() map[string]string

GetOriginRequestHeaders returns the OriginRequestHeaders field value

func (*HttpBackend) GetOriginRequestHeadersOk

func (o *HttpBackend) GetOriginRequestHeadersOk() (*map[string]string, bool)

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

func (*HttpBackend) GetOriginUrl

func (o *HttpBackend) GetOriginUrl() string

GetOriginUrl returns the OriginUrl field value

func (*HttpBackend) GetOriginUrlOk

func (o *HttpBackend) GetOriginUrlOk() (*string, bool)

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

func (*HttpBackend) GetType

func (o *HttpBackend) GetType() string

GetType returns the Type field value

func (*HttpBackend) GetTypeOk

func (o *HttpBackend) GetTypeOk() (*string, bool)

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

func (HttpBackend) MarshalJSON

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

func (*HttpBackend) SetGeofencing

func (o *HttpBackend) SetGeofencing(v map[string][]string)

SetGeofencing sets field value

func (*HttpBackend) SetOriginRequestHeaders

func (o *HttpBackend) SetOriginRequestHeaders(v map[string]string)

SetOriginRequestHeaders sets field value

func (*HttpBackend) SetOriginUrl

func (o *HttpBackend) SetOriginUrl(v string)

SetOriginUrl sets field value

func (*HttpBackend) SetType

func (o *HttpBackend) SetType(v string)

SetType sets field value

func (HttpBackend) ToMap

func (o HttpBackend) ToMap() (map[string]interface{}, error)

func (*HttpBackend) UnmarshalJSON

func (o *HttpBackend) UnmarshalJSON(data []byte) (err error)

type HttpBackendCreate

type HttpBackendCreate struct {
	// An object mapping multiple alternative origins to country codes.  Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins.
	Geofencing *map[string][]string `json:"geofencing,omitempty"`
	// Headers that will be sent with every request to the configured origin.  **WARNING**: Do not store sensitive values in the headers.  The configuration is stored as plain text.
	OriginRequestHeaders *map[string]string `json:"originRequestHeaders,omitempty"`
	// The origin of the content that should be made available through the CDN.   Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed.   So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234`
	OriginUrl string `json:"originUrl"`
	Type      string `json:"type"`
}

HttpBackendCreate struct for HttpBackendCreate

func NewHttpBackendCreate

func NewHttpBackendCreate(originUrl string, types string) *HttpBackendCreate

NewHttpBackendCreate instantiates a new HttpBackendCreate 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 NewHttpBackendCreateWithDefaults

func NewHttpBackendCreateWithDefaults() *HttpBackendCreate

NewHttpBackendCreateWithDefaults instantiates a new HttpBackendCreate 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 (*HttpBackendCreate) GetGeofencing

func (o *HttpBackendCreate) GetGeofencing() map[string][]string

GetGeofencing returns the Geofencing field value if set, zero value otherwise.

func (*HttpBackendCreate) GetGeofencingOk

func (o *HttpBackendCreate) GetGeofencingOk() (*map[string][]string, bool)

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

func (*HttpBackendCreate) GetOriginRequestHeaders

func (o *HttpBackendCreate) GetOriginRequestHeaders() map[string]string

GetOriginRequestHeaders returns the OriginRequestHeaders field value if set, zero value otherwise.

func (*HttpBackendCreate) GetOriginRequestHeadersOk

func (o *HttpBackendCreate) GetOriginRequestHeadersOk() (*map[string]string, bool)

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

func (*HttpBackendCreate) GetOriginUrl

func (o *HttpBackendCreate) GetOriginUrl() string

GetOriginUrl returns the OriginUrl field value

func (*HttpBackendCreate) GetOriginUrlOk

func (o *HttpBackendCreate) GetOriginUrlOk() (*string, bool)

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

func (*HttpBackendCreate) GetType

func (o *HttpBackendCreate) GetType() string

GetType returns the Type field value

func (*HttpBackendCreate) GetTypeOk

func (o *HttpBackendCreate) GetTypeOk() (*string, bool)

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

func (*HttpBackendCreate) HasGeofencing

func (o *HttpBackendCreate) HasGeofencing() bool

HasGeofencing returns a boolean if a field has been set.

func (*HttpBackendCreate) HasOriginRequestHeaders

func (o *HttpBackendCreate) HasOriginRequestHeaders() bool

HasOriginRequestHeaders returns a boolean if a field has been set.

func (HttpBackendCreate) MarshalJSON

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

func (*HttpBackendCreate) SetGeofencing

func (o *HttpBackendCreate) SetGeofencing(v map[string][]string)

SetGeofencing gets a reference to the given map[string][]string and assigns it to the Geofencing field.

func (*HttpBackendCreate) SetOriginRequestHeaders

func (o *HttpBackendCreate) SetOriginRequestHeaders(v map[string]string)

SetOriginRequestHeaders gets a reference to the given map[string]string and assigns it to the OriginRequestHeaders field.

func (*HttpBackendCreate) SetOriginUrl

func (o *HttpBackendCreate) SetOriginUrl(v string)

SetOriginUrl sets field value

func (*HttpBackendCreate) SetType

func (o *HttpBackendCreate) SetType(v string)

SetType sets field value

func (HttpBackendCreate) ToMap

func (o HttpBackendCreate) ToMap() (map[string]interface{}, error)

func (*HttpBackendCreate) UnmarshalJSON

func (o *HttpBackendCreate) UnmarshalJSON(data []byte) (err error)

type HttpBackendPatch

type HttpBackendPatch struct {
	// An object mapping multiple alternative origins to country codes.  Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins.
	Geofencing *map[string][]string `json:"geofencing,omitempty"`
	// Headers that will be sent with every request to the configured origin.  **WARNING**: Do not store sensitive values in the headers.  The configuration is stored as plain text.
	OriginRequestHeaders *map[string]string `json:"originRequestHeaders,omitempty"`
	OriginUrl            *string            `json:"originUrl,omitempty"`
	// This property is required to determine the used backend type.
	Type string `json:"type"`
}

HttpBackendPatch A partial HTTP Backend

func NewHttpBackendPatch

func NewHttpBackendPatch(types string) *HttpBackendPatch

NewHttpBackendPatch instantiates a new HttpBackendPatch 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 NewHttpBackendPatchWithDefaults

func NewHttpBackendPatchWithDefaults() *HttpBackendPatch

NewHttpBackendPatchWithDefaults instantiates a new HttpBackendPatch 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 (*HttpBackendPatch) GetGeofencing

func (o *HttpBackendPatch) GetGeofencing() map[string][]string

GetGeofencing returns the Geofencing field value if set, zero value otherwise.

func (*HttpBackendPatch) GetGeofencingOk

func (o *HttpBackendPatch) GetGeofencingOk() (*map[string][]string, bool)

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

func (*HttpBackendPatch) GetOriginRequestHeaders

func (o *HttpBackendPatch) GetOriginRequestHeaders() map[string]string

GetOriginRequestHeaders returns the OriginRequestHeaders field value if set, zero value otherwise.

func (*HttpBackendPatch) GetOriginRequestHeadersOk

func (o *HttpBackendPatch) GetOriginRequestHeadersOk() (*map[string]string, bool)

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

func (*HttpBackendPatch) GetOriginUrl

func (o *HttpBackendPatch) GetOriginUrl() string

GetOriginUrl returns the OriginUrl field value if set, zero value otherwise.

func (*HttpBackendPatch) GetOriginUrlOk

func (o *HttpBackendPatch) GetOriginUrlOk() (*string, bool)

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

func (*HttpBackendPatch) GetType

func (o *HttpBackendPatch) GetType() string

GetType returns the Type field value

func (*HttpBackendPatch) GetTypeOk

func (o *HttpBackendPatch) GetTypeOk() (*string, bool)

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

func (*HttpBackendPatch) HasGeofencing

func (o *HttpBackendPatch) HasGeofencing() bool

HasGeofencing returns a boolean if a field has been set.

func (*HttpBackendPatch) HasOriginRequestHeaders

func (o *HttpBackendPatch) HasOriginRequestHeaders() bool

HasOriginRequestHeaders returns a boolean if a field has been set.

func (*HttpBackendPatch) HasOriginUrl

func (o *HttpBackendPatch) HasOriginUrl() bool

HasOriginUrl returns a boolean if a field has been set.

func (HttpBackendPatch) MarshalJSON

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

func (*HttpBackendPatch) SetGeofencing

func (o *HttpBackendPatch) SetGeofencing(v map[string][]string)

SetGeofencing gets a reference to the given map[string][]string and assigns it to the Geofencing field.

func (*HttpBackendPatch) SetOriginRequestHeaders

func (o *HttpBackendPatch) SetOriginRequestHeaders(v map[string]string)

SetOriginRequestHeaders gets a reference to the given map[string]string and assigns it to the OriginRequestHeaders field.

func (*HttpBackendPatch) SetOriginUrl

func (o *HttpBackendPatch) SetOriginUrl(v string)

SetOriginUrl gets a reference to the given string and assigns it to the OriginUrl field.

func (*HttpBackendPatch) SetType

func (o *HttpBackendPatch) SetType(v string)

SetType sets field value

func (HttpBackendPatch) ToMap

func (o HttpBackendPatch) ToMap() (map[string]interface{}, error)

func (*HttpBackendPatch) UnmarshalJSON

func (o *HttpBackendPatch) UnmarshalJSON(data []byte) (err error)

type ListDistributionsResponse

type ListDistributionsResponse struct {
	Distributions      []Distribution `json:"distributions"`
	NextPageIdentifier *string        `json:"nextPageIdentifier,omitempty"`
}

ListDistributionsResponse struct for ListDistributionsResponse

func NewListDistributionsResponse

func NewListDistributionsResponse(distributions []Distribution) *ListDistributionsResponse

NewListDistributionsResponse instantiates a new ListDistributionsResponse 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 NewListDistributionsResponseWithDefaults

func NewListDistributionsResponseWithDefaults() *ListDistributionsResponse

NewListDistributionsResponseWithDefaults instantiates a new ListDistributionsResponse 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 (*ListDistributionsResponse) GetDistributions

func (o *ListDistributionsResponse) GetDistributions() []Distribution

GetDistributions returns the Distributions field value

func (*ListDistributionsResponse) GetDistributionsOk

func (o *ListDistributionsResponse) GetDistributionsOk() ([]Distribution, bool)

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

func (*ListDistributionsResponse) GetNextPageIdentifier

func (o *ListDistributionsResponse) GetNextPageIdentifier() string

GetNextPageIdentifier returns the NextPageIdentifier field value if set, zero value otherwise.

func (*ListDistributionsResponse) GetNextPageIdentifierOk

func (o *ListDistributionsResponse) GetNextPageIdentifierOk() (*string, bool)

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

func (*ListDistributionsResponse) HasNextPageIdentifier

func (o *ListDistributionsResponse) HasNextPageIdentifier() bool

HasNextPageIdentifier returns a boolean if a field has been set.

func (ListDistributionsResponse) MarshalJSON

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

func (*ListDistributionsResponse) SetDistributions

func (o *ListDistributionsResponse) SetDistributions(v []Distribution)

SetDistributions sets field value

func (*ListDistributionsResponse) SetNextPageIdentifier

func (o *ListDistributionsResponse) SetNextPageIdentifier(v string)

SetNextPageIdentifier gets a reference to the given string and assigns it to the NextPageIdentifier field.

func (ListDistributionsResponse) ToMap

func (o ListDistributionsResponse) ToMap() (map[string]interface{}, error)

func (*ListDistributionsResponse) UnmarshalJSON

func (o *ListDistributionsResponse) UnmarshalJSON(data []byte) (err error)

type ListWafCollectionsResponse

type ListWafCollectionsResponse struct {
	Collections []WafRuleCollection `json:"collections"`
}

ListWafCollectionsResponse struct for ListWafCollectionsResponse

func NewListWafCollectionsResponse

func NewListWafCollectionsResponse(collections []WafRuleCollection) *ListWafCollectionsResponse

NewListWafCollectionsResponse instantiates a new ListWafCollectionsResponse 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 NewListWafCollectionsResponseWithDefaults

func NewListWafCollectionsResponseWithDefaults() *ListWafCollectionsResponse

NewListWafCollectionsResponseWithDefaults instantiates a new ListWafCollectionsResponse 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 (*ListWafCollectionsResponse) GetCollections

func (o *ListWafCollectionsResponse) GetCollections() []WafRuleCollection

GetCollections returns the Collections field value

func (*ListWafCollectionsResponse) GetCollectionsOk

func (o *ListWafCollectionsResponse) GetCollectionsOk() ([]WafRuleCollection, bool)

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

func (ListWafCollectionsResponse) MarshalJSON

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

func (*ListWafCollectionsResponse) SetCollections

func (o *ListWafCollectionsResponse) SetCollections(v []WafRuleCollection)

SetCollections sets field value

func (ListWafCollectionsResponse) ToMap

func (o ListWafCollectionsResponse) ToMap() (map[string]interface{}, error)

func (*ListWafCollectionsResponse) UnmarshalJSON

func (o *ListWafCollectionsResponse) UnmarshalJSON(data []byte) (err error)

type LokiLogSink

type LokiLogSink struct {
	PushUrl string `json:"pushUrl"`
	Type    string `json:"type"`
}

LokiLogSink struct for LokiLogSink

func NewLokiLogSink

func NewLokiLogSink(pushUrl string, types string) *LokiLogSink

NewLokiLogSink instantiates a new LokiLogSink 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 NewLokiLogSinkWithDefaults

func NewLokiLogSinkWithDefaults() *LokiLogSink

NewLokiLogSinkWithDefaults instantiates a new LokiLogSink 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 (*LokiLogSink) GetPushUrl

func (o *LokiLogSink) GetPushUrl() string

GetPushUrl returns the PushUrl field value

func (*LokiLogSink) GetPushUrlOk

func (o *LokiLogSink) GetPushUrlOk() (*string, bool)

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

func (*LokiLogSink) GetType

func (o *LokiLogSink) GetType() string

GetType returns the Type field value

func (*LokiLogSink) GetTypeOk

func (o *LokiLogSink) GetTypeOk() (*string, bool)

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

func (LokiLogSink) MarshalJSON

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

func (*LokiLogSink) SetPushUrl

func (o *LokiLogSink) SetPushUrl(v string)

SetPushUrl sets field value

func (*LokiLogSink) SetType

func (o *LokiLogSink) SetType(v string)

SetType sets field value

func (LokiLogSink) ToMap

func (o LokiLogSink) ToMap() (map[string]interface{}, error)

func (*LokiLogSink) UnmarshalJSON

func (o *LokiLogSink) UnmarshalJSON(data []byte) (err error)

type LokiLogSinkCreate

type LokiLogSinkCreate struct {
	Credentials LokiLogSinkCredentials `json:"credentials"`
	PushUrl     string                 `json:"pushUrl"`
	Type        string                 `json:"type"`
}

LokiLogSinkCreate struct for LokiLogSinkCreate

func NewLokiLogSinkCreate

func NewLokiLogSinkCreate(credentials LokiLogSinkCredentials, pushUrl string, types string) *LokiLogSinkCreate

NewLokiLogSinkCreate instantiates a new LokiLogSinkCreate 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 NewLokiLogSinkCreateWithDefaults

func NewLokiLogSinkCreateWithDefaults() *LokiLogSinkCreate

NewLokiLogSinkCreateWithDefaults instantiates a new LokiLogSinkCreate 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 (*LokiLogSinkCreate) GetCredentials

func (o *LokiLogSinkCreate) GetCredentials() LokiLogSinkCredentials

GetCredentials returns the Credentials field value

func (*LokiLogSinkCreate) GetCredentialsOk

func (o *LokiLogSinkCreate) GetCredentialsOk() (*LokiLogSinkCredentials, bool)

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

func (*LokiLogSinkCreate) GetPushUrl

func (o *LokiLogSinkCreate) GetPushUrl() string

GetPushUrl returns the PushUrl field value

func (*LokiLogSinkCreate) GetPushUrlOk

func (o *LokiLogSinkCreate) GetPushUrlOk() (*string, bool)

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

func (*LokiLogSinkCreate) GetType

func (o *LokiLogSinkCreate) GetType() string

GetType returns the Type field value

func (*LokiLogSinkCreate) GetTypeOk

func (o *LokiLogSinkCreate) GetTypeOk() (*string, bool)

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

func (LokiLogSinkCreate) MarshalJSON

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

func (*LokiLogSinkCreate) SetCredentials

func (o *LokiLogSinkCreate) SetCredentials(v LokiLogSinkCredentials)

SetCredentials sets field value

func (*LokiLogSinkCreate) SetPushUrl

func (o *LokiLogSinkCreate) SetPushUrl(v string)

SetPushUrl sets field value

func (*LokiLogSinkCreate) SetType

func (o *LokiLogSinkCreate) SetType(v string)

SetType sets field value

func (LokiLogSinkCreate) ToMap

func (o LokiLogSinkCreate) ToMap() (map[string]interface{}, error)

func (*LokiLogSinkCreate) UnmarshalJSON

func (o *LokiLogSinkCreate) UnmarshalJSON(data []byte) (err error)

type LokiLogSinkCredentials

type LokiLogSinkCredentials struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LokiLogSinkCredentials struct for LokiLogSinkCredentials

func NewLokiLogSinkCredentials

func NewLokiLogSinkCredentials(password string, username string) *LokiLogSinkCredentials

NewLokiLogSinkCredentials instantiates a new LokiLogSinkCredentials 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 NewLokiLogSinkCredentialsWithDefaults

func NewLokiLogSinkCredentialsWithDefaults() *LokiLogSinkCredentials

NewLokiLogSinkCredentialsWithDefaults instantiates a new LokiLogSinkCredentials 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 (*LokiLogSinkCredentials) GetPassword

func (o *LokiLogSinkCredentials) GetPassword() string

GetPassword returns the Password field value

func (*LokiLogSinkCredentials) GetPasswordOk

func (o *LokiLogSinkCredentials) GetPasswordOk() (*string, bool)

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

func (*LokiLogSinkCredentials) GetUsername

func (o *LokiLogSinkCredentials) GetUsername() string

GetUsername returns the Username field value

func (*LokiLogSinkCredentials) GetUsernameOk

func (o *LokiLogSinkCredentials) GetUsernameOk() (*string, bool)

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

func (LokiLogSinkCredentials) MarshalJSON

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

func (*LokiLogSinkCredentials) SetPassword

func (o *LokiLogSinkCredentials) SetPassword(v string)

SetPassword sets field value

func (*LokiLogSinkCredentials) SetUsername

func (o *LokiLogSinkCredentials) SetUsername(v string)

SetUsername sets field value

func (LokiLogSinkCredentials) ToMap

func (o LokiLogSinkCredentials) ToMap() (map[string]interface{}, error)

func (*LokiLogSinkCredentials) UnmarshalJSON

func (o *LokiLogSinkCredentials) UnmarshalJSON(data []byte) (err error)

type LokiLogSinkPatch

type LokiLogSinkPatch struct {
	Credentials *LokiLogSinkCredentials `json:"credentials,omitempty"`
	PushUrl     *string                 `json:"pushUrl,omitempty"`
	Type        string                  `json:"type"`
}

LokiLogSinkPatch struct for LokiLogSinkPatch

func NewLokiLogSinkPatch

func NewLokiLogSinkPatch(types string) *LokiLogSinkPatch

NewLokiLogSinkPatch instantiates a new LokiLogSinkPatch 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 NewLokiLogSinkPatchWithDefaults

func NewLokiLogSinkPatchWithDefaults() *LokiLogSinkPatch

NewLokiLogSinkPatchWithDefaults instantiates a new LokiLogSinkPatch 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 (*LokiLogSinkPatch) GetCredentials

func (o *LokiLogSinkPatch) GetCredentials() LokiLogSinkCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*LokiLogSinkPatch) GetCredentialsOk

func (o *LokiLogSinkPatch) GetCredentialsOk() (*LokiLogSinkCredentials, bool)

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

func (*LokiLogSinkPatch) GetPushUrl

func (o *LokiLogSinkPatch) GetPushUrl() string

GetPushUrl returns the PushUrl field value if set, zero value otherwise.

func (*LokiLogSinkPatch) GetPushUrlOk

func (o *LokiLogSinkPatch) GetPushUrlOk() (*string, bool)

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

func (*LokiLogSinkPatch) GetType

func (o *LokiLogSinkPatch) GetType() string

GetType returns the Type field value

func (*LokiLogSinkPatch) GetTypeOk

func (o *LokiLogSinkPatch) GetTypeOk() (*string, bool)

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

func (*LokiLogSinkPatch) HasCredentials

func (o *LokiLogSinkPatch) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*LokiLogSinkPatch) HasPushUrl

func (o *LokiLogSinkPatch) HasPushUrl() bool

HasPushUrl returns a boolean if a field has been set.

func (LokiLogSinkPatch) MarshalJSON

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

func (*LokiLogSinkPatch) SetCredentials

func (o *LokiLogSinkPatch) SetCredentials(v LokiLogSinkCredentials)

SetCredentials gets a reference to the given LokiLogSinkCredentials and assigns it to the Credentials field.

func (*LokiLogSinkPatch) SetPushUrl

func (o *LokiLogSinkPatch) SetPushUrl(v string)

SetPushUrl gets a reference to the given string and assigns it to the PushUrl field.

func (*LokiLogSinkPatch) SetType

func (o *LokiLogSinkPatch) SetType(v string)

SetType sets field value

func (LokiLogSinkPatch) ToMap

func (o LokiLogSinkPatch) ToMap() (map[string]interface{}, error)

func (*LokiLogSinkPatch) UnmarshalJSON

func (o *LokiLogSinkPatch) UnmarshalJSON(data []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableBucketBackend

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

func NewNullableBucketBackend

func NewNullableBucketBackend(val *BucketBackend) *NullableBucketBackend

func (NullableBucketBackend) Get

func (NullableBucketBackend) IsSet

func (v NullableBucketBackend) IsSet() bool

func (NullableBucketBackend) MarshalJSON

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

func (*NullableBucketBackend) Set

func (v *NullableBucketBackend) Set(val *BucketBackend)

func (*NullableBucketBackend) UnmarshalJSON

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

func (*NullableBucketBackend) Unset

func (v *NullableBucketBackend) Unset()

type NullableBucketBackendCreate

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

func NewNullableBucketBackendCreate

func NewNullableBucketBackendCreate(val *BucketBackendCreate) *NullableBucketBackendCreate

func (NullableBucketBackendCreate) Get

func (NullableBucketBackendCreate) IsSet

func (NullableBucketBackendCreate) MarshalJSON

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

func (*NullableBucketBackendCreate) Set

func (*NullableBucketBackendCreate) UnmarshalJSON

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

func (*NullableBucketBackendCreate) Unset

func (v *NullableBucketBackendCreate) Unset()

type NullableBucketBackendPatch

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

func NewNullableBucketBackendPatch

func NewNullableBucketBackendPatch(val *BucketBackendPatch) *NullableBucketBackendPatch

func (NullableBucketBackendPatch) Get

func (NullableBucketBackendPatch) IsSet

func (v NullableBucketBackendPatch) IsSet() bool

func (NullableBucketBackendPatch) MarshalJSON

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

func (*NullableBucketBackendPatch) Set

func (*NullableBucketBackendPatch) UnmarshalJSON

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

func (*NullableBucketBackendPatch) Unset

func (v *NullableBucketBackendPatch) Unset()

type NullableBucketCredentials

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

func NewNullableBucketCredentials

func NewNullableBucketCredentials(val *BucketCredentials) *NullableBucketCredentials

func (NullableBucketCredentials) Get

func (NullableBucketCredentials) IsSet

func (v NullableBucketCredentials) IsSet() bool

func (NullableBucketCredentials) MarshalJSON

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

func (*NullableBucketCredentials) Set

func (*NullableBucketCredentials) UnmarshalJSON

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

func (*NullableBucketCredentials) Unset

func (v *NullableBucketCredentials) Unset()

type NullableConfig

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

func NewNullableConfig

func NewNullableConfig(val *Config) *NullableConfig

func (NullableConfig) Get

func (v NullableConfig) Get() *Config

func (NullableConfig) IsSet

func (v NullableConfig) IsSet() bool

func (NullableConfig) MarshalJSON

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

func (*NullableConfig) Set

func (v *NullableConfig) Set(val *Config)

func (*NullableConfig) UnmarshalJSON

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

func (*NullableConfig) Unset

func (v *NullableConfig) Unset()

type NullableConfigBackend

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

func NewNullableConfigBackend

func NewNullableConfigBackend(val *ConfigBackend) *NullableConfigBackend

func (NullableConfigBackend) Get

func (NullableConfigBackend) IsSet

func (v NullableConfigBackend) IsSet() bool

func (NullableConfigBackend) MarshalJSON

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

func (*NullableConfigBackend) Set

func (v *NullableConfigBackend) Set(val *ConfigBackend)

func (*NullableConfigBackend) UnmarshalJSON

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

func (*NullableConfigBackend) Unset

func (v *NullableConfigBackend) Unset()

type NullableConfigPatch

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

func NewNullableConfigPatch

func NewNullableConfigPatch(val *ConfigPatch) *NullableConfigPatch

func (NullableConfigPatch) Get

func (NullableConfigPatch) IsSet

func (v NullableConfigPatch) IsSet() bool

func (NullableConfigPatch) MarshalJSON

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

func (*NullableConfigPatch) Set

func (v *NullableConfigPatch) Set(val *ConfigPatch)

func (*NullableConfigPatch) UnmarshalJSON

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

func (*NullableConfigPatch) Unset

func (v *NullableConfigPatch) Unset()

type NullableConfigPatchBackend

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

func NewNullableConfigPatchBackend

func NewNullableConfigPatchBackend(val *ConfigPatchBackend) *NullableConfigPatchBackend

func (NullableConfigPatchBackend) Get

func (NullableConfigPatchBackend) IsSet

func (v NullableConfigPatchBackend) IsSet() bool

func (NullableConfigPatchBackend) MarshalJSON

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

func (*NullableConfigPatchBackend) Set

func (*NullableConfigPatchBackend) UnmarshalJSON

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

func (*NullableConfigPatchBackend) Unset

func (v *NullableConfigPatchBackend) Unset()

type NullableCreateDistributionPayload

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

func (NullableCreateDistributionPayload) Get

func (NullableCreateDistributionPayload) IsSet

func (NullableCreateDistributionPayload) MarshalJSON

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

func (*NullableCreateDistributionPayload) Set

func (*NullableCreateDistributionPayload) UnmarshalJSON

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

func (*NullableCreateDistributionPayload) Unset

type NullableCreateDistributionPayloadBackend

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

func (NullableCreateDistributionPayloadBackend) Get

func (NullableCreateDistributionPayloadBackend) IsSet

func (NullableCreateDistributionPayloadBackend) MarshalJSON

func (*NullableCreateDistributionPayloadBackend) Set

func (*NullableCreateDistributionPayloadBackend) UnmarshalJSON

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

func (*NullableCreateDistributionPayloadBackend) Unset

type NullableCreateDistributionResponse

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

func (NullableCreateDistributionResponse) Get

func (NullableCreateDistributionResponse) IsSet

func (NullableCreateDistributionResponse) MarshalJSON

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

func (*NullableCreateDistributionResponse) Set

func (*NullableCreateDistributionResponse) UnmarshalJSON

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

func (*NullableCreateDistributionResponse) Unset

type NullableCustomDomain

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

func NewNullableCustomDomain

func NewNullableCustomDomain(val *CustomDomain) *NullableCustomDomain

func (NullableCustomDomain) Get

func (NullableCustomDomain) IsSet

func (v NullableCustomDomain) IsSet() bool

func (NullableCustomDomain) MarshalJSON

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

func (*NullableCustomDomain) Set

func (v *NullableCustomDomain) Set(val *CustomDomain)

func (*NullableCustomDomain) UnmarshalJSON

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

func (*NullableCustomDomain) Unset

func (v *NullableCustomDomain) Unset()

type NullableDeleteCustomDomainResponse

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

func (NullableDeleteCustomDomainResponse) Get

func (NullableDeleteCustomDomainResponse) IsSet

func (NullableDeleteCustomDomainResponse) MarshalJSON

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

func (*NullableDeleteCustomDomainResponse) Set

func (*NullableDeleteCustomDomainResponse) UnmarshalJSON

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

func (*NullableDeleteCustomDomainResponse) Unset

type NullableDeleteDistributionResponse

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

func (NullableDeleteDistributionResponse) Get

func (NullableDeleteDistributionResponse) IsSet

func (NullableDeleteDistributionResponse) MarshalJSON

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

func (*NullableDeleteDistributionResponse) Set

func (*NullableDeleteDistributionResponse) UnmarshalJSON

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

func (*NullableDeleteDistributionResponse) Unset

type NullableDistribution

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

func NewNullableDistribution

func NewNullableDistribution(val *Distribution) *NullableDistribution

func (NullableDistribution) Get

func (NullableDistribution) IsSet

func (v NullableDistribution) IsSet() bool

func (NullableDistribution) MarshalJSON

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

func (*NullableDistribution) Set

func (v *NullableDistribution) Set(val *Distribution)

func (*NullableDistribution) UnmarshalJSON

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

func (*NullableDistribution) Unset

func (v *NullableDistribution) Unset()

type NullableDistributionLogsRecord

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

func (NullableDistributionLogsRecord) Get

func (NullableDistributionLogsRecord) IsSet

func (NullableDistributionLogsRecord) MarshalJSON

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

func (*NullableDistributionLogsRecord) Set

func (*NullableDistributionLogsRecord) UnmarshalJSON

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

func (*NullableDistributionLogsRecord) Unset

func (v *NullableDistributionLogsRecord) Unset()

type NullableDistributionStatisticsRecord

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

func (NullableDistributionStatisticsRecord) Get

func (NullableDistributionStatisticsRecord) IsSet

func (NullableDistributionStatisticsRecord) MarshalJSON

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

func (*NullableDistributionStatisticsRecord) Set

func (*NullableDistributionStatisticsRecord) UnmarshalJSON

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

func (*NullableDistributionStatisticsRecord) Unset

type NullableDistributionStatisticsRecordEntry

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

func (NullableDistributionStatisticsRecordEntry) Get

func (NullableDistributionStatisticsRecordEntry) IsSet

func (NullableDistributionStatisticsRecordEntry) MarshalJSON

func (*NullableDistributionStatisticsRecordEntry) Set

func (*NullableDistributionStatisticsRecordEntry) UnmarshalJSON

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

func (*NullableDistributionStatisticsRecordEntry) Unset

type NullableDistributionStatisticsRecordRegions

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

func (NullableDistributionStatisticsRecordRegions) Get

func (NullableDistributionStatisticsRecordRegions) IsSet

func (NullableDistributionStatisticsRecordRegions) MarshalJSON

func (*NullableDistributionStatisticsRecordRegions) Set

func (*NullableDistributionStatisticsRecordRegions) UnmarshalJSON

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

func (*NullableDistributionStatisticsRecordRegions) Unset

type NullableDistributionWaf

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

func NewNullableDistributionWaf

func NewNullableDistributionWaf(val *DistributionWaf) *NullableDistributionWaf

func (NullableDistributionWaf) Get

func (NullableDistributionWaf) IsSet

func (v NullableDistributionWaf) IsSet() bool

func (NullableDistributionWaf) MarshalJSON

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

func (*NullableDistributionWaf) Set

func (*NullableDistributionWaf) UnmarshalJSON

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

func (*NullableDistributionWaf) Unset

func (v *NullableDistributionWaf) Unset()

type NullableDomain

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

func NewNullableDomain

func NewNullableDomain(val *Domain) *NullableDomain

func (NullableDomain) Get

func (v NullableDomain) Get() *Domain

func (NullableDomain) IsSet

func (v NullableDomain) IsSet() bool

func (NullableDomain) MarshalJSON

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

func (*NullableDomain) Set

func (v *NullableDomain) Set(val *Domain)

func (*NullableDomain) UnmarshalJSON

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

func (*NullableDomain) Unset

func (v *NullableDomain) Unset()

type NullableDomainStatus

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

func NewNullableDomainStatus

func NewNullableDomainStatus(val *DomainStatus) *NullableDomainStatus

func (NullableDomainStatus) Get

func (NullableDomainStatus) IsSet

func (v NullableDomainStatus) IsSet() bool

func (NullableDomainStatus) MarshalJSON

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

func (*NullableDomainStatus) Set

func (v *NullableDomainStatus) Set(val *DomainStatus)

func (*NullableDomainStatus) UnmarshalJSON

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

func (*NullableDomainStatus) Unset

func (v *NullableDomainStatus) Unset()

type NullableErrorDetails

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

func NewNullableErrorDetails

func NewNullableErrorDetails(val *ErrorDetails) *NullableErrorDetails

func (NullableErrorDetails) Get

func (NullableErrorDetails) IsSet

func (v NullableErrorDetails) IsSet() bool

func (NullableErrorDetails) MarshalJSON

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

func (*NullableErrorDetails) Set

func (v *NullableErrorDetails) Set(val *ErrorDetails)

func (*NullableErrorDetails) UnmarshalJSON

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

func (*NullableErrorDetails) Unset

func (v *NullableErrorDetails) Unset()

type NullableFindCachePathsResponse

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

func (NullableFindCachePathsResponse) Get

func (NullableFindCachePathsResponse) IsSet

func (NullableFindCachePathsResponse) MarshalJSON

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

func (*NullableFindCachePathsResponse) Set

func (*NullableFindCachePathsResponse) UnmarshalJSON

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

func (*NullableFindCachePathsResponse) Unset

func (v *NullableFindCachePathsResponse) Unset()

type NullableFindCachePathsResponseEntry

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

func (NullableFindCachePathsResponseEntry) Get

func (NullableFindCachePathsResponseEntry) IsSet

func (NullableFindCachePathsResponseEntry) MarshalJSON

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

func (*NullableFindCachePathsResponseEntry) Set

func (*NullableFindCachePathsResponseEntry) UnmarshalJSON

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

func (*NullableFindCachePathsResponseEntry) 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 NullableGenericJsonResponse

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

func NewNullableGenericJsonResponse

func NewNullableGenericJsonResponse(val *GenericJsonResponse) *NullableGenericJsonResponse

func (NullableGenericJsonResponse) Get

func (NullableGenericJsonResponse) IsSet

func (NullableGenericJsonResponse) MarshalJSON

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

func (*NullableGenericJsonResponse) Set

func (*NullableGenericJsonResponse) UnmarshalJSON

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

func (*NullableGenericJsonResponse) Unset

func (v *NullableGenericJsonResponse) Unset()

type NullableGetCacheInfoResponse

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

func NewNullableGetCacheInfoResponse

func NewNullableGetCacheInfoResponse(val *GetCacheInfoResponse) *NullableGetCacheInfoResponse

func (NullableGetCacheInfoResponse) Get

func (NullableGetCacheInfoResponse) IsSet

func (NullableGetCacheInfoResponse) MarshalJSON

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

func (*NullableGetCacheInfoResponse) Set

func (*NullableGetCacheInfoResponse) UnmarshalJSON

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

func (*NullableGetCacheInfoResponse) Unset

func (v *NullableGetCacheInfoResponse) Unset()

type NullableGetCacheInfoResponseHistoryEntry

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

func (NullableGetCacheInfoResponseHistoryEntry) Get

func (NullableGetCacheInfoResponseHistoryEntry) IsSet

func (NullableGetCacheInfoResponseHistoryEntry) MarshalJSON

func (*NullableGetCacheInfoResponseHistoryEntry) Set

func (*NullableGetCacheInfoResponseHistoryEntry) UnmarshalJSON

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

func (*NullableGetCacheInfoResponseHistoryEntry) Unset

type NullableGetCustomDomainCustomCertificate

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

func (NullableGetCustomDomainCustomCertificate) Get

func (NullableGetCustomDomainCustomCertificate) IsSet

func (NullableGetCustomDomainCustomCertificate) MarshalJSON

func (*NullableGetCustomDomainCustomCertificate) Set

func (*NullableGetCustomDomainCustomCertificate) UnmarshalJSON

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

func (*NullableGetCustomDomainCustomCertificate) Unset

type NullableGetCustomDomainManagedCertificate

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

func (NullableGetCustomDomainManagedCertificate) Get

func (NullableGetCustomDomainManagedCertificate) IsSet

func (NullableGetCustomDomainManagedCertificate) MarshalJSON

func (*NullableGetCustomDomainManagedCertificate) Set

func (*NullableGetCustomDomainManagedCertificate) UnmarshalJSON

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

func (*NullableGetCustomDomainManagedCertificate) Unset

type NullableGetCustomDomainResponse

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

func (NullableGetCustomDomainResponse) Get

func (NullableGetCustomDomainResponse) IsSet

func (NullableGetCustomDomainResponse) MarshalJSON

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

func (*NullableGetCustomDomainResponse) Set

func (*NullableGetCustomDomainResponse) UnmarshalJSON

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

func (*NullableGetCustomDomainResponse) Unset

type NullableGetCustomDomainResponseCertificate

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

func (NullableGetCustomDomainResponseCertificate) Get

func (NullableGetCustomDomainResponseCertificate) IsSet

func (NullableGetCustomDomainResponseCertificate) MarshalJSON

func (*NullableGetCustomDomainResponseCertificate) Set

func (*NullableGetCustomDomainResponseCertificate) UnmarshalJSON

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

func (*NullableGetCustomDomainResponseCertificate) Unset

type NullableGetDistributionResponse

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

func (NullableGetDistributionResponse) Get

func (NullableGetDistributionResponse) IsSet

func (NullableGetDistributionResponse) MarshalJSON

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

func (*NullableGetDistributionResponse) Set

func (*NullableGetDistributionResponse) UnmarshalJSON

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

func (*NullableGetDistributionResponse) Unset

type NullableGetLogsResponse

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

func NewNullableGetLogsResponse

func NewNullableGetLogsResponse(val *GetLogsResponse) *NullableGetLogsResponse

func (NullableGetLogsResponse) Get

func (NullableGetLogsResponse) IsSet

func (v NullableGetLogsResponse) IsSet() bool

func (NullableGetLogsResponse) MarshalJSON

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

func (*NullableGetLogsResponse) Set

func (*NullableGetLogsResponse) UnmarshalJSON

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

func (*NullableGetLogsResponse) Unset

func (v *NullableGetLogsResponse) Unset()

type NullableGetLogsSearchFiltersResponse

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

func (NullableGetLogsSearchFiltersResponse) Get

func (NullableGetLogsSearchFiltersResponse) IsSet

func (NullableGetLogsSearchFiltersResponse) MarshalJSON

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

func (*NullableGetLogsSearchFiltersResponse) Set

func (*NullableGetLogsSearchFiltersResponse) UnmarshalJSON

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

func (*NullableGetLogsSearchFiltersResponse) Unset

type NullableGetLogsSearchFiltersResponseDatacenterBlock

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

func (NullableGetLogsSearchFiltersResponseDatacenterBlock) Get

func (NullableGetLogsSearchFiltersResponseDatacenterBlock) IsSet

func (NullableGetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON

func (*NullableGetLogsSearchFiltersResponseDatacenterBlock) Set

func (*NullableGetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON

func (*NullableGetLogsSearchFiltersResponseDatacenterBlock) Unset

type NullableGetLogsSearchFiltersResponseDatacenterBlockItem

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

func (NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Get

func (NullableGetLogsSearchFiltersResponseDatacenterBlockItem) IsSet

func (NullableGetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON

func (*NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Set

func (*NullableGetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON

func (*NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Unset

type NullableGetStatisticsResponse

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

func (NullableGetStatisticsResponse) Get

func (NullableGetStatisticsResponse) IsSet

func (NullableGetStatisticsResponse) MarshalJSON

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

func (*NullableGetStatisticsResponse) Set

func (*NullableGetStatisticsResponse) UnmarshalJSON

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

func (*NullableGetStatisticsResponse) Unset

func (v *NullableGetStatisticsResponse) Unset()

type NullableHttpBackend

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

func NewNullableHttpBackend

func NewNullableHttpBackend(val *HttpBackend) *NullableHttpBackend

func (NullableHttpBackend) Get

func (NullableHttpBackend) IsSet

func (v NullableHttpBackend) IsSet() bool

func (NullableHttpBackend) MarshalJSON

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

func (*NullableHttpBackend) Set

func (v *NullableHttpBackend) Set(val *HttpBackend)

func (*NullableHttpBackend) UnmarshalJSON

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

func (*NullableHttpBackend) Unset

func (v *NullableHttpBackend) Unset()

type NullableHttpBackendCreate

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

func NewNullableHttpBackendCreate

func NewNullableHttpBackendCreate(val *HttpBackendCreate) *NullableHttpBackendCreate

func (NullableHttpBackendCreate) Get

func (NullableHttpBackendCreate) IsSet

func (v NullableHttpBackendCreate) IsSet() bool

func (NullableHttpBackendCreate) MarshalJSON

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

func (*NullableHttpBackendCreate) Set

func (*NullableHttpBackendCreate) UnmarshalJSON

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

func (*NullableHttpBackendCreate) Unset

func (v *NullableHttpBackendCreate) Unset()

type NullableHttpBackendPatch

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

func NewNullableHttpBackendPatch

func NewNullableHttpBackendPatch(val *HttpBackendPatch) *NullableHttpBackendPatch

func (NullableHttpBackendPatch) Get

func (NullableHttpBackendPatch) IsSet

func (v NullableHttpBackendPatch) IsSet() bool

func (NullableHttpBackendPatch) MarshalJSON

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

func (*NullableHttpBackendPatch) Set

func (*NullableHttpBackendPatch) UnmarshalJSON

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

func (*NullableHttpBackendPatch) Unset

func (v *NullableHttpBackendPatch) 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 NullableListDistributionsResponse

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

func (NullableListDistributionsResponse) Get

func (NullableListDistributionsResponse) IsSet

func (NullableListDistributionsResponse) MarshalJSON

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

func (*NullableListDistributionsResponse) Set

func (*NullableListDistributionsResponse) UnmarshalJSON

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

func (*NullableListDistributionsResponse) Unset

type NullableListWafCollectionsResponse

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

func (NullableListWafCollectionsResponse) Get

func (NullableListWafCollectionsResponse) IsSet

func (NullableListWafCollectionsResponse) MarshalJSON

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

func (*NullableListWafCollectionsResponse) Set

func (*NullableListWafCollectionsResponse) UnmarshalJSON

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

func (*NullableListWafCollectionsResponse) Unset

type NullableLokiLogSink

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

func NewNullableLokiLogSink

func NewNullableLokiLogSink(val *LokiLogSink) *NullableLokiLogSink

func (NullableLokiLogSink) Get

func (NullableLokiLogSink) IsSet

func (v NullableLokiLogSink) IsSet() bool

func (NullableLokiLogSink) MarshalJSON

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

func (*NullableLokiLogSink) Set

func (v *NullableLokiLogSink) Set(val *LokiLogSink)

func (*NullableLokiLogSink) UnmarshalJSON

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

func (*NullableLokiLogSink) Unset

func (v *NullableLokiLogSink) Unset()

type NullableLokiLogSinkCreate

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

func NewNullableLokiLogSinkCreate

func NewNullableLokiLogSinkCreate(val *LokiLogSinkCreate) *NullableLokiLogSinkCreate

func (NullableLokiLogSinkCreate) Get

func (NullableLokiLogSinkCreate) IsSet

func (v NullableLokiLogSinkCreate) IsSet() bool

func (NullableLokiLogSinkCreate) MarshalJSON

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

func (*NullableLokiLogSinkCreate) Set

func (*NullableLokiLogSinkCreate) UnmarshalJSON

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

func (*NullableLokiLogSinkCreate) Unset

func (v *NullableLokiLogSinkCreate) Unset()

type NullableLokiLogSinkCredentials

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

func (NullableLokiLogSinkCredentials) Get

func (NullableLokiLogSinkCredentials) IsSet

func (NullableLokiLogSinkCredentials) MarshalJSON

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

func (*NullableLokiLogSinkCredentials) Set

func (*NullableLokiLogSinkCredentials) UnmarshalJSON

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

func (*NullableLokiLogSinkCredentials) Unset

func (v *NullableLokiLogSinkCredentials) Unset()

type NullableLokiLogSinkPatch

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

func NewNullableLokiLogSinkPatch

func NewNullableLokiLogSinkPatch(val *LokiLogSinkPatch) *NullableLokiLogSinkPatch

func (NullableLokiLogSinkPatch) Get

func (NullableLokiLogSinkPatch) IsSet

func (v NullableLokiLogSinkPatch) IsSet() bool

func (NullableLokiLogSinkPatch) MarshalJSON

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

func (*NullableLokiLogSinkPatch) Set

func (*NullableLokiLogSinkPatch) UnmarshalJSON

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

func (*NullableLokiLogSinkPatch) Unset

func (v *NullableLokiLogSinkPatch) Unset()

type NullableOptimizer

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

func NewNullableOptimizer

func NewNullableOptimizer(val *Optimizer) *NullableOptimizer

func (NullableOptimizer) Get

func (v NullableOptimizer) Get() *Optimizer

func (NullableOptimizer) IsSet

func (v NullableOptimizer) IsSet() bool

func (NullableOptimizer) MarshalJSON

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

func (*NullableOptimizer) Set

func (v *NullableOptimizer) Set(val *Optimizer)

func (*NullableOptimizer) UnmarshalJSON

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

func (*NullableOptimizer) Unset

func (v *NullableOptimizer) Unset()

type NullableOptimizerPatch

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

func NewNullableOptimizerPatch

func NewNullableOptimizerPatch(val *OptimizerPatch) *NullableOptimizerPatch

func (NullableOptimizerPatch) Get

func (NullableOptimizerPatch) IsSet

func (v NullableOptimizerPatch) IsSet() bool

func (NullableOptimizerPatch) MarshalJSON

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

func (*NullableOptimizerPatch) Set

func (*NullableOptimizerPatch) UnmarshalJSON

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

func (*NullableOptimizerPatch) Unset

func (v *NullableOptimizerPatch) Unset()

type NullablePatchDistributionPayload

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

func (NullablePatchDistributionPayload) Get

func (NullablePatchDistributionPayload) IsSet

func (NullablePatchDistributionPayload) MarshalJSON

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

func (*NullablePatchDistributionPayload) Set

func (*NullablePatchDistributionPayload) UnmarshalJSON

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

func (*NullablePatchDistributionPayload) Unset

type NullablePatchDistributionResponse

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

func (NullablePatchDistributionResponse) Get

func (NullablePatchDistributionResponse) IsSet

func (NullablePatchDistributionResponse) MarshalJSON

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

func (*NullablePatchDistributionResponse) Set

func (*NullablePatchDistributionResponse) UnmarshalJSON

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

func (*NullablePatchDistributionResponse) Unset

type NullablePurgeCachePayload

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

func NewNullablePurgeCachePayload

func NewNullablePurgeCachePayload(val *PurgeCachePayload) *NullablePurgeCachePayload

func (NullablePurgeCachePayload) Get

func (NullablePurgeCachePayload) IsSet

func (v NullablePurgeCachePayload) IsSet() bool

func (NullablePurgeCachePayload) MarshalJSON

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

func (*NullablePurgeCachePayload) Set

func (*NullablePurgeCachePayload) UnmarshalJSON

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

func (*NullablePurgeCachePayload) Unset

func (v *NullablePurgeCachePayload) Unset()

type NullablePutCustomDomainCustomCertificate

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

func (NullablePutCustomDomainCustomCertificate) Get

func (NullablePutCustomDomainCustomCertificate) IsSet

func (NullablePutCustomDomainCustomCertificate) MarshalJSON

func (*NullablePutCustomDomainCustomCertificate) Set

func (*NullablePutCustomDomainCustomCertificate) UnmarshalJSON

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

func (*NullablePutCustomDomainCustomCertificate) Unset

type NullablePutCustomDomainManagedCertificate

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

func (NullablePutCustomDomainManagedCertificate) Get

func (NullablePutCustomDomainManagedCertificate) IsSet

func (NullablePutCustomDomainManagedCertificate) MarshalJSON

func (*NullablePutCustomDomainManagedCertificate) Set

func (*NullablePutCustomDomainManagedCertificate) UnmarshalJSON

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

func (*NullablePutCustomDomainManagedCertificate) Unset

type NullablePutCustomDomainPayload

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

func (NullablePutCustomDomainPayload) Get

func (NullablePutCustomDomainPayload) IsSet

func (NullablePutCustomDomainPayload) MarshalJSON

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

func (*NullablePutCustomDomainPayload) Set

func (*NullablePutCustomDomainPayload) UnmarshalJSON

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

func (*NullablePutCustomDomainPayload) Unset

func (v *NullablePutCustomDomainPayload) Unset()

type NullablePutCustomDomainPayloadCertificate

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

func (NullablePutCustomDomainPayloadCertificate) Get

func (NullablePutCustomDomainPayloadCertificate) IsSet

func (NullablePutCustomDomainPayloadCertificate) MarshalJSON

func (*NullablePutCustomDomainPayloadCertificate) Set

func (*NullablePutCustomDomainPayloadCertificate) UnmarshalJSON

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

func (*NullablePutCustomDomainPayloadCertificate) Unset

type NullablePutCustomDomainResponse

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

func (NullablePutCustomDomainResponse) Get

func (NullablePutCustomDomainResponse) IsSet

func (NullablePutCustomDomainResponse) MarshalJSON

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

func (*NullablePutCustomDomainResponse) Set

func (*NullablePutCustomDomainResponse) UnmarshalJSON

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

func (*NullablePutCustomDomainResponse) Unset

type NullablePutCustomDomainResponseCertificate

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

func (NullablePutCustomDomainResponseCertificate) Get

func (NullablePutCustomDomainResponseCertificate) IsSet

func (NullablePutCustomDomainResponseCertificate) MarshalJSON

func (*NullablePutCustomDomainResponseCertificate) Set

func (*NullablePutCustomDomainResponseCertificate) UnmarshalJSON

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

func (*NullablePutCustomDomainResponseCertificate) Unset

type NullableRegion

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

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

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

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

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

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableStatusError

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

func NewNullableStatusError

func NewNullableStatusError(val *StatusError) *NullableStatusError

func (NullableStatusError) Get

func (NullableStatusError) IsSet

func (v NullableStatusError) IsSet() bool

func (NullableStatusError) MarshalJSON

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

func (*NullableStatusError) Set

func (v *NullableStatusError) Set(val *StatusError)

func (*NullableStatusError) UnmarshalJSON

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

func (*NullableStatusError) Unset

func (v *NullableStatusError) 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 NullableWAFRuleAction

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

func NewNullableWAFRuleAction

func NewNullableWAFRuleAction(val *WAFRuleAction) *NullableWAFRuleAction

func (NullableWAFRuleAction) Get

func (NullableWAFRuleAction) IsSet

func (v NullableWAFRuleAction) IsSet() bool

func (NullableWAFRuleAction) MarshalJSON

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

func (*NullableWAFRuleAction) Set

func (v *NullableWAFRuleAction) Set(val *WAFRuleAction)

func (*NullableWAFRuleAction) UnmarshalJSON

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

func (*NullableWAFRuleAction) Unset

func (v *NullableWAFRuleAction) Unset()

type NullableWAFViolation

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

func NewNullableWAFViolation

func NewNullableWAFViolation(val *WAFViolation) *NullableWAFViolation

func (NullableWAFViolation) Get

func (NullableWAFViolation) IsSet

func (v NullableWAFViolation) IsSet() bool

func (NullableWAFViolation) MarshalJSON

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

func (*NullableWAFViolation) Set

func (v *NullableWAFViolation) Set(val *WAFViolation)

func (*NullableWAFViolation) UnmarshalJSON

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

func (*NullableWAFViolation) Unset

func (v *NullableWAFViolation) Unset()

type NullableWafConfig

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

func NewNullableWafConfig

func NewNullableWafConfig(val *WafConfig) *NullableWafConfig

func (NullableWafConfig) Get

func (v NullableWafConfig) Get() *WafConfig

func (NullableWafConfig) IsSet

func (v NullableWafConfig) IsSet() bool

func (NullableWafConfig) MarshalJSON

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

func (*NullableWafConfig) Set

func (v *NullableWafConfig) Set(val *WafConfig)

func (*NullableWafConfig) UnmarshalJSON

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

func (*NullableWafConfig) Unset

func (v *NullableWafConfig) Unset()

type NullableWafConfigPatch

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

func NewNullableWafConfigPatch

func NewNullableWafConfigPatch(val *WafConfigPatch) *NullableWafConfigPatch

func (NullableWafConfigPatch) Get

func (NullableWafConfigPatch) IsSet

func (v NullableWafConfigPatch) IsSet() bool

func (NullableWafConfigPatch) MarshalJSON

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

func (*NullableWafConfigPatch) Set

func (*NullableWafConfigPatch) UnmarshalJSON

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

func (*NullableWafConfigPatch) Unset

func (v *NullableWafConfigPatch) Unset()

type NullableWafMode

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

func NewNullableWafMode

func NewNullableWafMode(val *WafMode) *NullableWafMode

func (NullableWafMode) Get

func (v NullableWafMode) Get() *WafMode

func (NullableWafMode) IsSet

func (v NullableWafMode) IsSet() bool

func (NullableWafMode) MarshalJSON

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

func (*NullableWafMode) Set

func (v *NullableWafMode) Set(val *WafMode)

func (*NullableWafMode) UnmarshalJSON

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

func (*NullableWafMode) Unset

func (v *NullableWafMode) Unset()

type NullableWafParanoiaLevel

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

func NewNullableWafParanoiaLevel

func NewNullableWafParanoiaLevel(val *WafParanoiaLevel) *NullableWafParanoiaLevel

func (NullableWafParanoiaLevel) Get

func (NullableWafParanoiaLevel) IsSet

func (v NullableWafParanoiaLevel) IsSet() bool

func (NullableWafParanoiaLevel) MarshalJSON

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

func (*NullableWafParanoiaLevel) Set

func (*NullableWafParanoiaLevel) UnmarshalJSON

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

func (*NullableWafParanoiaLevel) Unset

func (v *NullableWafParanoiaLevel) Unset()

type NullableWafRule

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

func NewNullableWafRule

func NewNullableWafRule(val *WafRule) *NullableWafRule

func (NullableWafRule) Get

func (v NullableWafRule) Get() *WafRule

func (NullableWafRule) IsSet

func (v NullableWafRule) IsSet() bool

func (NullableWafRule) MarshalJSON

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

func (*NullableWafRule) Set

func (v *NullableWafRule) Set(val *WafRule)

func (*NullableWafRule) UnmarshalJSON

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

func (*NullableWafRule) Unset

func (v *NullableWafRule) Unset()

type NullableWafRuleCollection

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

func NewNullableWafRuleCollection

func NewNullableWafRuleCollection(val *WafRuleCollection) *NullableWafRuleCollection

func (NullableWafRuleCollection) Get

func (NullableWafRuleCollection) IsSet

func (v NullableWafRuleCollection) IsSet() bool

func (NullableWafRuleCollection) MarshalJSON

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

func (*NullableWafRuleCollection) Set

func (*NullableWafRuleCollection) UnmarshalJSON

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

func (*NullableWafRuleCollection) Unset

func (v *NullableWafRuleCollection) Unset()

type NullableWafRuleGroup

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

func NewNullableWafRuleGroup

func NewNullableWafRuleGroup(val *WafRuleGroup) *NullableWafRuleGroup

func (NullableWafRuleGroup) Get

func (NullableWafRuleGroup) IsSet

func (v NullableWafRuleGroup) IsSet() bool

func (NullableWafRuleGroup) MarshalJSON

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

func (*NullableWafRuleGroup) Set

func (v *NullableWafRuleGroup) Set(val *WafRuleGroup)

func (*NullableWafRuleGroup) UnmarshalJSON

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

func (*NullableWafRuleGroup) Unset

func (v *NullableWafRuleGroup) Unset()

type NullableWafStatusRuleBlock

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

func NewNullableWafStatusRuleBlock

func NewNullableWafStatusRuleBlock(val *WafStatusRuleBlock) *NullableWafStatusRuleBlock

func (NullableWafStatusRuleBlock) Get

func (NullableWafStatusRuleBlock) IsSet

func (v NullableWafStatusRuleBlock) IsSet() bool

func (NullableWafStatusRuleBlock) MarshalJSON

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

func (*NullableWafStatusRuleBlock) Set

func (*NullableWafStatusRuleBlock) UnmarshalJSON

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

func (*NullableWafStatusRuleBlock) Unset

func (v *NullableWafStatusRuleBlock) Unset()

type NullableWafStatusRuleBlockReason

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

func (NullableWafStatusRuleBlockReason) Get

func (NullableWafStatusRuleBlockReason) IsSet

func (NullableWafStatusRuleBlockReason) MarshalJSON

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

func (*NullableWafStatusRuleBlockReason) Set

func (*NullableWafStatusRuleBlockReason) UnmarshalJSON

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

func (*NullableWafStatusRuleBlockReason) Unset

type NullableWafStatusRuleBlockReasonDirectlyDefined

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

func (NullableWafStatusRuleBlockReasonDirectlyDefined) Get

func (NullableWafStatusRuleBlockReasonDirectlyDefined) IsSet

func (NullableWafStatusRuleBlockReasonDirectlyDefined) MarshalJSON

func (*NullableWafStatusRuleBlockReasonDirectlyDefined) Set

func (*NullableWafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON

func (*NullableWafStatusRuleBlockReasonDirectlyDefined) Unset

type NullableWafStatusRuleBlockReasonInheritedFromCollection

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

func (NullableWafStatusRuleBlockReasonInheritedFromCollection) Get

func (NullableWafStatusRuleBlockReasonInheritedFromCollection) IsSet

func (NullableWafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON

func (*NullableWafStatusRuleBlockReasonInheritedFromCollection) Set

func (*NullableWafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON

func (*NullableWafStatusRuleBlockReasonInheritedFromCollection) Unset

type NullableWafStatusRuleBlockReasonInheritedFromGroup

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

func (NullableWafStatusRuleBlockReasonInheritedFromGroup) Get

func (NullableWafStatusRuleBlockReasonInheritedFromGroup) IsSet

func (NullableWafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON

func (*NullableWafStatusRuleBlockReasonInheritedFromGroup) Set

func (*NullableWafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON

func (*NullableWafStatusRuleBlockReasonInheritedFromGroup) Unset

type NullableWafStatusRuleBlockReasonInvalidWafType

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

func (NullableWafStatusRuleBlockReasonInvalidWafType) Get

func (NullableWafStatusRuleBlockReasonInvalidWafType) IsSet

func (NullableWafStatusRuleBlockReasonInvalidWafType) MarshalJSON

func (*NullableWafStatusRuleBlockReasonInvalidWafType) Set

func (*NullableWafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON

func (*NullableWafStatusRuleBlockReasonInvalidWafType) Unset

type NullableWafStatusRuleBlockReasonNeverDefined

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

func (NullableWafStatusRuleBlockReasonNeverDefined) Get

func (NullableWafStatusRuleBlockReasonNeverDefined) IsSet

func (NullableWafStatusRuleBlockReasonNeverDefined) MarshalJSON

func (*NullableWafStatusRuleBlockReasonNeverDefined) Set

func (*NullableWafStatusRuleBlockReasonNeverDefined) UnmarshalJSON

func (*NullableWafStatusRuleBlockReasonNeverDefined) Unset

type NullableWafType

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

func NewNullableWafType

func NewNullableWafType(val *WafType) *NullableWafType

func (NullableWafType) Get

func (v NullableWafType) Get() *WafType

func (NullableWafType) IsSet

func (v NullableWafType) IsSet() bool

func (NullableWafType) MarshalJSON

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

func (*NullableWafType) Set

func (v *NullableWafType) Set(val *WafType)

func (*NullableWafType) UnmarshalJSON

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

func (*NullableWafType) Unset

func (v *NullableWafType) Unset()

type Optimizer

type Optimizer struct {
	// Determines if the optimizer should be enabled for this distribution and incurs a monthly fee
	Enabled bool `json:"enabled"`
}

Optimizer Optimizer is paid feature, a real-time on the fly image manipulation and optimization service that automatically optimizes your images for faster image delivery.

func NewOptimizer

func NewOptimizer(enabled bool) *Optimizer

NewOptimizer instantiates a new Optimizer 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 NewOptimizerWithDefaults

func NewOptimizerWithDefaults() *Optimizer

NewOptimizerWithDefaults instantiates a new Optimizer 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 (*Optimizer) GetEnabled

func (o *Optimizer) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Optimizer) GetEnabledOk

func (o *Optimizer) GetEnabledOk() (*bool, bool)

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

func (Optimizer) MarshalJSON

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

func (*Optimizer) SetEnabled

func (o *Optimizer) SetEnabled(v bool)

SetEnabled sets field value

func (Optimizer) ToMap

func (o Optimizer) ToMap() (map[string]interface{}, error)

func (*Optimizer) UnmarshalJSON

func (o *Optimizer) UnmarshalJSON(data []byte) (err error)

type OptimizerPatch

type OptimizerPatch struct {
	Enabled *bool `json:"enabled,omitempty"`
}

OptimizerPatch struct for OptimizerPatch

func NewOptimizerPatch

func NewOptimizerPatch() *OptimizerPatch

NewOptimizerPatch instantiates a new OptimizerPatch 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 NewOptimizerPatchWithDefaults

func NewOptimizerPatchWithDefaults() *OptimizerPatch

NewOptimizerPatchWithDefaults instantiates a new OptimizerPatch 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 (*OptimizerPatch) GetEnabled

func (o *OptimizerPatch) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*OptimizerPatch) GetEnabledOk

func (o *OptimizerPatch) GetEnabledOk() (*bool, bool)

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

func (*OptimizerPatch) HasEnabled

func (o *OptimizerPatch) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (OptimizerPatch) MarshalJSON

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

func (*OptimizerPatch) SetEnabled

func (o *OptimizerPatch) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (OptimizerPatch) ToMap

func (o OptimizerPatch) ToMap() (map[string]interface{}, error)

type PatchDistributionPayload

type PatchDistributionPayload struct {
	Config *ConfigPatch `json:"config,omitempty"`
	// While optional, it is greatly encouraged to provide an `intentId`.  This is used to deduplicate requests.   If multiple modifying requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.
	IntentId *string `json:"intentId,omitempty"`
}

PatchDistributionPayload Defines a partial distribution. Set values

func NewPatchDistributionPayload

func NewPatchDistributionPayload() *PatchDistributionPayload

NewPatchDistributionPayload instantiates a new PatchDistributionPayload 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 NewPatchDistributionPayloadWithDefaults

func NewPatchDistributionPayloadWithDefaults() *PatchDistributionPayload

NewPatchDistributionPayloadWithDefaults instantiates a new PatchDistributionPayload 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 (*PatchDistributionPayload) GetConfig

func (o *PatchDistributionPayload) GetConfig() ConfigPatch

GetConfig returns the Config field value if set, zero value otherwise.

func (*PatchDistributionPayload) GetConfigOk

func (o *PatchDistributionPayload) GetConfigOk() (*ConfigPatch, bool)

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

func (*PatchDistributionPayload) GetIntentId

func (o *PatchDistributionPayload) GetIntentId() string

GetIntentId returns the IntentId field value if set, zero value otherwise.

func (*PatchDistributionPayload) GetIntentIdOk

func (o *PatchDistributionPayload) GetIntentIdOk() (*string, bool)

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

func (*PatchDistributionPayload) HasConfig

func (o *PatchDistributionPayload) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*PatchDistributionPayload) HasIntentId

func (o *PatchDistributionPayload) HasIntentId() bool

HasIntentId returns a boolean if a field has been set.

func (PatchDistributionPayload) MarshalJSON

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

func (*PatchDistributionPayload) SetConfig

func (o *PatchDistributionPayload) SetConfig(v ConfigPatch)

SetConfig gets a reference to the given ConfigPatch and assigns it to the Config field.

func (*PatchDistributionPayload) SetIntentId

func (o *PatchDistributionPayload) SetIntentId(v string)

SetIntentId gets a reference to the given string and assigns it to the IntentId field.

func (PatchDistributionPayload) ToMap

func (o PatchDistributionPayload) ToMap() (map[string]interface{}, error)

type PatchDistributionResponse

type PatchDistributionResponse struct {
	Distribution Distribution `json:"distribution"`
}

PatchDistributionResponse struct for PatchDistributionResponse

func NewPatchDistributionResponse

func NewPatchDistributionResponse(distribution Distribution) *PatchDistributionResponse

NewPatchDistributionResponse instantiates a new PatchDistributionResponse 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 NewPatchDistributionResponseWithDefaults

func NewPatchDistributionResponseWithDefaults() *PatchDistributionResponse

NewPatchDistributionResponseWithDefaults instantiates a new PatchDistributionResponse 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 (*PatchDistributionResponse) GetDistribution

func (o *PatchDistributionResponse) GetDistribution() Distribution

GetDistribution returns the Distribution field value

func (*PatchDistributionResponse) GetDistributionOk

func (o *PatchDistributionResponse) GetDistributionOk() (*Distribution, bool)

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

func (PatchDistributionResponse) MarshalJSON

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

func (*PatchDistributionResponse) SetDistribution

func (o *PatchDistributionResponse) SetDistribution(v Distribution)

SetDistribution sets field value

func (PatchDistributionResponse) ToMap

func (o PatchDistributionResponse) ToMap() (map[string]interface{}, error)

func (*PatchDistributionResponse) UnmarshalJSON

func (o *PatchDistributionResponse) UnmarshalJSON(data []byte) (err error)

type PurgeCachePayload

type PurgeCachePayload struct {
	// Defines an optional path. If this is set, a granular purge is done. If missing, the entire cache is invalidated.  During a granular cache purge, only the provided path is purged.   Please do not that for example `/some/path` and `/some/path.txt` are considered different paths.
	Path *string `json:"path,omitempty"`
}

PurgeCachePayload struct for PurgeCachePayload

func NewPurgeCachePayload

func NewPurgeCachePayload() *PurgeCachePayload

NewPurgeCachePayload instantiates a new PurgeCachePayload 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 NewPurgeCachePayloadWithDefaults

func NewPurgeCachePayloadWithDefaults() *PurgeCachePayload

NewPurgeCachePayloadWithDefaults instantiates a new PurgeCachePayload 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 (*PurgeCachePayload) GetPath

func (o *PurgeCachePayload) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*PurgeCachePayload) GetPathOk

func (o *PurgeCachePayload) GetPathOk() (*string, bool)

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

func (*PurgeCachePayload) HasPath

func (o *PurgeCachePayload) HasPath() bool

HasPath returns a boolean if a field has been set.

func (PurgeCachePayload) MarshalJSON

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

func (*PurgeCachePayload) SetPath

func (o *PurgeCachePayload) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (PurgeCachePayload) ToMap

func (o PurgeCachePayload) ToMap() (map[string]interface{}, error)

type PutCustomDomainCustomCertificate

type PutCustomDomainCustomCertificate struct {
	// base64-encoded PEM-encoded certificate
	Certificate string `json:"certificate"`
	// base64-encoded PEM encoded key
	Key  string `json:"key"`
	Type string `json:"type"`
}

PutCustomDomainCustomCertificate Returned if a custom certificate is used. Response does not contain the certificate or key.

func NewPutCustomDomainCustomCertificate

func NewPutCustomDomainCustomCertificate(certificate string, key string, types string) *PutCustomDomainCustomCertificate

NewPutCustomDomainCustomCertificate instantiates a new PutCustomDomainCustomCertificate 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 NewPutCustomDomainCustomCertificateWithDefaults

func NewPutCustomDomainCustomCertificateWithDefaults() *PutCustomDomainCustomCertificate

NewPutCustomDomainCustomCertificateWithDefaults instantiates a new PutCustomDomainCustomCertificate 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 (*PutCustomDomainCustomCertificate) GetCertificate

func (o *PutCustomDomainCustomCertificate) GetCertificate() string

GetCertificate returns the Certificate field value

func (*PutCustomDomainCustomCertificate) GetCertificateOk

func (o *PutCustomDomainCustomCertificate) GetCertificateOk() (*string, bool)

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

func (*PutCustomDomainCustomCertificate) GetKey

GetKey returns the Key field value

func (*PutCustomDomainCustomCertificate) GetKeyOk

func (o *PutCustomDomainCustomCertificate) GetKeyOk() (*string, bool)

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

func (*PutCustomDomainCustomCertificate) GetType

GetType returns the Type field value

func (*PutCustomDomainCustomCertificate) GetTypeOk

func (o *PutCustomDomainCustomCertificate) GetTypeOk() (*string, bool)

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

func (PutCustomDomainCustomCertificate) MarshalJSON

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

func (*PutCustomDomainCustomCertificate) SetCertificate

func (o *PutCustomDomainCustomCertificate) SetCertificate(v string)

SetCertificate sets field value

func (*PutCustomDomainCustomCertificate) SetKey

SetKey sets field value

func (*PutCustomDomainCustomCertificate) SetType

SetType sets field value

func (PutCustomDomainCustomCertificate) ToMap

func (o PutCustomDomainCustomCertificate) ToMap() (map[string]interface{}, error)

func (*PutCustomDomainCustomCertificate) UnmarshalJSON

func (o *PutCustomDomainCustomCertificate) UnmarshalJSON(data []byte) (err error)

type PutCustomDomainManagedCertificate

type PutCustomDomainManagedCertificate struct {
	Type string `json:"type"`
}

PutCustomDomainManagedCertificate This is returned when no custom certificate is used. We provision and manage a Let's Encrypt Certificate for you

func NewPutCustomDomainManagedCertificate

func NewPutCustomDomainManagedCertificate(types string) *PutCustomDomainManagedCertificate

NewPutCustomDomainManagedCertificate instantiates a new PutCustomDomainManagedCertificate 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 NewPutCustomDomainManagedCertificateWithDefaults

func NewPutCustomDomainManagedCertificateWithDefaults() *PutCustomDomainManagedCertificate

NewPutCustomDomainManagedCertificateWithDefaults instantiates a new PutCustomDomainManagedCertificate 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 (*PutCustomDomainManagedCertificate) GetType

GetType returns the Type field value

func (*PutCustomDomainManagedCertificate) GetTypeOk

func (o *PutCustomDomainManagedCertificate) GetTypeOk() (*string, bool)

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

func (PutCustomDomainManagedCertificate) MarshalJSON

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

func (*PutCustomDomainManagedCertificate) SetType

SetType sets field value

func (PutCustomDomainManagedCertificate) ToMap

func (o PutCustomDomainManagedCertificate) ToMap() (map[string]interface{}, error)

func (*PutCustomDomainManagedCertificate) UnmarshalJSON

func (o *PutCustomDomainManagedCertificate) UnmarshalJSON(data []byte) (err error)

type PutCustomDomainPayload

type PutCustomDomainPayload struct {
	Certificate *PutCustomDomainPayloadCertificate `json:"certificate,omitempty"`
	// While optional, it is greatly encouraged to provide an `intentId`.  This is used to deduplicate requests.   If multiple modifying Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.
	IntentId *string `json:"intentId,omitempty"`
}

PutCustomDomainPayload struct for PutCustomDomainPayload

func NewPutCustomDomainPayload

func NewPutCustomDomainPayload() *PutCustomDomainPayload

NewPutCustomDomainPayload instantiates a new PutCustomDomainPayload 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 NewPutCustomDomainPayloadWithDefaults

func NewPutCustomDomainPayloadWithDefaults() *PutCustomDomainPayload

NewPutCustomDomainPayloadWithDefaults instantiates a new PutCustomDomainPayload 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 (*PutCustomDomainPayload) GetCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*PutCustomDomainPayload) GetCertificateOk

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

func (*PutCustomDomainPayload) GetIntentId

func (o *PutCustomDomainPayload) GetIntentId() string

GetIntentId returns the IntentId field value if set, zero value otherwise.

func (*PutCustomDomainPayload) GetIntentIdOk

func (o *PutCustomDomainPayload) GetIntentIdOk() (*string, bool)

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

func (*PutCustomDomainPayload) HasCertificate

func (o *PutCustomDomainPayload) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*PutCustomDomainPayload) HasIntentId

func (o *PutCustomDomainPayload) HasIntentId() bool

HasIntentId returns a boolean if a field has been set.

func (PutCustomDomainPayload) MarshalJSON

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

func (*PutCustomDomainPayload) SetCertificate

SetCertificate gets a reference to the given PutCustomDomainPayloadCertificate and assigns it to the Certificate field.

func (*PutCustomDomainPayload) SetIntentId

func (o *PutCustomDomainPayload) SetIntentId(v string)

SetIntentId gets a reference to the given string and assigns it to the IntentId field.

func (PutCustomDomainPayload) ToMap

func (o PutCustomDomainPayload) ToMap() (map[string]interface{}, error)

type PutCustomDomainPayloadCertificate

type PutCustomDomainPayloadCertificate struct {
	PutCustomDomainCustomCertificate  *PutCustomDomainCustomCertificate
	PutCustomDomainManagedCertificate *PutCustomDomainManagedCertificate
}

PutCustomDomainPayloadCertificate - Pass a custom certificate to be served by the CDN when calling the custom domain. Will use a managed certificate when omitted

func PutCustomDomainCustomCertificateAsPutCustomDomainPayloadCertificate

func PutCustomDomainCustomCertificateAsPutCustomDomainPayloadCertificate(v *PutCustomDomainCustomCertificate) PutCustomDomainPayloadCertificate

PutCustomDomainCustomCertificateAsPutCustomDomainPayloadCertificate is a convenience function that returns PutCustomDomainCustomCertificate wrapped in PutCustomDomainPayloadCertificate

func PutCustomDomainManagedCertificateAsPutCustomDomainPayloadCertificate

func PutCustomDomainManagedCertificateAsPutCustomDomainPayloadCertificate(v *PutCustomDomainManagedCertificate) PutCustomDomainPayloadCertificate

PutCustomDomainManagedCertificateAsPutCustomDomainPayloadCertificate is a convenience function that returns PutCustomDomainManagedCertificate wrapped in PutCustomDomainPayloadCertificate

func (*PutCustomDomainPayloadCertificate) GetActualInstance

func (obj *PutCustomDomainPayloadCertificate) GetActualInstance() interface{}

Get the actual instance

func (PutCustomDomainPayloadCertificate) GetActualInstanceValue

func (obj PutCustomDomainPayloadCertificate) GetActualInstanceValue() interface{}

Get the actual instance value

func (PutCustomDomainPayloadCertificate) MarshalJSON

func (src PutCustomDomainPayloadCertificate) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PutCustomDomainPayloadCertificate) UnmarshalJSON

func (dst *PutCustomDomainPayloadCertificate) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type PutCustomDomainResponse

type PutCustomDomainResponse struct {
	Certificate  *PutCustomDomainResponseCertificate `json:"certificate,omitempty"`
	CustomDomain CustomDomain                        `json:"customDomain"`
}

PutCustomDomainResponse struct for PutCustomDomainResponse

func NewPutCustomDomainResponse

func NewPutCustomDomainResponse(customDomain CustomDomain) *PutCustomDomainResponse

NewPutCustomDomainResponse instantiates a new PutCustomDomainResponse 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 NewPutCustomDomainResponseWithDefaults

func NewPutCustomDomainResponseWithDefaults() *PutCustomDomainResponse

NewPutCustomDomainResponseWithDefaults instantiates a new PutCustomDomainResponse 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 (*PutCustomDomainResponse) GetCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*PutCustomDomainResponse) GetCertificateOk

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

func (*PutCustomDomainResponse) GetCustomDomain

func (o *PutCustomDomainResponse) GetCustomDomain() CustomDomain

GetCustomDomain returns the CustomDomain field value

func (*PutCustomDomainResponse) GetCustomDomainOk

func (o *PutCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)

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

func (*PutCustomDomainResponse) HasCertificate

func (o *PutCustomDomainResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (PutCustomDomainResponse) MarshalJSON

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

func (*PutCustomDomainResponse) SetCertificate

SetCertificate gets a reference to the given PutCustomDomainResponseCertificate and assigns it to the Certificate field.

func (*PutCustomDomainResponse) SetCustomDomain

func (o *PutCustomDomainResponse) SetCustomDomain(v CustomDomain)

SetCustomDomain sets field value

func (PutCustomDomainResponse) ToMap

func (o PutCustomDomainResponse) ToMap() (map[string]interface{}, error)

func (*PutCustomDomainResponse) UnmarshalJSON

func (o *PutCustomDomainResponse) UnmarshalJSON(data []byte) (err error)

type PutCustomDomainResponseCertificate

type PutCustomDomainResponseCertificate struct {
	GetCustomDomainCustomCertificate  *GetCustomDomainCustomCertificate
	GetCustomDomainManagedCertificate *GetCustomDomainManagedCertificate
}

PutCustomDomainResponseCertificate - Pass a custom certificate to be served by the CDN when calling the custom domain. Will use a managed certificate when omitted

func GetCustomDomainCustomCertificateAsPutCustomDomainResponseCertificate

func GetCustomDomainCustomCertificateAsPutCustomDomainResponseCertificate(v *GetCustomDomainCustomCertificate) PutCustomDomainResponseCertificate

GetCustomDomainCustomCertificateAsPutCustomDomainResponseCertificate is a convenience function that returns GetCustomDomainCustomCertificate wrapped in PutCustomDomainResponseCertificate

func GetCustomDomainManagedCertificateAsPutCustomDomainResponseCertificate

func GetCustomDomainManagedCertificateAsPutCustomDomainResponseCertificate(v *GetCustomDomainManagedCertificate) PutCustomDomainResponseCertificate

GetCustomDomainManagedCertificateAsPutCustomDomainResponseCertificate is a convenience function that returns GetCustomDomainManagedCertificate wrapped in PutCustomDomainResponseCertificate

func (*PutCustomDomainResponseCertificate) GetActualInstance

func (obj *PutCustomDomainResponseCertificate) GetActualInstance() interface{}

Get the actual instance

func (PutCustomDomainResponseCertificate) GetActualInstanceValue

func (obj PutCustomDomainResponseCertificate) GetActualInstanceValue() interface{}

Get the actual instance value

func (PutCustomDomainResponseCertificate) MarshalJSON

func (src PutCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PutCustomDomainResponseCertificate) UnmarshalJSON

func (dst *PutCustomDomainResponseCertificate) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Region

type Region string

Region The following regions exist: - `EU` - Europe - `US` - United States / North America - `AF` - Africa - `SA` - South America - `ASIA` - Asia and Oceania

const (
	REGION_EU   Region = "EU"
	REGION_US   Region = "US"
	REGION_AF   Region = "AF"
	REGION_SA   Region = "SA"
	REGION_ASIA Region = "ASIA"
)

List of Region

func NewRegionFromValue

func NewRegionFromValue(v string) (*Region, error)

NewRegionFromValue returns a pointer to a valid Region for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Region) IsValid

func (v Region) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Region) Ptr

func (v Region) Ptr() *Region

Ptr returns reference to Region value

func (*Region) UnmarshalJSON

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

type StatusError

type StatusError struct {
	// A german translation string corresponding to the error key. Note that we do not guarantee german translations are present.
	De *string `json:"de,omitempty"`
	// An english translation string corresponding to the error key. An english translation key is always present.
	En string `json:"en"`
	// An enum value that describes a Status Error.
	Key string `json:"key"`
}

StatusError struct for StatusError

func NewStatusError

func NewStatusError(en string, key string) *StatusError

NewStatusError instantiates a new StatusError 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 NewStatusErrorWithDefaults

func NewStatusErrorWithDefaults() *StatusError

NewStatusErrorWithDefaults instantiates a new StatusError 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 (*StatusError) GetDe

func (o *StatusError) GetDe() string

GetDe returns the De field value if set, zero value otherwise.

func (*StatusError) GetDeOk

func (o *StatusError) GetDeOk() (*string, bool)

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

func (*StatusError) GetEn

func (o *StatusError) GetEn() string

GetEn returns the En field value

func (*StatusError) GetEnOk

func (o *StatusError) GetEnOk() (*string, bool)

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

func (*StatusError) GetKey

func (o *StatusError) GetKey() string

GetKey returns the Key field value

func (*StatusError) GetKeyOk

func (o *StatusError) GetKeyOk() (*string, bool)

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

func (*StatusError) HasDe

func (o *StatusError) HasDe() bool

HasDe returns a boolean if a field has been set.

func (StatusError) MarshalJSON

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

func (*StatusError) SetDe

func (o *StatusError) SetDe(v string)

SetDe gets a reference to the given string and assigns it to the De field.

func (*StatusError) SetEn

func (o *StatusError) SetEn(v string)

SetEn sets field value

func (*StatusError) SetKey

func (o *StatusError) SetKey(v string)

SetKey sets field value

func (StatusError) ToMap

func (o StatusError) ToMap() (map[string]interface{}, error)

func (*StatusError) UnmarshalJSON

func (o *StatusError) UnmarshalJSON(data []byte) (err error)

type WAFRuleAction

type WAFRuleAction string

WAFRuleAction The action a WAF rule can take based on a request

const (
	WAFRULEACTION_BLOCKED WAFRuleAction = "BLOCKED"
	WAFRULEACTION_LOGGED  WAFRuleAction = "LOGGED"
	WAFRULEACTION_ALLOWED WAFRuleAction = "ALLOWED"
)

List of WAFRuleAction

func NewWAFRuleActionFromValue

func NewWAFRuleActionFromValue(v string) (*WAFRuleAction, error)

NewWAFRuleActionFromValue returns a pointer to a valid WAFRuleAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WAFRuleAction) IsValid

func (v WAFRuleAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WAFRuleAction) Ptr

func (v WAFRuleAction) Ptr() *WAFRuleAction

Ptr returns reference to WAFRuleAction value

func (*WAFRuleAction) UnmarshalJSON

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

type WAFViolation

type WAFViolation struct {
	Action WAFRuleAction `json:"action"`
	// ASN for the request
	Asn string `json:"asn"`
	// Rule specific message explaining the violation
	Message string `json:"message"`
	// HTTP Method of the request that triggered the violation
	Method         string            `json:"method"`
	RequestHeaders map[string]string `json:"requestHeaders"`
	// ID of the WAF rule that was triggered
	RuleId string `json:"ruleId"`
}

WAFViolation Information about a violated WAF rule in case the WAF is enabled and a rule was triggered (either in BLOCK or LOG_ONLY mode)

func NewWAFViolation

func NewWAFViolation(action WAFRuleAction, asn string, message string, method string, requestHeaders map[string]string, ruleId string) *WAFViolation

NewWAFViolation instantiates a new WAFViolation 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 NewWAFViolationWithDefaults

func NewWAFViolationWithDefaults() *WAFViolation

NewWAFViolationWithDefaults instantiates a new WAFViolation 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 (*WAFViolation) GetAction

func (o *WAFViolation) GetAction() WAFRuleAction

GetAction returns the Action field value

func (*WAFViolation) GetActionOk

func (o *WAFViolation) GetActionOk() (*WAFRuleAction, bool)

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

func (*WAFViolation) GetAsn

func (o *WAFViolation) GetAsn() string

GetAsn returns the Asn field value

func (*WAFViolation) GetAsnOk

func (o *WAFViolation) GetAsnOk() (*string, bool)

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

func (*WAFViolation) GetMessage

func (o *WAFViolation) GetMessage() string

GetMessage returns the Message field value

func (*WAFViolation) GetMessageOk

func (o *WAFViolation) GetMessageOk() (*string, bool)

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

func (*WAFViolation) GetMethod

func (o *WAFViolation) GetMethod() string

GetMethod returns the Method field value

func (*WAFViolation) GetMethodOk

func (o *WAFViolation) GetMethodOk() (*string, bool)

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

func (*WAFViolation) GetRequestHeaders

func (o *WAFViolation) GetRequestHeaders() map[string]string

GetRequestHeaders returns the RequestHeaders field value

func (*WAFViolation) GetRequestHeadersOk

func (o *WAFViolation) GetRequestHeadersOk() (*map[string]string, bool)

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

func (*WAFViolation) GetRuleId

func (o *WAFViolation) GetRuleId() string

GetRuleId returns the RuleId field value

func (*WAFViolation) GetRuleIdOk

func (o *WAFViolation) GetRuleIdOk() (*string, bool)

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

func (WAFViolation) MarshalJSON

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

func (*WAFViolation) SetAction

func (o *WAFViolation) SetAction(v WAFRuleAction)

SetAction sets field value

func (*WAFViolation) SetAsn

func (o *WAFViolation) SetAsn(v string)

SetAsn sets field value

func (*WAFViolation) SetMessage

func (o *WAFViolation) SetMessage(v string)

SetMessage sets field value

func (*WAFViolation) SetMethod

func (o *WAFViolation) SetMethod(v string)

SetMethod sets field value

func (*WAFViolation) SetRequestHeaders

func (o *WAFViolation) SetRequestHeaders(v map[string]string)

SetRequestHeaders sets field value

func (*WAFViolation) SetRuleId

func (o *WAFViolation) SetRuleId(v string)

SetRuleId sets field value

func (WAFViolation) ToMap

func (o WAFViolation) ToMap() (map[string]interface{}, error)

func (*WAFViolation) UnmarshalJSON

func (o *WAFViolation) UnmarshalJSON(data []byte) (err error)

type WafConfig

type WafConfig struct {
	// This whitelist restricts which HTTP methods the distribution accepts. Requests using non-whitelisted methods are blocked by the WAF before reaching the origin.  Common methods: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS`, `CONNECT`, `TRACE`  Validation ensures: 1. At least one method is allowed 2. No duplicate methods (e.g., `GET` appearing twice) 3. Each method is valid per HTTP standards
	AllowedHttpMethods  []string `json:"allowedHttpMethods,omitempty"`
	AllowedHttpVersions []string `json:"allowedHttpVersions,omitempty"`
	// This allow list restricts which Content-Type headers are accepted in request bodies.  Format: Must be `type/subtype` with no spaces.  Common content types: - `application/json` - `application/x-www-form-urlencoded` - `multipart/form-data` - `text/html` - `text/plain` - `application/xml`
	AllowedRequestContentTypes []string `json:"allowedRequestContentTypes,omitempty"`
	// Ids of WAF Collections to mark as disabled
	DisabledRuleCollectionIds []string `json:"disabledRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as disabled
	DisabledRuleGroupIds []string `json:"disabledRuleGroupIds,omitempty"`
	// Ids of WAF Rules that are **explicitly** disabled for this distribution.
	DisabledRuleIds []string `json:"disabledRuleIds,omitempty"`
	// Ids of WAF Collections to mark as enabled
	EnabledRuleCollectionIds []string `json:"enabledRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as enabled
	EnabledRuleGroupIds []string `json:"enabledRuleGroupIds,omitempty"`
	// Ids of the WAF rules that are **explicitly** enabled for this distribution.  If this rule is in a disabled / log Only RuleGroup or Collection, it will be enabled regardless as `enabledRuleIds` overrides those in specificity.  Do note that rules can also be enabled because a Rulegroup or Collection is enabled.  **DO NOT** use this property to find all active rules. Instead, pass `?withWafStatus=true` as a query parameter to `GetDistribution` or `ListDistributions`. This will expose the `waf` Property on distribution Level.  From there you can `$.waf.enabledRules.map(e => e.id)` to get a list of all enabled rules.
	EnabledRuleIds []string `json:"enabledRuleIds"`
	// Ids of WAF Collections to mark as log Only.
	LogOnlyRuleCollectionIds []string `json:"logOnlyRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as log Only.
	LogOnlyRuleGroupIds []string `json:"logOnlyRuleGroupIds,omitempty"`
	// Ids of WAF Rules that are **explicitly** marked as Log Only for this distribution.
	LogOnlyRuleIds []string          `json:"logOnlyRuleIds,omitempty"`
	Mode           WafMode           `json:"mode"`
	ParanoiaLevel  *WafParanoiaLevel `json:"paranoiaLevel,omitempty"`
	Type           WafType           `json:"type"`
}

WafConfig Configuration of the WAF of a distribution A WAF Config always contains a WAF Mode and Type. If a WAF was never enabled, most of the properties are not present. To **enable** the WAF for your Distribution, you must set the `mode` to `ENABLED` or `LOG_ONLY`. This causes the other properties to be populated. ## Rules There are 9 properties used to control which Rules are enabled, disabled or set to Log-Only. These properties can be grouped in 3 groups of 3. Each of these groups varies in specificity: Rules are more specific than Rule Groups, which in turn are more specific than Collections. More specific definitions override more generic definitions. ### Collections - `enabledRuleCollectionIds` - `disabledRuleCollectionIds` - `logOnlyRuleCollectionIds` These are the least specific selectors. As of 2025, only two collections exist: - `@builtin/crs/response`, containing all Rules regarding Responses - `@builtin/crs/request`, containing all Rules regarding Requests More collections may be added in the future ### Rule Groups - `enabledRuleGroupIds` - `disabledRuleGroupIds` - `logOnlyRuleGroupIds` These are more specific than Collections and will override their selector. You can find all available Rule Groups by calling the `ListWafCollections` Operation. ### Rules - `enabledRuleIds` - `disabledRuleIds` - `logOnlyRuleGds` Being the most specific selectors, these will override both Collection and Rule Group selectors. You can find all available Rule Groups by calling the `ListWafCollections` Operation. ### TIP: Review resolved config If you call `GetDistribution` with `?withWafStatus=true`, you get back a resolved WAF Rules Config which contains a `waf` property which you can inspect to see why a Rule is either enabled, disabled or logOnly.

func NewWafConfig

func NewWafConfig(enabledRuleIds []string, mode WafMode, types WafType) *WafConfig

NewWafConfig instantiates a new WafConfig 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 NewWafConfigWithDefaults

func NewWafConfigWithDefaults() *WafConfig

NewWafConfigWithDefaults instantiates a new WafConfig 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 (*WafConfig) GetAllowedHttpMethods

func (o *WafConfig) GetAllowedHttpMethods() []string

GetAllowedHttpMethods returns the AllowedHttpMethods field value if set, zero value otherwise.

func (*WafConfig) GetAllowedHttpMethodsOk

func (o *WafConfig) GetAllowedHttpMethodsOk() ([]string, bool)

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

func (*WafConfig) GetAllowedHttpVersions

func (o *WafConfig) GetAllowedHttpVersions() []string

GetAllowedHttpVersions returns the AllowedHttpVersions field value if set, zero value otherwise.

func (*WafConfig) GetAllowedHttpVersionsOk

func (o *WafConfig) GetAllowedHttpVersionsOk() ([]string, bool)

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

func (*WafConfig) GetAllowedRequestContentTypes

func (o *WafConfig) GetAllowedRequestContentTypes() []string

GetAllowedRequestContentTypes returns the AllowedRequestContentTypes field value if set, zero value otherwise.

func (*WafConfig) GetAllowedRequestContentTypesOk

func (o *WafConfig) GetAllowedRequestContentTypesOk() ([]string, bool)

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

func (*WafConfig) GetDisabledRuleCollectionIds

func (o *WafConfig) GetDisabledRuleCollectionIds() []string

GetDisabledRuleCollectionIds returns the DisabledRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfig) GetDisabledRuleCollectionIdsOk

func (o *WafConfig) GetDisabledRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfig) GetDisabledRuleGroupIds

func (o *WafConfig) GetDisabledRuleGroupIds() []string

GetDisabledRuleGroupIds returns the DisabledRuleGroupIds field value if set, zero value otherwise.

func (*WafConfig) GetDisabledRuleGroupIdsOk

func (o *WafConfig) GetDisabledRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfig) GetDisabledRuleIds

func (o *WafConfig) GetDisabledRuleIds() []string

GetDisabledRuleIds returns the DisabledRuleIds field value if set, zero value otherwise.

func (*WafConfig) GetDisabledRuleIdsOk

func (o *WafConfig) GetDisabledRuleIdsOk() ([]string, bool)

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

func (*WafConfig) GetEnabledRuleCollectionIds

func (o *WafConfig) GetEnabledRuleCollectionIds() []string

GetEnabledRuleCollectionIds returns the EnabledRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfig) GetEnabledRuleCollectionIdsOk

func (o *WafConfig) GetEnabledRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfig) GetEnabledRuleGroupIds

func (o *WafConfig) GetEnabledRuleGroupIds() []string

GetEnabledRuleGroupIds returns the EnabledRuleGroupIds field value if set, zero value otherwise.

func (*WafConfig) GetEnabledRuleGroupIdsOk

func (o *WafConfig) GetEnabledRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfig) GetEnabledRuleIds

func (o *WafConfig) GetEnabledRuleIds() []string

GetEnabledRuleIds returns the EnabledRuleIds field value

func (*WafConfig) GetEnabledRuleIdsOk

func (o *WafConfig) GetEnabledRuleIdsOk() ([]string, bool)

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

func (*WafConfig) GetLogOnlyRuleCollectionIds

func (o *WafConfig) GetLogOnlyRuleCollectionIds() []string

GetLogOnlyRuleCollectionIds returns the LogOnlyRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfig) GetLogOnlyRuleCollectionIdsOk

func (o *WafConfig) GetLogOnlyRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfig) GetLogOnlyRuleGroupIds

func (o *WafConfig) GetLogOnlyRuleGroupIds() []string

GetLogOnlyRuleGroupIds returns the LogOnlyRuleGroupIds field value if set, zero value otherwise.

func (*WafConfig) GetLogOnlyRuleGroupIdsOk

func (o *WafConfig) GetLogOnlyRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfig) GetLogOnlyRuleIds

func (o *WafConfig) GetLogOnlyRuleIds() []string

GetLogOnlyRuleIds returns the LogOnlyRuleIds field value if set, zero value otherwise.

func (*WafConfig) GetLogOnlyRuleIdsOk

func (o *WafConfig) GetLogOnlyRuleIdsOk() ([]string, bool)

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

func (*WafConfig) GetMode

func (o *WafConfig) GetMode() WafMode

GetMode returns the Mode field value

func (*WafConfig) GetModeOk

func (o *WafConfig) GetModeOk() (*WafMode, bool)

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

func (*WafConfig) GetParanoiaLevel

func (o *WafConfig) GetParanoiaLevel() WafParanoiaLevel

GetParanoiaLevel returns the ParanoiaLevel field value if set, zero value otherwise.

func (*WafConfig) GetParanoiaLevelOk

func (o *WafConfig) GetParanoiaLevelOk() (*WafParanoiaLevel, bool)

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

func (*WafConfig) GetType

func (o *WafConfig) GetType() WafType

GetType returns the Type field value

func (*WafConfig) GetTypeOk

func (o *WafConfig) GetTypeOk() (*WafType, bool)

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

func (*WafConfig) HasAllowedHttpMethods

func (o *WafConfig) HasAllowedHttpMethods() bool

HasAllowedHttpMethods returns a boolean if a field has been set.

func (*WafConfig) HasAllowedHttpVersions

func (o *WafConfig) HasAllowedHttpVersions() bool

HasAllowedHttpVersions returns a boolean if a field has been set.

func (*WafConfig) HasAllowedRequestContentTypes

func (o *WafConfig) HasAllowedRequestContentTypes() bool

HasAllowedRequestContentTypes returns a boolean if a field has been set.

func (*WafConfig) HasDisabledRuleCollectionIds

func (o *WafConfig) HasDisabledRuleCollectionIds() bool

HasDisabledRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfig) HasDisabledRuleGroupIds

func (o *WafConfig) HasDisabledRuleGroupIds() bool

HasDisabledRuleGroupIds returns a boolean if a field has been set.

func (*WafConfig) HasDisabledRuleIds

func (o *WafConfig) HasDisabledRuleIds() bool

HasDisabledRuleIds returns a boolean if a field has been set.

func (*WafConfig) HasEnabledRuleCollectionIds

func (o *WafConfig) HasEnabledRuleCollectionIds() bool

HasEnabledRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfig) HasEnabledRuleGroupIds

func (o *WafConfig) HasEnabledRuleGroupIds() bool

HasEnabledRuleGroupIds returns a boolean if a field has been set.

func (*WafConfig) HasLogOnlyRuleCollectionIds

func (o *WafConfig) HasLogOnlyRuleCollectionIds() bool

HasLogOnlyRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfig) HasLogOnlyRuleGroupIds

func (o *WafConfig) HasLogOnlyRuleGroupIds() bool

HasLogOnlyRuleGroupIds returns a boolean if a field has been set.

func (*WafConfig) HasLogOnlyRuleIds

func (o *WafConfig) HasLogOnlyRuleIds() bool

HasLogOnlyRuleIds returns a boolean if a field has been set.

func (*WafConfig) HasParanoiaLevel

func (o *WafConfig) HasParanoiaLevel() bool

HasParanoiaLevel returns a boolean if a field has been set.

func (WafConfig) MarshalJSON

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

func (*WafConfig) SetAllowedHttpMethods

func (o *WafConfig) SetAllowedHttpMethods(v []string)

SetAllowedHttpMethods gets a reference to the given []string and assigns it to the AllowedHttpMethods field.

func (*WafConfig) SetAllowedHttpVersions

func (o *WafConfig) SetAllowedHttpVersions(v []string)

SetAllowedHttpVersions gets a reference to the given []string and assigns it to the AllowedHttpVersions field.

func (*WafConfig) SetAllowedRequestContentTypes

func (o *WafConfig) SetAllowedRequestContentTypes(v []string)

SetAllowedRequestContentTypes gets a reference to the given []string and assigns it to the AllowedRequestContentTypes field.

func (*WafConfig) SetDisabledRuleCollectionIds

func (o *WafConfig) SetDisabledRuleCollectionIds(v []string)

SetDisabledRuleCollectionIds gets a reference to the given []string and assigns it to the DisabledRuleCollectionIds field.

func (*WafConfig) SetDisabledRuleGroupIds

func (o *WafConfig) SetDisabledRuleGroupIds(v []string)

SetDisabledRuleGroupIds gets a reference to the given []string and assigns it to the DisabledRuleGroupIds field.

func (*WafConfig) SetDisabledRuleIds

func (o *WafConfig) SetDisabledRuleIds(v []string)

SetDisabledRuleIds gets a reference to the given []string and assigns it to the DisabledRuleIds field.

func (*WafConfig) SetEnabledRuleCollectionIds

func (o *WafConfig) SetEnabledRuleCollectionIds(v []string)

SetEnabledRuleCollectionIds gets a reference to the given []string and assigns it to the EnabledRuleCollectionIds field.

func (*WafConfig) SetEnabledRuleGroupIds

func (o *WafConfig) SetEnabledRuleGroupIds(v []string)

SetEnabledRuleGroupIds gets a reference to the given []string and assigns it to the EnabledRuleGroupIds field.

func (*WafConfig) SetEnabledRuleIds

func (o *WafConfig) SetEnabledRuleIds(v []string)

SetEnabledRuleIds sets field value

func (*WafConfig) SetLogOnlyRuleCollectionIds

func (o *WafConfig) SetLogOnlyRuleCollectionIds(v []string)

SetLogOnlyRuleCollectionIds gets a reference to the given []string and assigns it to the LogOnlyRuleCollectionIds field.

func (*WafConfig) SetLogOnlyRuleGroupIds

func (o *WafConfig) SetLogOnlyRuleGroupIds(v []string)

SetLogOnlyRuleGroupIds gets a reference to the given []string and assigns it to the LogOnlyRuleGroupIds field.

func (*WafConfig) SetLogOnlyRuleIds

func (o *WafConfig) SetLogOnlyRuleIds(v []string)

SetLogOnlyRuleIds gets a reference to the given []string and assigns it to the LogOnlyRuleIds field.

func (*WafConfig) SetMode

func (o *WafConfig) SetMode(v WafMode)

SetMode sets field value

func (*WafConfig) SetParanoiaLevel

func (o *WafConfig) SetParanoiaLevel(v WafParanoiaLevel)

SetParanoiaLevel gets a reference to the given WafParanoiaLevel and assigns it to the ParanoiaLevel field.

func (*WafConfig) SetType

func (o *WafConfig) SetType(v WafType)

SetType sets field value

func (WafConfig) ToMap

func (o WafConfig) ToMap() (map[string]interface{}, error)

func (*WafConfig) UnmarshalJSON

func (o *WafConfig) UnmarshalJSON(data []byte) (err error)

type WafConfigPatch

type WafConfigPatch struct {
	AllowedHttpMethods         []string `json:"allowedHttpMethods,omitempty"`
	AllowedHttpVersions        []string `json:"allowedHttpVersions,omitempty"`
	AllowedRequestContentTypes []string `json:"allowedRequestContentTypes,omitempty"`
	// Ids of WAF Collections to mark as disabled
	DisabledRuleCollectionIds []string `json:"disabledRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as disabled
	DisabledRuleGroupIds []string `json:"disabledRuleGroupIds,omitempty"`
	// Ids of WAF Rules that are **explicitly** disabled for this distribution.
	DisabledRuleIds []string `json:"disabledRuleIds,omitempty"`
	// Ids of WAF Collections to mark as enabled
	EnabledRuleCollectionIds []string `json:"enabledRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as enabled
	EnabledRuleGroupIds []string `json:"enabledRuleGroupIds,omitempty"`
	// Ids of WAF Rules that are **explicitly** enabled for this distribution.
	EnabledRuleIds []string `json:"enabledRuleIds,omitempty"`
	// Ids of WAF Collections to mark as log Only.
	LogOnlyRuleCollectionIds []string `json:"logOnlyRuleCollectionIds,omitempty"`
	// Ids of WAF Rule Groups to mark as log Only.
	LogOnlyRuleGroupIds []string `json:"logOnlyRuleGroupIds,omitempty"`
	// Ids of WAF Rules that are **explicitly** marked as Log Only for this distribution.
	LogOnlyRuleIds []string          `json:"logOnlyRuleIds,omitempty"`
	Mode           *WafMode          `json:"mode,omitempty"`
	ParanoiaLevel  *WafParanoiaLevel `json:"paranoiaLevel,omitempty"`
	Type           *WafType          `json:"type,omitempty"`
}

WafConfigPatch Modify the WAF Configuration ## WAF Rules You can modify the set of enabled, disabled and log-only Rules by modifying these 9 properties: - enabledRuleIds - disabledRuleIds - logOnlyRuleIds - enabledRuleGroupIds - disabledRuleGroupIds - logOnlyRuleGroupIds - enabledRuleCollectionIds - disabledRuleCollectionIds - logOnlyRuleCollectionIds Please inquire the `WafConfig` Description on how the effective configuration is determined. For patching, if an ID is already used in one of the properties, it will be removed (and effectively moved) to the new property. If patching multiple properties with the same ID (e.g. writing `@builtin/crs/response` to `logOnlyRuleCollectionIds` and `enabledRuleCollectionIds`), the request will be rejected with a 400.

func NewWafConfigPatch

func NewWafConfigPatch() *WafConfigPatch

NewWafConfigPatch instantiates a new WafConfigPatch 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 NewWafConfigPatchWithDefaults

func NewWafConfigPatchWithDefaults() *WafConfigPatch

NewWafConfigPatchWithDefaults instantiates a new WafConfigPatch 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 (*WafConfigPatch) GetAllowedHttpMethods

func (o *WafConfigPatch) GetAllowedHttpMethods() []string

GetAllowedHttpMethods returns the AllowedHttpMethods field value if set, zero value otherwise.

func (*WafConfigPatch) GetAllowedHttpMethodsOk

func (o *WafConfigPatch) GetAllowedHttpMethodsOk() ([]string, bool)

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

func (*WafConfigPatch) GetAllowedHttpVersions

func (o *WafConfigPatch) GetAllowedHttpVersions() []string

GetAllowedHttpVersions returns the AllowedHttpVersions field value if set, zero value otherwise.

func (*WafConfigPatch) GetAllowedHttpVersionsOk

func (o *WafConfigPatch) GetAllowedHttpVersionsOk() ([]string, bool)

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

func (*WafConfigPatch) GetAllowedRequestContentTypes

func (o *WafConfigPatch) GetAllowedRequestContentTypes() []string

GetAllowedRequestContentTypes returns the AllowedRequestContentTypes field value if set, zero value otherwise.

func (*WafConfigPatch) GetAllowedRequestContentTypesOk

func (o *WafConfigPatch) GetAllowedRequestContentTypesOk() ([]string, bool)

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

func (*WafConfigPatch) GetDisabledRuleCollectionIds

func (o *WafConfigPatch) GetDisabledRuleCollectionIds() []string

GetDisabledRuleCollectionIds returns the DisabledRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetDisabledRuleCollectionIdsOk

func (o *WafConfigPatch) GetDisabledRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetDisabledRuleGroupIds

func (o *WafConfigPatch) GetDisabledRuleGroupIds() []string

GetDisabledRuleGroupIds returns the DisabledRuleGroupIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetDisabledRuleGroupIdsOk

func (o *WafConfigPatch) GetDisabledRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetDisabledRuleIds

func (o *WafConfigPatch) GetDisabledRuleIds() []string

GetDisabledRuleIds returns the DisabledRuleIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetDisabledRuleIdsOk

func (o *WafConfigPatch) GetDisabledRuleIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetEnabledRuleCollectionIds

func (o *WafConfigPatch) GetEnabledRuleCollectionIds() []string

GetEnabledRuleCollectionIds returns the EnabledRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetEnabledRuleCollectionIdsOk

func (o *WafConfigPatch) GetEnabledRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetEnabledRuleGroupIds

func (o *WafConfigPatch) GetEnabledRuleGroupIds() []string

GetEnabledRuleGroupIds returns the EnabledRuleGroupIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetEnabledRuleGroupIdsOk

func (o *WafConfigPatch) GetEnabledRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetEnabledRuleIds

func (o *WafConfigPatch) GetEnabledRuleIds() []string

GetEnabledRuleIds returns the EnabledRuleIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetEnabledRuleIdsOk

func (o *WafConfigPatch) GetEnabledRuleIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetLogOnlyRuleCollectionIds

func (o *WafConfigPatch) GetLogOnlyRuleCollectionIds() []string

GetLogOnlyRuleCollectionIds returns the LogOnlyRuleCollectionIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetLogOnlyRuleCollectionIdsOk

func (o *WafConfigPatch) GetLogOnlyRuleCollectionIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetLogOnlyRuleGroupIds

func (o *WafConfigPatch) GetLogOnlyRuleGroupIds() []string

GetLogOnlyRuleGroupIds returns the LogOnlyRuleGroupIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetLogOnlyRuleGroupIdsOk

func (o *WafConfigPatch) GetLogOnlyRuleGroupIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetLogOnlyRuleIds

func (o *WafConfigPatch) GetLogOnlyRuleIds() []string

GetLogOnlyRuleIds returns the LogOnlyRuleIds field value if set, zero value otherwise.

func (*WafConfigPatch) GetLogOnlyRuleIdsOk

func (o *WafConfigPatch) GetLogOnlyRuleIdsOk() ([]string, bool)

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

func (*WafConfigPatch) GetMode

func (o *WafConfigPatch) GetMode() WafMode

GetMode returns the Mode field value if set, zero value otherwise.

func (*WafConfigPatch) GetModeOk

func (o *WafConfigPatch) GetModeOk() (*WafMode, bool)

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

func (*WafConfigPatch) GetParanoiaLevel

func (o *WafConfigPatch) GetParanoiaLevel() WafParanoiaLevel

GetParanoiaLevel returns the ParanoiaLevel field value if set, zero value otherwise.

func (*WafConfigPatch) GetParanoiaLevelOk

func (o *WafConfigPatch) GetParanoiaLevelOk() (*WafParanoiaLevel, bool)

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

func (*WafConfigPatch) GetType

func (o *WafConfigPatch) GetType() WafType

GetType returns the Type field value if set, zero value otherwise.

func (*WafConfigPatch) GetTypeOk

func (o *WafConfigPatch) GetTypeOk() (*WafType, bool)

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

func (*WafConfigPatch) HasAllowedHttpMethods

func (o *WafConfigPatch) HasAllowedHttpMethods() bool

HasAllowedHttpMethods returns a boolean if a field has been set.

func (*WafConfigPatch) HasAllowedHttpVersions

func (o *WafConfigPatch) HasAllowedHttpVersions() bool

HasAllowedHttpVersions returns a boolean if a field has been set.

func (*WafConfigPatch) HasAllowedRequestContentTypes

func (o *WafConfigPatch) HasAllowedRequestContentTypes() bool

HasAllowedRequestContentTypes returns a boolean if a field has been set.

func (*WafConfigPatch) HasDisabledRuleCollectionIds

func (o *WafConfigPatch) HasDisabledRuleCollectionIds() bool

HasDisabledRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasDisabledRuleGroupIds

func (o *WafConfigPatch) HasDisabledRuleGroupIds() bool

HasDisabledRuleGroupIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasDisabledRuleIds

func (o *WafConfigPatch) HasDisabledRuleIds() bool

HasDisabledRuleIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasEnabledRuleCollectionIds

func (o *WafConfigPatch) HasEnabledRuleCollectionIds() bool

HasEnabledRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasEnabledRuleGroupIds

func (o *WafConfigPatch) HasEnabledRuleGroupIds() bool

HasEnabledRuleGroupIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasEnabledRuleIds

func (o *WafConfigPatch) HasEnabledRuleIds() bool

HasEnabledRuleIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasLogOnlyRuleCollectionIds

func (o *WafConfigPatch) HasLogOnlyRuleCollectionIds() bool

HasLogOnlyRuleCollectionIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasLogOnlyRuleGroupIds

func (o *WafConfigPatch) HasLogOnlyRuleGroupIds() bool

HasLogOnlyRuleGroupIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasLogOnlyRuleIds

func (o *WafConfigPatch) HasLogOnlyRuleIds() bool

HasLogOnlyRuleIds returns a boolean if a field has been set.

func (*WafConfigPatch) HasMode

func (o *WafConfigPatch) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*WafConfigPatch) HasParanoiaLevel

func (o *WafConfigPatch) HasParanoiaLevel() bool

HasParanoiaLevel returns a boolean if a field has been set.

func (*WafConfigPatch) HasType

func (o *WafConfigPatch) HasType() bool

HasType returns a boolean if a field has been set.

func (WafConfigPatch) MarshalJSON

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

func (*WafConfigPatch) SetAllowedHttpMethods

func (o *WafConfigPatch) SetAllowedHttpMethods(v []string)

SetAllowedHttpMethods gets a reference to the given []string and assigns it to the AllowedHttpMethods field.

func (*WafConfigPatch) SetAllowedHttpVersions

func (o *WafConfigPatch) SetAllowedHttpVersions(v []string)

SetAllowedHttpVersions gets a reference to the given []string and assigns it to the AllowedHttpVersions field.

func (*WafConfigPatch) SetAllowedRequestContentTypes

func (o *WafConfigPatch) SetAllowedRequestContentTypes(v []string)

SetAllowedRequestContentTypes gets a reference to the given []string and assigns it to the AllowedRequestContentTypes field.

func (*WafConfigPatch) SetDisabledRuleCollectionIds

func (o *WafConfigPatch) SetDisabledRuleCollectionIds(v []string)

SetDisabledRuleCollectionIds gets a reference to the given []string and assigns it to the DisabledRuleCollectionIds field.

func (*WafConfigPatch) SetDisabledRuleGroupIds

func (o *WafConfigPatch) SetDisabledRuleGroupIds(v []string)

SetDisabledRuleGroupIds gets a reference to the given []string and assigns it to the DisabledRuleGroupIds field.

func (*WafConfigPatch) SetDisabledRuleIds

func (o *WafConfigPatch) SetDisabledRuleIds(v []string)

SetDisabledRuleIds gets a reference to the given []string and assigns it to the DisabledRuleIds field.

func (*WafConfigPatch) SetEnabledRuleCollectionIds

func (o *WafConfigPatch) SetEnabledRuleCollectionIds(v []string)

SetEnabledRuleCollectionIds gets a reference to the given []string and assigns it to the EnabledRuleCollectionIds field.

func (*WafConfigPatch) SetEnabledRuleGroupIds

func (o *WafConfigPatch) SetEnabledRuleGroupIds(v []string)

SetEnabledRuleGroupIds gets a reference to the given []string and assigns it to the EnabledRuleGroupIds field.

func (*WafConfigPatch) SetEnabledRuleIds

func (o *WafConfigPatch) SetEnabledRuleIds(v []string)

SetEnabledRuleIds gets a reference to the given []string and assigns it to the EnabledRuleIds field.

func (*WafConfigPatch) SetLogOnlyRuleCollectionIds

func (o *WafConfigPatch) SetLogOnlyRuleCollectionIds(v []string)

SetLogOnlyRuleCollectionIds gets a reference to the given []string and assigns it to the LogOnlyRuleCollectionIds field.

func (*WafConfigPatch) SetLogOnlyRuleGroupIds

func (o *WafConfigPatch) SetLogOnlyRuleGroupIds(v []string)

SetLogOnlyRuleGroupIds gets a reference to the given []string and assigns it to the LogOnlyRuleGroupIds field.

func (*WafConfigPatch) SetLogOnlyRuleIds

func (o *WafConfigPatch) SetLogOnlyRuleIds(v []string)

SetLogOnlyRuleIds gets a reference to the given []string and assigns it to the LogOnlyRuleIds field.

func (*WafConfigPatch) SetMode

func (o *WafConfigPatch) SetMode(v WafMode)

SetMode gets a reference to the given WafMode and assigns it to the Mode field.

func (*WafConfigPatch) SetParanoiaLevel

func (o *WafConfigPatch) SetParanoiaLevel(v WafParanoiaLevel)

SetParanoiaLevel gets a reference to the given WafParanoiaLevel and assigns it to the ParanoiaLevel field.

func (*WafConfigPatch) SetType

func (o *WafConfigPatch) SetType(v WafType)

SetType gets a reference to the given WafType and assigns it to the Type field.

func (WafConfigPatch) ToMap

func (o WafConfigPatch) ToMap() (map[string]interface{}, error)

type WafMode

type WafMode string

WafMode - `ENABLED`: The WAF actively inspects and blocks malicious requests. - `DISABLED`: The WAF is completely off. No inspection occurs. - `LOG_ONLY`: The WAF inspects requests and logs matches but never blocks.

const (
	WAFMODE_DISABLED WafMode = "DISABLED"
	WAFMODE_ENABLED  WafMode = "ENABLED"
	WAFMODE_LOG_ONLY WafMode = "LOG_ONLY"
)

List of WafMode

func NewWafModeFromValue

func NewWafModeFromValue(v string) (*WafMode, error)

NewWafModeFromValue returns a pointer to a valid WafMode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WafMode) IsValid

func (v WafMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WafMode) Ptr

func (v WafMode) Ptr() *WafMode

Ptr returns reference to WafMode value

func (*WafMode) UnmarshalJSON

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

type WafParanoiaLevel

type WafParanoiaLevel string

WafParanoiaLevel The paranoia level defines how aggressively the WAF should action on requests. It ranges from `L1` (least strict, lowest chance of false positives) to `L4` (most strict, highest chance of false positives). A higher paranoia level is more effective at catching attacks but can also block legitimate traffic.

const (
	WAFPARANOIALEVEL_L1 WafParanoiaLevel = "L1"
	WAFPARANOIALEVEL_L2 WafParanoiaLevel = "L2"
	WAFPARANOIALEVEL_L3 WafParanoiaLevel = "L3"
	WAFPARANOIALEVEL_L4 WafParanoiaLevel = "L4"
)

List of WafParanoiaLevel

func NewWafParanoiaLevelFromValue

func NewWafParanoiaLevelFromValue(v string) (*WafParanoiaLevel, error)

NewWafParanoiaLevelFromValue returns a pointer to a valid WafParanoiaLevel for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WafParanoiaLevel) IsValid

func (v WafParanoiaLevel) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WafParanoiaLevel) Ptr

Ptr returns reference to WafParanoiaLevel value

func (*WafParanoiaLevel) UnmarshalJSON

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

type WafRule

type WafRule struct {
	// Optional CoreRuleSet rule Id in case this is a CRS rule
	Code *string `json:"code,omitempty"`
	// LocalizedString is a map from language to string value
	Description map[string]string `json:"description"`
	Id          string            `json:"id"`
}

WafRule struct for WafRule

func NewWafRule

func NewWafRule(description map[string]string, id string) *WafRule

NewWafRule instantiates a new WafRule 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 NewWafRuleWithDefaults

func NewWafRuleWithDefaults() *WafRule

NewWafRuleWithDefaults instantiates a new WafRule 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 (*WafRule) GetCode

func (o *WafRule) GetCode() string

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

func (*WafRule) GetCodeOk

func (o *WafRule) 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 (*WafRule) GetDescription

func (o *WafRule) GetDescription() map[string]string

GetDescription returns the Description field value

func (*WafRule) GetDescriptionOk

func (o *WafRule) GetDescriptionOk() (*map[string]string, bool)

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

func (*WafRule) GetId

func (o *WafRule) GetId() string

GetId returns the Id field value

func (*WafRule) GetIdOk

func (o *WafRule) GetIdOk() (*string, bool)

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

func (*WafRule) HasCode

func (o *WafRule) HasCode() bool

HasCode returns a boolean if a field has been set.

func (WafRule) MarshalJSON

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

func (*WafRule) SetCode

func (o *WafRule) SetCode(v string)

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

func (*WafRule) SetDescription

func (o *WafRule) SetDescription(v map[string]string)

SetDescription sets field value

func (*WafRule) SetId

func (o *WafRule) SetId(v string)

SetId sets field value

func (WafRule) ToMap

func (o WafRule) ToMap() (map[string]interface{}, error)

func (*WafRule) UnmarshalJSON

func (o *WafRule) UnmarshalJSON(data []byte) (err error)

type WafRuleCollection

type WafRuleCollection struct {
	Groups []WafRuleGroup `json:"groups"`
	Id     string         `json:"id"`
	// LocalizedString is a map from language to string value
	Name map[string]string `json:"name"`
}

WafRuleCollection struct for WafRuleCollection

func NewWafRuleCollection

func NewWafRuleCollection(groups []WafRuleGroup, id string, name map[string]string) *WafRuleCollection

NewWafRuleCollection instantiates a new WafRuleCollection 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 NewWafRuleCollectionWithDefaults

func NewWafRuleCollectionWithDefaults() *WafRuleCollection

NewWafRuleCollectionWithDefaults instantiates a new WafRuleCollection 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 (*WafRuleCollection) GetGroups

func (o *WafRuleCollection) GetGroups() []WafRuleGroup

GetGroups returns the Groups field value

func (*WafRuleCollection) GetGroupsOk

func (o *WafRuleCollection) GetGroupsOk() ([]WafRuleGroup, bool)

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

func (*WafRuleCollection) GetId

func (o *WafRuleCollection) GetId() string

GetId returns the Id field value

func (*WafRuleCollection) GetIdOk

func (o *WafRuleCollection) GetIdOk() (*string, bool)

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

func (*WafRuleCollection) GetName

func (o *WafRuleCollection) GetName() map[string]string

GetName returns the Name field value

func (*WafRuleCollection) GetNameOk

func (o *WafRuleCollection) GetNameOk() (*map[string]string, bool)

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

func (WafRuleCollection) MarshalJSON

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

func (*WafRuleCollection) SetGroups

func (o *WafRuleCollection) SetGroups(v []WafRuleGroup)

SetGroups sets field value

func (*WafRuleCollection) SetId

func (o *WafRuleCollection) SetId(v string)

SetId sets field value

func (*WafRuleCollection) SetName

func (o *WafRuleCollection) SetName(v map[string]string)

SetName sets field value

func (WafRuleCollection) ToMap

func (o WafRuleCollection) ToMap() (map[string]interface{}, error)

func (*WafRuleCollection) UnmarshalJSON

func (o *WafRuleCollection) UnmarshalJSON(data []byte) (err error)

type WafRuleGroup

type WafRuleGroup struct {
	// LocalizedString is a map from language to string value
	Description map[string]string `json:"description"`
	// LocalizedString is a map from language to string value
	Name  map[string]string `json:"name"`
	Rules []WafRule         `json:"rules"`
}

WafRuleGroup struct for WafRuleGroup

func NewWafRuleGroup

func NewWafRuleGroup(description map[string]string, name map[string]string, rules []WafRule) *WafRuleGroup

NewWafRuleGroup instantiates a new WafRuleGroup 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 NewWafRuleGroupWithDefaults

func NewWafRuleGroupWithDefaults() *WafRuleGroup

NewWafRuleGroupWithDefaults instantiates a new WafRuleGroup 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 (*WafRuleGroup) GetDescription

func (o *WafRuleGroup) GetDescription() map[string]string

GetDescription returns the Description field value

func (*WafRuleGroup) GetDescriptionOk

func (o *WafRuleGroup) GetDescriptionOk() (*map[string]string, bool)

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

func (*WafRuleGroup) GetName

func (o *WafRuleGroup) GetName() map[string]string

GetName returns the Name field value

func (*WafRuleGroup) GetNameOk

func (o *WafRuleGroup) GetNameOk() (*map[string]string, bool)

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

func (*WafRuleGroup) GetRules

func (o *WafRuleGroup) GetRules() []WafRule

GetRules returns the Rules field value

func (*WafRuleGroup) GetRulesOk

func (o *WafRuleGroup) GetRulesOk() ([]WafRule, bool)

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

func (WafRuleGroup) MarshalJSON

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

func (*WafRuleGroup) SetDescription

func (o *WafRuleGroup) SetDescription(v map[string]string)

SetDescription sets field value

func (*WafRuleGroup) SetName

func (o *WafRuleGroup) SetName(v map[string]string)

SetName sets field value

func (*WafRuleGroup) SetRules

func (o *WafRuleGroup) SetRules(v []WafRule)

SetRules sets field value

func (WafRuleGroup) ToMap

func (o WafRuleGroup) ToMap() (map[string]interface{}, error)

func (*WafRuleGroup) UnmarshalJSON

func (o *WafRuleGroup) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlock

type WafStatusRuleBlock struct {
	// Specifies the Id of the Rule.
	Id     string                   `json:"id"`
	Reason WafStatusRuleBlockReason `json:"reason"`
}

WafStatusRuleBlock struct for WafStatusRuleBlock

func NewWafStatusRuleBlock

func NewWafStatusRuleBlock(id string, reason WafStatusRuleBlockReason) *WafStatusRuleBlock

NewWafStatusRuleBlock instantiates a new WafStatusRuleBlock 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 NewWafStatusRuleBlockWithDefaults

func NewWafStatusRuleBlockWithDefaults() *WafStatusRuleBlock

NewWafStatusRuleBlockWithDefaults instantiates a new WafStatusRuleBlock 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 (*WafStatusRuleBlock) GetId

func (o *WafStatusRuleBlock) GetId() string

GetId returns the Id field value

func (*WafStatusRuleBlock) GetIdOk

func (o *WafStatusRuleBlock) GetIdOk() (*string, bool)

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

func (*WafStatusRuleBlock) GetReason

GetReason returns the Reason field value

func (*WafStatusRuleBlock) GetReasonOk

func (o *WafStatusRuleBlock) GetReasonOk() (*WafStatusRuleBlockReason, bool)

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

func (WafStatusRuleBlock) MarshalJSON

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

func (*WafStatusRuleBlock) SetId

func (o *WafStatusRuleBlock) SetId(v string)

SetId sets field value

func (*WafStatusRuleBlock) SetReason

SetReason sets field value

func (WafStatusRuleBlock) ToMap

func (o WafStatusRuleBlock) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlock) UnmarshalJSON

func (o *WafStatusRuleBlock) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlockReason

type WafStatusRuleBlockReason struct {
	WafStatusRuleBlockReasonDirectlyDefined         *WafStatusRuleBlockReasonDirectlyDefined
	WafStatusRuleBlockReasonInheritedFromCollection *WafStatusRuleBlockReasonInheritedFromCollection
	WafStatusRuleBlockReasonInheritedFromGroup      *WafStatusRuleBlockReasonInheritedFromGroup
	WafStatusRuleBlockReasonInvalidWafType          *WafStatusRuleBlockReasonInvalidWafType
	WafStatusRuleBlockReasonNeverDefined            *WafStatusRuleBlockReasonNeverDefined
}

WafStatusRuleBlockReason - Defines the Reason why a Rule is in the specified state (set to be enabled, disabled or logOnly).

func WafStatusRuleBlockReasonDirectlyDefinedAsWafStatusRuleBlockReason

func WafStatusRuleBlockReasonDirectlyDefinedAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonDirectlyDefined) WafStatusRuleBlockReason

WafStatusRuleBlockReasonDirectlyDefinedAsWafStatusRuleBlockReason is a convenience function that returns WafStatusRuleBlockReasonDirectlyDefined wrapped in WafStatusRuleBlockReason

func WafStatusRuleBlockReasonInheritedFromCollectionAsWafStatusRuleBlockReason

func WafStatusRuleBlockReasonInheritedFromCollectionAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInheritedFromCollection) WafStatusRuleBlockReason

WafStatusRuleBlockReasonInheritedFromCollectionAsWafStatusRuleBlockReason is a convenience function that returns WafStatusRuleBlockReasonInheritedFromCollection wrapped in WafStatusRuleBlockReason

func WafStatusRuleBlockReasonInheritedFromGroupAsWafStatusRuleBlockReason

func WafStatusRuleBlockReasonInheritedFromGroupAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInheritedFromGroup) WafStatusRuleBlockReason

WafStatusRuleBlockReasonInheritedFromGroupAsWafStatusRuleBlockReason is a convenience function that returns WafStatusRuleBlockReasonInheritedFromGroup wrapped in WafStatusRuleBlockReason

func WafStatusRuleBlockReasonInvalidWafTypeAsWafStatusRuleBlockReason

func WafStatusRuleBlockReasonInvalidWafTypeAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInvalidWafType) WafStatusRuleBlockReason

WafStatusRuleBlockReasonInvalidWafTypeAsWafStatusRuleBlockReason is a convenience function that returns WafStatusRuleBlockReasonInvalidWafType wrapped in WafStatusRuleBlockReason

func WafStatusRuleBlockReasonNeverDefinedAsWafStatusRuleBlockReason

func WafStatusRuleBlockReasonNeverDefinedAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonNeverDefined) WafStatusRuleBlockReason

WafStatusRuleBlockReasonNeverDefinedAsWafStatusRuleBlockReason is a convenience function that returns WafStatusRuleBlockReasonNeverDefined wrapped in WafStatusRuleBlockReason

func (*WafStatusRuleBlockReason) GetActualInstance

func (obj *WafStatusRuleBlockReason) GetActualInstance() interface{}

Get the actual instance

func (WafStatusRuleBlockReason) GetActualInstanceValue

func (obj WafStatusRuleBlockReason) GetActualInstanceValue() interface{}

Get the actual instance value

func (WafStatusRuleBlockReason) MarshalJSON

func (src WafStatusRuleBlockReason) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*WafStatusRuleBlockReason) UnmarshalJSON

func (dst *WafStatusRuleBlockReason) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type WafStatusRuleBlockReasonDirectlyDefined

type WafStatusRuleBlockReasonDirectlyDefined struct {
	// This is always `directlyDefined`
	Type string `json:"type"`
}

WafStatusRuleBlockReasonDirectlyDefined struct for WafStatusRuleBlockReasonDirectlyDefined

func NewWafStatusRuleBlockReasonDirectlyDefined

func NewWafStatusRuleBlockReasonDirectlyDefined(types string) *WafStatusRuleBlockReasonDirectlyDefined

NewWafStatusRuleBlockReasonDirectlyDefined instantiates a new WafStatusRuleBlockReasonDirectlyDefined 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 NewWafStatusRuleBlockReasonDirectlyDefinedWithDefaults

func NewWafStatusRuleBlockReasonDirectlyDefinedWithDefaults() *WafStatusRuleBlockReasonDirectlyDefined

NewWafStatusRuleBlockReasonDirectlyDefinedWithDefaults instantiates a new WafStatusRuleBlockReasonDirectlyDefined 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 (*WafStatusRuleBlockReasonDirectlyDefined) GetType

GetType returns the Type field value

func (*WafStatusRuleBlockReasonDirectlyDefined) GetTypeOk

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

func (WafStatusRuleBlockReasonDirectlyDefined) MarshalJSON

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

func (*WafStatusRuleBlockReasonDirectlyDefined) SetType

SetType sets field value

func (WafStatusRuleBlockReasonDirectlyDefined) ToMap

func (o WafStatusRuleBlockReasonDirectlyDefined) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON

func (o *WafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlockReasonInheritedFromCollection

type WafStatusRuleBlockReasonInheritedFromCollection struct {
	// The Collection that caused this rule to be in its current state.
	CollectionId string `json:"collectionId"`
	// This is always `inheritedFromCollection`
	Type string `json:"type"`
}

WafStatusRuleBlockReasonInheritedFromCollection struct for WafStatusRuleBlockReasonInheritedFromCollection

func NewWafStatusRuleBlockReasonInheritedFromCollection

func NewWafStatusRuleBlockReasonInheritedFromCollection(collectionId string, types string) *WafStatusRuleBlockReasonInheritedFromCollection

NewWafStatusRuleBlockReasonInheritedFromCollection instantiates a new WafStatusRuleBlockReasonInheritedFromCollection 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 NewWafStatusRuleBlockReasonInheritedFromCollectionWithDefaults

func NewWafStatusRuleBlockReasonInheritedFromCollectionWithDefaults() *WafStatusRuleBlockReasonInheritedFromCollection

NewWafStatusRuleBlockReasonInheritedFromCollectionWithDefaults instantiates a new WafStatusRuleBlockReasonInheritedFromCollection 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 (*WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionId

GetCollectionId returns the CollectionId field value

func (*WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionIdOk

func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionIdOk() (*string, bool)

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

func (*WafStatusRuleBlockReasonInheritedFromCollection) GetType

GetType returns the Type field value

func (*WafStatusRuleBlockReasonInheritedFromCollection) GetTypeOk

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

func (WafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON

func (*WafStatusRuleBlockReasonInheritedFromCollection) SetCollectionId

SetCollectionId sets field value

func (*WafStatusRuleBlockReasonInheritedFromCollection) SetType

SetType sets field value

func (WafStatusRuleBlockReasonInheritedFromCollection) ToMap

func (o WafStatusRuleBlockReasonInheritedFromCollection) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON

func (o *WafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlockReasonInheritedFromGroup

type WafStatusRuleBlockReasonInheritedFromGroup struct {
	// The Group that caused this rule to be in its current state.
	GroupId string `json:"groupId"`
	// This is always `inheritedFromGroup`
	Type string `json:"type"`
}

WafStatusRuleBlockReasonInheritedFromGroup struct for WafStatusRuleBlockReasonInheritedFromGroup

func NewWafStatusRuleBlockReasonInheritedFromGroup

func NewWafStatusRuleBlockReasonInheritedFromGroup(groupId string, types string) *WafStatusRuleBlockReasonInheritedFromGroup

NewWafStatusRuleBlockReasonInheritedFromGroup instantiates a new WafStatusRuleBlockReasonInheritedFromGroup 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 NewWafStatusRuleBlockReasonInheritedFromGroupWithDefaults

func NewWafStatusRuleBlockReasonInheritedFromGroupWithDefaults() *WafStatusRuleBlockReasonInheritedFromGroup

NewWafStatusRuleBlockReasonInheritedFromGroupWithDefaults instantiates a new WafStatusRuleBlockReasonInheritedFromGroup 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 (*WafStatusRuleBlockReasonInheritedFromGroup) GetGroupId

GetGroupId returns the GroupId field value

func (*WafStatusRuleBlockReasonInheritedFromGroup) GetGroupIdOk

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

func (*WafStatusRuleBlockReasonInheritedFromGroup) GetType

GetType returns the Type field value

func (*WafStatusRuleBlockReasonInheritedFromGroup) GetTypeOk

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

func (WafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON

func (*WafStatusRuleBlockReasonInheritedFromGroup) SetGroupId

SetGroupId sets field value

func (*WafStatusRuleBlockReasonInheritedFromGroup) SetType

SetType sets field value

func (WafStatusRuleBlockReasonInheritedFromGroup) ToMap

func (o WafStatusRuleBlockReasonInheritedFromGroup) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON

func (o *WafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlockReasonInvalidWafType

type WafStatusRuleBlockReasonInvalidWafType struct {
	// A list containing all WAF Types which can use this Rule. You must patch you WAF to one of these WAF Types to make use of this rule. Rules show up with this state if they would have been enabled or logOnly otherwise.
	AllowedWafTypes []WafType `json:"allowedWafTypes"`
	// This is always `invalidWafType`
	Type string `json:"type"`
}

WafStatusRuleBlockReasonInvalidWafType struct for WafStatusRuleBlockReasonInvalidWafType

func NewWafStatusRuleBlockReasonInvalidWafType

func NewWafStatusRuleBlockReasonInvalidWafType(allowedWafTypes []WafType, types string) *WafStatusRuleBlockReasonInvalidWafType

NewWafStatusRuleBlockReasonInvalidWafType instantiates a new WafStatusRuleBlockReasonInvalidWafType 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 NewWafStatusRuleBlockReasonInvalidWafTypeWithDefaults

func NewWafStatusRuleBlockReasonInvalidWafTypeWithDefaults() *WafStatusRuleBlockReasonInvalidWafType

NewWafStatusRuleBlockReasonInvalidWafTypeWithDefaults instantiates a new WafStatusRuleBlockReasonInvalidWafType 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 (*WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypes

func (o *WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypes() []WafType

GetAllowedWafTypes returns the AllowedWafTypes field value

func (*WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypesOk

func (o *WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypesOk() ([]WafType, bool)

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

func (*WafStatusRuleBlockReasonInvalidWafType) GetType

GetType returns the Type field value

func (*WafStatusRuleBlockReasonInvalidWafType) GetTypeOk

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

func (WafStatusRuleBlockReasonInvalidWafType) MarshalJSON

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

func (*WafStatusRuleBlockReasonInvalidWafType) SetAllowedWafTypes

func (o *WafStatusRuleBlockReasonInvalidWafType) SetAllowedWafTypes(v []WafType)

SetAllowedWafTypes sets field value

func (*WafStatusRuleBlockReasonInvalidWafType) SetType

SetType sets field value

func (WafStatusRuleBlockReasonInvalidWafType) ToMap

func (o WafStatusRuleBlockReasonInvalidWafType) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON

func (o *WafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON(data []byte) (err error)

type WafStatusRuleBlockReasonNeverDefined

type WafStatusRuleBlockReasonNeverDefined struct {
	// This is always `neverDefined`
	Type string `json:"type"`
}

WafStatusRuleBlockReasonNeverDefined This object only ever shows up in the disabled rules section. If rules are never defined (e.g. no collection, rule group, or the rule itself is ever mentioned), they are implicitly disabled

func NewWafStatusRuleBlockReasonNeverDefined

func NewWafStatusRuleBlockReasonNeverDefined(types string) *WafStatusRuleBlockReasonNeverDefined

NewWafStatusRuleBlockReasonNeverDefined instantiates a new WafStatusRuleBlockReasonNeverDefined 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 NewWafStatusRuleBlockReasonNeverDefinedWithDefaults

func NewWafStatusRuleBlockReasonNeverDefinedWithDefaults() *WafStatusRuleBlockReasonNeverDefined

NewWafStatusRuleBlockReasonNeverDefinedWithDefaults instantiates a new WafStatusRuleBlockReasonNeverDefined 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 (*WafStatusRuleBlockReasonNeverDefined) GetType

GetType returns the Type field value

func (*WafStatusRuleBlockReasonNeverDefined) GetTypeOk

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

func (WafStatusRuleBlockReasonNeverDefined) MarshalJSON

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

func (*WafStatusRuleBlockReasonNeverDefined) SetType

SetType sets field value

func (WafStatusRuleBlockReasonNeverDefined) ToMap

func (o WafStatusRuleBlockReasonNeverDefined) ToMap() (map[string]interface{}, error)

func (*WafStatusRuleBlockReasonNeverDefined) UnmarshalJSON

func (o *WafStatusRuleBlockReasonNeverDefined) UnmarshalJSON(data []byte) (err error)

type WafType

type WafType string

WafType Enable or disable the Premium WAF. Do note that enabling the Premium WAF will cause additional fees. Some features are gated behind the Premium WAF, like additional, **premium-only rules** and the ability to create **custom rules** (not yet implemented)

const (
	WAFTYPE_FREE    WafType = "FREE"
	WAFTYPE_PREMIUM WafType = "PREMIUM"
)

List of WafType

func NewWafTypeFromValue

func NewWafTypeFromValue(v string) (*WafType, error)

NewWafTypeFromValue returns a pointer to a valid WafType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WafType) IsValid

func (v WafType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WafType) Ptr

func (v WafType) Ptr() *WafType

Ptr returns reference to WafType value

func (*WafType) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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