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 ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateDistributionRequest
- type ApiDeleteCustomDomainRequest
- type ApiDeleteDistributionRequest
- type ApiFindCachePathsRequest
- type ApiGetCacheInfoRequest
- type ApiGetCustomDomainRequest
- type ApiGetDistributionRequest
- type ApiGetLogsRequest
- func (r ApiGetLogsRequest) CacheHit(cacheHit bool) ApiGetLogsRequest
- func (r ApiGetLogsRequest) DataCenterRegion(dataCenterRegion string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) Execute() (*GetLogsResponse, error)
- func (r ApiGetLogsRequest) From(from time.Time) ApiGetLogsRequest
- func (r ApiGetLogsRequest) PageIdentifier(pageIdentifier string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) PageSize(pageSize int32) ApiGetLogsRequest
- func (r ApiGetLogsRequest) RequestCountryCode(requestCountryCode string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) SortBy(sortBy string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) SortOrder(sortOrder string) ApiGetLogsRequest
- func (r ApiGetLogsRequest) StatusCode(statusCode int32) ApiGetLogsRequest
- func (r ApiGetLogsRequest) To(to time.Time) ApiGetLogsRequest
- func (r ApiGetLogsRequest) WafAction(wafAction WAFRuleAction) ApiGetLogsRequest
- type ApiGetLogsSearchFiltersRequest
- type ApiGetStatisticsRequest
- func (r ApiGetStatisticsRequest) Execute() (*GetStatisticsResponse, error)
- func (r ApiGetStatisticsRequest) From(from time.Time) ApiGetStatisticsRequest
- func (r ApiGetStatisticsRequest) Interval(interval string) ApiGetStatisticsRequest
- func (r ApiGetStatisticsRequest) To(to time.Time) ApiGetStatisticsRequest
- type ApiListDistributionsRequest
- func (r ApiListDistributionsRequest) Execute() (*ListDistributionsResponse, error)
- func (r ApiListDistributionsRequest) PageIdentifier(pageIdentifier string) ApiListDistributionsRequest
- func (r ApiListDistributionsRequest) PageSize(pageSize int32) ApiListDistributionsRequest
- func (r ApiListDistributionsRequest) SortBy(sortBy string) ApiListDistributionsRequest
- func (r ApiListDistributionsRequest) SortOrder(sortOrder string) ApiListDistributionsRequest
- func (r ApiListDistributionsRequest) WithWafStatus(withWafStatus bool) ApiListDistributionsRequest
- type ApiListWafCollectionsRequest
- type ApiPatchDistributionRequest
- type ApiPurgeCacheRequest
- type ApiPutCustomDomainRequest
- type BucketBackend
- func (o *BucketBackend) GetBucketUrl() string
- func (o *BucketBackend) GetBucketUrlOk() (*string, bool)
- func (o *BucketBackend) GetRegion() string
- func (o *BucketBackend) GetRegionOk() (*string, bool)
- func (o *BucketBackend) GetType() string
- func (o *BucketBackend) GetTypeOk() (*string, bool)
- func (o BucketBackend) MarshalJSON() ([]byte, error)
- func (o *BucketBackend) SetBucketUrl(v string)
- func (o *BucketBackend) SetRegion(v string)
- func (o *BucketBackend) SetType(v string)
- func (o BucketBackend) ToMap() (map[string]interface{}, error)
- func (o *BucketBackend) UnmarshalJSON(data []byte) (err error)
- type BucketBackendCreate
- func (o *BucketBackendCreate) GetBucketUrl() string
- func (o *BucketBackendCreate) GetBucketUrlOk() (*string, bool)
- func (o *BucketBackendCreate) GetCredentials() BucketCredentials
- func (o *BucketBackendCreate) GetCredentialsOk() (*BucketCredentials, bool)
- func (o *BucketBackendCreate) GetRegion() string
- func (o *BucketBackendCreate) GetRegionOk() (*string, bool)
- func (o *BucketBackendCreate) GetType() string
- func (o *BucketBackendCreate) GetTypeOk() (*string, bool)
- func (o BucketBackendCreate) MarshalJSON() ([]byte, error)
- func (o *BucketBackendCreate) SetBucketUrl(v string)
- func (o *BucketBackendCreate) SetCredentials(v BucketCredentials)
- func (o *BucketBackendCreate) SetRegion(v string)
- func (o *BucketBackendCreate) SetType(v string)
- func (o BucketBackendCreate) ToMap() (map[string]interface{}, error)
- func (o *BucketBackendCreate) UnmarshalJSON(data []byte) (err error)
- type BucketBackendPatch
- func (o *BucketBackendPatch) GetBucketUrl() string
- func (o *BucketBackendPatch) GetBucketUrlOk() (*string, bool)
- func (o *BucketBackendPatch) GetCredentials() BucketCredentials
- func (o *BucketBackendPatch) GetCredentialsOk() (*BucketCredentials, bool)
- func (o *BucketBackendPatch) GetRegion() string
- func (o *BucketBackendPatch) GetRegionOk() (*string, bool)
- func (o *BucketBackendPatch) GetType() string
- func (o *BucketBackendPatch) GetTypeOk() (*string, bool)
- func (o *BucketBackendPatch) HasBucketUrl() bool
- func (o *BucketBackendPatch) HasCredentials() bool
- func (o *BucketBackendPatch) HasRegion() bool
- func (o BucketBackendPatch) MarshalJSON() ([]byte, error)
- func (o *BucketBackendPatch) SetBucketUrl(v string)
- func (o *BucketBackendPatch) SetCredentials(v BucketCredentials)
- func (o *BucketBackendPatch) SetRegion(v string)
- func (o *BucketBackendPatch) SetType(v string)
- func (o BucketBackendPatch) ToMap() (map[string]interface{}, error)
- func (o *BucketBackendPatch) UnmarshalJSON(data []byte) (err error)
- type BucketCredentials
- func (o *BucketCredentials) GetAccessKeyId() string
- func (o *BucketCredentials) GetAccessKeyIdOk() (*string, bool)
- func (o *BucketCredentials) GetSecretAccessKey() string
- func (o *BucketCredentials) GetSecretAccessKeyOk() (*string, bool)
- func (o BucketCredentials) MarshalJSON() ([]byte, error)
- func (o *BucketCredentials) SetAccessKeyId(v string)
- func (o *BucketCredentials) SetSecretAccessKey(v string)
- func (o BucketCredentials) ToMap() (map[string]interface{}, error)
- func (o *BucketCredentials) UnmarshalJSON(data []byte) (err error)
- type Config
- func (o *Config) GetBackend() ConfigBackend
- func (o *Config) GetBackendOk() (*ConfigBackend, bool)
- func (o *Config) GetBlockedCountries() []string
- func (o *Config) GetBlockedCountriesOk() ([]string, bool)
- func (o *Config) GetBlockedIps() []string
- func (o *Config) GetBlockedIpsOk() ([]string, bool)
- func (o *Config) GetDefaultCacheDuration() string
- func (o *Config) GetDefaultCacheDurationOk() (*string, bool)
- func (o *Config) GetLogSink() LokiLogSink
- func (o *Config) GetLogSinkOk() (*LokiLogSink, bool)
- func (o *Config) GetMonthlyLimitBytes() int64
- func (o *Config) GetMonthlyLimitBytesOk() (*int64, bool)
- func (o *Config) GetOptimizer() Optimizer
- func (o *Config) GetOptimizerOk() (*Optimizer, bool)
- func (o *Config) GetRegions() []Region
- func (o *Config) GetRegionsOk() ([]Region, bool)
- func (o *Config) GetWaf() WafConfig
- func (o *Config) GetWafOk() (*WafConfig, bool)
- func (o *Config) HasDefaultCacheDuration() bool
- func (o *Config) HasLogSink() bool
- func (o *Config) HasMonthlyLimitBytes() bool
- func (o *Config) HasOptimizer() bool
- func (o Config) MarshalJSON() ([]byte, error)
- func (o *Config) SetBackend(v ConfigBackend)
- func (o *Config) SetBlockedCountries(v []string)
- func (o *Config) SetBlockedIps(v []string)
- func (o *Config) SetDefaultCacheDuration(v string)
- func (o *Config) SetDefaultCacheDurationNil()
- func (o *Config) SetLogSink(v LokiLogSink)
- func (o *Config) SetMonthlyLimitBytes(v int64)
- func (o *Config) SetMonthlyLimitBytesNil()
- func (o *Config) SetOptimizer(v Optimizer)
- func (o *Config) SetRegions(v []Region)
- func (o *Config) SetWaf(v WafConfig)
- func (o Config) ToMap() (map[string]interface{}, error)
- func (o *Config) UnmarshalJSON(data []byte) (err error)
- func (o *Config) UnsetDefaultCacheDuration()
- func (o *Config) UnsetMonthlyLimitBytes()
- type ConfigBackend
- type ConfigPatch
- func (o *ConfigPatch) GetBackend() ConfigPatchBackend
- func (o *ConfigPatch) GetBackendOk() (*ConfigPatchBackend, bool)
- func (o *ConfigPatch) GetBlockedCountries() []string
- func (o *ConfigPatch) GetBlockedCountriesOk() ([]string, bool)
- func (o *ConfigPatch) GetBlockedIps() []string
- func (o *ConfigPatch) GetBlockedIpsOk() ([]string, bool)
- func (o *ConfigPatch) GetDefaultCacheDuration() string
- func (o *ConfigPatch) GetDefaultCacheDurationOk() (*string, bool)
- func (o *ConfigPatch) GetLogSink() LokiLogSinkPatch
- func (o *ConfigPatch) GetLogSinkOk() (*LokiLogSinkPatch, bool)
- func (o *ConfigPatch) GetMonthlyLimitBytes() int64
- func (o *ConfigPatch) GetMonthlyLimitBytesOk() (*int64, bool)
- func (o *ConfigPatch) GetOptimizer() OptimizerPatch
- func (o *ConfigPatch) GetOptimizerOk() (*OptimizerPatch, bool)
- func (o *ConfigPatch) GetRegions() []Region
- func (o *ConfigPatch) GetRegionsOk() ([]Region, bool)
- func (o *ConfigPatch) GetWaf() WafConfigPatch
- func (o *ConfigPatch) GetWafOk() (*WafConfigPatch, bool)
- func (o *ConfigPatch) HasBackend() bool
- func (o *ConfigPatch) HasBlockedCountries() bool
- func (o *ConfigPatch) HasBlockedIps() bool
- func (o *ConfigPatch) HasDefaultCacheDuration() bool
- func (o *ConfigPatch) HasLogSink() bool
- func (o *ConfigPatch) HasMonthlyLimitBytes() bool
- func (o *ConfigPatch) HasOptimizer() bool
- func (o *ConfigPatch) HasRegions() bool
- func (o *ConfigPatch) HasWaf() bool
- func (o ConfigPatch) MarshalJSON() ([]byte, error)
- func (o *ConfigPatch) SetBackend(v ConfigPatchBackend)
- func (o *ConfigPatch) SetBlockedCountries(v []string)
- func (o *ConfigPatch) SetBlockedIps(v []string)
- func (o *ConfigPatch) SetDefaultCacheDuration(v string)
- func (o *ConfigPatch) SetDefaultCacheDurationNil()
- func (o *ConfigPatch) SetLogSink(v LokiLogSinkPatch)
- func (o *ConfigPatch) SetLogSinkNil()
- func (o *ConfigPatch) SetMonthlyLimitBytes(v int64)
- func (o *ConfigPatch) SetMonthlyLimitBytesNil()
- func (o *ConfigPatch) SetOptimizer(v OptimizerPatch)
- func (o *ConfigPatch) SetRegions(v []Region)
- func (o *ConfigPatch) SetWaf(v WafConfigPatch)
- func (o ConfigPatch) ToMap() (map[string]interface{}, error)
- func (o *ConfigPatch) UnsetDefaultCacheDuration()
- func (o *ConfigPatch) UnsetLogSink()
- func (o *ConfigPatch) UnsetMonthlyLimitBytes()
- type ConfigPatchBackend
- type CreateDistributionPayload
- func (o *CreateDistributionPayload) GetBackend() CreateDistributionPayloadBackend
- func (o *CreateDistributionPayload) GetBackendOk() (*CreateDistributionPayloadBackend, bool)
- func (o *CreateDistributionPayload) GetBlockedCountries() []string
- func (o *CreateDistributionPayload) GetBlockedCountriesOk() ([]string, bool)
- func (o *CreateDistributionPayload) GetBlockedIps() []string
- func (o *CreateDistributionPayload) GetBlockedIpsOk() ([]string, bool)
- func (o *CreateDistributionPayload) GetDefaultCacheDuration() string
- func (o *CreateDistributionPayload) GetDefaultCacheDurationOk() (*string, bool)
- func (o *CreateDistributionPayload) GetIntentId() string
- func (o *CreateDistributionPayload) GetIntentIdOk() (*string, bool)
- func (o *CreateDistributionPayload) GetLogSink() LokiLogSinkCreate
- func (o *CreateDistributionPayload) GetLogSinkOk() (*LokiLogSinkCreate, bool)
- func (o *CreateDistributionPayload) GetMonthlyLimitBytes() int64
- func (o *CreateDistributionPayload) GetMonthlyLimitBytesOk() (*int64, bool)
- func (o *CreateDistributionPayload) GetOptimizer() Optimizer
- func (o *CreateDistributionPayload) GetOptimizerOk() (*Optimizer, bool)
- func (o *CreateDistributionPayload) GetRegions() []Region
- func (o *CreateDistributionPayload) GetRegionsOk() ([]Region, bool)
- func (o *CreateDistributionPayload) GetWaf() WafConfig
- func (o *CreateDistributionPayload) GetWafOk() (*WafConfig, bool)
- func (o *CreateDistributionPayload) HasBlockedCountries() bool
- func (o *CreateDistributionPayload) HasBlockedIps() bool
- func (o *CreateDistributionPayload) HasDefaultCacheDuration() bool
- func (o *CreateDistributionPayload) HasIntentId() bool
- func (o *CreateDistributionPayload) HasLogSink() bool
- func (o *CreateDistributionPayload) HasMonthlyLimitBytes() bool
- func (o *CreateDistributionPayload) HasOptimizer() bool
- func (o *CreateDistributionPayload) HasWaf() bool
- func (o CreateDistributionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateDistributionPayload) SetBackend(v CreateDistributionPayloadBackend)
- func (o *CreateDistributionPayload) SetBlockedCountries(v []string)
- func (o *CreateDistributionPayload) SetBlockedIps(v []string)
- func (o *CreateDistributionPayload) SetDefaultCacheDuration(v string)
- func (o *CreateDistributionPayload) SetIntentId(v string)
- func (o *CreateDistributionPayload) SetLogSink(v LokiLogSinkCreate)
- func (o *CreateDistributionPayload) SetMonthlyLimitBytes(v int64)
- func (o *CreateDistributionPayload) SetOptimizer(v Optimizer)
- func (o *CreateDistributionPayload) SetRegions(v []Region)
- func (o *CreateDistributionPayload) SetWaf(v WafConfig)
- func (o CreateDistributionPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateDistributionPayload) UnmarshalJSON(data []byte) (err error)
- type CreateDistributionPayloadBackend
- func (obj *CreateDistributionPayloadBackend) GetActualInstance() interface{}
- func (obj CreateDistributionPayloadBackend) GetActualInstanceValue() interface{}
- func (src CreateDistributionPayloadBackend) MarshalJSON() ([]byte, error)
- func (dst *CreateDistributionPayloadBackend) UnmarshalJSON(data []byte) error
- type CreateDistributionResponse
- func (o *CreateDistributionResponse) GetDistribution() Distribution
- func (o *CreateDistributionResponse) GetDistributionOk() (*Distribution, bool)
- func (o CreateDistributionResponse) MarshalJSON() ([]byte, error)
- func (o *CreateDistributionResponse) SetDistribution(v Distribution)
- func (o CreateDistributionResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateDistributionResponse) UnmarshalJSON(data []byte) (err error)
- type CustomDomain
- func (o *CustomDomain) GetErrors() []StatusError
- func (o *CustomDomain) GetErrorsOk() ([]StatusError, bool)
- func (o *CustomDomain) GetName() string
- func (o *CustomDomain) GetNameOk() (*string, bool)
- func (o *CustomDomain) GetStatus() DomainStatus
- func (o *CustomDomain) GetStatusOk() (*DomainStatus, bool)
- func (o *CustomDomain) HasErrors() bool
- func (o CustomDomain) MarshalJSON() ([]byte, error)
- func (o *CustomDomain) SetErrors(v []StatusError)
- func (o *CustomDomain) SetName(v string)
- func (o *CustomDomain) SetStatus(v DomainStatus)
- func (o CustomDomain) ToMap() (map[string]interface{}, error)
- func (o *CustomDomain) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest
- func (a *DefaultAPIService) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)
- func (a *DefaultAPIService) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest
- func (a *DefaultAPIService) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)
- func (a *DefaultAPIService) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest
- func (a *DefaultAPIService) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)
- func (a *DefaultAPIService) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest
- func (a *DefaultAPIService) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)
- func (a *DefaultAPIService) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest
- func (a *DefaultAPIService) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)
- func (a *DefaultAPIService) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest
- func (a *DefaultAPIService) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)
- func (a *DefaultAPIService) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest
- func (a *DefaultAPIService) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error)
- func (a *DefaultAPIService) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest
- func (a *DefaultAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error)
- func (a *DefaultAPIService) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest
- func (a *DefaultAPIService) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)
- func (a *DefaultAPIService) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest
- func (a *DefaultAPIService) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)
- func (a *DefaultAPIService) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest
- func (a *DefaultAPIService) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)
- func (a *DefaultAPIService) ListWafCollections(ctx context.Context, projectId string) ApiListWafCollectionsRequest
- func (a *DefaultAPIService) ListWafCollectionsExecute(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)
- func (a *DefaultAPIService) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest
- func (a *DefaultAPIService) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)
- func (a *DefaultAPIService) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest
- func (a *DefaultAPIService) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest
- func (a *DefaultAPIService) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest
- func (a DefaultAPIServiceMock) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)
- func (a DefaultAPIServiceMock) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest
- func (a DefaultAPIServiceMock) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)
- func (a DefaultAPIServiceMock) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest
- func (a DefaultAPIServiceMock) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)
- func (a DefaultAPIServiceMock) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest
- func (a DefaultAPIServiceMock) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)
- func (a DefaultAPIServiceMock) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest
- func (a DefaultAPIServiceMock) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)
- func (a DefaultAPIServiceMock) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest
- func (a DefaultAPIServiceMock) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)
- func (a DefaultAPIServiceMock) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest
- func (a DefaultAPIServiceMock) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error)
- func (a DefaultAPIServiceMock) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest
- func (a DefaultAPIServiceMock) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error)
- func (a DefaultAPIServiceMock) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest
- func (a DefaultAPIServiceMock) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)
- func (a DefaultAPIServiceMock) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest
- func (a DefaultAPIServiceMock) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)
- func (a DefaultAPIServiceMock) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest
- func (a DefaultAPIServiceMock) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)
- func (a DefaultAPIServiceMock) ListWafCollections(ctx context.Context, projectId string) ApiListWafCollectionsRequest
- func (a DefaultAPIServiceMock) ListWafCollectionsExecute(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)
- func (a DefaultAPIServiceMock) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest
- func (a DefaultAPIServiceMock) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)
- func (a DefaultAPIServiceMock) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest
- func (a DefaultAPIServiceMock) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest
- func (a DefaultAPIServiceMock) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
- type DeleteCustomDomainResponse
- func (o *DeleteCustomDomainResponse) GetCustomDomain() CustomDomain
- func (o *DeleteCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)
- func (o *DeleteCustomDomainResponse) HasCustomDomain() bool
- func (o DeleteCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteCustomDomainResponse) SetCustomDomain(v CustomDomain)
- func (o DeleteCustomDomainResponse) ToMap() (map[string]interface{}, error)
- type DeleteDistributionResponse
- func (o *DeleteDistributionResponse) GetDistribution() Distribution
- func (o *DeleteDistributionResponse) GetDistributionOk() (*Distribution, bool)
- func (o *DeleteDistributionResponse) HasDistribution() bool
- func (o DeleteDistributionResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteDistributionResponse) SetDistribution(v Distribution)
- func (o DeleteDistributionResponse) ToMap() (map[string]interface{}, error)
- type Distribution
- func (o *Distribution) GetConfig() Config
- func (o *Distribution) GetConfigOk() (*Config, bool)
- func (o *Distribution) GetCreatedAt() time.Time
- func (o *Distribution) GetCreatedAtOk() (*time.Time, bool)
- func (o *Distribution) GetDomains() []Domain
- func (o *Distribution) GetDomainsOk() ([]Domain, bool)
- func (o *Distribution) GetErrors() []StatusError
- func (o *Distribution) GetErrorsOk() ([]StatusError, bool)
- func (o *Distribution) GetId() string
- func (o *Distribution) GetIdOk() (*string, bool)
- func (o *Distribution) GetProjectId() string
- func (o *Distribution) GetProjectIdOk() (*string, bool)
- func (o *Distribution) GetStatus() string
- func (o *Distribution) GetStatusOk() (*string, bool)
- func (o *Distribution) GetUpdatedAt() time.Time
- func (o *Distribution) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Distribution) GetWaf() DistributionWaf
- func (o *Distribution) GetWafOk() (*DistributionWaf, bool)
- func (o *Distribution) HasErrors() bool
- func (o *Distribution) HasWaf() bool
- func (o Distribution) MarshalJSON() ([]byte, error)
- func (o *Distribution) SetConfig(v Config)
- func (o *Distribution) SetCreatedAt(v time.Time)
- func (o *Distribution) SetDomains(v []Domain)
- func (o *Distribution) SetErrors(v []StatusError)
- func (o *Distribution) SetId(v string)
- func (o *Distribution) SetProjectId(v string)
- func (o *Distribution) SetStatus(v string)
- func (o *Distribution) SetUpdatedAt(v time.Time)
- func (o *Distribution) SetWaf(v DistributionWaf)
- func (o Distribution) ToMap() (map[string]interface{}, error)
- func (o *Distribution) UnmarshalJSON(data []byte) (err error)
- type DistributionLogsRecord
- func (o *DistributionLogsRecord) GetCacheHit() bool
- func (o *DistributionLogsRecord) GetCacheHitOk() (*bool, bool)
- func (o *DistributionLogsRecord) GetDataCenterRegion() string
- func (o *DistributionLogsRecord) GetDataCenterRegionOk() (*string, bool)
- func (o *DistributionLogsRecord) GetDistributionId() string
- func (o *DistributionLogsRecord) GetDistributionIdOk() (*string, bool)
- func (o *DistributionLogsRecord) GetHost() string
- func (o *DistributionLogsRecord) GetHostOk() (*string, bool)
- func (o *DistributionLogsRecord) GetPath() string
- func (o *DistributionLogsRecord) GetPathOk() (*string, bool)
- func (o *DistributionLogsRecord) GetRequestCountryCode() string
- func (o *DistributionLogsRecord) GetRequestCountryCodeOk() (*string, bool)
- func (o *DistributionLogsRecord) GetSize() int64
- func (o *DistributionLogsRecord) GetSizeOk() (*int64, bool)
- func (o *DistributionLogsRecord) GetStatusCode() int32
- func (o *DistributionLogsRecord) GetStatusCodeOk() (*int32, bool)
- func (o *DistributionLogsRecord) GetTimestamp() time.Time
- func (o *DistributionLogsRecord) GetTimestampOk() (*time.Time, bool)
- func (o *DistributionLogsRecord) GetWafViolation() WAFViolation
- func (o *DistributionLogsRecord) GetWafViolationOk() (*WAFViolation, bool)
- func (o *DistributionLogsRecord) HasWafViolation() bool
- func (o DistributionLogsRecord) MarshalJSON() ([]byte, error)
- func (o *DistributionLogsRecord) SetCacheHit(v bool)
- func (o *DistributionLogsRecord) SetDataCenterRegion(v string)
- func (o *DistributionLogsRecord) SetDistributionId(v string)
- func (o *DistributionLogsRecord) SetHost(v string)
- func (o *DistributionLogsRecord) SetPath(v string)
- func (o *DistributionLogsRecord) SetRequestCountryCode(v string)
- func (o *DistributionLogsRecord) SetSize(v int64)
- func (o *DistributionLogsRecord) SetStatusCode(v int32)
- func (o *DistributionLogsRecord) SetTimestamp(v time.Time)
- func (o *DistributionLogsRecord) SetWafViolation(v WAFViolation)
- func (o DistributionLogsRecord) ToMap() (map[string]interface{}, error)
- func (o *DistributionLogsRecord) UnmarshalJSON(data []byte) (err error)
- type DistributionStatisticsRecord
- func (o *DistributionStatisticsRecord) GetCachedRequests() int64
- func (o *DistributionStatisticsRecord) GetCachedRequestsOk() (*int64, bool)
- func (o *DistributionStatisticsRecord) GetEnd() time.Time
- func (o *DistributionStatisticsRecord) GetEndOk() (*time.Time, bool)
- func (o *DistributionStatisticsRecord) GetRegions() DistributionStatisticsRecordRegions
- func (o *DistributionStatisticsRecord) GetRegionsOk() (*DistributionStatisticsRecordRegions, bool)
- func (o *DistributionStatisticsRecord) GetStart() time.Time
- func (o *DistributionStatisticsRecord) GetStartOk() (*time.Time, bool)
- func (o *DistributionStatisticsRecord) GetTotalRequests() int64
- func (o *DistributionStatisticsRecord) GetTotalRequestsOk() (*int64, bool)
- func (o *DistributionStatisticsRecord) GetTotalTrafficBytes() int64
- func (o *DistributionStatisticsRecord) GetTotalTrafficBytesOk() (*int64, bool)
- func (o DistributionStatisticsRecord) MarshalJSON() ([]byte, error)
- func (o *DistributionStatisticsRecord) SetCachedRequests(v int64)
- func (o *DistributionStatisticsRecord) SetEnd(v time.Time)
- func (o *DistributionStatisticsRecord) SetRegions(v DistributionStatisticsRecordRegions)
- func (o *DistributionStatisticsRecord) SetStart(v time.Time)
- func (o *DistributionStatisticsRecord) SetTotalRequests(v int64)
- func (o *DistributionStatisticsRecord) SetTotalTrafficBytes(v int64)
- func (o DistributionStatisticsRecord) ToMap() (map[string]interface{}, error)
- func (o *DistributionStatisticsRecord) UnmarshalJSON(data []byte) (err error)
- type DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordEntry) GetCachedRequests() int64
- func (o *DistributionStatisticsRecordEntry) GetCachedRequestsOk() (*int64, bool)
- func (o *DistributionStatisticsRecordEntry) GetTotalRequests() int64
- func (o *DistributionStatisticsRecordEntry) GetTotalRequestsOk() (*int64, bool)
- func (o *DistributionStatisticsRecordEntry) GetTotalTrafficBytes() int64
- func (o *DistributionStatisticsRecordEntry) GetTotalTrafficBytesOk() (*int64, bool)
- func (o DistributionStatisticsRecordEntry) MarshalJSON() ([]byte, error)
- func (o *DistributionStatisticsRecordEntry) SetCachedRequests(v int64)
- func (o *DistributionStatisticsRecordEntry) SetTotalRequests(v int64)
- func (o *DistributionStatisticsRecordEntry) SetTotalTrafficBytes(v int64)
- func (o DistributionStatisticsRecordEntry) ToMap() (map[string]interface{}, error)
- func (o *DistributionStatisticsRecordEntry) UnmarshalJSON(data []byte) (err error)
- type DistributionStatisticsRecordRegions
- func (o *DistributionStatisticsRecordRegions) GetAF() DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordRegions) GetAFOk() (*DistributionStatisticsRecordEntry, bool)
- func (o *DistributionStatisticsRecordRegions) GetASIA() DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordRegions) GetASIAOk() (*DistributionStatisticsRecordEntry, bool)
- func (o *DistributionStatisticsRecordRegions) GetEU() DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordRegions) GetEUOk() (*DistributionStatisticsRecordEntry, bool)
- func (o *DistributionStatisticsRecordRegions) GetSA() DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordRegions) GetSAOk() (*DistributionStatisticsRecordEntry, bool)
- func (o *DistributionStatisticsRecordRegions) GetUS() DistributionStatisticsRecordEntry
- func (o *DistributionStatisticsRecordRegions) GetUSOk() (*DistributionStatisticsRecordEntry, bool)
- func (o DistributionStatisticsRecordRegions) MarshalJSON() ([]byte, error)
- func (o *DistributionStatisticsRecordRegions) SetAF(v DistributionStatisticsRecordEntry)
- func (o *DistributionStatisticsRecordRegions) SetASIA(v DistributionStatisticsRecordEntry)
- func (o *DistributionStatisticsRecordRegions) SetEU(v DistributionStatisticsRecordEntry)
- func (o *DistributionStatisticsRecordRegions) SetSA(v DistributionStatisticsRecordEntry)
- func (o *DistributionStatisticsRecordRegions) SetUS(v DistributionStatisticsRecordEntry)
- func (o DistributionStatisticsRecordRegions) ToMap() (map[string]interface{}, error)
- func (o *DistributionStatisticsRecordRegions) UnmarshalJSON(data []byte) (err error)
- type DistributionWaf
- func (o *DistributionWaf) GetDisabledRules() []WafStatusRuleBlock
- func (o *DistributionWaf) GetDisabledRulesOk() ([]WafStatusRuleBlock, bool)
- func (o *DistributionWaf) GetEnabledRules() []WafStatusRuleBlock
- func (o *DistributionWaf) GetEnabledRulesOk() ([]WafStatusRuleBlock, bool)
- func (o *DistributionWaf) GetLogOnlyRules() []WafStatusRuleBlock
- func (o *DistributionWaf) GetLogOnlyRulesOk() ([]WafStatusRuleBlock, bool)
- func (o DistributionWaf) MarshalJSON() ([]byte, error)
- func (o *DistributionWaf) SetDisabledRules(v []WafStatusRuleBlock)
- func (o *DistributionWaf) SetEnabledRules(v []WafStatusRuleBlock)
- func (o *DistributionWaf) SetLogOnlyRules(v []WafStatusRuleBlock)
- func (o DistributionWaf) ToMap() (map[string]interface{}, error)
- func (o *DistributionWaf) UnmarshalJSON(data []byte) (err error)
- type Domain
- func (o *Domain) GetErrors() []StatusError
- func (o *Domain) GetErrorsOk() ([]StatusError, bool)
- func (o *Domain) GetName() string
- func (o *Domain) GetNameOk() (*string, bool)
- func (o *Domain) GetStatus() DomainStatus
- func (o *Domain) GetStatusOk() (*DomainStatus, bool)
- func (o *Domain) GetType() string
- func (o *Domain) GetTypeOk() (*string, bool)
- func (o *Domain) HasErrors() bool
- func (o Domain) MarshalJSON() ([]byte, error)
- func (o *Domain) SetErrors(v []StatusError)
- func (o *Domain) SetName(v string)
- func (o *Domain) SetStatus(v DomainStatus)
- func (o *Domain) SetType(v string)
- func (o Domain) ToMap() (map[string]interface{}, error)
- func (o *Domain) UnmarshalJSON(data []byte) (err error)
- type DomainStatus
- type ErrorDetails
- func (o *ErrorDetails) GetDe() string
- func (o *ErrorDetails) GetDeOk() (*string, bool)
- func (o *ErrorDetails) GetEn() string
- func (o *ErrorDetails) GetEnOk() (*string, bool)
- func (o *ErrorDetails) GetField() string
- func (o *ErrorDetails) GetFieldOk() (*string, bool)
- func (o *ErrorDetails) GetKey() string
- func (o *ErrorDetails) GetKeyOk() (*string, bool)
- func (o *ErrorDetails) HasDe() bool
- func (o *ErrorDetails) HasField() bool
- func (o ErrorDetails) MarshalJSON() ([]byte, error)
- func (o *ErrorDetails) SetDe(v string)
- func (o *ErrorDetails) SetEn(v string)
- func (o *ErrorDetails) SetField(v string)
- func (o *ErrorDetails) SetKey(v string)
- func (o ErrorDetails) ToMap() (map[string]interface{}, error)
- func (o *ErrorDetails) UnmarshalJSON(data []byte) (err error)
- type FindCachePathsResponse
- func (o *FindCachePathsResponse) GetResponse() []FindCachePathsResponseEntry
- func (o *FindCachePathsResponse) GetResponseOk() ([]FindCachePathsResponseEntry, bool)
- func (o FindCachePathsResponse) MarshalJSON() ([]byte, error)
- func (o *FindCachePathsResponse) SetResponse(v []FindCachePathsResponseEntry)
- func (o FindCachePathsResponse) ToMap() (map[string]interface{}, error)
- func (o *FindCachePathsResponse) UnmarshalJSON(data []byte) (err error)
- type FindCachePathsResponseEntry
- func (o *FindCachePathsResponseEntry) GetPath() string
- func (o *FindCachePathsResponseEntry) GetPathOk() (*string, bool)
- func (o FindCachePathsResponseEntry) MarshalJSON() ([]byte, error)
- func (o *FindCachePathsResponseEntry) SetPath(v string)
- func (o FindCachePathsResponseEntry) ToMap() (map[string]interface{}, error)
- func (o *FindCachePathsResponseEntry) UnmarshalJSON(data []byte) (err error)
- type GenericJsonResponse
- func (o *GenericJsonResponse) GetDetails() []ErrorDetails
- func (o *GenericJsonResponse) GetDetailsOk() ([]ErrorDetails, bool)
- func (o *GenericJsonResponse) GetMessage() string
- func (o *GenericJsonResponse) GetMessageOk() (*string, bool)
- func (o *GenericJsonResponse) HasDetails() bool
- func (o GenericJsonResponse) MarshalJSON() ([]byte, error)
- func (o *GenericJsonResponse) SetDetails(v []ErrorDetails)
- func (o *GenericJsonResponse) SetMessage(v string)
- func (o GenericJsonResponse) ToMap() (map[string]interface{}, error)
- func (o *GenericJsonResponse) UnmarshalJSON(data []byte) (err error)
- type GetCacheInfoResponse
- func (o *GetCacheInfoResponse) GetHistory() []GetCacheInfoResponseHistoryEntry
- func (o *GetCacheInfoResponse) GetHistoryOk() ([]GetCacheInfoResponseHistoryEntry, bool)
- func (o *GetCacheInfoResponse) GetLastPurgeTime() time.Time
- func (o *GetCacheInfoResponse) GetLastPurgeTimeOk() (*time.Time, bool)
- func (o GetCacheInfoResponse) MarshalJSON() ([]byte, error)
- func (o *GetCacheInfoResponse) SetHistory(v []GetCacheInfoResponseHistoryEntry)
- func (o *GetCacheInfoResponse) SetLastPurgeTime(v time.Time)
- func (o GetCacheInfoResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCacheInfoResponse) UnmarshalJSON(data []byte) (err error)
- type GetCacheInfoResponseHistoryEntry
- func (o *GetCacheInfoResponseHistoryEntry) GetOccurredAt() time.Time
- func (o *GetCacheInfoResponseHistoryEntry) GetOccurredAtOk() (*time.Time, bool)
- func (o *GetCacheInfoResponseHistoryEntry) GetType() string
- func (o *GetCacheInfoResponseHistoryEntry) GetTypeOk() (*string, bool)
- func (o GetCacheInfoResponseHistoryEntry) MarshalJSON() ([]byte, error)
- func (o *GetCacheInfoResponseHistoryEntry) SetOccurredAt(v time.Time)
- func (o *GetCacheInfoResponseHistoryEntry) SetType(v string)
- func (o GetCacheInfoResponseHistoryEntry) ToMap() (map[string]interface{}, error)
- func (o *GetCacheInfoResponseHistoryEntry) UnmarshalJSON(data []byte) (err error)
- type GetCustomDomainCustomCertificate
- func (o *GetCustomDomainCustomCertificate) GetType() string
- func (o *GetCustomDomainCustomCertificate) GetTypeOk() (*string, bool)
- func (o *GetCustomDomainCustomCertificate) GetVersion() int32
- func (o *GetCustomDomainCustomCertificate) GetVersionOk() (*int32, bool)
- func (o GetCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
- func (o *GetCustomDomainCustomCertificate) SetType(v string)
- func (o *GetCustomDomainCustomCertificate) SetVersion(v int32)
- func (o GetCustomDomainCustomCertificate) ToMap() (map[string]interface{}, error)
- func (o *GetCustomDomainCustomCertificate) UnmarshalJSON(data []byte) (err error)
- type GetCustomDomainManagedCertificate
- func (o *GetCustomDomainManagedCertificate) GetType() string
- func (o *GetCustomDomainManagedCertificate) GetTypeOk() (*string, bool)
- func (o GetCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
- func (o *GetCustomDomainManagedCertificate) SetType(v string)
- func (o GetCustomDomainManagedCertificate) ToMap() (map[string]interface{}, error)
- func (o *GetCustomDomainManagedCertificate) UnmarshalJSON(data []byte) (err error)
- type GetCustomDomainResponse
- func (o *GetCustomDomainResponse) GetCertificate() GetCustomDomainResponseCertificate
- func (o *GetCustomDomainResponse) GetCertificateOk() (*GetCustomDomainResponseCertificate, bool)
- func (o *GetCustomDomainResponse) GetCustomDomain() CustomDomain
- func (o *GetCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)
- func (o GetCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (o *GetCustomDomainResponse) SetCertificate(v GetCustomDomainResponseCertificate)
- func (o *GetCustomDomainResponse) SetCustomDomain(v CustomDomain)
- func (o GetCustomDomainResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCustomDomainResponse) UnmarshalJSON(data []byte) (err error)
- type GetCustomDomainResponseCertificate
- func (obj *GetCustomDomainResponseCertificate) GetActualInstance() interface{}
- func (obj GetCustomDomainResponseCertificate) GetActualInstanceValue() interface{}
- func (src GetCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
- func (dst *GetCustomDomainResponseCertificate) UnmarshalJSON(data []byte) error
- type GetDistributionResponse
- func (o *GetDistributionResponse) GetDistribution() Distribution
- func (o *GetDistributionResponse) GetDistributionOk() (*Distribution, bool)
- func (o GetDistributionResponse) MarshalJSON() ([]byte, error)
- func (o *GetDistributionResponse) SetDistribution(v Distribution)
- func (o GetDistributionResponse) ToMap() (map[string]interface{}, error)
- func (o *GetDistributionResponse) UnmarshalJSON(data []byte) (err error)
- type GetLogsResponse
- func (o *GetLogsResponse) GetLogs() []DistributionLogsRecord
- func (o *GetLogsResponse) GetLogsOk() ([]DistributionLogsRecord, bool)
- func (o *GetLogsResponse) GetNextPageIdentifier() string
- func (o *GetLogsResponse) GetNextPageIdentifierOk() (*string, bool)
- func (o *GetLogsResponse) HasNextPageIdentifier() bool
- func (o GetLogsResponse) MarshalJSON() ([]byte, error)
- func (o *GetLogsResponse) SetLogs(v []DistributionLogsRecord)
- func (o *GetLogsResponse) SetNextPageIdentifier(v string)
- func (o GetLogsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetLogsResponse) UnmarshalJSON(data []byte) (err error)
- type GetLogsSearchFiltersResponse
- func (o *GetLogsSearchFiltersResponse) GetCache() []string
- func (o *GetLogsSearchFiltersResponse) GetCacheOk() ([]string, bool)
- func (o *GetLogsSearchFiltersResponse) GetDataCenter() GetLogsSearchFiltersResponseDatacenterBlock
- func (o *GetLogsSearchFiltersResponse) GetDataCenterOk() (*GetLogsSearchFiltersResponseDatacenterBlock, bool)
- func (o *GetLogsSearchFiltersResponse) GetRemoteCountry() []string
- func (o *GetLogsSearchFiltersResponse) GetRemoteCountryOk() ([]string, bool)
- func (o *GetLogsSearchFiltersResponse) GetStatus() []int32
- func (o *GetLogsSearchFiltersResponse) GetStatusOk() ([]int32, bool)
- func (o GetLogsSearchFiltersResponse) MarshalJSON() ([]byte, error)
- func (o *GetLogsSearchFiltersResponse) SetCache(v []string)
- func (o *GetLogsSearchFiltersResponse) SetDataCenter(v GetLogsSearchFiltersResponseDatacenterBlock)
- func (o *GetLogsSearchFiltersResponse) SetRemoteCountry(v []string)
- func (o *GetLogsSearchFiltersResponse) SetStatus(v []int32)
- func (o GetLogsSearchFiltersResponse) ToMap() (map[string]interface{}, error)
- func (o *GetLogsSearchFiltersResponse) UnmarshalJSON(data []byte) (err error)
- type GetLogsSearchFiltersResponseDatacenterBlock
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetAF() []GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetAFOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetASIA() []GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetASIAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetEU() []GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetEUOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetNA() []GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetNAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetSA() []GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetSAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
- func (o GetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON() ([]byte, error)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetAF(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetASIA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetEU(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetNA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetSA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (o GetLogsSearchFiltersResponseDatacenterBlock) ToMap() (map[string]interface{}, error)
- func (o *GetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON(data []byte) (err error)
- type GetLogsSearchFiltersResponseDatacenterBlockItem
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayName() string
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayNameOk() (*string, bool)
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetId() string
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetIdOk() (*string, bool)
- func (o GetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON() ([]byte, error)
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) SetDisplayName(v string)
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) SetId(v string)
- func (o GetLogsSearchFiltersResponseDatacenterBlockItem) ToMap() (map[string]interface{}, error)
- func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON(data []byte) (err error)
- type GetStatisticsResponse
- func (o *GetStatisticsResponse) GetRecords() []DistributionStatisticsRecord
- func (o *GetStatisticsResponse) GetRecordsOk() ([]DistributionStatisticsRecord, bool)
- func (o GetStatisticsResponse) MarshalJSON() ([]byte, error)
- func (o *GetStatisticsResponse) SetRecords(v []DistributionStatisticsRecord)
- func (o GetStatisticsResponse) ToMap() (map[string]interface{}, error)
- func (o *GetStatisticsResponse) UnmarshalJSON(data []byte) (err error)
- type HttpBackend
- func (o *HttpBackend) GetGeofencing() map[string][]string
- func (o *HttpBackend) GetGeofencingOk() (*map[string][]string, bool)
- func (o *HttpBackend) GetOriginRequestHeaders() map[string]string
- func (o *HttpBackend) GetOriginRequestHeadersOk() (*map[string]string, bool)
- func (o *HttpBackend) GetOriginUrl() string
- func (o *HttpBackend) GetOriginUrlOk() (*string, bool)
- func (o *HttpBackend) GetType() string
- func (o *HttpBackend) GetTypeOk() (*string, bool)
- func (o HttpBackend) MarshalJSON() ([]byte, error)
- func (o *HttpBackend) SetGeofencing(v map[string][]string)
- func (o *HttpBackend) SetOriginRequestHeaders(v map[string]string)
- func (o *HttpBackend) SetOriginUrl(v string)
- func (o *HttpBackend) SetType(v string)
- func (o HttpBackend) ToMap() (map[string]interface{}, error)
- func (o *HttpBackend) UnmarshalJSON(data []byte) (err error)
- type HttpBackendCreate
- func (o *HttpBackendCreate) GetGeofencing() map[string][]string
- func (o *HttpBackendCreate) GetGeofencingOk() (*map[string][]string, bool)
- func (o *HttpBackendCreate) GetOriginRequestHeaders() map[string]string
- func (o *HttpBackendCreate) GetOriginRequestHeadersOk() (*map[string]string, bool)
- func (o *HttpBackendCreate) GetOriginUrl() string
- func (o *HttpBackendCreate) GetOriginUrlOk() (*string, bool)
- func (o *HttpBackendCreate) GetType() string
- func (o *HttpBackendCreate) GetTypeOk() (*string, bool)
- func (o *HttpBackendCreate) HasGeofencing() bool
- func (o *HttpBackendCreate) HasOriginRequestHeaders() bool
- func (o HttpBackendCreate) MarshalJSON() ([]byte, error)
- func (o *HttpBackendCreate) SetGeofencing(v map[string][]string)
- func (o *HttpBackendCreate) SetOriginRequestHeaders(v map[string]string)
- func (o *HttpBackendCreate) SetOriginUrl(v string)
- func (o *HttpBackendCreate) SetType(v string)
- func (o HttpBackendCreate) ToMap() (map[string]interface{}, error)
- func (o *HttpBackendCreate) UnmarshalJSON(data []byte) (err error)
- type HttpBackendPatch
- func (o *HttpBackendPatch) GetGeofencing() map[string][]string
- func (o *HttpBackendPatch) GetGeofencingOk() (*map[string][]string, bool)
- func (o *HttpBackendPatch) GetOriginRequestHeaders() map[string]string
- func (o *HttpBackendPatch) GetOriginRequestHeadersOk() (*map[string]string, bool)
- func (o *HttpBackendPatch) GetOriginUrl() string
- func (o *HttpBackendPatch) GetOriginUrlOk() (*string, bool)
- func (o *HttpBackendPatch) GetType() string
- func (o *HttpBackendPatch) GetTypeOk() (*string, bool)
- func (o *HttpBackendPatch) HasGeofencing() bool
- func (o *HttpBackendPatch) HasOriginRequestHeaders() bool
- func (o *HttpBackendPatch) HasOriginUrl() bool
- func (o HttpBackendPatch) MarshalJSON() ([]byte, error)
- func (o *HttpBackendPatch) SetGeofencing(v map[string][]string)
- func (o *HttpBackendPatch) SetOriginRequestHeaders(v map[string]string)
- func (o *HttpBackendPatch) SetOriginUrl(v string)
- func (o *HttpBackendPatch) SetType(v string)
- func (o HttpBackendPatch) ToMap() (map[string]interface{}, error)
- func (o *HttpBackendPatch) UnmarshalJSON(data []byte) (err error)
- type ListDistributionsResponse
- func (o *ListDistributionsResponse) GetDistributions() []Distribution
- func (o *ListDistributionsResponse) GetDistributionsOk() ([]Distribution, bool)
- func (o *ListDistributionsResponse) GetNextPageIdentifier() string
- func (o *ListDistributionsResponse) GetNextPageIdentifierOk() (*string, bool)
- func (o *ListDistributionsResponse) HasNextPageIdentifier() bool
- func (o ListDistributionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListDistributionsResponse) SetDistributions(v []Distribution)
- func (o *ListDistributionsResponse) SetNextPageIdentifier(v string)
- func (o ListDistributionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListDistributionsResponse) UnmarshalJSON(data []byte) (err error)
- type ListWafCollectionsResponse
- func (o *ListWafCollectionsResponse) GetCollections() []WafRuleCollection
- func (o *ListWafCollectionsResponse) GetCollectionsOk() ([]WafRuleCollection, bool)
- func (o ListWafCollectionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListWafCollectionsResponse) SetCollections(v []WafRuleCollection)
- func (o ListWafCollectionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListWafCollectionsResponse) UnmarshalJSON(data []byte) (err error)
- type LokiLogSink
- func (o *LokiLogSink) GetPushUrl() string
- func (o *LokiLogSink) GetPushUrlOk() (*string, bool)
- func (o *LokiLogSink) GetType() string
- func (o *LokiLogSink) GetTypeOk() (*string, bool)
- func (o LokiLogSink) MarshalJSON() ([]byte, error)
- func (o *LokiLogSink) SetPushUrl(v string)
- func (o *LokiLogSink) SetType(v string)
- func (o LokiLogSink) ToMap() (map[string]interface{}, error)
- func (o *LokiLogSink) UnmarshalJSON(data []byte) (err error)
- type LokiLogSinkCreate
- func (o *LokiLogSinkCreate) GetCredentials() LokiLogSinkCredentials
- func (o *LokiLogSinkCreate) GetCredentialsOk() (*LokiLogSinkCredentials, bool)
- func (o *LokiLogSinkCreate) GetPushUrl() string
- func (o *LokiLogSinkCreate) GetPushUrlOk() (*string, bool)
- func (o *LokiLogSinkCreate) GetType() string
- func (o *LokiLogSinkCreate) GetTypeOk() (*string, bool)
- func (o LokiLogSinkCreate) MarshalJSON() ([]byte, error)
- func (o *LokiLogSinkCreate) SetCredentials(v LokiLogSinkCredentials)
- func (o *LokiLogSinkCreate) SetPushUrl(v string)
- func (o *LokiLogSinkCreate) SetType(v string)
- func (o LokiLogSinkCreate) ToMap() (map[string]interface{}, error)
- func (o *LokiLogSinkCreate) UnmarshalJSON(data []byte) (err error)
- type LokiLogSinkCredentials
- func (o *LokiLogSinkCredentials) GetPassword() string
- func (o *LokiLogSinkCredentials) GetPasswordOk() (*string, bool)
- func (o *LokiLogSinkCredentials) GetUsername() string
- func (o *LokiLogSinkCredentials) GetUsernameOk() (*string, bool)
- func (o LokiLogSinkCredentials) MarshalJSON() ([]byte, error)
- func (o *LokiLogSinkCredentials) SetPassword(v string)
- func (o *LokiLogSinkCredentials) SetUsername(v string)
- func (o LokiLogSinkCredentials) ToMap() (map[string]interface{}, error)
- func (o *LokiLogSinkCredentials) UnmarshalJSON(data []byte) (err error)
- type LokiLogSinkPatch
- func (o *LokiLogSinkPatch) GetCredentials() LokiLogSinkCredentials
- func (o *LokiLogSinkPatch) GetCredentialsOk() (*LokiLogSinkCredentials, bool)
- func (o *LokiLogSinkPatch) GetPushUrl() string
- func (o *LokiLogSinkPatch) GetPushUrlOk() (*string, bool)
- func (o *LokiLogSinkPatch) GetType() string
- func (o *LokiLogSinkPatch) GetTypeOk() (*string, bool)
- func (o *LokiLogSinkPatch) HasCredentials() bool
- func (o *LokiLogSinkPatch) HasPushUrl() bool
- func (o LokiLogSinkPatch) MarshalJSON() ([]byte, error)
- func (o *LokiLogSinkPatch) SetCredentials(v LokiLogSinkCredentials)
- func (o *LokiLogSinkPatch) SetPushUrl(v string)
- func (o *LokiLogSinkPatch) SetType(v string)
- func (o LokiLogSinkPatch) ToMap() (map[string]interface{}, error)
- func (o *LokiLogSinkPatch) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableBucketBackend
- func (v NullableBucketBackend) Get() *BucketBackend
- func (v NullableBucketBackend) IsSet() bool
- func (v NullableBucketBackend) MarshalJSON() ([]byte, error)
- func (v *NullableBucketBackend) Set(val *BucketBackend)
- func (v *NullableBucketBackend) UnmarshalJSON(src []byte) error
- func (v *NullableBucketBackend) Unset()
- type NullableBucketBackendCreate
- func (v NullableBucketBackendCreate) Get() *BucketBackendCreate
- func (v NullableBucketBackendCreate) IsSet() bool
- func (v NullableBucketBackendCreate) MarshalJSON() ([]byte, error)
- func (v *NullableBucketBackendCreate) Set(val *BucketBackendCreate)
- func (v *NullableBucketBackendCreate) UnmarshalJSON(src []byte) error
- func (v *NullableBucketBackendCreate) Unset()
- type NullableBucketBackendPatch
- func (v NullableBucketBackendPatch) Get() *BucketBackendPatch
- func (v NullableBucketBackendPatch) IsSet() bool
- func (v NullableBucketBackendPatch) MarshalJSON() ([]byte, error)
- func (v *NullableBucketBackendPatch) Set(val *BucketBackendPatch)
- func (v *NullableBucketBackendPatch) UnmarshalJSON(src []byte) error
- func (v *NullableBucketBackendPatch) Unset()
- type NullableBucketCredentials
- func (v NullableBucketCredentials) Get() *BucketCredentials
- func (v NullableBucketCredentials) IsSet() bool
- func (v NullableBucketCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableBucketCredentials) Set(val *BucketCredentials)
- func (v *NullableBucketCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableBucketCredentials) Unset()
- type NullableConfig
- type NullableConfigBackend
- func (v NullableConfigBackend) Get() *ConfigBackend
- func (v NullableConfigBackend) IsSet() bool
- func (v NullableConfigBackend) MarshalJSON() ([]byte, error)
- func (v *NullableConfigBackend) Set(val *ConfigBackend)
- func (v *NullableConfigBackend) UnmarshalJSON(src []byte) error
- func (v *NullableConfigBackend) Unset()
- type NullableConfigPatch
- func (v NullableConfigPatch) Get() *ConfigPatch
- func (v NullableConfigPatch) IsSet() bool
- func (v NullableConfigPatch) MarshalJSON() ([]byte, error)
- func (v *NullableConfigPatch) Set(val *ConfigPatch)
- func (v *NullableConfigPatch) UnmarshalJSON(src []byte) error
- func (v *NullableConfigPatch) Unset()
- type NullableConfigPatchBackend
- func (v NullableConfigPatchBackend) Get() *ConfigPatchBackend
- func (v NullableConfigPatchBackend) IsSet() bool
- func (v NullableConfigPatchBackend) MarshalJSON() ([]byte, error)
- func (v *NullableConfigPatchBackend) Set(val *ConfigPatchBackend)
- func (v *NullableConfigPatchBackend) UnmarshalJSON(src []byte) error
- func (v *NullableConfigPatchBackend) Unset()
- type NullableCreateDistributionPayload
- func (v NullableCreateDistributionPayload) Get() *CreateDistributionPayload
- func (v NullableCreateDistributionPayload) IsSet() bool
- func (v NullableCreateDistributionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDistributionPayload) Set(val *CreateDistributionPayload)
- func (v *NullableCreateDistributionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDistributionPayload) Unset()
- type NullableCreateDistributionPayloadBackend
- func (v NullableCreateDistributionPayloadBackend) Get() *CreateDistributionPayloadBackend
- func (v NullableCreateDistributionPayloadBackend) IsSet() bool
- func (v NullableCreateDistributionPayloadBackend) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDistributionPayloadBackend) Set(val *CreateDistributionPayloadBackend)
- func (v *NullableCreateDistributionPayloadBackend) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDistributionPayloadBackend) Unset()
- type NullableCreateDistributionResponse
- func (v NullableCreateDistributionResponse) Get() *CreateDistributionResponse
- func (v NullableCreateDistributionResponse) IsSet() bool
- func (v NullableCreateDistributionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDistributionResponse) Set(val *CreateDistributionResponse)
- func (v *NullableCreateDistributionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDistributionResponse) Unset()
- type NullableCustomDomain
- func (v NullableCustomDomain) Get() *CustomDomain
- func (v NullableCustomDomain) IsSet() bool
- func (v NullableCustomDomain) MarshalJSON() ([]byte, error)
- func (v *NullableCustomDomain) Set(val *CustomDomain)
- func (v *NullableCustomDomain) UnmarshalJSON(src []byte) error
- func (v *NullableCustomDomain) Unset()
- type NullableDeleteCustomDomainResponse
- func (v NullableDeleteCustomDomainResponse) Get() *DeleteCustomDomainResponse
- func (v NullableDeleteCustomDomainResponse) IsSet() bool
- func (v NullableDeleteCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteCustomDomainResponse) Set(val *DeleteCustomDomainResponse)
- func (v *NullableDeleteCustomDomainResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteCustomDomainResponse) Unset()
- type NullableDeleteDistributionResponse
- func (v NullableDeleteDistributionResponse) Get() *DeleteDistributionResponse
- func (v NullableDeleteDistributionResponse) IsSet() bool
- func (v NullableDeleteDistributionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteDistributionResponse) Set(val *DeleteDistributionResponse)
- func (v *NullableDeleteDistributionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteDistributionResponse) Unset()
- type NullableDistribution
- func (v NullableDistribution) Get() *Distribution
- func (v NullableDistribution) IsSet() bool
- func (v NullableDistribution) MarshalJSON() ([]byte, error)
- func (v *NullableDistribution) Set(val *Distribution)
- func (v *NullableDistribution) UnmarshalJSON(src []byte) error
- func (v *NullableDistribution) Unset()
- type NullableDistributionLogsRecord
- func (v NullableDistributionLogsRecord) Get() *DistributionLogsRecord
- func (v NullableDistributionLogsRecord) IsSet() bool
- func (v NullableDistributionLogsRecord) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionLogsRecord) Set(val *DistributionLogsRecord)
- func (v *NullableDistributionLogsRecord) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionLogsRecord) Unset()
- type NullableDistributionStatisticsRecord
- func (v NullableDistributionStatisticsRecord) Get() *DistributionStatisticsRecord
- func (v NullableDistributionStatisticsRecord) IsSet() bool
- func (v NullableDistributionStatisticsRecord) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionStatisticsRecord) Set(val *DistributionStatisticsRecord)
- func (v *NullableDistributionStatisticsRecord) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionStatisticsRecord) Unset()
- type NullableDistributionStatisticsRecordEntry
- func (v NullableDistributionStatisticsRecordEntry) Get() *DistributionStatisticsRecordEntry
- func (v NullableDistributionStatisticsRecordEntry) IsSet() bool
- func (v NullableDistributionStatisticsRecordEntry) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionStatisticsRecordEntry) Set(val *DistributionStatisticsRecordEntry)
- func (v *NullableDistributionStatisticsRecordEntry) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionStatisticsRecordEntry) Unset()
- type NullableDistributionStatisticsRecordRegions
- func (v NullableDistributionStatisticsRecordRegions) Get() *DistributionStatisticsRecordRegions
- func (v NullableDistributionStatisticsRecordRegions) IsSet() bool
- func (v NullableDistributionStatisticsRecordRegions) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionStatisticsRecordRegions) Set(val *DistributionStatisticsRecordRegions)
- func (v *NullableDistributionStatisticsRecordRegions) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionStatisticsRecordRegions) Unset()
- type NullableDistributionWaf
- func (v NullableDistributionWaf) Get() *DistributionWaf
- func (v NullableDistributionWaf) IsSet() bool
- func (v NullableDistributionWaf) MarshalJSON() ([]byte, error)
- func (v *NullableDistributionWaf) Set(val *DistributionWaf)
- func (v *NullableDistributionWaf) UnmarshalJSON(src []byte) error
- func (v *NullableDistributionWaf) Unset()
- type NullableDomain
- type NullableDomainStatus
- func (v NullableDomainStatus) Get() *DomainStatus
- func (v NullableDomainStatus) IsSet() bool
- func (v NullableDomainStatus) MarshalJSON() ([]byte, error)
- func (v *NullableDomainStatus) Set(val *DomainStatus)
- func (v *NullableDomainStatus) UnmarshalJSON(src []byte) error
- func (v *NullableDomainStatus) Unset()
- type NullableErrorDetails
- func (v NullableErrorDetails) Get() *ErrorDetails
- func (v NullableErrorDetails) IsSet() bool
- func (v NullableErrorDetails) MarshalJSON() ([]byte, error)
- func (v *NullableErrorDetails) Set(val *ErrorDetails)
- func (v *NullableErrorDetails) UnmarshalJSON(src []byte) error
- func (v *NullableErrorDetails) Unset()
- type NullableFindCachePathsResponse
- func (v NullableFindCachePathsResponse) Get() *FindCachePathsResponse
- func (v NullableFindCachePathsResponse) IsSet() bool
- func (v NullableFindCachePathsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFindCachePathsResponse) Set(val *FindCachePathsResponse)
- func (v *NullableFindCachePathsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFindCachePathsResponse) Unset()
- type NullableFindCachePathsResponseEntry
- func (v NullableFindCachePathsResponseEntry) Get() *FindCachePathsResponseEntry
- func (v NullableFindCachePathsResponseEntry) IsSet() bool
- func (v NullableFindCachePathsResponseEntry) MarshalJSON() ([]byte, error)
- func (v *NullableFindCachePathsResponseEntry) Set(val *FindCachePathsResponseEntry)
- func (v *NullableFindCachePathsResponseEntry) UnmarshalJSON(src []byte) error
- func (v *NullableFindCachePathsResponseEntry) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGenericJsonResponse
- func (v NullableGenericJsonResponse) Get() *GenericJsonResponse
- func (v NullableGenericJsonResponse) IsSet() bool
- func (v NullableGenericJsonResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGenericJsonResponse) Set(val *GenericJsonResponse)
- func (v *NullableGenericJsonResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGenericJsonResponse) Unset()
- type NullableGetCacheInfoResponse
- func (v NullableGetCacheInfoResponse) Get() *GetCacheInfoResponse
- func (v NullableGetCacheInfoResponse) IsSet() bool
- func (v NullableGetCacheInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCacheInfoResponse) Set(val *GetCacheInfoResponse)
- func (v *NullableGetCacheInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCacheInfoResponse) Unset()
- type NullableGetCacheInfoResponseHistoryEntry
- func (v NullableGetCacheInfoResponseHistoryEntry) Get() *GetCacheInfoResponseHistoryEntry
- func (v NullableGetCacheInfoResponseHistoryEntry) IsSet() bool
- func (v NullableGetCacheInfoResponseHistoryEntry) MarshalJSON() ([]byte, error)
- func (v *NullableGetCacheInfoResponseHistoryEntry) Set(val *GetCacheInfoResponseHistoryEntry)
- func (v *NullableGetCacheInfoResponseHistoryEntry) UnmarshalJSON(src []byte) error
- func (v *NullableGetCacheInfoResponseHistoryEntry) Unset()
- type NullableGetCustomDomainCustomCertificate
- func (v NullableGetCustomDomainCustomCertificate) Get() *GetCustomDomainCustomCertificate
- func (v NullableGetCustomDomainCustomCertificate) IsSet() bool
- func (v NullableGetCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomDomainCustomCertificate) Set(val *GetCustomDomainCustomCertificate)
- func (v *NullableGetCustomDomainCustomCertificate) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomDomainCustomCertificate) Unset()
- type NullableGetCustomDomainManagedCertificate
- func (v NullableGetCustomDomainManagedCertificate) Get() *GetCustomDomainManagedCertificate
- func (v NullableGetCustomDomainManagedCertificate) IsSet() bool
- func (v NullableGetCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomDomainManagedCertificate) Set(val *GetCustomDomainManagedCertificate)
- func (v *NullableGetCustomDomainManagedCertificate) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomDomainManagedCertificate) Unset()
- type NullableGetCustomDomainResponse
- func (v NullableGetCustomDomainResponse) Get() *GetCustomDomainResponse
- func (v NullableGetCustomDomainResponse) IsSet() bool
- func (v NullableGetCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomDomainResponse) Set(val *GetCustomDomainResponse)
- func (v *NullableGetCustomDomainResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomDomainResponse) Unset()
- type NullableGetCustomDomainResponseCertificate
- func (v NullableGetCustomDomainResponseCertificate) Get() *GetCustomDomainResponseCertificate
- func (v NullableGetCustomDomainResponseCertificate) IsSet() bool
- func (v NullableGetCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomDomainResponseCertificate) Set(val *GetCustomDomainResponseCertificate)
- func (v *NullableGetCustomDomainResponseCertificate) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomDomainResponseCertificate) Unset()
- type NullableGetDistributionResponse
- func (v NullableGetDistributionResponse) Get() *GetDistributionResponse
- func (v NullableGetDistributionResponse) IsSet() bool
- func (v NullableGetDistributionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetDistributionResponse) Set(val *GetDistributionResponse)
- func (v *NullableGetDistributionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetDistributionResponse) Unset()
- type NullableGetLogsResponse
- func (v NullableGetLogsResponse) Get() *GetLogsResponse
- func (v NullableGetLogsResponse) IsSet() bool
- func (v NullableGetLogsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetLogsResponse) Set(val *GetLogsResponse)
- func (v *NullableGetLogsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetLogsResponse) Unset()
- type NullableGetLogsSearchFiltersResponse
- func (v NullableGetLogsSearchFiltersResponse) Get() *GetLogsSearchFiltersResponse
- func (v NullableGetLogsSearchFiltersResponse) IsSet() bool
- func (v NullableGetLogsSearchFiltersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetLogsSearchFiltersResponse) Set(val *GetLogsSearchFiltersResponse)
- func (v *NullableGetLogsSearchFiltersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetLogsSearchFiltersResponse) Unset()
- type NullableGetLogsSearchFiltersResponseDatacenterBlock
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlock) Get() *GetLogsSearchFiltersResponseDatacenterBlock
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlock) IsSet() bool
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON() ([]byte, error)
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlock) Set(val *GetLogsSearchFiltersResponseDatacenterBlock)
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON(src []byte) error
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlock) Unset()
- type NullableGetLogsSearchFiltersResponseDatacenterBlockItem
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Get() *GetLogsSearchFiltersResponseDatacenterBlockItem
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlockItem) IsSet() bool
- func (v NullableGetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON() ([]byte, error)
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Set(val *GetLogsSearchFiltersResponseDatacenterBlockItem)
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON(src []byte) error
- func (v *NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Unset()
- type NullableGetStatisticsResponse
- func (v NullableGetStatisticsResponse) Get() *GetStatisticsResponse
- func (v NullableGetStatisticsResponse) IsSet() bool
- func (v NullableGetStatisticsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetStatisticsResponse) Set(val *GetStatisticsResponse)
- func (v *NullableGetStatisticsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetStatisticsResponse) Unset()
- type NullableHttpBackend
- func (v NullableHttpBackend) Get() *HttpBackend
- func (v NullableHttpBackend) IsSet() bool
- func (v NullableHttpBackend) MarshalJSON() ([]byte, error)
- func (v *NullableHttpBackend) Set(val *HttpBackend)
- func (v *NullableHttpBackend) UnmarshalJSON(src []byte) error
- func (v *NullableHttpBackend) Unset()
- type NullableHttpBackendCreate
- func (v NullableHttpBackendCreate) Get() *HttpBackendCreate
- func (v NullableHttpBackendCreate) IsSet() bool
- func (v NullableHttpBackendCreate) MarshalJSON() ([]byte, error)
- func (v *NullableHttpBackendCreate) Set(val *HttpBackendCreate)
- func (v *NullableHttpBackendCreate) UnmarshalJSON(src []byte) error
- func (v *NullableHttpBackendCreate) Unset()
- type NullableHttpBackendPatch
- func (v NullableHttpBackendPatch) Get() *HttpBackendPatch
- func (v NullableHttpBackendPatch) IsSet() bool
- func (v NullableHttpBackendPatch) MarshalJSON() ([]byte, error)
- func (v *NullableHttpBackendPatch) Set(val *HttpBackendPatch)
- func (v *NullableHttpBackendPatch) UnmarshalJSON(src []byte) error
- func (v *NullableHttpBackendPatch) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListDistributionsResponse
- func (v NullableListDistributionsResponse) Get() *ListDistributionsResponse
- func (v NullableListDistributionsResponse) IsSet() bool
- func (v NullableListDistributionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListDistributionsResponse) Set(val *ListDistributionsResponse)
- func (v *NullableListDistributionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListDistributionsResponse) Unset()
- type NullableListWafCollectionsResponse
- func (v NullableListWafCollectionsResponse) Get() *ListWafCollectionsResponse
- func (v NullableListWafCollectionsResponse) IsSet() bool
- func (v NullableListWafCollectionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListWafCollectionsResponse) Set(val *ListWafCollectionsResponse)
- func (v *NullableListWafCollectionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListWafCollectionsResponse) Unset()
- type NullableLokiLogSink
- func (v NullableLokiLogSink) Get() *LokiLogSink
- func (v NullableLokiLogSink) IsSet() bool
- func (v NullableLokiLogSink) MarshalJSON() ([]byte, error)
- func (v *NullableLokiLogSink) Set(val *LokiLogSink)
- func (v *NullableLokiLogSink) UnmarshalJSON(src []byte) error
- func (v *NullableLokiLogSink) Unset()
- type NullableLokiLogSinkCreate
- func (v NullableLokiLogSinkCreate) Get() *LokiLogSinkCreate
- func (v NullableLokiLogSinkCreate) IsSet() bool
- func (v NullableLokiLogSinkCreate) MarshalJSON() ([]byte, error)
- func (v *NullableLokiLogSinkCreate) Set(val *LokiLogSinkCreate)
- func (v *NullableLokiLogSinkCreate) UnmarshalJSON(src []byte) error
- func (v *NullableLokiLogSinkCreate) Unset()
- type NullableLokiLogSinkCredentials
- func (v NullableLokiLogSinkCredentials) Get() *LokiLogSinkCredentials
- func (v NullableLokiLogSinkCredentials) IsSet() bool
- func (v NullableLokiLogSinkCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableLokiLogSinkCredentials) Set(val *LokiLogSinkCredentials)
- func (v *NullableLokiLogSinkCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableLokiLogSinkCredentials) Unset()
- type NullableLokiLogSinkPatch
- func (v NullableLokiLogSinkPatch) Get() *LokiLogSinkPatch
- func (v NullableLokiLogSinkPatch) IsSet() bool
- func (v NullableLokiLogSinkPatch) MarshalJSON() ([]byte, error)
- func (v *NullableLokiLogSinkPatch) Set(val *LokiLogSinkPatch)
- func (v *NullableLokiLogSinkPatch) UnmarshalJSON(src []byte) error
- func (v *NullableLokiLogSinkPatch) Unset()
- type NullableOptimizer
- type NullableOptimizerPatch
- func (v NullableOptimizerPatch) Get() *OptimizerPatch
- func (v NullableOptimizerPatch) IsSet() bool
- func (v NullableOptimizerPatch) MarshalJSON() ([]byte, error)
- func (v *NullableOptimizerPatch) Set(val *OptimizerPatch)
- func (v *NullableOptimizerPatch) UnmarshalJSON(src []byte) error
- func (v *NullableOptimizerPatch) Unset()
- type NullablePatchDistributionPayload
- func (v NullablePatchDistributionPayload) Get() *PatchDistributionPayload
- func (v NullablePatchDistributionPayload) IsSet() bool
- func (v NullablePatchDistributionPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePatchDistributionPayload) Set(val *PatchDistributionPayload)
- func (v *NullablePatchDistributionPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePatchDistributionPayload) Unset()
- type NullablePatchDistributionResponse
- func (v NullablePatchDistributionResponse) Get() *PatchDistributionResponse
- func (v NullablePatchDistributionResponse) IsSet() bool
- func (v NullablePatchDistributionResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePatchDistributionResponse) Set(val *PatchDistributionResponse)
- func (v *NullablePatchDistributionResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePatchDistributionResponse) Unset()
- type NullablePurgeCachePayload
- func (v NullablePurgeCachePayload) Get() *PurgeCachePayload
- func (v NullablePurgeCachePayload) IsSet() bool
- func (v NullablePurgeCachePayload) MarshalJSON() ([]byte, error)
- func (v *NullablePurgeCachePayload) Set(val *PurgeCachePayload)
- func (v *NullablePurgeCachePayload) UnmarshalJSON(src []byte) error
- func (v *NullablePurgeCachePayload) Unset()
- type NullablePutCustomDomainCustomCertificate
- func (v NullablePutCustomDomainCustomCertificate) Get() *PutCustomDomainCustomCertificate
- func (v NullablePutCustomDomainCustomCertificate) IsSet() bool
- func (v NullablePutCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainCustomCertificate) Set(val *PutCustomDomainCustomCertificate)
- func (v *NullablePutCustomDomainCustomCertificate) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainCustomCertificate) Unset()
- type NullablePutCustomDomainManagedCertificate
- func (v NullablePutCustomDomainManagedCertificate) Get() *PutCustomDomainManagedCertificate
- func (v NullablePutCustomDomainManagedCertificate) IsSet() bool
- func (v NullablePutCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainManagedCertificate) Set(val *PutCustomDomainManagedCertificate)
- func (v *NullablePutCustomDomainManagedCertificate) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainManagedCertificate) Unset()
- type NullablePutCustomDomainPayload
- func (v NullablePutCustomDomainPayload) Get() *PutCustomDomainPayload
- func (v NullablePutCustomDomainPayload) IsSet() bool
- func (v NullablePutCustomDomainPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainPayload) Set(val *PutCustomDomainPayload)
- func (v *NullablePutCustomDomainPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainPayload) Unset()
- type NullablePutCustomDomainPayloadCertificate
- func (v NullablePutCustomDomainPayloadCertificate) Get() *PutCustomDomainPayloadCertificate
- func (v NullablePutCustomDomainPayloadCertificate) IsSet() bool
- func (v NullablePutCustomDomainPayloadCertificate) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainPayloadCertificate) Set(val *PutCustomDomainPayloadCertificate)
- func (v *NullablePutCustomDomainPayloadCertificate) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainPayloadCertificate) Unset()
- type NullablePutCustomDomainResponse
- func (v NullablePutCustomDomainResponse) Get() *PutCustomDomainResponse
- func (v NullablePutCustomDomainResponse) IsSet() bool
- func (v NullablePutCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainResponse) Set(val *PutCustomDomainResponse)
- func (v *NullablePutCustomDomainResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainResponse) Unset()
- type NullablePutCustomDomainResponseCertificate
- func (v NullablePutCustomDomainResponseCertificate) Get() *PutCustomDomainResponseCertificate
- func (v NullablePutCustomDomainResponseCertificate) IsSet() bool
- func (v NullablePutCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
- func (v *NullablePutCustomDomainResponseCertificate) Set(val *PutCustomDomainResponseCertificate)
- func (v *NullablePutCustomDomainResponseCertificate) UnmarshalJSON(src []byte) error
- func (v *NullablePutCustomDomainResponseCertificate) Unset()
- type NullableRegion
- type NullableStatusError
- func (v NullableStatusError) Get() *StatusError
- func (v NullableStatusError) IsSet() bool
- func (v NullableStatusError) MarshalJSON() ([]byte, error)
- func (v *NullableStatusError) Set(val *StatusError)
- func (v *NullableStatusError) UnmarshalJSON(src []byte) error
- func (v *NullableStatusError) Unset()
- type NullableString
- type NullableTime
- type NullableWAFRuleAction
- func (v NullableWAFRuleAction) Get() *WAFRuleAction
- func (v NullableWAFRuleAction) IsSet() bool
- func (v NullableWAFRuleAction) MarshalJSON() ([]byte, error)
- func (v *NullableWAFRuleAction) Set(val *WAFRuleAction)
- func (v *NullableWAFRuleAction) UnmarshalJSON(src []byte) error
- func (v *NullableWAFRuleAction) Unset()
- type NullableWAFViolation
- func (v NullableWAFViolation) Get() *WAFViolation
- func (v NullableWAFViolation) IsSet() bool
- func (v NullableWAFViolation) MarshalJSON() ([]byte, error)
- func (v *NullableWAFViolation) Set(val *WAFViolation)
- func (v *NullableWAFViolation) UnmarshalJSON(src []byte) error
- func (v *NullableWAFViolation) Unset()
- type NullableWafConfig
- type NullableWafConfigPatch
- func (v NullableWafConfigPatch) Get() *WafConfigPatch
- func (v NullableWafConfigPatch) IsSet() bool
- func (v NullableWafConfigPatch) MarshalJSON() ([]byte, error)
- func (v *NullableWafConfigPatch) Set(val *WafConfigPatch)
- func (v *NullableWafConfigPatch) UnmarshalJSON(src []byte) error
- func (v *NullableWafConfigPatch) Unset()
- type NullableWafMode
- type NullableWafParanoiaLevel
- func (v NullableWafParanoiaLevel) Get() *WafParanoiaLevel
- func (v NullableWafParanoiaLevel) IsSet() bool
- func (v NullableWafParanoiaLevel) MarshalJSON() ([]byte, error)
- func (v *NullableWafParanoiaLevel) Set(val *WafParanoiaLevel)
- func (v *NullableWafParanoiaLevel) UnmarshalJSON(src []byte) error
- func (v *NullableWafParanoiaLevel) Unset()
- type NullableWafRule
- type NullableWafRuleCollection
- func (v NullableWafRuleCollection) Get() *WafRuleCollection
- func (v NullableWafRuleCollection) IsSet() bool
- func (v NullableWafRuleCollection) MarshalJSON() ([]byte, error)
- func (v *NullableWafRuleCollection) Set(val *WafRuleCollection)
- func (v *NullableWafRuleCollection) UnmarshalJSON(src []byte) error
- func (v *NullableWafRuleCollection) Unset()
- type NullableWafRuleGroup
- func (v NullableWafRuleGroup) Get() *WafRuleGroup
- func (v NullableWafRuleGroup) IsSet() bool
- func (v NullableWafRuleGroup) MarshalJSON() ([]byte, error)
- func (v *NullableWafRuleGroup) Set(val *WafRuleGroup)
- func (v *NullableWafRuleGroup) UnmarshalJSON(src []byte) error
- func (v *NullableWafRuleGroup) Unset()
- type NullableWafStatusRuleBlock
- func (v NullableWafStatusRuleBlock) Get() *WafStatusRuleBlock
- func (v NullableWafStatusRuleBlock) IsSet() bool
- func (v NullableWafStatusRuleBlock) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlock) Set(val *WafStatusRuleBlock)
- func (v *NullableWafStatusRuleBlock) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlock) Unset()
- type NullableWafStatusRuleBlockReason
- func (v NullableWafStatusRuleBlockReason) Get() *WafStatusRuleBlockReason
- func (v NullableWafStatusRuleBlockReason) IsSet() bool
- func (v NullableWafStatusRuleBlockReason) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReason) Set(val *WafStatusRuleBlockReason)
- func (v *NullableWafStatusRuleBlockReason) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReason) Unset()
- type NullableWafStatusRuleBlockReasonDirectlyDefined
- func (v NullableWafStatusRuleBlockReasonDirectlyDefined) Get() *WafStatusRuleBlockReasonDirectlyDefined
- func (v NullableWafStatusRuleBlockReasonDirectlyDefined) IsSet() bool
- func (v NullableWafStatusRuleBlockReasonDirectlyDefined) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReasonDirectlyDefined) Set(val *WafStatusRuleBlockReasonDirectlyDefined)
- func (v *NullableWafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReasonDirectlyDefined) Unset()
- type NullableWafStatusRuleBlockReasonInheritedFromCollection
- func (v NullableWafStatusRuleBlockReasonInheritedFromCollection) Get() *WafStatusRuleBlockReasonInheritedFromCollection
- func (v NullableWafStatusRuleBlockReasonInheritedFromCollection) IsSet() bool
- func (v NullableWafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReasonInheritedFromCollection) Set(val *WafStatusRuleBlockReasonInheritedFromCollection)
- func (v *NullableWafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReasonInheritedFromCollection) Unset()
- type NullableWafStatusRuleBlockReasonInheritedFromGroup
- func (v NullableWafStatusRuleBlockReasonInheritedFromGroup) Get() *WafStatusRuleBlockReasonInheritedFromGroup
- func (v NullableWafStatusRuleBlockReasonInheritedFromGroup) IsSet() bool
- func (v NullableWafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReasonInheritedFromGroup) Set(val *WafStatusRuleBlockReasonInheritedFromGroup)
- func (v *NullableWafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReasonInheritedFromGroup) Unset()
- type NullableWafStatusRuleBlockReasonInvalidWafType
- func (v NullableWafStatusRuleBlockReasonInvalidWafType) Get() *WafStatusRuleBlockReasonInvalidWafType
- func (v NullableWafStatusRuleBlockReasonInvalidWafType) IsSet() bool
- func (v NullableWafStatusRuleBlockReasonInvalidWafType) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReasonInvalidWafType) Set(val *WafStatusRuleBlockReasonInvalidWafType)
- func (v *NullableWafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReasonInvalidWafType) Unset()
- type NullableWafStatusRuleBlockReasonNeverDefined
- func (v NullableWafStatusRuleBlockReasonNeverDefined) Get() *WafStatusRuleBlockReasonNeverDefined
- func (v NullableWafStatusRuleBlockReasonNeverDefined) IsSet() bool
- func (v NullableWafStatusRuleBlockReasonNeverDefined) MarshalJSON() ([]byte, error)
- func (v *NullableWafStatusRuleBlockReasonNeverDefined) Set(val *WafStatusRuleBlockReasonNeverDefined)
- func (v *NullableWafStatusRuleBlockReasonNeverDefined) UnmarshalJSON(src []byte) error
- func (v *NullableWafStatusRuleBlockReasonNeverDefined) Unset()
- type NullableWafType
- type Optimizer
- type OptimizerPatch
- func (o *OptimizerPatch) GetEnabled() bool
- func (o *OptimizerPatch) GetEnabledOk() (*bool, bool)
- func (o *OptimizerPatch) HasEnabled() bool
- func (o OptimizerPatch) MarshalJSON() ([]byte, error)
- func (o *OptimizerPatch) SetEnabled(v bool)
- func (o OptimizerPatch) ToMap() (map[string]interface{}, error)
- type PatchDistributionPayload
- func (o *PatchDistributionPayload) GetConfig() ConfigPatch
- func (o *PatchDistributionPayload) GetConfigOk() (*ConfigPatch, bool)
- func (o *PatchDistributionPayload) GetIntentId() string
- func (o *PatchDistributionPayload) GetIntentIdOk() (*string, bool)
- func (o *PatchDistributionPayload) HasConfig() bool
- func (o *PatchDistributionPayload) HasIntentId() bool
- func (o PatchDistributionPayload) MarshalJSON() ([]byte, error)
- func (o *PatchDistributionPayload) SetConfig(v ConfigPatch)
- func (o *PatchDistributionPayload) SetIntentId(v string)
- func (o PatchDistributionPayload) ToMap() (map[string]interface{}, error)
- type PatchDistributionResponse
- func (o *PatchDistributionResponse) GetDistribution() Distribution
- func (o *PatchDistributionResponse) GetDistributionOk() (*Distribution, bool)
- func (o PatchDistributionResponse) MarshalJSON() ([]byte, error)
- func (o *PatchDistributionResponse) SetDistribution(v Distribution)
- func (o PatchDistributionResponse) ToMap() (map[string]interface{}, error)
- func (o *PatchDistributionResponse) UnmarshalJSON(data []byte) (err error)
- type PurgeCachePayload
- func (o *PurgeCachePayload) GetPath() string
- func (o *PurgeCachePayload) GetPathOk() (*string, bool)
- func (o *PurgeCachePayload) HasPath() bool
- func (o PurgeCachePayload) MarshalJSON() ([]byte, error)
- func (o *PurgeCachePayload) SetPath(v string)
- func (o PurgeCachePayload) ToMap() (map[string]interface{}, error)
- type PutCustomDomainCustomCertificate
- func (o *PutCustomDomainCustomCertificate) GetCertificate() string
- func (o *PutCustomDomainCustomCertificate) GetCertificateOk() (*string, bool)
- func (o *PutCustomDomainCustomCertificate) GetKey() string
- func (o *PutCustomDomainCustomCertificate) GetKeyOk() (*string, bool)
- func (o *PutCustomDomainCustomCertificate) GetType() string
- func (o *PutCustomDomainCustomCertificate) GetTypeOk() (*string, bool)
- func (o PutCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
- func (o *PutCustomDomainCustomCertificate) SetCertificate(v string)
- func (o *PutCustomDomainCustomCertificate) SetKey(v string)
- func (o *PutCustomDomainCustomCertificate) SetType(v string)
- func (o PutCustomDomainCustomCertificate) ToMap() (map[string]interface{}, error)
- func (o *PutCustomDomainCustomCertificate) UnmarshalJSON(data []byte) (err error)
- type PutCustomDomainManagedCertificate
- func (o *PutCustomDomainManagedCertificate) GetType() string
- func (o *PutCustomDomainManagedCertificate) GetTypeOk() (*string, bool)
- func (o PutCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
- func (o *PutCustomDomainManagedCertificate) SetType(v string)
- func (o PutCustomDomainManagedCertificate) ToMap() (map[string]interface{}, error)
- func (o *PutCustomDomainManagedCertificate) UnmarshalJSON(data []byte) (err error)
- type PutCustomDomainPayload
- func (o *PutCustomDomainPayload) GetCertificate() PutCustomDomainPayloadCertificate
- func (o *PutCustomDomainPayload) GetCertificateOk() (*PutCustomDomainPayloadCertificate, bool)
- func (o *PutCustomDomainPayload) GetIntentId() string
- func (o *PutCustomDomainPayload) GetIntentIdOk() (*string, bool)
- func (o *PutCustomDomainPayload) HasCertificate() bool
- func (o *PutCustomDomainPayload) HasIntentId() bool
- func (o PutCustomDomainPayload) MarshalJSON() ([]byte, error)
- func (o *PutCustomDomainPayload) SetCertificate(v PutCustomDomainPayloadCertificate)
- func (o *PutCustomDomainPayload) SetIntentId(v string)
- func (o PutCustomDomainPayload) ToMap() (map[string]interface{}, error)
- type PutCustomDomainPayloadCertificate
- func (obj *PutCustomDomainPayloadCertificate) GetActualInstance() interface{}
- func (obj PutCustomDomainPayloadCertificate) GetActualInstanceValue() interface{}
- func (src PutCustomDomainPayloadCertificate) MarshalJSON() ([]byte, error)
- func (dst *PutCustomDomainPayloadCertificate) UnmarshalJSON(data []byte) error
- type PutCustomDomainResponse
- func (o *PutCustomDomainResponse) GetCertificate() PutCustomDomainResponseCertificate
- func (o *PutCustomDomainResponse) GetCertificateOk() (*PutCustomDomainResponseCertificate, bool)
- func (o *PutCustomDomainResponse) GetCustomDomain() CustomDomain
- func (o *PutCustomDomainResponse) GetCustomDomainOk() (*CustomDomain, bool)
- func (o *PutCustomDomainResponse) HasCertificate() bool
- func (o PutCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (o *PutCustomDomainResponse) SetCertificate(v PutCustomDomainResponseCertificate)
- func (o *PutCustomDomainResponse) SetCustomDomain(v CustomDomain)
- func (o PutCustomDomainResponse) ToMap() (map[string]interface{}, error)
- func (o *PutCustomDomainResponse) UnmarshalJSON(data []byte) (err error)
- type PutCustomDomainResponseCertificate
- func (obj *PutCustomDomainResponseCertificate) GetActualInstance() interface{}
- func (obj PutCustomDomainResponseCertificate) GetActualInstanceValue() interface{}
- func (src PutCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
- func (dst *PutCustomDomainResponseCertificate) UnmarshalJSON(data []byte) error
- type Region
- type StatusError
- func (o *StatusError) GetDe() string
- func (o *StatusError) GetDeOk() (*string, bool)
- func (o *StatusError) GetEn() string
- func (o *StatusError) GetEnOk() (*string, bool)
- func (o *StatusError) GetKey() string
- func (o *StatusError) GetKeyOk() (*string, bool)
- func (o *StatusError) HasDe() bool
- func (o StatusError) MarshalJSON() ([]byte, error)
- func (o *StatusError) SetDe(v string)
- func (o *StatusError) SetEn(v string)
- func (o *StatusError) SetKey(v string)
- func (o StatusError) ToMap() (map[string]interface{}, error)
- func (o *StatusError) UnmarshalJSON(data []byte) (err error)
- type WAFRuleAction
- type WAFViolation
- func (o *WAFViolation) GetAction() WAFRuleAction
- func (o *WAFViolation) GetActionOk() (*WAFRuleAction, bool)
- func (o *WAFViolation) GetAsn() string
- func (o *WAFViolation) GetAsnOk() (*string, bool)
- func (o *WAFViolation) GetMessage() string
- func (o *WAFViolation) GetMessageOk() (*string, bool)
- func (o *WAFViolation) GetMethod() string
- func (o *WAFViolation) GetMethodOk() (*string, bool)
- func (o *WAFViolation) GetRequestHeaders() map[string]string
- func (o *WAFViolation) GetRequestHeadersOk() (*map[string]string, bool)
- func (o *WAFViolation) GetRuleId() string
- func (o *WAFViolation) GetRuleIdOk() (*string, bool)
- func (o WAFViolation) MarshalJSON() ([]byte, error)
- func (o *WAFViolation) SetAction(v WAFRuleAction)
- func (o *WAFViolation) SetAsn(v string)
- func (o *WAFViolation) SetMessage(v string)
- func (o *WAFViolation) SetMethod(v string)
- func (o *WAFViolation) SetRequestHeaders(v map[string]string)
- func (o *WAFViolation) SetRuleId(v string)
- func (o WAFViolation) ToMap() (map[string]interface{}, error)
- func (o *WAFViolation) UnmarshalJSON(data []byte) (err error)
- type WafConfig
- func (o *WafConfig) GetAllowedHttpMethods() []string
- func (o *WafConfig) GetAllowedHttpMethodsOk() ([]string, bool)
- func (o *WafConfig) GetAllowedHttpVersions() []string
- func (o *WafConfig) GetAllowedHttpVersionsOk() ([]string, bool)
- func (o *WafConfig) GetAllowedRequestContentTypes() []string
- func (o *WafConfig) GetAllowedRequestContentTypesOk() ([]string, bool)
- func (o *WafConfig) GetDisabledRuleCollectionIds() []string
- func (o *WafConfig) GetDisabledRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfig) GetDisabledRuleGroupIds() []string
- func (o *WafConfig) GetDisabledRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfig) GetDisabledRuleIds() []string
- func (o *WafConfig) GetDisabledRuleIdsOk() ([]string, bool)
- func (o *WafConfig) GetEnabledRuleCollectionIds() []string
- func (o *WafConfig) GetEnabledRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfig) GetEnabledRuleGroupIds() []string
- func (o *WafConfig) GetEnabledRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfig) GetEnabledRuleIds() []string
- func (o *WafConfig) GetEnabledRuleIdsOk() ([]string, bool)
- func (o *WafConfig) GetLogOnlyRuleCollectionIds() []string
- func (o *WafConfig) GetLogOnlyRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfig) GetLogOnlyRuleGroupIds() []string
- func (o *WafConfig) GetLogOnlyRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfig) GetLogOnlyRuleIds() []string
- func (o *WafConfig) GetLogOnlyRuleIdsOk() ([]string, bool)
- func (o *WafConfig) GetMode() WafMode
- func (o *WafConfig) GetModeOk() (*WafMode, bool)
- func (o *WafConfig) GetParanoiaLevel() WafParanoiaLevel
- func (o *WafConfig) GetParanoiaLevelOk() (*WafParanoiaLevel, bool)
- func (o *WafConfig) GetType() WafType
- func (o *WafConfig) GetTypeOk() (*WafType, bool)
- func (o *WafConfig) HasAllowedHttpMethods() bool
- func (o *WafConfig) HasAllowedHttpVersions() bool
- func (o *WafConfig) HasAllowedRequestContentTypes() bool
- func (o *WafConfig) HasDisabledRuleCollectionIds() bool
- func (o *WafConfig) HasDisabledRuleGroupIds() bool
- func (o *WafConfig) HasDisabledRuleIds() bool
- func (o *WafConfig) HasEnabledRuleCollectionIds() bool
- func (o *WafConfig) HasEnabledRuleGroupIds() bool
- func (o *WafConfig) HasLogOnlyRuleCollectionIds() bool
- func (o *WafConfig) HasLogOnlyRuleGroupIds() bool
- func (o *WafConfig) HasLogOnlyRuleIds() bool
- func (o *WafConfig) HasParanoiaLevel() bool
- func (o WafConfig) MarshalJSON() ([]byte, error)
- func (o *WafConfig) SetAllowedHttpMethods(v []string)
- func (o *WafConfig) SetAllowedHttpVersions(v []string)
- func (o *WafConfig) SetAllowedRequestContentTypes(v []string)
- func (o *WafConfig) SetDisabledRuleCollectionIds(v []string)
- func (o *WafConfig) SetDisabledRuleGroupIds(v []string)
- func (o *WafConfig) SetDisabledRuleIds(v []string)
- func (o *WafConfig) SetEnabledRuleCollectionIds(v []string)
- func (o *WafConfig) SetEnabledRuleGroupIds(v []string)
- func (o *WafConfig) SetEnabledRuleIds(v []string)
- func (o *WafConfig) SetLogOnlyRuleCollectionIds(v []string)
- func (o *WafConfig) SetLogOnlyRuleGroupIds(v []string)
- func (o *WafConfig) SetLogOnlyRuleIds(v []string)
- func (o *WafConfig) SetMode(v WafMode)
- func (o *WafConfig) SetParanoiaLevel(v WafParanoiaLevel)
- func (o *WafConfig) SetType(v WafType)
- func (o WafConfig) ToMap() (map[string]interface{}, error)
- func (o *WafConfig) UnmarshalJSON(data []byte) (err error)
- type WafConfigPatch
- func (o *WafConfigPatch) GetAllowedHttpMethods() []string
- func (o *WafConfigPatch) GetAllowedHttpMethodsOk() ([]string, bool)
- func (o *WafConfigPatch) GetAllowedHttpVersions() []string
- func (o *WafConfigPatch) GetAllowedHttpVersionsOk() ([]string, bool)
- func (o *WafConfigPatch) GetAllowedRequestContentTypes() []string
- func (o *WafConfigPatch) GetAllowedRequestContentTypesOk() ([]string, bool)
- func (o *WafConfigPatch) GetDisabledRuleCollectionIds() []string
- func (o *WafConfigPatch) GetDisabledRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetDisabledRuleGroupIds() []string
- func (o *WafConfigPatch) GetDisabledRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetDisabledRuleIds() []string
- func (o *WafConfigPatch) GetDisabledRuleIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetEnabledRuleCollectionIds() []string
- func (o *WafConfigPatch) GetEnabledRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetEnabledRuleGroupIds() []string
- func (o *WafConfigPatch) GetEnabledRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetEnabledRuleIds() []string
- func (o *WafConfigPatch) GetEnabledRuleIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetLogOnlyRuleCollectionIds() []string
- func (o *WafConfigPatch) GetLogOnlyRuleCollectionIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetLogOnlyRuleGroupIds() []string
- func (o *WafConfigPatch) GetLogOnlyRuleGroupIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetLogOnlyRuleIds() []string
- func (o *WafConfigPatch) GetLogOnlyRuleIdsOk() ([]string, bool)
- func (o *WafConfigPatch) GetMode() WafMode
- func (o *WafConfigPatch) GetModeOk() (*WafMode, bool)
- func (o *WafConfigPatch) GetParanoiaLevel() WafParanoiaLevel
- func (o *WafConfigPatch) GetParanoiaLevelOk() (*WafParanoiaLevel, bool)
- func (o *WafConfigPatch) GetType() WafType
- func (o *WafConfigPatch) GetTypeOk() (*WafType, bool)
- func (o *WafConfigPatch) HasAllowedHttpMethods() bool
- func (o *WafConfigPatch) HasAllowedHttpVersions() bool
- func (o *WafConfigPatch) HasAllowedRequestContentTypes() bool
- func (o *WafConfigPatch) HasDisabledRuleCollectionIds() bool
- func (o *WafConfigPatch) HasDisabledRuleGroupIds() bool
- func (o *WafConfigPatch) HasDisabledRuleIds() bool
- func (o *WafConfigPatch) HasEnabledRuleCollectionIds() bool
- func (o *WafConfigPatch) HasEnabledRuleGroupIds() bool
- func (o *WafConfigPatch) HasEnabledRuleIds() bool
- func (o *WafConfigPatch) HasLogOnlyRuleCollectionIds() bool
- func (o *WafConfigPatch) HasLogOnlyRuleGroupIds() bool
- func (o *WafConfigPatch) HasLogOnlyRuleIds() bool
- func (o *WafConfigPatch) HasMode() bool
- func (o *WafConfigPatch) HasParanoiaLevel() bool
- func (o *WafConfigPatch) HasType() bool
- func (o WafConfigPatch) MarshalJSON() ([]byte, error)
- func (o *WafConfigPatch) SetAllowedHttpMethods(v []string)
- func (o *WafConfigPatch) SetAllowedHttpVersions(v []string)
- func (o *WafConfigPatch) SetAllowedRequestContentTypes(v []string)
- func (o *WafConfigPatch) SetDisabledRuleCollectionIds(v []string)
- func (o *WafConfigPatch) SetDisabledRuleGroupIds(v []string)
- func (o *WafConfigPatch) SetDisabledRuleIds(v []string)
- func (o *WafConfigPatch) SetEnabledRuleCollectionIds(v []string)
- func (o *WafConfigPatch) SetEnabledRuleGroupIds(v []string)
- func (o *WafConfigPatch) SetEnabledRuleIds(v []string)
- func (o *WafConfigPatch) SetLogOnlyRuleCollectionIds(v []string)
- func (o *WafConfigPatch) SetLogOnlyRuleGroupIds(v []string)
- func (o *WafConfigPatch) SetLogOnlyRuleIds(v []string)
- func (o *WafConfigPatch) SetMode(v WafMode)
- func (o *WafConfigPatch) SetParanoiaLevel(v WafParanoiaLevel)
- func (o *WafConfigPatch) SetType(v WafType)
- func (o WafConfigPatch) ToMap() (map[string]interface{}, error)
- type WafMode
- type WafParanoiaLevel
- type WafRule
- func (o *WafRule) GetCode() string
- func (o *WafRule) GetCodeOk() (*string, bool)
- func (o *WafRule) GetDescription() map[string]string
- func (o *WafRule) GetDescriptionOk() (*map[string]string, bool)
- func (o *WafRule) GetId() string
- func (o *WafRule) GetIdOk() (*string, bool)
- func (o *WafRule) HasCode() bool
- func (o WafRule) MarshalJSON() ([]byte, error)
- func (o *WafRule) SetCode(v string)
- func (o *WafRule) SetDescription(v map[string]string)
- func (o *WafRule) SetId(v string)
- func (o WafRule) ToMap() (map[string]interface{}, error)
- func (o *WafRule) UnmarshalJSON(data []byte) (err error)
- type WafRuleCollection
- func (o *WafRuleCollection) GetGroups() []WafRuleGroup
- func (o *WafRuleCollection) GetGroupsOk() ([]WafRuleGroup, bool)
- func (o *WafRuleCollection) GetId() string
- func (o *WafRuleCollection) GetIdOk() (*string, bool)
- func (o *WafRuleCollection) GetName() map[string]string
- func (o *WafRuleCollection) GetNameOk() (*map[string]string, bool)
- func (o WafRuleCollection) MarshalJSON() ([]byte, error)
- func (o *WafRuleCollection) SetGroups(v []WafRuleGroup)
- func (o *WafRuleCollection) SetId(v string)
- func (o *WafRuleCollection) SetName(v map[string]string)
- func (o WafRuleCollection) ToMap() (map[string]interface{}, error)
- func (o *WafRuleCollection) UnmarshalJSON(data []byte) (err error)
- type WafRuleGroup
- func (o *WafRuleGroup) GetDescription() map[string]string
- func (o *WafRuleGroup) GetDescriptionOk() (*map[string]string, bool)
- func (o *WafRuleGroup) GetName() map[string]string
- func (o *WafRuleGroup) GetNameOk() (*map[string]string, bool)
- func (o *WafRuleGroup) GetRules() []WafRule
- func (o *WafRuleGroup) GetRulesOk() ([]WafRule, bool)
- func (o WafRuleGroup) MarshalJSON() ([]byte, error)
- func (o *WafRuleGroup) SetDescription(v map[string]string)
- func (o *WafRuleGroup) SetName(v map[string]string)
- func (o *WafRuleGroup) SetRules(v []WafRule)
- func (o WafRuleGroup) ToMap() (map[string]interface{}, error)
- func (o *WafRuleGroup) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlock
- func (o *WafStatusRuleBlock) GetId() string
- func (o *WafStatusRuleBlock) GetIdOk() (*string, bool)
- func (o *WafStatusRuleBlock) GetReason() WafStatusRuleBlockReason
- func (o *WafStatusRuleBlock) GetReasonOk() (*WafStatusRuleBlockReason, bool)
- func (o WafStatusRuleBlock) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlock) SetId(v string)
- func (o *WafStatusRuleBlock) SetReason(v WafStatusRuleBlockReason)
- func (o WafStatusRuleBlock) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlock) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlockReason
- func WafStatusRuleBlockReasonDirectlyDefinedAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonDirectlyDefined) WafStatusRuleBlockReason
- func WafStatusRuleBlockReasonInheritedFromCollectionAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInheritedFromCollection) WafStatusRuleBlockReason
- func WafStatusRuleBlockReasonInheritedFromGroupAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInheritedFromGroup) WafStatusRuleBlockReason
- func WafStatusRuleBlockReasonInvalidWafTypeAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonInvalidWafType) WafStatusRuleBlockReason
- func WafStatusRuleBlockReasonNeverDefinedAsWafStatusRuleBlockReason(v *WafStatusRuleBlockReasonNeverDefined) WafStatusRuleBlockReason
- type WafStatusRuleBlockReasonDirectlyDefined
- func (o *WafStatusRuleBlockReasonDirectlyDefined) GetType() string
- func (o *WafStatusRuleBlockReasonDirectlyDefined) GetTypeOk() (*string, bool)
- func (o WafStatusRuleBlockReasonDirectlyDefined) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlockReasonDirectlyDefined) SetType(v string)
- func (o WafStatusRuleBlockReasonDirectlyDefined) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlockReasonInheritedFromCollection
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionId() string
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionIdOk() (*string, bool)
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetType() string
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetTypeOk() (*string, bool)
- func (o WafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) SetCollectionId(v string)
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) SetType(v string)
- func (o WafStatusRuleBlockReasonInheritedFromCollection) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlockReasonInheritedFromGroup
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetGroupId() string
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetGroupIdOk() (*string, bool)
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetType() string
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetTypeOk() (*string, bool)
- func (o WafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) SetGroupId(v string)
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) SetType(v string)
- func (o WafStatusRuleBlockReasonInheritedFromGroup) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlockReasonInvalidWafType
- func (o *WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypes() []WafType
- func (o *WafStatusRuleBlockReasonInvalidWafType) GetAllowedWafTypesOk() ([]WafType, bool)
- func (o *WafStatusRuleBlockReasonInvalidWafType) GetType() string
- func (o *WafStatusRuleBlockReasonInvalidWafType) GetTypeOk() (*string, bool)
- func (o WafStatusRuleBlockReasonInvalidWafType) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlockReasonInvalidWafType) SetAllowedWafTypes(v []WafType)
- func (o *WafStatusRuleBlockReasonInvalidWafType) SetType(v string)
- func (o WafStatusRuleBlockReasonInvalidWafType) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON(data []byte) (err error)
- type WafStatusRuleBlockReasonNeverDefined
- func (o *WafStatusRuleBlockReasonNeverDefined) GetType() string
- func (o *WafStatusRuleBlockReasonNeverDefined) GetTypeOk() (*string, bool)
- func (o WafStatusRuleBlockReasonNeverDefined) MarshalJSON() ([]byte, error)
- func (o *WafStatusRuleBlockReasonNeverDefined) SetType(v string)
- func (o WafStatusRuleBlockReasonNeverDefined) ToMap() (map[string]interface{}, error)
- func (o *WafStatusRuleBlockReasonNeverDefined) UnmarshalJSON(data []byte) (err error)
- type WafType
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedDomainStatusEnumValues = []DomainStatus{
"CREATING",
"ACTIVE",
"UPDATING",
"DELETING",
"ERROR",
}
All allowed values of DomainStatus enum
var AllowedRegionEnumValues = []Region{
"EU",
"US",
"AF",
"SA",
"ASIA",
}
All allowed values of Region enum
var AllowedWAFRuleActionEnumValues = []WAFRuleAction{
"BLOCKED",
"LOGGED",
"ALLOWED",
}
All allowed values of WAFRuleAction enum
var AllowedWafModeEnumValues = []WafMode{
"DISABLED",
"ENABLED",
"LOG_ONLY",
}
All allowed values of WafMode enum
var AllowedWafParanoiaLevelEnumValues = []WafParanoiaLevel{
"L1",
"L2",
"L3",
"L4",
}
All allowed values of WafParanoiaLevel enum
var AllowedWafTypeEnumValues = []WafType{
"FREE",
"PREMIUM",
}
All allowed values of WafType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
func (r ApiCreateDistributionRequest) Execute() (*CreateDistributionResponse, error)
type ApiDeleteCustomDomainRequest ¶
type ApiDeleteCustomDomainRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteCustomDomainRequest) Execute ¶
func (r ApiDeleteCustomDomainRequest) Execute() (*DeleteCustomDomainResponse, error)
func (ApiDeleteCustomDomainRequest) IntentId ¶
func (r ApiDeleteCustomDomainRequest) IntentId(intentId string) ApiDeleteCustomDomainRequest
type ApiDeleteDistributionRequest ¶
type ApiDeleteDistributionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteDistributionRequest) Execute ¶
func (r ApiDeleteDistributionRequest) Execute() (*DeleteDistributionResponse, error)
func (ApiDeleteDistributionRequest) IntentId ¶
func (r ApiDeleteDistributionRequest) IntentId(intentId string) ApiDeleteDistributionRequest
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 (r ApiFindCachePathsRequest) Execute() (*FindCachePathsResponse, error)
func (ApiFindCachePathsRequest) Path ¶
func (r ApiFindCachePathsRequest) Path(path string) ApiFindCachePathsRequest
A substring of the search query.
type ApiGetCacheInfoRequest ¶
type ApiGetCacheInfoRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetCacheInfoRequest) Execute ¶
func (r ApiGetCacheInfoRequest) Execute() (*GetCacheInfoResponse, error)
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 ¶
func (r ApiGetCustomDomainRequest) Execute() (*GetCustomDomainResponse, error)
type ApiGetDistributionRequest ¶
type ApiGetDistributionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetDistributionRequest) Execute ¶
func (r ApiGetDistributionRequest) Execute() (*GetDistributionResponse, error)
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 ¶
func (r ApiGetLogsRequest) From(from time.Time) ApiGetLogsRequest
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 ¶
func (r ApiGetLogsRequest) To(to time.Time) ApiGetLogsRequest
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 (r ApiGetLogsSearchFiltersRequest) Execute() (*GetLogsSearchFiltersResponse, error)
func (ApiGetLogsSearchFiltersRequest) Filter ¶
func (r ApiGetLogsSearchFiltersRequest) Filter(filter string) ApiGetLogsSearchFiltersRequest
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 (r ApiGetStatisticsRequest) Execute() (*GetStatisticsResponse, error)
func (ApiGetStatisticsRequest) From ¶
func (r ApiGetStatisticsRequest) From(from time.Time) ApiGetStatisticsRequest
the start of the time range for which statistics should be returned
func (ApiGetStatisticsRequest) Interval ¶
func (r ApiGetStatisticsRequest) Interval(interval string) ApiGetStatisticsRequest
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 ¶
func (r ApiGetStatisticsRequest) To(to time.Time) ApiGetStatisticsRequest
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 (r ApiListDistributionsRequest) Execute() (*ListDistributionsResponse, error)
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 ¶
func (r ApiListDistributionsRequest) PageSize(pageSize int32) ApiListDistributionsRequest
Quantifies how many distributions should be returned on this page. Must be a natural number between 1 and 100 (inclusive)
func (ApiListDistributionsRequest) SortBy ¶
func (r ApiListDistributionsRequest) SortBy(sortBy string) ApiListDistributionsRequest
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 (r ApiListDistributionsRequest) SortOrder(sortOrder string) ApiListDistributionsRequest
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 ¶
func (r ApiListWafCollectionsRequest) Execute() (*ListWafCollectionsResponse, error)
type ApiPatchDistributionRequest ¶
type ApiPatchDistributionRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPatchDistributionRequest) Execute ¶
func (r ApiPatchDistributionRequest) Execute() (*PatchDistributionResponse, error)
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 (r ApiPutCustomDomainRequest) Execute() (*PutCustomDomainResponse, error)
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) 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 ¶
GetBlockedCountries returns the BlockedCountries field value
func (*Config) GetBlockedCountriesOk ¶
GetBlockedCountriesOk returns a tuple with the BlockedCountries field value and a boolean to check if the value has been set.
func (*Config) GetBlockedIps ¶
GetBlockedIps returns the BlockedIps field value
func (*Config) GetBlockedIpsOk ¶
GetBlockedIpsOk returns a tuple with the BlockedIps field value and a boolean to check if the value has been set.
func (*Config) GetDefaultCacheDuration ¶
GetDefaultCacheDuration returns the DefaultCacheDuration field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Config) GetDefaultCacheDurationOk ¶
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 ¶
GetMonthlyLimitBytes returns the MonthlyLimitBytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Config) GetMonthlyLimitBytesOk ¶
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 ¶
GetOptimizer returns the Optimizer field value if set, zero value otherwise.
func (*Config) GetOptimizerOk ¶
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 ¶
GetRegions returns the Regions field value
func (*Config) GetRegionsOk ¶
GetRegionsOk returns a tuple with the Regions field value and a boolean to check if the value has been set.
func (*Config) GetWafOk ¶
GetWafOk returns a tuple with the Waf field value and a boolean to check if the value has been set.
func (*Config) HasDefaultCacheDuration ¶
HasDefaultCacheDuration returns a boolean if a field has been set.
func (*Config) HasLogSink ¶
HasLogSink returns a boolean if a field has been set.
func (*Config) HasMonthlyLimitBytes ¶
HasMonthlyLimitBytes returns a boolean if a field has been set.
func (*Config) HasOptimizer ¶
HasOptimizer returns a boolean if a field has been set.
func (Config) MarshalJSON ¶
func (*Config) SetBackend ¶
func (o *Config) SetBackend(v ConfigBackend)
SetBackend sets field value
func (*Config) SetBlockedCountries ¶
SetBlockedCountries sets field value
func (*Config) SetBlockedIps ¶
SetBlockedIps sets field value
func (*Config) SetDefaultCacheDuration ¶
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 ¶
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 ¶
SetOptimizer gets a reference to the given Optimizer and assigns it to the Optimizer field.
func (*Config) UnmarshalJSON ¶
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 ¶
func (o *CreateDistributionPayload) GetBackend() CreateDistributionPayloadBackend
GetBackend returns the Backend field value
func (*CreateDistributionPayload) GetBackendOk ¶
func (o *CreateDistributionPayload) GetBackendOk() (*CreateDistributionPayloadBackend, bool)
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 ¶
func (o *CreateDistributionPayload) GetLogSink() LokiLogSinkCreate
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 ¶
func (o *CreateDistributionPayload) GetWaf() WafConfig
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 ¶
func (o *CreateDistributionPayload) SetBackend(v CreateDistributionPayloadBackend)
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 ¶
func (o *CreateDistributionPayload) SetLogSink(v LokiLogSinkCreate)
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) 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 ¶
func (a *DefaultAPIService) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)
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 ¶
func (a *DefaultAPIService) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)
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 ¶
func (a *DefaultAPIService) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)
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 ¶
func (a *DefaultAPIService) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)
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 ¶
func (a *DefaultAPIService) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)
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 ¶
func (a *DefaultAPIService) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)
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 ¶
func (a *DefaultAPIService) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error)
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 ¶
func (a *DefaultAPIService) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)
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 ¶
func (a *DefaultAPIService) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)
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 ¶
func (a *DefaultAPIService) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)
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 ¶
func (a *DefaultAPIService) ListWafCollectionsExecute(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)
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 ¶
func (a *DefaultAPIService) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)
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 ¶
func (a *DefaultAPIService) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
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 ¶
func (a DefaultAPIServiceMock) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error)
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 ¶
func (a DefaultAPIServiceMock) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListWafCollectionsExecute(r ApiListWafCollectionsRequest) (*ListWafCollectionsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error)
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) 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) 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 ¶
func (o *DistributionStatisticsRecord) GetEnd() time.Time
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 ¶
func (o *DistributionStatisticsRecord) GetRegions() DistributionStatisticsRecordRegions
GetRegions returns the Regions field value
func (*DistributionStatisticsRecord) GetRegionsOk ¶
func (o *DistributionStatisticsRecord) GetRegionsOk() (*DistributionStatisticsRecordRegions, bool)
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 ¶
func (o *DistributionStatisticsRecord) SetRegions(v DistributionStatisticsRecordRegions)
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 ¶
func NewDistributionStatisticsRecordRegions(aF DistributionStatisticsRecordEntry, aSIA DistributionStatisticsRecordEntry, eU DistributionStatisticsRecordEntry, sA DistributionStatisticsRecordEntry, uS DistributionStatisticsRecordEntry) *DistributionStatisticsRecordRegions
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 ¶
func (o *DistributionStatisticsRecordRegions) GetAF() DistributionStatisticsRecordEntry
GetAF returns the AF field value
func (*DistributionStatisticsRecordRegions) GetAFOk ¶
func (o *DistributionStatisticsRecordRegions) GetAFOk() (*DistributionStatisticsRecordEntry, bool)
GetAFOk returns a tuple with the AF field value and a boolean to check if the value has been set.
func (*DistributionStatisticsRecordRegions) GetASIA ¶
func (o *DistributionStatisticsRecordRegions) GetASIA() DistributionStatisticsRecordEntry
GetASIA returns the ASIA field value
func (*DistributionStatisticsRecordRegions) GetASIAOk ¶
func (o *DistributionStatisticsRecordRegions) GetASIAOk() (*DistributionStatisticsRecordEntry, bool)
GetASIAOk returns a tuple with the ASIA field value and a boolean to check if the value has been set.
func (*DistributionStatisticsRecordRegions) GetEU ¶
func (o *DistributionStatisticsRecordRegions) GetEU() DistributionStatisticsRecordEntry
GetEU returns the EU field value
func (*DistributionStatisticsRecordRegions) GetEUOk ¶
func (o *DistributionStatisticsRecordRegions) GetEUOk() (*DistributionStatisticsRecordEntry, bool)
GetEUOk returns a tuple with the EU field value and a boolean to check if the value has been set.
func (*DistributionStatisticsRecordRegions) GetSA ¶
func (o *DistributionStatisticsRecordRegions) GetSA() DistributionStatisticsRecordEntry
GetSA returns the SA field value
func (*DistributionStatisticsRecordRegions) GetSAOk ¶
func (o *DistributionStatisticsRecordRegions) GetSAOk() (*DistributionStatisticsRecordEntry, bool)
GetSAOk returns a tuple with the SA field value and a boolean to check if the value has been set.
func (*DistributionStatisticsRecordRegions) GetUS ¶
func (o *DistributionStatisticsRecordRegions) GetUS() DistributionStatisticsRecordEntry
GetUS returns the US field value
func (*DistributionStatisticsRecordRegions) GetUSOk ¶
func (o *DistributionStatisticsRecordRegions) GetUSOk() (*DistributionStatisticsRecordEntry, bool)
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 ¶
func (o *DistributionStatisticsRecordRegions) SetAF(v DistributionStatisticsRecordEntry)
SetAF sets field value
func (*DistributionStatisticsRecordRegions) SetASIA ¶
func (o *DistributionStatisticsRecordRegions) SetASIA(v DistributionStatisticsRecordEntry)
SetASIA sets field value
func (*DistributionStatisticsRecordRegions) SetEU ¶
func (o *DistributionStatisticsRecordRegions) SetEU(v DistributionStatisticsRecordEntry)
SetEU sets field value
func (*DistributionStatisticsRecordRegions) SetSA ¶
func (o *DistributionStatisticsRecordRegions) SetSA(v DistributionStatisticsRecordEntry)
SetSA sets field value
func (*DistributionStatisticsRecordRegions) SetUS ¶
func (o *DistributionStatisticsRecordRegions) SetUS(v DistributionStatisticsRecordEntry)
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) GetNameOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Domain) MarshalJSON ¶
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) UnmarshalJSON ¶
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) 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) SetField ¶
func (o *ErrorDetails) SetField(v string)
SetField gets a reference to the given string and assigns it to the Field field.
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 ¶
func (o *FindCachePathsResponse) GetResponse() []FindCachePathsResponseEntry
GetResponse returns the Response field value
func (*FindCachePathsResponse) GetResponseOk ¶
func (o *FindCachePathsResponse) GetResponseOk() ([]FindCachePathsResponseEntry, bool)
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 ¶
func (o *FindCachePathsResponse) SetResponse(v []FindCachePathsResponseEntry)
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 ¶
func (o *GetCacheInfoResponse) GetHistory() []GetCacheInfoResponseHistoryEntry
GetHistory returns the History field value
func (*GetCacheInfoResponse) GetHistoryOk ¶
func (o *GetCacheInfoResponse) GetHistoryOk() ([]GetCacheInfoResponseHistoryEntry, bool)
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 ¶
func (o *GetCacheInfoResponse) SetHistory(v []GetCacheInfoResponseHistoryEntry)
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 ¶
func (o *GetCacheInfoResponseHistoryEntry) GetType() string
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 ¶
func (o *GetCacheInfoResponseHistoryEntry) SetType(v string)
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 ¶
func (o *GetCustomDomainCustomCertificate) GetType() string
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 ¶
func (o *GetCustomDomainCustomCertificate) SetType(v string)
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 ¶
func (o *GetCustomDomainManagedCertificate) GetType() string
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 ¶
func (o *GetCustomDomainManagedCertificate) SetType(v string)
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 ¶
func (o *GetCustomDomainResponse) GetCertificate() GetCustomDomainResponseCertificate
GetCertificate returns the Certificate field value
func (*GetCustomDomainResponse) GetCertificateOk ¶
func (o *GetCustomDomainResponse) GetCertificateOk() (*GetCustomDomainResponseCertificate, bool)
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 ¶
func (o *GetCustomDomainResponse) SetCertificate(v GetCustomDomainResponseCertificate)
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 ¶
func (o *GetLogsSearchFiltersResponse) GetDataCenter() GetLogsSearchFiltersResponseDatacenterBlock
GetDataCenter returns the DataCenter field value
func (*GetLogsSearchFiltersResponse) GetDataCenterOk ¶
func (o *GetLogsSearchFiltersResponse) GetDataCenterOk() (*GetLogsSearchFiltersResponseDatacenterBlock, bool)
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 ¶
func (o *GetLogsSearchFiltersResponse) SetDataCenter(v GetLogsSearchFiltersResponseDatacenterBlock)
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 ¶
type GetLogsSearchFiltersResponseDatacenterBlock struct {
AF []GetLogsSearchFiltersResponseDatacenterBlockItem `json:"AF"`
ASIA []GetLogsSearchFiltersResponseDatacenterBlockItem `json:"ASIA"`
EU []GetLogsSearchFiltersResponseDatacenterBlockItem `json:"EU"`
NA []GetLogsSearchFiltersResponseDatacenterBlockItem `json:"NA"`
SA []GetLogsSearchFiltersResponseDatacenterBlockItem `json:"SA"`
}
GetLogsSearchFiltersResponseDatacenterBlock Object containing Datacenters to filter for. Each datacenter is grouped to the respective region.
func NewGetLogsSearchFiltersResponseDatacenterBlock ¶
func NewGetLogsSearchFiltersResponseDatacenterBlock(aF []GetLogsSearchFiltersResponseDatacenterBlockItem, aSIA []GetLogsSearchFiltersResponseDatacenterBlockItem, eU []GetLogsSearchFiltersResponseDatacenterBlockItem, nA []GetLogsSearchFiltersResponseDatacenterBlockItem, sA []GetLogsSearchFiltersResponseDatacenterBlockItem) *GetLogsSearchFiltersResponseDatacenterBlock
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 ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetAF() []GetLogsSearchFiltersResponseDatacenterBlockItem
GetAF returns the AF field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetAFOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetAFOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
GetAFOk returns a tuple with the AF field value and a boolean to check if the value has been set.
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetASIA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetASIA() []GetLogsSearchFiltersResponseDatacenterBlockItem
GetASIA returns the ASIA field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetASIAOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetASIAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
GetASIAOk returns a tuple with the ASIA field value and a boolean to check if the value has been set.
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetEU ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetEU() []GetLogsSearchFiltersResponseDatacenterBlockItem
GetEU returns the EU field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetEUOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetEUOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
GetEUOk returns a tuple with the EU field value and a boolean to check if the value has been set.
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetNA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetNA() []GetLogsSearchFiltersResponseDatacenterBlockItem
GetNA returns the NA field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetNAOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetNAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
GetNAOk returns a tuple with the NA field value and a boolean to check if the value has been set.
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetSA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetSA() []GetLogsSearchFiltersResponseDatacenterBlockItem
GetSA returns the SA field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) GetSAOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) GetSAOk() ([]GetLogsSearchFiltersResponseDatacenterBlockItem, bool)
GetSAOk returns a tuple with the SA field value and a boolean to check if the value has been set.
func (GetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON ¶
func (o GetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON() ([]byte, error)
func (*GetLogsSearchFiltersResponseDatacenterBlock) SetAF ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetAF(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
SetAF sets field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) SetASIA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetASIA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
SetASIA sets field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) SetEU ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetEU(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
SetEU sets field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) SetNA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetNA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
SetNA sets field value
func (*GetLogsSearchFiltersResponseDatacenterBlock) SetSA ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlock) SetSA(v []GetLogsSearchFiltersResponseDatacenterBlockItem)
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 ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayName() string
GetDisplayName returns the DisplayName field value
func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayNameOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetId ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetId() string
GetId returns the Id field value
func (*GetLogsSearchFiltersResponseDatacenterBlockItem) GetIdOk ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (GetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON ¶
func (o GetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON() ([]byte, error)
func (*GetLogsSearchFiltersResponseDatacenterBlockItem) SetDisplayName ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) SetDisplayName(v string)
SetDisplayName sets field value
func (*GetLogsSearchFiltersResponseDatacenterBlockItem) SetId ¶
func (o *GetLogsSearchFiltersResponseDatacenterBlockItem) SetId(v string)
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 ¶
func (o *GetStatisticsResponse) GetRecords() []DistributionStatisticsRecord
GetRecords returns the Records field value
func (*GetStatisticsResponse) GetRecordsOk ¶
func (o *GetStatisticsResponse) GetRecordsOk() ([]DistributionStatisticsRecord, bool)
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 ¶
func (o *GetStatisticsResponse) SetRecords(v []DistributionStatisticsRecord)
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) 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 ¶
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) 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 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 (v NullableBucketBackend) Get() *BucketBackend
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 (v NullableBucketBackendCreate) Get() *BucketBackendCreate
func (NullableBucketBackendCreate) IsSet ¶
func (v NullableBucketBackendCreate) IsSet() bool
func (NullableBucketBackendCreate) MarshalJSON ¶
func (v NullableBucketBackendCreate) MarshalJSON() ([]byte, error)
func (*NullableBucketBackendCreate) Set ¶
func (v *NullableBucketBackendCreate) Set(val *BucketBackendCreate)
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 (v NullableBucketBackendPatch) Get() *BucketBackendPatch
func (NullableBucketBackendPatch) IsSet ¶
func (v NullableBucketBackendPatch) IsSet() bool
func (NullableBucketBackendPatch) MarshalJSON ¶
func (v NullableBucketBackendPatch) MarshalJSON() ([]byte, error)
func (*NullableBucketBackendPatch) Set ¶
func (v *NullableBucketBackendPatch) Set(val *BucketBackendPatch)
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 (v NullableBucketCredentials) Get() *BucketCredentials
func (NullableBucketCredentials) IsSet ¶
func (v NullableBucketCredentials) IsSet() bool
func (NullableBucketCredentials) MarshalJSON ¶
func (v NullableBucketCredentials) MarshalJSON() ([]byte, error)
func (*NullableBucketCredentials) Set ¶
func (v *NullableBucketCredentials) Set(val *BucketCredentials)
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 (v NullableConfigBackend) Get() *ConfigBackend
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 (v NullableConfigPatch) Get() *ConfigPatch
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 (v NullableConfigPatchBackend) Get() *ConfigPatchBackend
func (NullableConfigPatchBackend) IsSet ¶
func (v NullableConfigPatchBackend) IsSet() bool
func (NullableConfigPatchBackend) MarshalJSON ¶
func (v NullableConfigPatchBackend) MarshalJSON() ([]byte, error)
func (*NullableConfigPatchBackend) Set ¶
func (v *NullableConfigPatchBackend) Set(val *ConfigPatchBackend)
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 NewNullableCreateDistributionPayload ¶
func NewNullableCreateDistributionPayload(val *CreateDistributionPayload) *NullableCreateDistributionPayload
func (NullableCreateDistributionPayload) Get ¶
func (v NullableCreateDistributionPayload) Get() *CreateDistributionPayload
func (NullableCreateDistributionPayload) IsSet ¶
func (v NullableCreateDistributionPayload) IsSet() bool
func (NullableCreateDistributionPayload) MarshalJSON ¶
func (v NullableCreateDistributionPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateDistributionPayload) Set ¶
func (v *NullableCreateDistributionPayload) Set(val *CreateDistributionPayload)
func (*NullableCreateDistributionPayload) UnmarshalJSON ¶
func (v *NullableCreateDistributionPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateDistributionPayload) Unset ¶
func (v *NullableCreateDistributionPayload) Unset()
type NullableCreateDistributionPayloadBackend ¶
type NullableCreateDistributionPayloadBackend struct {
// contains filtered or unexported fields
}
func NewNullableCreateDistributionPayloadBackend ¶
func NewNullableCreateDistributionPayloadBackend(val *CreateDistributionPayloadBackend) *NullableCreateDistributionPayloadBackend
func (NullableCreateDistributionPayloadBackend) IsSet ¶
func (v NullableCreateDistributionPayloadBackend) IsSet() bool
func (NullableCreateDistributionPayloadBackend) MarshalJSON ¶
func (v NullableCreateDistributionPayloadBackend) MarshalJSON() ([]byte, error)
func (*NullableCreateDistributionPayloadBackend) Set ¶
func (v *NullableCreateDistributionPayloadBackend) Set(val *CreateDistributionPayloadBackend)
func (*NullableCreateDistributionPayloadBackend) UnmarshalJSON ¶
func (v *NullableCreateDistributionPayloadBackend) UnmarshalJSON(src []byte) error
func (*NullableCreateDistributionPayloadBackend) Unset ¶
func (v *NullableCreateDistributionPayloadBackend) Unset()
type NullableCreateDistributionResponse ¶
type NullableCreateDistributionResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateDistributionResponse ¶
func NewNullableCreateDistributionResponse(val *CreateDistributionResponse) *NullableCreateDistributionResponse
func (NullableCreateDistributionResponse) Get ¶
func (v NullableCreateDistributionResponse) Get() *CreateDistributionResponse
func (NullableCreateDistributionResponse) IsSet ¶
func (v NullableCreateDistributionResponse) IsSet() bool
func (NullableCreateDistributionResponse) MarshalJSON ¶
func (v NullableCreateDistributionResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateDistributionResponse) Set ¶
func (v *NullableCreateDistributionResponse) Set(val *CreateDistributionResponse)
func (*NullableCreateDistributionResponse) UnmarshalJSON ¶
func (v *NullableCreateDistributionResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateDistributionResponse) Unset ¶
func (v *NullableCreateDistributionResponse) Unset()
type NullableCustomDomain ¶
type NullableCustomDomain struct {
// contains filtered or unexported fields
}
func NewNullableCustomDomain ¶
func NewNullableCustomDomain(val *CustomDomain) *NullableCustomDomain
func (NullableCustomDomain) Get ¶
func (v NullableCustomDomain) Get() *CustomDomain
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 NewNullableDeleteCustomDomainResponse ¶
func NewNullableDeleteCustomDomainResponse(val *DeleteCustomDomainResponse) *NullableDeleteCustomDomainResponse
func (NullableDeleteCustomDomainResponse) Get ¶
func (v NullableDeleteCustomDomainResponse) Get() *DeleteCustomDomainResponse
func (NullableDeleteCustomDomainResponse) IsSet ¶
func (v NullableDeleteCustomDomainResponse) IsSet() bool
func (NullableDeleteCustomDomainResponse) MarshalJSON ¶
func (v NullableDeleteCustomDomainResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteCustomDomainResponse) Set ¶
func (v *NullableDeleteCustomDomainResponse) Set(val *DeleteCustomDomainResponse)
func (*NullableDeleteCustomDomainResponse) UnmarshalJSON ¶
func (v *NullableDeleteCustomDomainResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteCustomDomainResponse) Unset ¶
func (v *NullableDeleteCustomDomainResponse) Unset()
type NullableDeleteDistributionResponse ¶
type NullableDeleteDistributionResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteDistributionResponse ¶
func NewNullableDeleteDistributionResponse(val *DeleteDistributionResponse) *NullableDeleteDistributionResponse
func (NullableDeleteDistributionResponse) Get ¶
func (v NullableDeleteDistributionResponse) Get() *DeleteDistributionResponse
func (NullableDeleteDistributionResponse) IsSet ¶
func (v NullableDeleteDistributionResponse) IsSet() bool
func (NullableDeleteDistributionResponse) MarshalJSON ¶
func (v NullableDeleteDistributionResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteDistributionResponse) Set ¶
func (v *NullableDeleteDistributionResponse) Set(val *DeleteDistributionResponse)
func (*NullableDeleteDistributionResponse) UnmarshalJSON ¶
func (v *NullableDeleteDistributionResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteDistributionResponse) Unset ¶
func (v *NullableDeleteDistributionResponse) Unset()
type NullableDistribution ¶
type NullableDistribution struct {
// contains filtered or unexported fields
}
func NewNullableDistribution ¶
func NewNullableDistribution(val *Distribution) *NullableDistribution
func (NullableDistribution) Get ¶
func (v NullableDistribution) Get() *Distribution
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 NewNullableDistributionLogsRecord ¶
func NewNullableDistributionLogsRecord(val *DistributionLogsRecord) *NullableDistributionLogsRecord
func (NullableDistributionLogsRecord) Get ¶
func (v NullableDistributionLogsRecord) Get() *DistributionLogsRecord
func (NullableDistributionLogsRecord) IsSet ¶
func (v NullableDistributionLogsRecord) IsSet() bool
func (NullableDistributionLogsRecord) MarshalJSON ¶
func (v NullableDistributionLogsRecord) MarshalJSON() ([]byte, error)
func (*NullableDistributionLogsRecord) Set ¶
func (v *NullableDistributionLogsRecord) Set(val *DistributionLogsRecord)
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 NewNullableDistributionStatisticsRecord ¶
func NewNullableDistributionStatisticsRecord(val *DistributionStatisticsRecord) *NullableDistributionStatisticsRecord
func (NullableDistributionStatisticsRecord) Get ¶
func (v NullableDistributionStatisticsRecord) Get() *DistributionStatisticsRecord
func (NullableDistributionStatisticsRecord) IsSet ¶
func (v NullableDistributionStatisticsRecord) IsSet() bool
func (NullableDistributionStatisticsRecord) MarshalJSON ¶
func (v NullableDistributionStatisticsRecord) MarshalJSON() ([]byte, error)
func (*NullableDistributionStatisticsRecord) Set ¶
func (v *NullableDistributionStatisticsRecord) Set(val *DistributionStatisticsRecord)
func (*NullableDistributionStatisticsRecord) UnmarshalJSON ¶
func (v *NullableDistributionStatisticsRecord) UnmarshalJSON(src []byte) error
func (*NullableDistributionStatisticsRecord) Unset ¶
func (v *NullableDistributionStatisticsRecord) Unset()
type NullableDistributionStatisticsRecordEntry ¶
type NullableDistributionStatisticsRecordEntry struct {
// contains filtered or unexported fields
}
func NewNullableDistributionStatisticsRecordEntry ¶
func NewNullableDistributionStatisticsRecordEntry(val *DistributionStatisticsRecordEntry) *NullableDistributionStatisticsRecordEntry
func (NullableDistributionStatisticsRecordEntry) IsSet ¶
func (v NullableDistributionStatisticsRecordEntry) IsSet() bool
func (NullableDistributionStatisticsRecordEntry) MarshalJSON ¶
func (v NullableDistributionStatisticsRecordEntry) MarshalJSON() ([]byte, error)
func (*NullableDistributionStatisticsRecordEntry) Set ¶
func (v *NullableDistributionStatisticsRecordEntry) Set(val *DistributionStatisticsRecordEntry)
func (*NullableDistributionStatisticsRecordEntry) UnmarshalJSON ¶
func (v *NullableDistributionStatisticsRecordEntry) UnmarshalJSON(src []byte) error
func (*NullableDistributionStatisticsRecordEntry) Unset ¶
func (v *NullableDistributionStatisticsRecordEntry) Unset()
type NullableDistributionStatisticsRecordRegions ¶
type NullableDistributionStatisticsRecordRegions struct {
// contains filtered or unexported fields
}
func NewNullableDistributionStatisticsRecordRegions ¶
func NewNullableDistributionStatisticsRecordRegions(val *DistributionStatisticsRecordRegions) *NullableDistributionStatisticsRecordRegions
func (NullableDistributionStatisticsRecordRegions) IsSet ¶
func (v NullableDistributionStatisticsRecordRegions) IsSet() bool
func (NullableDistributionStatisticsRecordRegions) MarshalJSON ¶
func (v NullableDistributionStatisticsRecordRegions) MarshalJSON() ([]byte, error)
func (*NullableDistributionStatisticsRecordRegions) Set ¶
func (v *NullableDistributionStatisticsRecordRegions) Set(val *DistributionStatisticsRecordRegions)
func (*NullableDistributionStatisticsRecordRegions) UnmarshalJSON ¶
func (v *NullableDistributionStatisticsRecordRegions) UnmarshalJSON(src []byte) error
func (*NullableDistributionStatisticsRecordRegions) Unset ¶
func (v *NullableDistributionStatisticsRecordRegions) Unset()
type NullableDistributionWaf ¶
type NullableDistributionWaf struct {
// contains filtered or unexported fields
}
func NewNullableDistributionWaf ¶
func NewNullableDistributionWaf(val *DistributionWaf) *NullableDistributionWaf
func (NullableDistributionWaf) Get ¶
func (v NullableDistributionWaf) Get() *DistributionWaf
func (NullableDistributionWaf) IsSet ¶
func (v NullableDistributionWaf) IsSet() bool
func (NullableDistributionWaf) MarshalJSON ¶
func (v NullableDistributionWaf) MarshalJSON() ([]byte, error)
func (*NullableDistributionWaf) Set ¶
func (v *NullableDistributionWaf) Set(val *DistributionWaf)
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 (v NullableDomainStatus) Get() *DomainStatus
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 (v NullableErrorDetails) Get() *ErrorDetails
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 NewNullableFindCachePathsResponse ¶
func NewNullableFindCachePathsResponse(val *FindCachePathsResponse) *NullableFindCachePathsResponse
func (NullableFindCachePathsResponse) Get ¶
func (v NullableFindCachePathsResponse) Get() *FindCachePathsResponse
func (NullableFindCachePathsResponse) IsSet ¶
func (v NullableFindCachePathsResponse) IsSet() bool
func (NullableFindCachePathsResponse) MarshalJSON ¶
func (v NullableFindCachePathsResponse) MarshalJSON() ([]byte, error)
func (*NullableFindCachePathsResponse) Set ¶
func (v *NullableFindCachePathsResponse) Set(val *FindCachePathsResponse)
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 NewNullableFindCachePathsResponseEntry ¶
func NewNullableFindCachePathsResponseEntry(val *FindCachePathsResponseEntry) *NullableFindCachePathsResponseEntry
func (NullableFindCachePathsResponseEntry) Get ¶
func (v NullableFindCachePathsResponseEntry) Get() *FindCachePathsResponseEntry
func (NullableFindCachePathsResponseEntry) IsSet ¶
func (v NullableFindCachePathsResponseEntry) IsSet() bool
func (NullableFindCachePathsResponseEntry) MarshalJSON ¶
func (v NullableFindCachePathsResponseEntry) MarshalJSON() ([]byte, error)
func (*NullableFindCachePathsResponseEntry) Set ¶
func (v *NullableFindCachePathsResponseEntry) Set(val *FindCachePathsResponseEntry)
func (*NullableFindCachePathsResponseEntry) UnmarshalJSON ¶
func (v *NullableFindCachePathsResponseEntry) UnmarshalJSON(src []byte) error
func (*NullableFindCachePathsResponseEntry) Unset ¶
func (v *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 (v NullableGenericJsonResponse) Get() *GenericJsonResponse
func (NullableGenericJsonResponse) IsSet ¶
func (v NullableGenericJsonResponse) IsSet() bool
func (NullableGenericJsonResponse) MarshalJSON ¶
func (v NullableGenericJsonResponse) MarshalJSON() ([]byte, error)
func (*NullableGenericJsonResponse) Set ¶
func (v *NullableGenericJsonResponse) Set(val *GenericJsonResponse)
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 (v NullableGetCacheInfoResponse) Get() *GetCacheInfoResponse
func (NullableGetCacheInfoResponse) IsSet ¶
func (v NullableGetCacheInfoResponse) IsSet() bool
func (NullableGetCacheInfoResponse) MarshalJSON ¶
func (v NullableGetCacheInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCacheInfoResponse) Set ¶
func (v *NullableGetCacheInfoResponse) Set(val *GetCacheInfoResponse)
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 NewNullableGetCacheInfoResponseHistoryEntry ¶
func NewNullableGetCacheInfoResponseHistoryEntry(val *GetCacheInfoResponseHistoryEntry) *NullableGetCacheInfoResponseHistoryEntry
func (NullableGetCacheInfoResponseHistoryEntry) IsSet ¶
func (v NullableGetCacheInfoResponseHistoryEntry) IsSet() bool
func (NullableGetCacheInfoResponseHistoryEntry) MarshalJSON ¶
func (v NullableGetCacheInfoResponseHistoryEntry) MarshalJSON() ([]byte, error)
func (*NullableGetCacheInfoResponseHistoryEntry) Set ¶
func (v *NullableGetCacheInfoResponseHistoryEntry) Set(val *GetCacheInfoResponseHistoryEntry)
func (*NullableGetCacheInfoResponseHistoryEntry) UnmarshalJSON ¶
func (v *NullableGetCacheInfoResponseHistoryEntry) UnmarshalJSON(src []byte) error
func (*NullableGetCacheInfoResponseHistoryEntry) Unset ¶
func (v *NullableGetCacheInfoResponseHistoryEntry) Unset()
type NullableGetCustomDomainCustomCertificate ¶
type NullableGetCustomDomainCustomCertificate struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomDomainCustomCertificate ¶
func NewNullableGetCustomDomainCustomCertificate(val *GetCustomDomainCustomCertificate) *NullableGetCustomDomainCustomCertificate
func (NullableGetCustomDomainCustomCertificate) IsSet ¶
func (v NullableGetCustomDomainCustomCertificate) IsSet() bool
func (NullableGetCustomDomainCustomCertificate) MarshalJSON ¶
func (v NullableGetCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
func (*NullableGetCustomDomainCustomCertificate) Set ¶
func (v *NullableGetCustomDomainCustomCertificate) Set(val *GetCustomDomainCustomCertificate)
func (*NullableGetCustomDomainCustomCertificate) UnmarshalJSON ¶
func (v *NullableGetCustomDomainCustomCertificate) UnmarshalJSON(src []byte) error
func (*NullableGetCustomDomainCustomCertificate) Unset ¶
func (v *NullableGetCustomDomainCustomCertificate) Unset()
type NullableGetCustomDomainManagedCertificate ¶
type NullableGetCustomDomainManagedCertificate struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomDomainManagedCertificate ¶
func NewNullableGetCustomDomainManagedCertificate(val *GetCustomDomainManagedCertificate) *NullableGetCustomDomainManagedCertificate
func (NullableGetCustomDomainManagedCertificate) IsSet ¶
func (v NullableGetCustomDomainManagedCertificate) IsSet() bool
func (NullableGetCustomDomainManagedCertificate) MarshalJSON ¶
func (v NullableGetCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
func (*NullableGetCustomDomainManagedCertificate) Set ¶
func (v *NullableGetCustomDomainManagedCertificate) Set(val *GetCustomDomainManagedCertificate)
func (*NullableGetCustomDomainManagedCertificate) UnmarshalJSON ¶
func (v *NullableGetCustomDomainManagedCertificate) UnmarshalJSON(src []byte) error
func (*NullableGetCustomDomainManagedCertificate) Unset ¶
func (v *NullableGetCustomDomainManagedCertificate) Unset()
type NullableGetCustomDomainResponse ¶
type NullableGetCustomDomainResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomDomainResponse ¶
func NewNullableGetCustomDomainResponse(val *GetCustomDomainResponse) *NullableGetCustomDomainResponse
func (NullableGetCustomDomainResponse) Get ¶
func (v NullableGetCustomDomainResponse) Get() *GetCustomDomainResponse
func (NullableGetCustomDomainResponse) IsSet ¶
func (v NullableGetCustomDomainResponse) IsSet() bool
func (NullableGetCustomDomainResponse) MarshalJSON ¶
func (v NullableGetCustomDomainResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCustomDomainResponse) Set ¶
func (v *NullableGetCustomDomainResponse) Set(val *GetCustomDomainResponse)
func (*NullableGetCustomDomainResponse) UnmarshalJSON ¶
func (v *NullableGetCustomDomainResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCustomDomainResponse) Unset ¶
func (v *NullableGetCustomDomainResponse) Unset()
type NullableGetCustomDomainResponseCertificate ¶
type NullableGetCustomDomainResponseCertificate struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomDomainResponseCertificate ¶
func NewNullableGetCustomDomainResponseCertificate(val *GetCustomDomainResponseCertificate) *NullableGetCustomDomainResponseCertificate
func (NullableGetCustomDomainResponseCertificate) IsSet ¶
func (v NullableGetCustomDomainResponseCertificate) IsSet() bool
func (NullableGetCustomDomainResponseCertificate) MarshalJSON ¶
func (v NullableGetCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
func (*NullableGetCustomDomainResponseCertificate) Set ¶
func (v *NullableGetCustomDomainResponseCertificate) Set(val *GetCustomDomainResponseCertificate)
func (*NullableGetCustomDomainResponseCertificate) UnmarshalJSON ¶
func (v *NullableGetCustomDomainResponseCertificate) UnmarshalJSON(src []byte) error
func (*NullableGetCustomDomainResponseCertificate) Unset ¶
func (v *NullableGetCustomDomainResponseCertificate) Unset()
type NullableGetDistributionResponse ¶
type NullableGetDistributionResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetDistributionResponse ¶
func NewNullableGetDistributionResponse(val *GetDistributionResponse) *NullableGetDistributionResponse
func (NullableGetDistributionResponse) Get ¶
func (v NullableGetDistributionResponse) Get() *GetDistributionResponse
func (NullableGetDistributionResponse) IsSet ¶
func (v NullableGetDistributionResponse) IsSet() bool
func (NullableGetDistributionResponse) MarshalJSON ¶
func (v NullableGetDistributionResponse) MarshalJSON() ([]byte, error)
func (*NullableGetDistributionResponse) Set ¶
func (v *NullableGetDistributionResponse) Set(val *GetDistributionResponse)
func (*NullableGetDistributionResponse) UnmarshalJSON ¶
func (v *NullableGetDistributionResponse) UnmarshalJSON(src []byte) error
func (*NullableGetDistributionResponse) Unset ¶
func (v *NullableGetDistributionResponse) Unset()
type NullableGetLogsResponse ¶
type NullableGetLogsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetLogsResponse ¶
func NewNullableGetLogsResponse(val *GetLogsResponse) *NullableGetLogsResponse
func (NullableGetLogsResponse) Get ¶
func (v NullableGetLogsResponse) Get() *GetLogsResponse
func (NullableGetLogsResponse) IsSet ¶
func (v NullableGetLogsResponse) IsSet() bool
func (NullableGetLogsResponse) MarshalJSON ¶
func (v NullableGetLogsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetLogsResponse) Set ¶
func (v *NullableGetLogsResponse) Set(val *GetLogsResponse)
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 NewNullableGetLogsSearchFiltersResponse ¶
func NewNullableGetLogsSearchFiltersResponse(val *GetLogsSearchFiltersResponse) *NullableGetLogsSearchFiltersResponse
func (NullableGetLogsSearchFiltersResponse) Get ¶
func (v NullableGetLogsSearchFiltersResponse) Get() *GetLogsSearchFiltersResponse
func (NullableGetLogsSearchFiltersResponse) IsSet ¶
func (v NullableGetLogsSearchFiltersResponse) IsSet() bool
func (NullableGetLogsSearchFiltersResponse) MarshalJSON ¶
func (v NullableGetLogsSearchFiltersResponse) MarshalJSON() ([]byte, error)
func (*NullableGetLogsSearchFiltersResponse) Set ¶
func (v *NullableGetLogsSearchFiltersResponse) Set(val *GetLogsSearchFiltersResponse)
func (*NullableGetLogsSearchFiltersResponse) UnmarshalJSON ¶
func (v *NullableGetLogsSearchFiltersResponse) UnmarshalJSON(src []byte) error
func (*NullableGetLogsSearchFiltersResponse) Unset ¶
func (v *NullableGetLogsSearchFiltersResponse) Unset()
type NullableGetLogsSearchFiltersResponseDatacenterBlock ¶
type NullableGetLogsSearchFiltersResponseDatacenterBlock struct {
// contains filtered or unexported fields
}
func NewNullableGetLogsSearchFiltersResponseDatacenterBlock ¶
func NewNullableGetLogsSearchFiltersResponseDatacenterBlock(val *GetLogsSearchFiltersResponseDatacenterBlock) *NullableGetLogsSearchFiltersResponseDatacenterBlock
func (NullableGetLogsSearchFiltersResponseDatacenterBlock) IsSet ¶
func (v NullableGetLogsSearchFiltersResponseDatacenterBlock) IsSet() bool
func (NullableGetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON ¶
func (v NullableGetLogsSearchFiltersResponseDatacenterBlock) MarshalJSON() ([]byte, error)
func (*NullableGetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON ¶
func (v *NullableGetLogsSearchFiltersResponseDatacenterBlock) UnmarshalJSON(src []byte) error
func (*NullableGetLogsSearchFiltersResponseDatacenterBlock) Unset ¶
func (v *NullableGetLogsSearchFiltersResponseDatacenterBlock) Unset()
type NullableGetLogsSearchFiltersResponseDatacenterBlockItem ¶
type NullableGetLogsSearchFiltersResponseDatacenterBlockItem struct {
// contains filtered or unexported fields
}
func NewNullableGetLogsSearchFiltersResponseDatacenterBlockItem ¶
func NewNullableGetLogsSearchFiltersResponseDatacenterBlockItem(val *GetLogsSearchFiltersResponseDatacenterBlockItem) *NullableGetLogsSearchFiltersResponseDatacenterBlockItem
func (NullableGetLogsSearchFiltersResponseDatacenterBlockItem) IsSet ¶
func (v NullableGetLogsSearchFiltersResponseDatacenterBlockItem) IsSet() bool
func (NullableGetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON ¶
func (v NullableGetLogsSearchFiltersResponseDatacenterBlockItem) MarshalJSON() ([]byte, error)
func (*NullableGetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON ¶
func (v *NullableGetLogsSearchFiltersResponseDatacenterBlockItem) UnmarshalJSON(src []byte) error
func (*NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Unset ¶
func (v *NullableGetLogsSearchFiltersResponseDatacenterBlockItem) Unset()
type NullableGetStatisticsResponse ¶
type NullableGetStatisticsResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetStatisticsResponse ¶
func NewNullableGetStatisticsResponse(val *GetStatisticsResponse) *NullableGetStatisticsResponse
func (NullableGetStatisticsResponse) Get ¶
func (v NullableGetStatisticsResponse) Get() *GetStatisticsResponse
func (NullableGetStatisticsResponse) IsSet ¶
func (v NullableGetStatisticsResponse) IsSet() bool
func (NullableGetStatisticsResponse) MarshalJSON ¶
func (v NullableGetStatisticsResponse) MarshalJSON() ([]byte, error)
func (*NullableGetStatisticsResponse) Set ¶
func (v *NullableGetStatisticsResponse) Set(val *GetStatisticsResponse)
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 (v NullableHttpBackend) Get() *HttpBackend
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 (v NullableHttpBackendCreate) Get() *HttpBackendCreate
func (NullableHttpBackendCreate) IsSet ¶
func (v NullableHttpBackendCreate) IsSet() bool
func (NullableHttpBackendCreate) MarshalJSON ¶
func (v NullableHttpBackendCreate) MarshalJSON() ([]byte, error)
func (*NullableHttpBackendCreate) Set ¶
func (v *NullableHttpBackendCreate) Set(val *HttpBackendCreate)
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 (v NullableHttpBackendPatch) Get() *HttpBackendPatch
func (NullableHttpBackendPatch) IsSet ¶
func (v NullableHttpBackendPatch) IsSet() bool
func (NullableHttpBackendPatch) MarshalJSON ¶
func (v NullableHttpBackendPatch) MarshalJSON() ([]byte, error)
func (*NullableHttpBackendPatch) Set ¶
func (v *NullableHttpBackendPatch) Set(val *HttpBackendPatch)
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 NewNullableListDistributionsResponse ¶
func NewNullableListDistributionsResponse(val *ListDistributionsResponse) *NullableListDistributionsResponse
func (NullableListDistributionsResponse) Get ¶
func (v NullableListDistributionsResponse) Get() *ListDistributionsResponse
func (NullableListDistributionsResponse) IsSet ¶
func (v NullableListDistributionsResponse) IsSet() bool
func (NullableListDistributionsResponse) MarshalJSON ¶
func (v NullableListDistributionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListDistributionsResponse) Set ¶
func (v *NullableListDistributionsResponse) Set(val *ListDistributionsResponse)
func (*NullableListDistributionsResponse) UnmarshalJSON ¶
func (v *NullableListDistributionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListDistributionsResponse) Unset ¶
func (v *NullableListDistributionsResponse) Unset()
type NullableListWafCollectionsResponse ¶
type NullableListWafCollectionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListWafCollectionsResponse ¶
func NewNullableListWafCollectionsResponse(val *ListWafCollectionsResponse) *NullableListWafCollectionsResponse
func (NullableListWafCollectionsResponse) Get ¶
func (v NullableListWafCollectionsResponse) Get() *ListWafCollectionsResponse
func (NullableListWafCollectionsResponse) IsSet ¶
func (v NullableListWafCollectionsResponse) IsSet() bool
func (NullableListWafCollectionsResponse) MarshalJSON ¶
func (v NullableListWafCollectionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListWafCollectionsResponse) Set ¶
func (v *NullableListWafCollectionsResponse) Set(val *ListWafCollectionsResponse)
func (*NullableListWafCollectionsResponse) UnmarshalJSON ¶
func (v *NullableListWafCollectionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListWafCollectionsResponse) Unset ¶
func (v *NullableListWafCollectionsResponse) Unset()
type NullableLokiLogSink ¶
type NullableLokiLogSink struct {
// contains filtered or unexported fields
}
func NewNullableLokiLogSink ¶
func NewNullableLokiLogSink(val *LokiLogSink) *NullableLokiLogSink
func (NullableLokiLogSink) Get ¶
func (v NullableLokiLogSink) Get() *LokiLogSink
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 (v NullableLokiLogSinkCreate) Get() *LokiLogSinkCreate
func (NullableLokiLogSinkCreate) IsSet ¶
func (v NullableLokiLogSinkCreate) IsSet() bool
func (NullableLokiLogSinkCreate) MarshalJSON ¶
func (v NullableLokiLogSinkCreate) MarshalJSON() ([]byte, error)
func (*NullableLokiLogSinkCreate) Set ¶
func (v *NullableLokiLogSinkCreate) Set(val *LokiLogSinkCreate)
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 NewNullableLokiLogSinkCredentials ¶
func NewNullableLokiLogSinkCredentials(val *LokiLogSinkCredentials) *NullableLokiLogSinkCredentials
func (NullableLokiLogSinkCredentials) Get ¶
func (v NullableLokiLogSinkCredentials) Get() *LokiLogSinkCredentials
func (NullableLokiLogSinkCredentials) IsSet ¶
func (v NullableLokiLogSinkCredentials) IsSet() bool
func (NullableLokiLogSinkCredentials) MarshalJSON ¶
func (v NullableLokiLogSinkCredentials) MarshalJSON() ([]byte, error)
func (*NullableLokiLogSinkCredentials) Set ¶
func (v *NullableLokiLogSinkCredentials) Set(val *LokiLogSinkCredentials)
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 (v NullableLokiLogSinkPatch) Get() *LokiLogSinkPatch
func (NullableLokiLogSinkPatch) IsSet ¶
func (v NullableLokiLogSinkPatch) IsSet() bool
func (NullableLokiLogSinkPatch) MarshalJSON ¶
func (v NullableLokiLogSinkPatch) MarshalJSON() ([]byte, error)
func (*NullableLokiLogSinkPatch) Set ¶
func (v *NullableLokiLogSinkPatch) Set(val *LokiLogSinkPatch)
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 (v NullableOptimizerPatch) Get() *OptimizerPatch
func (NullableOptimizerPatch) IsSet ¶
func (v NullableOptimizerPatch) IsSet() bool
func (NullableOptimizerPatch) MarshalJSON ¶
func (v NullableOptimizerPatch) MarshalJSON() ([]byte, error)
func (*NullableOptimizerPatch) Set ¶
func (v *NullableOptimizerPatch) Set(val *OptimizerPatch)
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 NewNullablePatchDistributionPayload ¶
func NewNullablePatchDistributionPayload(val *PatchDistributionPayload) *NullablePatchDistributionPayload
func (NullablePatchDistributionPayload) Get ¶
func (v NullablePatchDistributionPayload) Get() *PatchDistributionPayload
func (NullablePatchDistributionPayload) IsSet ¶
func (v NullablePatchDistributionPayload) IsSet() bool
func (NullablePatchDistributionPayload) MarshalJSON ¶
func (v NullablePatchDistributionPayload) MarshalJSON() ([]byte, error)
func (*NullablePatchDistributionPayload) Set ¶
func (v *NullablePatchDistributionPayload) Set(val *PatchDistributionPayload)
func (*NullablePatchDistributionPayload) UnmarshalJSON ¶
func (v *NullablePatchDistributionPayload) UnmarshalJSON(src []byte) error
func (*NullablePatchDistributionPayload) Unset ¶
func (v *NullablePatchDistributionPayload) Unset()
type NullablePatchDistributionResponse ¶
type NullablePatchDistributionResponse struct {
// contains filtered or unexported fields
}
func NewNullablePatchDistributionResponse ¶
func NewNullablePatchDistributionResponse(val *PatchDistributionResponse) *NullablePatchDistributionResponse
func (NullablePatchDistributionResponse) Get ¶
func (v NullablePatchDistributionResponse) Get() *PatchDistributionResponse
func (NullablePatchDistributionResponse) IsSet ¶
func (v NullablePatchDistributionResponse) IsSet() bool
func (NullablePatchDistributionResponse) MarshalJSON ¶
func (v NullablePatchDistributionResponse) MarshalJSON() ([]byte, error)
func (*NullablePatchDistributionResponse) Set ¶
func (v *NullablePatchDistributionResponse) Set(val *PatchDistributionResponse)
func (*NullablePatchDistributionResponse) UnmarshalJSON ¶
func (v *NullablePatchDistributionResponse) UnmarshalJSON(src []byte) error
func (*NullablePatchDistributionResponse) Unset ¶
func (v *NullablePatchDistributionResponse) Unset()
type NullablePurgeCachePayload ¶
type NullablePurgeCachePayload struct {
// contains filtered or unexported fields
}
func NewNullablePurgeCachePayload ¶
func NewNullablePurgeCachePayload(val *PurgeCachePayload) *NullablePurgeCachePayload
func (NullablePurgeCachePayload) Get ¶
func (v NullablePurgeCachePayload) Get() *PurgeCachePayload
func (NullablePurgeCachePayload) IsSet ¶
func (v NullablePurgeCachePayload) IsSet() bool
func (NullablePurgeCachePayload) MarshalJSON ¶
func (v NullablePurgeCachePayload) MarshalJSON() ([]byte, error)
func (*NullablePurgeCachePayload) Set ¶
func (v *NullablePurgeCachePayload) Set(val *PurgeCachePayload)
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 NewNullablePutCustomDomainCustomCertificate ¶
func NewNullablePutCustomDomainCustomCertificate(val *PutCustomDomainCustomCertificate) *NullablePutCustomDomainCustomCertificate
func (NullablePutCustomDomainCustomCertificate) IsSet ¶
func (v NullablePutCustomDomainCustomCertificate) IsSet() bool
func (NullablePutCustomDomainCustomCertificate) MarshalJSON ¶
func (v NullablePutCustomDomainCustomCertificate) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainCustomCertificate) Set ¶
func (v *NullablePutCustomDomainCustomCertificate) Set(val *PutCustomDomainCustomCertificate)
func (*NullablePutCustomDomainCustomCertificate) UnmarshalJSON ¶
func (v *NullablePutCustomDomainCustomCertificate) UnmarshalJSON(src []byte) error
func (*NullablePutCustomDomainCustomCertificate) Unset ¶
func (v *NullablePutCustomDomainCustomCertificate) Unset()
type NullablePutCustomDomainManagedCertificate ¶
type NullablePutCustomDomainManagedCertificate struct {
// contains filtered or unexported fields
}
func NewNullablePutCustomDomainManagedCertificate ¶
func NewNullablePutCustomDomainManagedCertificate(val *PutCustomDomainManagedCertificate) *NullablePutCustomDomainManagedCertificate
func (NullablePutCustomDomainManagedCertificate) IsSet ¶
func (v NullablePutCustomDomainManagedCertificate) IsSet() bool
func (NullablePutCustomDomainManagedCertificate) MarshalJSON ¶
func (v NullablePutCustomDomainManagedCertificate) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainManagedCertificate) Set ¶
func (v *NullablePutCustomDomainManagedCertificate) Set(val *PutCustomDomainManagedCertificate)
func (*NullablePutCustomDomainManagedCertificate) UnmarshalJSON ¶
func (v *NullablePutCustomDomainManagedCertificate) UnmarshalJSON(src []byte) error
func (*NullablePutCustomDomainManagedCertificate) Unset ¶
func (v *NullablePutCustomDomainManagedCertificate) Unset()
type NullablePutCustomDomainPayload ¶
type NullablePutCustomDomainPayload struct {
// contains filtered or unexported fields
}
func NewNullablePutCustomDomainPayload ¶
func NewNullablePutCustomDomainPayload(val *PutCustomDomainPayload) *NullablePutCustomDomainPayload
func (NullablePutCustomDomainPayload) Get ¶
func (v NullablePutCustomDomainPayload) Get() *PutCustomDomainPayload
func (NullablePutCustomDomainPayload) IsSet ¶
func (v NullablePutCustomDomainPayload) IsSet() bool
func (NullablePutCustomDomainPayload) MarshalJSON ¶
func (v NullablePutCustomDomainPayload) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainPayload) Set ¶
func (v *NullablePutCustomDomainPayload) Set(val *PutCustomDomainPayload)
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 NewNullablePutCustomDomainPayloadCertificate ¶
func NewNullablePutCustomDomainPayloadCertificate(val *PutCustomDomainPayloadCertificate) *NullablePutCustomDomainPayloadCertificate
func (NullablePutCustomDomainPayloadCertificate) IsSet ¶
func (v NullablePutCustomDomainPayloadCertificate) IsSet() bool
func (NullablePutCustomDomainPayloadCertificate) MarshalJSON ¶
func (v NullablePutCustomDomainPayloadCertificate) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainPayloadCertificate) Set ¶
func (v *NullablePutCustomDomainPayloadCertificate) Set(val *PutCustomDomainPayloadCertificate)
func (*NullablePutCustomDomainPayloadCertificate) UnmarshalJSON ¶
func (v *NullablePutCustomDomainPayloadCertificate) UnmarshalJSON(src []byte) error
func (*NullablePutCustomDomainPayloadCertificate) Unset ¶
func (v *NullablePutCustomDomainPayloadCertificate) Unset()
type NullablePutCustomDomainResponse ¶
type NullablePutCustomDomainResponse struct {
// contains filtered or unexported fields
}
func NewNullablePutCustomDomainResponse ¶
func NewNullablePutCustomDomainResponse(val *PutCustomDomainResponse) *NullablePutCustomDomainResponse
func (NullablePutCustomDomainResponse) Get ¶
func (v NullablePutCustomDomainResponse) Get() *PutCustomDomainResponse
func (NullablePutCustomDomainResponse) IsSet ¶
func (v NullablePutCustomDomainResponse) IsSet() bool
func (NullablePutCustomDomainResponse) MarshalJSON ¶
func (v NullablePutCustomDomainResponse) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainResponse) Set ¶
func (v *NullablePutCustomDomainResponse) Set(val *PutCustomDomainResponse)
func (*NullablePutCustomDomainResponse) UnmarshalJSON ¶
func (v *NullablePutCustomDomainResponse) UnmarshalJSON(src []byte) error
func (*NullablePutCustomDomainResponse) Unset ¶
func (v *NullablePutCustomDomainResponse) Unset()
type NullablePutCustomDomainResponseCertificate ¶
type NullablePutCustomDomainResponseCertificate struct {
// contains filtered or unexported fields
}
func NewNullablePutCustomDomainResponseCertificate ¶
func NewNullablePutCustomDomainResponseCertificate(val *PutCustomDomainResponseCertificate) *NullablePutCustomDomainResponseCertificate
func (NullablePutCustomDomainResponseCertificate) IsSet ¶
func (v NullablePutCustomDomainResponseCertificate) IsSet() bool
func (NullablePutCustomDomainResponseCertificate) MarshalJSON ¶
func (v NullablePutCustomDomainResponseCertificate) MarshalJSON() ([]byte, error)
func (*NullablePutCustomDomainResponseCertificate) Set ¶
func (v *NullablePutCustomDomainResponseCertificate) Set(val *PutCustomDomainResponseCertificate)
func (*NullablePutCustomDomainResponseCertificate) UnmarshalJSON ¶
func (v *NullablePutCustomDomainResponseCertificate) UnmarshalJSON(src []byte) error
func (*NullablePutCustomDomainResponseCertificate) Unset ¶
func (v *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 (v NullableStatusError) Get() *StatusError
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 (v NullableWAFRuleAction) Get() *WAFRuleAction
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 (v NullableWAFViolation) Get() *WAFViolation
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 (v NullableWafConfigPatch) Get() *WafConfigPatch
func (NullableWafConfigPatch) IsSet ¶
func (v NullableWafConfigPatch) IsSet() bool
func (NullableWafConfigPatch) MarshalJSON ¶
func (v NullableWafConfigPatch) MarshalJSON() ([]byte, error)
func (*NullableWafConfigPatch) Set ¶
func (v *NullableWafConfigPatch) Set(val *WafConfigPatch)
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 (v NullableWafParanoiaLevel) Get() *WafParanoiaLevel
func (NullableWafParanoiaLevel) IsSet ¶
func (v NullableWafParanoiaLevel) IsSet() bool
func (NullableWafParanoiaLevel) MarshalJSON ¶
func (v NullableWafParanoiaLevel) MarshalJSON() ([]byte, error)
func (*NullableWafParanoiaLevel) Set ¶
func (v *NullableWafParanoiaLevel) Set(val *WafParanoiaLevel)
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 (v NullableWafRuleCollection) Get() *WafRuleCollection
func (NullableWafRuleCollection) IsSet ¶
func (v NullableWafRuleCollection) IsSet() bool
func (NullableWafRuleCollection) MarshalJSON ¶
func (v NullableWafRuleCollection) MarshalJSON() ([]byte, error)
func (*NullableWafRuleCollection) Set ¶
func (v *NullableWafRuleCollection) Set(val *WafRuleCollection)
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 (v NullableWafRuleGroup) Get() *WafRuleGroup
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 (v NullableWafStatusRuleBlock) Get() *WafStatusRuleBlock
func (NullableWafStatusRuleBlock) IsSet ¶
func (v NullableWafStatusRuleBlock) IsSet() bool
func (NullableWafStatusRuleBlock) MarshalJSON ¶
func (v NullableWafStatusRuleBlock) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlock) Set ¶
func (v *NullableWafStatusRuleBlock) Set(val *WafStatusRuleBlock)
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 NewNullableWafStatusRuleBlockReason ¶
func NewNullableWafStatusRuleBlockReason(val *WafStatusRuleBlockReason) *NullableWafStatusRuleBlockReason
func (NullableWafStatusRuleBlockReason) Get ¶
func (v NullableWafStatusRuleBlockReason) Get() *WafStatusRuleBlockReason
func (NullableWafStatusRuleBlockReason) IsSet ¶
func (v NullableWafStatusRuleBlockReason) IsSet() bool
func (NullableWafStatusRuleBlockReason) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReason) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReason) Set ¶
func (v *NullableWafStatusRuleBlockReason) Set(val *WafStatusRuleBlockReason)
func (*NullableWafStatusRuleBlockReason) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReason) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReason) Unset ¶
func (v *NullableWafStatusRuleBlockReason) Unset()
type NullableWafStatusRuleBlockReasonDirectlyDefined ¶
type NullableWafStatusRuleBlockReasonDirectlyDefined struct {
// contains filtered or unexported fields
}
func NewNullableWafStatusRuleBlockReasonDirectlyDefined ¶
func NewNullableWafStatusRuleBlockReasonDirectlyDefined(val *WafStatusRuleBlockReasonDirectlyDefined) *NullableWafStatusRuleBlockReasonDirectlyDefined
func (NullableWafStatusRuleBlockReasonDirectlyDefined) IsSet ¶
func (v NullableWafStatusRuleBlockReasonDirectlyDefined) IsSet() bool
func (NullableWafStatusRuleBlockReasonDirectlyDefined) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReasonDirectlyDefined) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReasonDirectlyDefined) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReasonDirectlyDefined) Unset ¶
func (v *NullableWafStatusRuleBlockReasonDirectlyDefined) Unset()
type NullableWafStatusRuleBlockReasonInheritedFromCollection ¶
type NullableWafStatusRuleBlockReasonInheritedFromCollection struct {
// contains filtered or unexported fields
}
func NewNullableWafStatusRuleBlockReasonInheritedFromCollection ¶
func NewNullableWafStatusRuleBlockReasonInheritedFromCollection(val *WafStatusRuleBlockReasonInheritedFromCollection) *NullableWafStatusRuleBlockReasonInheritedFromCollection
func (NullableWafStatusRuleBlockReasonInheritedFromCollection) IsSet ¶
func (v NullableWafStatusRuleBlockReasonInheritedFromCollection) IsSet() bool
func (NullableWafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReasonInheritedFromCollection) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReasonInheritedFromCollection) Unset ¶
func (v *NullableWafStatusRuleBlockReasonInheritedFromCollection) Unset()
type NullableWafStatusRuleBlockReasonInheritedFromGroup ¶
type NullableWafStatusRuleBlockReasonInheritedFromGroup struct {
// contains filtered or unexported fields
}
func NewNullableWafStatusRuleBlockReasonInheritedFromGroup ¶
func NewNullableWafStatusRuleBlockReasonInheritedFromGroup(val *WafStatusRuleBlockReasonInheritedFromGroup) *NullableWafStatusRuleBlockReasonInheritedFromGroup
func (NullableWafStatusRuleBlockReasonInheritedFromGroup) IsSet ¶
func (v NullableWafStatusRuleBlockReasonInheritedFromGroup) IsSet() bool
func (NullableWafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReasonInheritedFromGroup) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReasonInheritedFromGroup) Unset ¶
func (v *NullableWafStatusRuleBlockReasonInheritedFromGroup) Unset()
type NullableWafStatusRuleBlockReasonInvalidWafType ¶
type NullableWafStatusRuleBlockReasonInvalidWafType struct {
// contains filtered or unexported fields
}
func NewNullableWafStatusRuleBlockReasonInvalidWafType ¶
func NewNullableWafStatusRuleBlockReasonInvalidWafType(val *WafStatusRuleBlockReasonInvalidWafType) *NullableWafStatusRuleBlockReasonInvalidWafType
func (NullableWafStatusRuleBlockReasonInvalidWafType) IsSet ¶
func (v NullableWafStatusRuleBlockReasonInvalidWafType) IsSet() bool
func (NullableWafStatusRuleBlockReasonInvalidWafType) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReasonInvalidWafType) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReasonInvalidWafType) Set ¶
func (v *NullableWafStatusRuleBlockReasonInvalidWafType) Set(val *WafStatusRuleBlockReasonInvalidWafType)
func (*NullableWafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReasonInvalidWafType) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReasonInvalidWafType) Unset ¶
func (v *NullableWafStatusRuleBlockReasonInvalidWafType) Unset()
type NullableWafStatusRuleBlockReasonNeverDefined ¶
type NullableWafStatusRuleBlockReasonNeverDefined struct {
// contains filtered or unexported fields
}
func NewNullableWafStatusRuleBlockReasonNeverDefined ¶
func NewNullableWafStatusRuleBlockReasonNeverDefined(val *WafStatusRuleBlockReasonNeverDefined) *NullableWafStatusRuleBlockReasonNeverDefined
func (NullableWafStatusRuleBlockReasonNeverDefined) IsSet ¶
func (v NullableWafStatusRuleBlockReasonNeverDefined) IsSet() bool
func (NullableWafStatusRuleBlockReasonNeverDefined) MarshalJSON ¶
func (v NullableWafStatusRuleBlockReasonNeverDefined) MarshalJSON() ([]byte, error)
func (*NullableWafStatusRuleBlockReasonNeverDefined) Set ¶
func (v *NullableWafStatusRuleBlockReasonNeverDefined) Set(val *WafStatusRuleBlockReasonNeverDefined)
func (*NullableWafStatusRuleBlockReasonNeverDefined) UnmarshalJSON ¶
func (v *NullableWafStatusRuleBlockReasonNeverDefined) UnmarshalJSON(src []byte) error
func (*NullableWafStatusRuleBlockReasonNeverDefined) Unset ¶
func (v *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 ¶
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 ¶
GetEnabled returns the Enabled field value
func (*Optimizer) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (Optimizer) MarshalJSON ¶
func (*Optimizer) UnmarshalJSON ¶
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 ¶
func (o *PutCustomDomainCustomCertificate) GetKey() string
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 ¶
func (o *PutCustomDomainCustomCertificate) GetType() string
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 ¶
func (o *PutCustomDomainCustomCertificate) SetKey(v string)
SetKey sets field value
func (*PutCustomDomainCustomCertificate) SetType ¶
func (o *PutCustomDomainCustomCertificate) SetType(v string)
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 ¶
func (o *PutCustomDomainManagedCertificate) GetType() string
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 ¶
func (o *PutCustomDomainManagedCertificate) SetType(v string)
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 ¶
func (o *PutCustomDomainPayload) GetCertificate() PutCustomDomainPayloadCertificate
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*PutCustomDomainPayload) GetCertificateOk ¶
func (o *PutCustomDomainPayload) GetCertificateOk() (*PutCustomDomainPayloadCertificate, bool)
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 ¶
func (o *PutCustomDomainPayload) SetCertificate(v PutCustomDomainPayloadCertificate)
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 ¶
func (o *PutCustomDomainResponse) GetCertificate() PutCustomDomainResponseCertificate
GetCertificate returns the Certificate field value if set, zero value otherwise.
func (*PutCustomDomainResponse) GetCertificateOk ¶
func (o *PutCustomDomainResponse) GetCertificateOk() (*PutCustomDomainResponseCertificate, bool)
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 ¶
func (o *PutCustomDomainResponse) SetCertificate(v PutCustomDomainResponseCertificate)
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 ¶
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) UnmarshalJSON ¶
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) 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) 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) 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 ¶
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 ¶
GetAllowedHttpMethods returns the AllowedHttpMethods field value if set, zero value otherwise.
func (*WafConfig) GetAllowedHttpMethodsOk ¶
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 ¶
GetAllowedHttpVersions returns the AllowedHttpVersions field value if set, zero value otherwise.
func (*WafConfig) GetAllowedHttpVersionsOk ¶
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 ¶
GetAllowedRequestContentTypes returns the AllowedRequestContentTypes field value if set, zero value otherwise.
func (*WafConfig) GetAllowedRequestContentTypesOk ¶
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 ¶
GetDisabledRuleCollectionIds returns the DisabledRuleCollectionIds field value if set, zero value otherwise.
func (*WafConfig) GetDisabledRuleCollectionIdsOk ¶
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 ¶
GetDisabledRuleGroupIds returns the DisabledRuleGroupIds field value if set, zero value otherwise.
func (*WafConfig) GetDisabledRuleGroupIdsOk ¶
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 ¶
GetDisabledRuleIds returns the DisabledRuleIds field value if set, zero value otherwise.
func (*WafConfig) GetDisabledRuleIdsOk ¶
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 ¶
GetEnabledRuleCollectionIds returns the EnabledRuleCollectionIds field value if set, zero value otherwise.
func (*WafConfig) GetEnabledRuleCollectionIdsOk ¶
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 ¶
GetEnabledRuleGroupIds returns the EnabledRuleGroupIds field value if set, zero value otherwise.
func (*WafConfig) GetEnabledRuleGroupIdsOk ¶
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 ¶
GetEnabledRuleIds returns the EnabledRuleIds field value
func (*WafConfig) GetEnabledRuleIdsOk ¶
GetEnabledRuleIdsOk returns a tuple with the EnabledRuleIds field value and a boolean to check if the value has been set.
func (*WafConfig) GetLogOnlyRuleCollectionIds ¶
GetLogOnlyRuleCollectionIds returns the LogOnlyRuleCollectionIds field value if set, zero value otherwise.
func (*WafConfig) GetLogOnlyRuleCollectionIdsOk ¶
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 ¶
GetLogOnlyRuleGroupIds returns the LogOnlyRuleGroupIds field value if set, zero value otherwise.
func (*WafConfig) GetLogOnlyRuleGroupIdsOk ¶
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 ¶
GetLogOnlyRuleIds returns the LogOnlyRuleIds field value if set, zero value otherwise.
func (*WafConfig) GetLogOnlyRuleIdsOk ¶
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) GetModeOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*WafConfig) HasAllowedHttpMethods ¶
HasAllowedHttpMethods returns a boolean if a field has been set.
func (*WafConfig) HasAllowedHttpVersions ¶
HasAllowedHttpVersions returns a boolean if a field has been set.
func (*WafConfig) HasAllowedRequestContentTypes ¶
HasAllowedRequestContentTypes returns a boolean if a field has been set.
func (*WafConfig) HasDisabledRuleCollectionIds ¶
HasDisabledRuleCollectionIds returns a boolean if a field has been set.
func (*WafConfig) HasDisabledRuleGroupIds ¶
HasDisabledRuleGroupIds returns a boolean if a field has been set.
func (*WafConfig) HasDisabledRuleIds ¶
HasDisabledRuleIds returns a boolean if a field has been set.
func (*WafConfig) HasEnabledRuleCollectionIds ¶
HasEnabledRuleCollectionIds returns a boolean if a field has been set.
func (*WafConfig) HasEnabledRuleGroupIds ¶
HasEnabledRuleGroupIds returns a boolean if a field has been set.
func (*WafConfig) HasLogOnlyRuleCollectionIds ¶
HasLogOnlyRuleCollectionIds returns a boolean if a field has been set.
func (*WafConfig) HasLogOnlyRuleGroupIds ¶
HasLogOnlyRuleGroupIds returns a boolean if a field has been set.
func (*WafConfig) HasLogOnlyRuleIds ¶
HasLogOnlyRuleIds returns a boolean if a field has been set.
func (*WafConfig) HasParanoiaLevel ¶
HasParanoiaLevel returns a boolean if a field has been set.
func (WafConfig) MarshalJSON ¶
func (*WafConfig) SetAllowedHttpMethods ¶
SetAllowedHttpMethods gets a reference to the given []string and assigns it to the AllowedHttpMethods field.
func (*WafConfig) SetAllowedHttpVersions ¶
SetAllowedHttpVersions gets a reference to the given []string and assigns it to the AllowedHttpVersions field.
func (*WafConfig) SetAllowedRequestContentTypes ¶
SetAllowedRequestContentTypes gets a reference to the given []string and assigns it to the AllowedRequestContentTypes field.
func (*WafConfig) SetDisabledRuleCollectionIds ¶
SetDisabledRuleCollectionIds gets a reference to the given []string and assigns it to the DisabledRuleCollectionIds field.
func (*WafConfig) SetDisabledRuleGroupIds ¶
SetDisabledRuleGroupIds gets a reference to the given []string and assigns it to the DisabledRuleGroupIds field.
func (*WafConfig) SetDisabledRuleIds ¶
SetDisabledRuleIds gets a reference to the given []string and assigns it to the DisabledRuleIds field.
func (*WafConfig) SetEnabledRuleCollectionIds ¶
SetEnabledRuleCollectionIds gets a reference to the given []string and assigns it to the EnabledRuleCollectionIds field.
func (*WafConfig) SetEnabledRuleGroupIds ¶
SetEnabledRuleGroupIds gets a reference to the given []string and assigns it to the EnabledRuleGroupIds field.
func (*WafConfig) SetEnabledRuleIds ¶
SetEnabledRuleIds sets field value
func (*WafConfig) SetLogOnlyRuleCollectionIds ¶
SetLogOnlyRuleCollectionIds gets a reference to the given []string and assigns it to the LogOnlyRuleCollectionIds field.
func (*WafConfig) SetLogOnlyRuleGroupIds ¶
SetLogOnlyRuleGroupIds gets a reference to the given []string and assigns it to the LogOnlyRuleGroupIds field.
func (*WafConfig) SetLogOnlyRuleIds ¶
SetLogOnlyRuleIds gets a reference to the given []string and assigns it to the LogOnlyRuleIds field.
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) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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 ¶
func (v WafParanoiaLevel) Ptr() *WafParanoiaLevel
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 ¶
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) GetCodeOk ¶
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 ¶
GetDescription returns the Description field value
func (*WafRule) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*WafRule) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (WafRule) MarshalJSON ¶
func (*WafRule) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*WafRule) SetDescription ¶
SetDescription sets field value
func (*WafRule) UnmarshalJSON ¶
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 ¶
func (o *WafStatusRuleBlock) GetReason() WafStatusRuleBlockReason
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 ¶
func (o *WafStatusRuleBlock) SetReason(v WafStatusRuleBlockReason)
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 ¶
func (o *WafStatusRuleBlockReasonDirectlyDefined) GetType() string
GetType returns the Type field value
func (*WafStatusRuleBlockReasonDirectlyDefined) GetTypeOk ¶
func (o *WafStatusRuleBlockReasonDirectlyDefined) GetTypeOk() (*string, bool)
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 ¶
func (o *WafStatusRuleBlockReasonDirectlyDefined) SetType(v string)
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 ¶
func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetCollectionId() string
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 ¶
func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetType() string
GetType returns the Type field value
func (*WafStatusRuleBlockReasonInheritedFromCollection) GetTypeOk ¶
func (o *WafStatusRuleBlockReasonInheritedFromCollection) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (WafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON ¶
func (o WafStatusRuleBlockReasonInheritedFromCollection) MarshalJSON() ([]byte, error)
func (*WafStatusRuleBlockReasonInheritedFromCollection) SetCollectionId ¶
func (o *WafStatusRuleBlockReasonInheritedFromCollection) SetCollectionId(v string)
SetCollectionId sets field value
func (*WafStatusRuleBlockReasonInheritedFromCollection) SetType ¶
func (o *WafStatusRuleBlockReasonInheritedFromCollection) SetType(v string)
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 ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetGroupId() string
GetGroupId returns the GroupId field value
func (*WafStatusRuleBlockReasonInheritedFromGroup) GetGroupIdOk ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*WafStatusRuleBlockReasonInheritedFromGroup) GetType ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetType() string
GetType returns the Type field value
func (*WafStatusRuleBlockReasonInheritedFromGroup) GetTypeOk ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (WafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON ¶
func (o WafStatusRuleBlockReasonInheritedFromGroup) MarshalJSON() ([]byte, error)
func (*WafStatusRuleBlockReasonInheritedFromGroup) SetGroupId ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) SetGroupId(v string)
SetGroupId sets field value
func (*WafStatusRuleBlockReasonInheritedFromGroup) SetType ¶
func (o *WafStatusRuleBlockReasonInheritedFromGroup) SetType(v string)
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 ¶
func (o *WafStatusRuleBlockReasonInvalidWafType) GetType() string
GetType returns the Type field value
func (*WafStatusRuleBlockReasonInvalidWafType) GetTypeOk ¶
func (o *WafStatusRuleBlockReasonInvalidWafType) GetTypeOk() (*string, bool)
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 ¶
func (o *WafStatusRuleBlockReasonInvalidWafType) SetType(v string)
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 ¶
func (o *WafStatusRuleBlockReasonNeverDefined) GetType() string
GetType returns the Type field value
func (*WafStatusRuleBlockReasonNeverDefined) GetTypeOk ¶
func (o *WafStatusRuleBlockReasonNeverDefined) GetTypeOk() (*string, bool)
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 ¶
func (o *WafStatusRuleBlockReasonNeverDefined) SetType(v string)
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)
func NewWafTypeFromValue ¶
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) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_bucket_backend.go
- model_bucket_backend_create.go
- model_bucket_backend_patch.go
- model_bucket_credentials.go
- model_config.go
- model_config_backend.go
- model_config_patch.go
- model_config_patch_backend.go
- model_create_distribution_payload.go
- model_create_distribution_payload_backend.go
- model_create_distribution_response.go
- model_custom_domain.go
- model_delete_custom_domain_response.go
- model_delete_distribution_response.go
- model_distribution.go
- model_distribution_logs_record.go
- model_distribution_statistics_record.go
- model_distribution_statistics_record_entry.go
- model_distribution_statistics_record_regions.go
- model_distribution_waf.go
- model_domain.go
- model_domain_status.go
- model_error_details.go
- model_find_cache_paths_response.go
- model_find_cache_paths_response_entry.go
- model_generic_json_response.go
- model_get_cache_info_response.go
- model_get_cache_info_response_history_entry.go
- model_get_custom_domain_custom_certificate.go
- model_get_custom_domain_managed_certificate.go
- model_get_custom_domain_response.go
- model_get_custom_domain_response_certificate.go
- model_get_distribution_response.go
- model_get_logs_response.go
- model_get_logs_search_filters_response.go
- model_get_logs_search_filters_response_datacenter_block.go
- model_get_logs_search_filters_response_datacenter_block_item.go
- model_get_statistics_response.go
- model_http_backend.go
- model_http_backend_create.go
- model_http_backend_patch.go
- model_list_distributions_response.go
- model_list_waf_collections_response.go
- model_loki_log_sink.go
- model_loki_log_sink_create.go
- model_loki_log_sink_credentials.go
- model_loki_log_sink_patch.go
- model_optimizer.go
- model_optimizer_patch.go
- model_patch_distribution_payload.go
- model_patch_distribution_response.go
- model_purge_cache_payload.go
- model_put_custom_domain_custom_certificate.go
- model_put_custom_domain_managed_certificate.go
- model_put_custom_domain_payload.go
- model_put_custom_domain_payload_certificate.go
- model_put_custom_domain_response.go
- model_put_custom_domain_response_certificate.go
- model_region.go
- model_status_error.go
- model_waf_config.go
- model_waf_config_patch.go
- model_waf_mode.go
- model_waf_paranoia_level.go
- model_waf_rule.go
- model_waf_rule_action.go
- model_waf_rule_collection.go
- model_waf_rule_group.go
- model_waf_status_rule_block.go
- model_waf_status_rule_block_reason.go
- model_waf_status_rule_block_reason_directly_defined.go
- model_waf_status_rule_block_reason_inherited_from_collection.go
- model_waf_status_rule_block_reason_inherited_from_group.go
- model_waf_status_rule_block_reason_invalid_waf_type.go
- model_waf_status_rule_block_reason_never_defined.go
- model_waf_type.go
- model_waf_violation.go
- response.go
- utils.go