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 Config
- func (o *Config) GetBackend() HttpBackend
- func (o *Config) GetBackendOk() (*HttpBackend, 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 HttpBackend)
- 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 ConfigPatch
- func (o *ConfigPatch) GetBackend() HttpBackendPatch
- func (o *ConfigPatch) GetBackendOk() (*HttpBackendPatch, 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() PatchLokiLogSink
- func (o *ConfigPatch) GetLogSinkOk() (*PatchLokiLogSink, 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 HttpBackendPatch)
- 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 PatchLokiLogSink)
- 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 CreateDistributionPayload
- 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) GetGeofencing() map[string][]string
- func (o *CreateDistributionPayload) GetGeofencingOk() (*map[string][]string, bool)
- func (o *CreateDistributionPayload) GetIntentId() string
- func (o *CreateDistributionPayload) GetIntentIdOk() (*string, bool)
- func (o *CreateDistributionPayload) GetLogSink() PatchLokiLogSink
- func (o *CreateDistributionPayload) GetLogSinkOk() (*PatchLokiLogSink, 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) GetOriginRequestHeaders() map[string]string
- func (o *CreateDistributionPayload) GetOriginRequestHeadersOk() (*map[string]string, bool)
- func (o *CreateDistributionPayload) GetOriginUrl() string
- func (o *CreateDistributionPayload) GetOriginUrlOk() (*string, 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) HasGeofencing() bool
- func (o *CreateDistributionPayload) HasIntentId() bool
- func (o *CreateDistributionPayload) HasLogSink() bool
- func (o *CreateDistributionPayload) HasMonthlyLimitBytes() bool
- func (o *CreateDistributionPayload) HasOptimizer() bool
- func (o *CreateDistributionPayload) HasOriginRequestHeaders() bool
- func (o *CreateDistributionPayload) HasWaf() bool
- func (o CreateDistributionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateDistributionPayload) SetBlockedCountries(v []string)
- func (o *CreateDistributionPayload) SetBlockedIPs(v []string)
- func (o *CreateDistributionPayload) SetDefaultCacheDuration(v string)
- func (o *CreateDistributionPayload) SetGeofencing(v map[string][]string)
- func (o *CreateDistributionPayload) SetIntentId(v string)
- func (o *CreateDistributionPayload) SetLogSink(v PatchLokiLogSink)
- func (o *CreateDistributionPayload) SetMonthlyLimitBytes(v int64)
- func (o *CreateDistributionPayload) SetOptimizer(v Optimizer)
- func (o *CreateDistributionPayload) SetOriginRequestHeaders(v map[string]string)
- func (o *CreateDistributionPayload) SetOriginUrl(v string)
- 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 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) GetDescription() string
- func (o *ErrorDetails) GetDescriptionOk() (*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) SetDescription(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) GetOccuredAt() time.Time
- func (o *GetCacheInfoResponseHistoryEntry) GetOccuredAtOk() (*time.Time, bool)
- 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) SetOccuredAt(v time.Time)
- 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) GetDomain() string
- func (o *GetCustomDomainResponse) GetDomainOk() (*string, bool)
- func (o GetCustomDomainResponse) MarshalJSON() ([]byte, error)
- func (o *GetCustomDomainResponse) SetCertificate(v GetCustomDomainResponseCertificate)
- func (o *GetCustomDomainResponse) SetCustomDomain(v CustomDomain)
- func (o *GetCustomDomainResponse) SetDomain(v string)
- 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) GetFilters() []string
- func (o *GetLogsSearchFiltersResponse) GetFiltersOk() ([]string, bool)
- func (o GetLogsSearchFiltersResponse) MarshalJSON() ([]byte, error)
- func (o *GetLogsSearchFiltersResponse) SetFilters(v []string)
- func (o GetLogsSearchFiltersResponse) ToMap() (map[string]interface{}, error)
- func (o *GetLogsSearchFiltersResponse) 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 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 MappedNullable
- type NullableBool
- type NullableConfig
- 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 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 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 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 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 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 NullablePatchLokiLogSink
- func (v NullablePatchLokiLogSink) Get() *PatchLokiLogSink
- func (v NullablePatchLokiLogSink) IsSet() bool
- func (v NullablePatchLokiLogSink) MarshalJSON() ([]byte, error)
- func (v *NullablePatchLokiLogSink) Set(val *PatchLokiLogSink)
- func (v *NullablePatchLokiLogSink) UnmarshalJSON(src []byte) error
- func (v *NullablePatchLokiLogSink) 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 NullableWAFRule
- 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 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 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 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 PatchLokiLogSink
- func (o *PatchLokiLogSink) GetPassword() string
- func (o *PatchLokiLogSink) GetPasswordOk() (*string, bool)
- func (o *PatchLokiLogSink) GetPushUrl() string
- func (o *PatchLokiLogSink) GetPushUrlOk() (*string, bool)
- func (o *PatchLokiLogSink) GetType() string
- func (o *PatchLokiLogSink) GetTypeOk() (*string, bool)
- func (o *PatchLokiLogSink) GetUsername() string
- func (o *PatchLokiLogSink) GetUsernameOk() (*string, bool)
- func (o PatchLokiLogSink) MarshalJSON() ([]byte, error)
- func (o *PatchLokiLogSink) SetPassword(v string)
- func (o *PatchLokiLogSink) SetPushUrl(v string)
- func (o *PatchLokiLogSink) SetType(v string)
- func (o *PatchLokiLogSink) SetUsername(v string)
- func (o PatchLokiLogSink) ToMap() (map[string]interface{}, error)
- func (o *PatchLokiLogSink) 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) GetDomain() string
- func (o *PutCustomDomainResponse) GetDomainOk() (*string, 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) SetDomain(v string)
- 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 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 WAFRuleAction
- 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) MarshalJSON() ([]byte, error)
- func (o *WAFStatusRuleBlock) SetId(v string)
- func (o WAFStatusRuleBlock) ToMap() (map[string]interface{}, error)
- func (o *WAFStatusRuleBlock) UnmarshalJSON(data []byte) (err error)
- 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) GetEnabledRuleIds() []string
- func (o *WafConfig) GetEnabledRuleIdsOk() ([]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) 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) SetEnabledRuleIds(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) 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) 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) 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 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 v1beta.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
Required filter for search suggestions (e.g., status=4, requestCountry, cacheHit=tru, dataCenterRegion). The filter query cannot be empty.
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 origin URL 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 Config ¶
type Config struct {
Backend HttpBackend `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 HttpBackend, 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() HttpBackend
GetBackend returns the Backend field value
func (*Config) GetBackendOk ¶
func (o *Config) GetBackendOk() (*HttpBackend, 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) 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 ConfigPatch ¶
type ConfigPatch struct {
Backend *HttpBackendPatch `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 NullablePatchLokiLogSink `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() HttpBackendPatch
GetBackend returns the Backend field value if set, zero value otherwise.
func (*ConfigPatch) GetBackendOk ¶
func (o *ConfigPatch) GetBackendOk() (*HttpBackendPatch, 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() PatchLokiLogSink
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() (*PatchLokiLogSink, 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 HttpBackendPatch)
SetBackend gets a reference to the given HttpBackendPatch 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 PatchLokiLogSink)
SetLogSink gets a reference to the given NullablePatchLokiLogSink 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 CreateDistributionPayload ¶
type CreateDistributionPayload struct {
// 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"`
// 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 can not have a country be assigned to multiple alternative origins.
Geofencing *map[string][]string `json:"geofencing,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 *PatchLokiLogSink `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"`
// Headers that will be sent with every request to the configured origin. WARNING: Do not store sensitive values in the headers. The data is stores 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"`
// 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(originUrl string, 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) 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) GetGeofencing ¶
func (o *CreateDistributionPayload) GetGeofencing() map[string][]string
GetGeofencing returns the Geofencing field value if set, zero value otherwise.
func (*CreateDistributionPayload) GetGeofencingOk ¶
func (o *CreateDistributionPayload) 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 (*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() PatchLokiLogSink
GetLogSink returns the LogSink field value if set, zero value otherwise.
func (*CreateDistributionPayload) GetLogSinkOk ¶
func (o *CreateDistributionPayload) GetLogSinkOk() (*PatchLokiLogSink, 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) GetOriginRequestHeaders ¶
func (o *CreateDistributionPayload) GetOriginRequestHeaders() map[string]string
GetOriginRequestHeaders returns the OriginRequestHeaders field value if set, zero value otherwise.
func (*CreateDistributionPayload) GetOriginRequestHeadersOk ¶
func (o *CreateDistributionPayload) 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 (*CreateDistributionPayload) GetOriginUrl ¶
func (o *CreateDistributionPayload) GetOriginUrl() string
GetOriginUrl returns the OriginUrl field value
func (*CreateDistributionPayload) GetOriginUrlOk ¶
func (o *CreateDistributionPayload) GetOriginUrlOk() (*string, bool)
GetOriginUrlOk returns a tuple with the OriginUrl field value 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) HasGeofencing ¶
func (o *CreateDistributionPayload) HasGeofencing() bool
HasGeofencing 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) HasOriginRequestHeaders ¶
func (o *CreateDistributionPayload) HasOriginRequestHeaders() bool
HasOriginRequestHeaders 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) 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) SetGeofencing ¶
func (o *CreateDistributionPayload) SetGeofencing(v map[string][]string)
SetGeofencing gets a reference to the given map[string][]string and assigns it to the Geofencing 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 PatchLokiLogSink)
SetLogSink gets a reference to the given PatchLokiLogSink 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) SetOriginRequestHeaders ¶
func (o *CreateDistributionPayload) SetOriginRequestHeaders(v map[string]string)
SetOriginRequestHeaders gets a reference to the given map[string]string and assigns it to the OriginRequestHeaders field.
func (*CreateDistributionPayload) SetOriginUrl ¶
func (o *CreateDistributionPayload) SetOriginUrl(v string)
SetOriginUrl sets field value
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 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"`
// Deprecated
Description string `json:"description"`
// 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(description string, 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) GetDescription ¶
func (o *ErrorDetails) GetDescription() string
GetDescription returns the Description field value Deprecated
func (*ErrorDetails) GetDescriptionOk ¶
func (o *ErrorDetails) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set. Deprecated
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) SetDescription ¶
func (o *ErrorDetails) SetDescription(v string)
SetDescription sets field value Deprecated
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 {
// Deprecated
OccuredAt time.Time `json:"occuredAt"`
OccurredAt time.Time `json:"occurredAt"`
Type string `json:"type"`
}
GetCacheInfoResponseHistoryEntry struct for GetCacheInfoResponseHistoryEntry
func NewGetCacheInfoResponseHistoryEntry ¶
func NewGetCacheInfoResponseHistoryEntry(occuredAt time.Time, 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) GetOccuredAt ¶
func (o *GetCacheInfoResponseHistoryEntry) GetOccuredAt() time.Time
GetOccuredAt returns the OccuredAt field value Deprecated
func (*GetCacheInfoResponseHistoryEntry) GetOccuredAtOk ¶
func (o *GetCacheInfoResponseHistoryEntry) GetOccuredAtOk() (*time.Time, bool)
GetOccuredAtOk returns a tuple with the OccuredAt field value and a boolean to check if the value has been set. Deprecated
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) SetOccuredAt ¶
func (o *GetCacheInfoResponseHistoryEntry) SetOccuredAt(v time.Time)
SetOccuredAt sets field value Deprecated
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"`
// Deprecated
Domain string `json:"domain" validate:"regexp=^[.\\\\-A-Za-z0-9]*$"`
}
GetCustomDomainResponse struct for GetCustomDomainResponse
func NewGetCustomDomainResponse ¶
func NewGetCustomDomainResponse(certificate GetCustomDomainResponseCertificate, customDomain CustomDomain, domain string) *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) GetDomain ¶
func (o *GetCustomDomainResponse) GetDomain() string
GetDomain returns the Domain field value Deprecated
func (*GetCustomDomainResponse) GetDomainOk ¶
func (o *GetCustomDomainResponse) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set. Deprecated
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) SetDomain ¶
func (o *GetCustomDomainResponse) SetDomain(v string)
SetDomain sets field value Deprecated
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 {
Filters []string `json:"filters"`
}
GetLogsSearchFiltersResponse struct for GetLogsSearchFiltersResponse
func NewGetLogsSearchFiltersResponse ¶
func NewGetLogsSearchFiltersResponse(filters []string) *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) GetFilters ¶
func (o *GetLogsSearchFiltersResponse) GetFilters() []string
GetFilters returns the Filters field value
func (*GetLogsSearchFiltersResponse) GetFiltersOk ¶
func (o *GetLogsSearchFiltersResponse) GetFiltersOk() ([]string, bool)
GetFiltersOk returns a tuple with the Filters field value and a boolean to check if the value has been set.
func (GetLogsSearchFiltersResponse) MarshalJSON ¶
func (o GetLogsSearchFiltersResponse) MarshalJSON() ([]byte, error)
func (*GetLogsSearchFiltersResponse) SetFilters ¶
func (o *GetLogsSearchFiltersResponse) SetFilters(v []string)
SetFilters 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 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"`
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 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 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 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 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 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 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 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 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 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 NullablePatchLokiLogSink ¶
type NullablePatchLokiLogSink struct {
// contains filtered or unexported fields
}
func NewNullablePatchLokiLogSink ¶
func NewNullablePatchLokiLogSink(val *PatchLokiLogSink) *NullablePatchLokiLogSink
func (NullablePatchLokiLogSink) Get ¶
func (v NullablePatchLokiLogSink) Get() *PatchLokiLogSink
func (NullablePatchLokiLogSink) IsSet ¶
func (v NullablePatchLokiLogSink) IsSet() bool
func (NullablePatchLokiLogSink) MarshalJSON ¶
func (v NullablePatchLokiLogSink) MarshalJSON() ([]byte, error)
func (*NullablePatchLokiLogSink) Set ¶
func (v *NullablePatchLokiLogSink) Set(val *PatchLokiLogSink)
func (*NullablePatchLokiLogSink) UnmarshalJSON ¶
func (v *NullablePatchLokiLogSink) UnmarshalJSON(src []byte) error
func (*NullablePatchLokiLogSink) Unset ¶
func (v *NullablePatchLokiLogSink) 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 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 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 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 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 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 PatchLokiLogSink ¶
type PatchLokiLogSink struct {
Password string `json:"password"`
PushUrl string `json:"pushUrl"`
Type string `json:"type"`
Username string `json:"username"`
}
PatchLokiLogSink struct for PatchLokiLogSink
func NewPatchLokiLogSink ¶
func NewPatchLokiLogSink(password string, pushUrl string, types string, username string) *PatchLokiLogSink
NewPatchLokiLogSink instantiates a new PatchLokiLogSink 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 NewPatchLokiLogSinkWithDefaults ¶
func NewPatchLokiLogSinkWithDefaults() *PatchLokiLogSink
NewPatchLokiLogSinkWithDefaults instantiates a new PatchLokiLogSink 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 (*PatchLokiLogSink) GetPassword ¶
func (o *PatchLokiLogSink) GetPassword() string
GetPassword returns the Password field value
func (*PatchLokiLogSink) GetPasswordOk ¶
func (o *PatchLokiLogSink) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*PatchLokiLogSink) GetPushUrl ¶
func (o *PatchLokiLogSink) GetPushUrl() string
GetPushUrl returns the PushUrl field value
func (*PatchLokiLogSink) GetPushUrlOk ¶
func (o *PatchLokiLogSink) GetPushUrlOk() (*string, bool)
GetPushUrlOk returns a tuple with the PushUrl field value and a boolean to check if the value has been set.
func (*PatchLokiLogSink) GetType ¶
func (o *PatchLokiLogSink) GetType() string
GetType returns the Type field value
func (*PatchLokiLogSink) GetTypeOk ¶
func (o *PatchLokiLogSink) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PatchLokiLogSink) GetUsername ¶
func (o *PatchLokiLogSink) GetUsername() string
GetUsername returns the Username field value
func (*PatchLokiLogSink) GetUsernameOk ¶
func (o *PatchLokiLogSink) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (PatchLokiLogSink) MarshalJSON ¶
func (o PatchLokiLogSink) MarshalJSON() ([]byte, error)
func (*PatchLokiLogSink) SetPassword ¶
func (o *PatchLokiLogSink) SetPassword(v string)
SetPassword sets field value
func (*PatchLokiLogSink) SetPushUrl ¶
func (o *PatchLokiLogSink) SetPushUrl(v string)
SetPushUrl sets field value
func (*PatchLokiLogSink) SetType ¶
func (o *PatchLokiLogSink) SetType(v string)
SetType sets field value
func (*PatchLokiLogSink) SetUsername ¶
func (o *PatchLokiLogSink) SetUsername(v string)
SetUsername sets field value
func (PatchLokiLogSink) ToMap ¶
func (o PatchLokiLogSink) ToMap() (map[string]interface{}, error)
func (*PatchLokiLogSink) UnmarshalJSON ¶
func (o *PatchLokiLogSink) 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"`
// Deprecated
Domain string `json:"domain" validate:"regexp=^[.\\\\-A-Za-z0-9]*$"`
}
PutCustomDomainResponse struct for PutCustomDomainResponse
func NewPutCustomDomainResponse ¶
func NewPutCustomDomainResponse(customDomain CustomDomain, domain string) *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) GetDomain ¶
func (o *PutCustomDomainResponse) GetDomain() string
GetDomain returns the Domain field value Deprecated
func (*PutCustomDomainResponse) GetDomainOk ¶
func (o *PutCustomDomainResponse) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set. Deprecated
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) SetDomain ¶
func (o *PutCustomDomainResponse) SetDomain(v string)
SetDomain sets field value Deprecated
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 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 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 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"`
}
WAFStatusRuleBlock struct for WAFStatusRuleBlock
func NewWAFStatusRuleBlock ¶
func NewWAFStatusRuleBlock(id string) *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) MarshalJSON ¶
func (o WAFStatusRuleBlock) MarshalJSON() ([]byte, error)
func (*WAFStatusRuleBlock) SetId ¶
func (o *WAFStatusRuleBlock) SetId(v string)
SetId 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 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 {
AllowedHttpMethods []string `json:"allowedHttpMethods,omitempty"`
AllowedHttpVersions []string `json:"allowedHttpVersions,omitempty"`
AllowedRequestContentTypes []string `json:"allowedRequestContentTypes,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"`
Mode WafMode `json:"mode"`
ParanoiaLevel *WafParanoiaLevel `json:"paranoiaLevel,omitempty"`
Type WafType `json:"type"`
}
WafConfig Configuration of the WAF of a distribution
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) 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) 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) 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) SetEnabledRuleIds ¶
SetEnabledRuleIds sets field value
func (*WafConfig) SetParanoiaLevel ¶
func (o *WafConfig) SetParanoiaLevel(v WafParanoiaLevel)
SetParanoiaLevel gets a reference to the given WafParanoiaLevel and assigns it to the ParanoiaLevel field.
func (*WafConfig) UnmarshalJSON ¶
type WafConfigPatch ¶
type WafConfigPatch struct {
AllowedHttpMethods []string `json:"allowedHttpMethods,omitempty"`
AllowedHttpVersions []string `json:"allowedHttpVersions,omitempty"`
AllowedRequestContentTypes []string `json:"allowedRequestContentTypes,omitempty"`
Mode *WafMode `json:"mode,omitempty"`
ParanoiaLevel *WafParanoiaLevel `json:"paranoiaLevel,omitempty"`
Type *WafType `json:"type,omitempty"`
}
WafConfigPatch struct for WafConfigPatch
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) 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) 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) 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 the model 'WafMode'
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 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_config.go
- model_config_patch.go
- model_create_distribution_payload.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_statistics_response.go
- model_http_backend.go
- model_http_backend_patch.go
- model_list_distributions_response.go
- model_list_waf_collections_response.go
- model_loki_log_sink.go
- model_optimizer.go
- model_optimizer_patch.go
- model_patch_distribution_payload.go
- model_patch_distribution_response.go
- model_patch_loki_log_sink.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_type.go
- model_waf_violation.go
- response.go
- utils.go