v1alphaapi

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedOWASPCoreRuleSet1EnumValues = []OWASPCoreRuleSet1{
	"MODE_UNSPECIFIED",
	"MODE_ENABLED",
	"MODE_DISABLED",
	"MODE_LOG_ONLY",
	"unknown_default_open_api",
}

All allowed values of OWASPCoreRuleSet1 enum

View Source
var AllowedOWASPCoreRuleSetEnumValues = []OWASPCoreRuleSet{
	"MODE_UNSPECIFIED",
	"MODE_ENABLED",
	"MODE_DISABLED",
	"MODE_LOG_ONLY",
	"unknown_default_open_api",
}

All allowed values of OWASPCoreRuleSet enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the STACKIT Application Load Balancer Web Application Firewall API API v1alpha.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 ApiCreateCoreRuleSetRequest

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

func (ApiCreateCoreRuleSetRequest) CreateCoreRuleSetPayload

func (r ApiCreateCoreRuleSetRequest) CreateCoreRuleSetPayload(createCoreRuleSetPayload CreateCoreRuleSetPayload) ApiCreateCoreRuleSetRequest

func (ApiCreateCoreRuleSetRequest) Execute

type ApiCreateRulesRequest

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

func (ApiCreateRulesRequest) CreateRulesPayload

func (r ApiCreateRulesRequest) CreateRulesPayload(createRulesPayload CreateRulesPayload) ApiCreateRulesRequest

func (ApiCreateRulesRequest) Execute

type ApiCreateWAFRequest

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

func (ApiCreateWAFRequest) CreateWAFPayload

func (r ApiCreateWAFRequest) CreateWAFPayload(createWAFPayload CreateWAFPayload) ApiCreateWAFRequest

func (ApiCreateWAFRequest) Execute

type ApiDeleteCoreRuleSetRequest

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

func (ApiDeleteCoreRuleSetRequest) Execute

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

type ApiDeleteRulesRequest

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

func (ApiDeleteRulesRequest) Execute

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

type ApiDeleteWAFRequest

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

func (ApiDeleteWAFRequest) Execute

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

type ApiGetCoreRuleSetRequest

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

func (ApiGetCoreRuleSetRequest) Execute

type ApiGetQuotaRequest added in v0.3.0

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

func (ApiGetQuotaRequest) Execute added in v0.3.0

func (r ApiGetQuotaRequest) Execute() (*GetQuotaResponse, error)

type ApiGetRulesRequest

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

func (ApiGetRulesRequest) Execute

func (r ApiGetRulesRequest) Execute() (*GetRulesResponse, error)

type ApiGetWAFRequest

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

func (ApiGetWAFRequest) Execute

func (r ApiGetWAFRequest) Execute() (*GetWAFResponse, error)

type ApiListCoreRuleSetsRequest

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

func (ApiListCoreRuleSetsRequest) Execute

func (ApiListCoreRuleSetsRequest) PageId

page_id is a page identifier returned by the previous response and is used to request the next page

func (ApiListCoreRuleSetsRequest) PageSize

page_size specifies how many rule configurations should be returned on this page. Must be a positive number <= 1000

type ApiListRulesRequest

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

func (ApiListRulesRequest) Execute

func (ApiListRulesRequest) PageId

page_id is a page identifier returned by the previous response and is used to request the next page

func (ApiListRulesRequest) PageSize

func (r ApiListRulesRequest) PageSize(pageSize string) ApiListRulesRequest

page_size specifies how many rule configurations should be returned on this page. Must be a positive number <= 1000

type ApiListWAFRequest

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

func (ApiListWAFRequest) Execute

func (r ApiListWAFRequest) Execute() (*ListWAFResponse, error)

func (ApiListWAFRequest) PageId

func (r ApiListWAFRequest) PageId(pageId string) ApiListWAFRequest

page_id is a page identifier returned by the previous response and is used to request the next page

func (ApiListWAFRequest) PageSize

func (r ApiListWAFRequest) PageSize(pageSize string) ApiListWAFRequest

page_size specifies how many WAFs should be returned on this page. Must be a positive number <= 1000

type ApiPatchCoreRuleSetRequest added in v0.6.0

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

func (ApiPatchCoreRuleSetRequest) Execute added in v0.6.0

func (ApiPatchCoreRuleSetRequest) PatchCoreRuleSetPayload added in v0.6.0

func (r ApiPatchCoreRuleSetRequest) PatchCoreRuleSetPayload(patchCoreRuleSetPayload PatchCoreRuleSetPayload) ApiPatchCoreRuleSetRequest

type ApiUpdateCoreRuleSetRequest

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

func (ApiUpdateCoreRuleSetRequest) Execute

func (ApiUpdateCoreRuleSetRequest) UpdateCoreRuleSetPayload

func (r ApiUpdateCoreRuleSetRequest) UpdateCoreRuleSetPayload(updateCoreRuleSetPayload UpdateCoreRuleSetPayload) ApiUpdateCoreRuleSetRequest

type ApiUpdateRulesRequest

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

func (ApiUpdateRulesRequest) Execute

func (ApiUpdateRulesRequest) UpdateRulesPayload

func (r ApiUpdateRulesRequest) UpdateRulesPayload(updateRulesPayload UpdateRulesPayload) ApiUpdateRulesRequest

type ApiUpdateWAFRequest

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

func (ApiUpdateWAFRequest) Execute

func (ApiUpdateWAFRequest) UpdateWAFPayload

func (r ApiUpdateWAFRequest) UpdateWAFPayload(updateWAFPayload UpdateWAFPayload) ApiUpdateWAFRequest

type CRSConfigQuota added in v0.3.0

type CRSConfigQuota struct {
	// The maximum number of Core Rule Set configurations in this project.
	Limit *int32 `json:"limit,omitempty"`
	// The number of Core Rule Set configurations that are currently existing in this project.
	Usage                *int32 `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}
}

CRSConfigQuota CRS Config quota holds the limit and usage for Core Rule Set configuration resources

func NewCRSConfigQuota added in v0.3.0

func NewCRSConfigQuota() *CRSConfigQuota

NewCRSConfigQuota instantiates a new CRSConfigQuota 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 NewCRSConfigQuotaWithDefaults added in v0.3.0

func NewCRSConfigQuotaWithDefaults() *CRSConfigQuota

NewCRSConfigQuotaWithDefaults instantiates a new CRSConfigQuota 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 (*CRSConfigQuota) GetLimit added in v0.3.0

func (o *CRSConfigQuota) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*CRSConfigQuota) GetLimitOk added in v0.3.0

func (o *CRSConfigQuota) GetLimitOk() (*int32, bool)

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

func (*CRSConfigQuota) GetUsage added in v0.3.0

func (o *CRSConfigQuota) GetUsage() int32

GetUsage returns the Usage field value if set, zero value otherwise.

func (*CRSConfigQuota) GetUsageOk added in v0.3.0

func (o *CRSConfigQuota) GetUsageOk() (*int32, bool)

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

func (*CRSConfigQuota) HasLimit added in v0.3.0

func (o *CRSConfigQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*CRSConfigQuota) HasUsage added in v0.3.0

func (o *CRSConfigQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (CRSConfigQuota) MarshalJSON added in v0.3.0

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

func (*CRSConfigQuota) SetLimit added in v0.3.0

func (o *CRSConfigQuota) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*CRSConfigQuota) SetUsage added in v0.3.0

func (o *CRSConfigQuota) SetUsage(v int32)

SetUsage gets a reference to the given int32 and assigns it to the Usage field.

func (CRSConfigQuota) ToMap added in v0.3.0

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

func (*CRSConfigQuota) UnmarshalJSON added in v0.3.0

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

type CRSRule added in v0.5.0

type CRSRule struct {
	// SQL Injection Attack Detected via libinjection
	Description *string           `json:"description,omitempty"`
	Mode        *OWASPCoreRuleSet `json:"mode,omitempty"`
	// Impact level.
	Severity             *string `json:"severity,omitempty" validate:"regexp=^(CRITICAL|ERROR|WARNING|INFO)$"`
	AdditionalProperties map[string]interface{}
}

CRSRule Rule represents an individual security or validation rule.

func NewCRSRule added in v0.5.0

func NewCRSRule() *CRSRule

NewCRSRule instantiates a new CRSRule 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 NewCRSRuleWithDefaults added in v0.5.0

func NewCRSRuleWithDefaults() *CRSRule

NewCRSRuleWithDefaults instantiates a new CRSRule 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 (*CRSRule) GetDescription added in v0.5.0

func (o *CRSRule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CRSRule) GetDescriptionOk added in v0.5.0

func (o *CRSRule) GetDescriptionOk() (*string, bool)

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

func (*CRSRule) GetMode added in v0.6.0

func (o *CRSRule) GetMode() OWASPCoreRuleSet

GetMode returns the Mode field value if set, zero value otherwise.

func (*CRSRule) GetModeOk added in v0.6.0

func (o *CRSRule) GetModeOk() (*OWASPCoreRuleSet, 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 (*CRSRule) GetSeverity added in v0.5.0

func (o *CRSRule) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*CRSRule) GetSeverityOk added in v0.5.0

func (o *CRSRule) GetSeverityOk() (*string, bool)

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

func (*CRSRule) HasDescription added in v0.5.0

func (o *CRSRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CRSRule) HasMode added in v0.6.0

func (o *CRSRule) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*CRSRule) HasSeverity added in v0.5.0

func (o *CRSRule) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (CRSRule) MarshalJSON added in v0.5.0

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

func (*CRSRule) SetDescription added in v0.5.0

func (o *CRSRule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CRSRule) SetMode added in v0.6.0

func (o *CRSRule) SetMode(v OWASPCoreRuleSet)

SetMode gets a reference to the given OWASPCoreRuleSet and assigns it to the Mode field.

func (*CRSRule) SetSeverity added in v0.5.0

func (o *CRSRule) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (CRSRule) ToMap added in v0.5.0

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

func (*CRSRule) UnmarshalJSON added in v0.5.0

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

type CRSRuleGroup added in v0.5.0

type CRSRuleGroup struct {
	// A description of what this group covers.
	Description *string `json:"description,omitempty"`
	// The name for the rule group.
	GroupName            *string             `json:"groupName,omitempty" validate:"regexp=^[a-zA-Z\\\\(\\\\) ]+$"`
	Rules                *map[string]CRSRule `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

CRSRuleGroup RuleGroup represents a collection of rules associated with a specific group.

func NewCRSRuleGroup added in v0.5.0

func NewCRSRuleGroup() *CRSRuleGroup

NewCRSRuleGroup instantiates a new CRSRuleGroup 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 NewCRSRuleGroupWithDefaults added in v0.5.0

func NewCRSRuleGroupWithDefaults() *CRSRuleGroup

NewCRSRuleGroupWithDefaults instantiates a new CRSRuleGroup 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 (*CRSRuleGroup) GetDescription added in v0.5.0

func (o *CRSRuleGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CRSRuleGroup) GetDescriptionOk added in v0.5.0

func (o *CRSRuleGroup) GetDescriptionOk() (*string, bool)

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

func (*CRSRuleGroup) GetGroupName added in v0.5.0

func (o *CRSRuleGroup) GetGroupName() string

GetGroupName returns the GroupName field value if set, zero value otherwise.

func (*CRSRuleGroup) GetGroupNameOk added in v0.5.0

func (o *CRSRuleGroup) GetGroupNameOk() (*string, bool)

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

func (*CRSRuleGroup) GetRules added in v0.5.0

func (o *CRSRuleGroup) GetRules() map[string]CRSRule

GetRules returns the Rules field value if set, zero value otherwise.

func (*CRSRuleGroup) GetRulesOk added in v0.5.0

func (o *CRSRuleGroup) GetRulesOk() (*map[string]CRSRule, bool)

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

func (*CRSRuleGroup) HasDescription added in v0.5.0

func (o *CRSRuleGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CRSRuleGroup) HasGroupName added in v0.5.0

func (o *CRSRuleGroup) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*CRSRuleGroup) HasRules added in v0.5.0

func (o *CRSRuleGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (CRSRuleGroup) MarshalJSON added in v0.5.0

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

func (*CRSRuleGroup) SetDescription added in v0.5.0

func (o *CRSRuleGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CRSRuleGroup) SetGroupName added in v0.5.0

func (o *CRSRuleGroup) SetGroupName(v string)

SetGroupName gets a reference to the given string and assigns it to the GroupName field.

func (*CRSRuleGroup) SetRules added in v0.5.0

func (o *CRSRuleGroup) SetRules(v map[string]CRSRule)

SetRules gets a reference to the given map[string]CRSRule and assigns it to the Rules field.

func (CRSRuleGroup) ToMap added in v0.5.0

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

func (*CRSRuleGroup) UnmarshalJSON added in v0.5.0

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

type CreateCoreRuleSetPayload

type CreateCoreRuleSetPayload struct {
	// To activate the OWASP core rule set, set this boolean to true.
	Active *bool `json:"active,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

CreateCoreRuleSetPayload CreateCoreRuleSetRequest creates a rule configuration.

func NewCreateCoreRuleSetPayload

func NewCreateCoreRuleSetPayload() *CreateCoreRuleSetPayload

NewCreateCoreRuleSetPayload instantiates a new CreateCoreRuleSetPayload 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 NewCreateCoreRuleSetPayloadWithDefaults

func NewCreateCoreRuleSetPayloadWithDefaults() *CreateCoreRuleSetPayload

NewCreateCoreRuleSetPayloadWithDefaults instantiates a new CreateCoreRuleSetPayload 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 (*CreateCoreRuleSetPayload) GetActive

func (o *CreateCoreRuleSetPayload) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*CreateCoreRuleSetPayload) GetActiveOk

func (o *CreateCoreRuleSetPayload) GetActiveOk() (*bool, bool)

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

func (*CreateCoreRuleSetPayload) GetName

func (o *CreateCoreRuleSetPayload) GetName() string

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

func (*CreateCoreRuleSetPayload) GetNameOk

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

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

func (*CreateCoreRuleSetPayload) GetProjectId

func (o *CreateCoreRuleSetPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*CreateCoreRuleSetPayload) GetProjectIdOk

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

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

func (*CreateCoreRuleSetPayload) GetRegion

func (o *CreateCoreRuleSetPayload) GetRegion() string

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

func (*CreateCoreRuleSetPayload) GetRegionOk

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

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

func (*CreateCoreRuleSetPayload) HasActive

func (o *CreateCoreRuleSetPayload) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*CreateCoreRuleSetPayload) HasName

func (o *CreateCoreRuleSetPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateCoreRuleSetPayload) HasProjectId

func (o *CreateCoreRuleSetPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateCoreRuleSetPayload) HasRegion

func (o *CreateCoreRuleSetPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CreateCoreRuleSetPayload) MarshalJSON

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

func (*CreateCoreRuleSetPayload) SetActive

func (o *CreateCoreRuleSetPayload) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*CreateCoreRuleSetPayload) SetName

func (o *CreateCoreRuleSetPayload) SetName(v string)

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

func (*CreateCoreRuleSetPayload) SetProjectId

func (o *CreateCoreRuleSetPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*CreateCoreRuleSetPayload) SetRegion

func (o *CreateCoreRuleSetPayload) SetRegion(v string)

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

func (CreateCoreRuleSetPayload) ToMap

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

func (*CreateCoreRuleSetPayload) UnmarshalJSON added in v0.2.0

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

type CreateRulesPayload

type CreateRulesPayload struct {
	// Rule configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Custom rules for WAF written in Seclang syntax.
	Rules                *string `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateRulesPayload CreateRulesRequest creates a rule configuration.

func NewCreateRulesPayload

func NewCreateRulesPayload() *CreateRulesPayload

NewCreateRulesPayload instantiates a new CreateRulesPayload 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 NewCreateRulesPayloadWithDefaults

func NewCreateRulesPayloadWithDefaults() *CreateRulesPayload

NewCreateRulesPayloadWithDefaults instantiates a new CreateRulesPayload 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 (*CreateRulesPayload) GetName

func (o *CreateRulesPayload) GetName() string

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

func (*CreateRulesPayload) GetNameOk

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

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

func (*CreateRulesPayload) GetProjectId

func (o *CreateRulesPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*CreateRulesPayload) GetProjectIdOk

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

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

func (*CreateRulesPayload) GetRegion

func (o *CreateRulesPayload) GetRegion() string

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

func (*CreateRulesPayload) GetRegionOk

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

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

func (*CreateRulesPayload) GetRules

func (o *CreateRulesPayload) GetRules() string

GetRules returns the Rules field value if set, zero value otherwise.

func (*CreateRulesPayload) GetRulesOk

func (o *CreateRulesPayload) GetRulesOk() (*string, bool)

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

func (*CreateRulesPayload) HasName

func (o *CreateRulesPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateRulesPayload) HasProjectId

func (o *CreateRulesPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateRulesPayload) HasRegion

func (o *CreateRulesPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateRulesPayload) HasRules

func (o *CreateRulesPayload) HasRules() bool

HasRules returns a boolean if a field has been set.

func (CreateRulesPayload) MarshalJSON

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

func (*CreateRulesPayload) SetName

func (o *CreateRulesPayload) SetName(v string)

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

func (*CreateRulesPayload) SetProjectId

func (o *CreateRulesPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*CreateRulesPayload) SetRegion

func (o *CreateRulesPayload) SetRegion(v string)

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

func (*CreateRulesPayload) SetRules

func (o *CreateRulesPayload) SetRules(v string)

SetRules gets a reference to the given string and assigns it to the Rules field.

func (CreateRulesPayload) ToMap

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

func (*CreateRulesPayload) UnmarshalJSON added in v0.2.0

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

type CreateRulesResponse

type CreateRulesResponse struct {
	// Rule configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Custom rules written in Seclang syntax.
	Rules                *string `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateRulesResponse CreateRulesResponse returns rule configuration name and it's rules.

func NewCreateRulesResponse

func NewCreateRulesResponse() *CreateRulesResponse

NewCreateRulesResponse instantiates a new CreateRulesResponse 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 NewCreateRulesResponseWithDefaults

func NewCreateRulesResponseWithDefaults() *CreateRulesResponse

NewCreateRulesResponseWithDefaults instantiates a new CreateRulesResponse 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 (*CreateRulesResponse) GetName

func (o *CreateRulesResponse) GetName() string

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

func (*CreateRulesResponse) GetNameOk

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

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

func (*CreateRulesResponse) GetRegion

func (o *CreateRulesResponse) GetRegion() string

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

func (*CreateRulesResponse) GetRegionOk

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

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

func (*CreateRulesResponse) GetRules

func (o *CreateRulesResponse) GetRules() string

GetRules returns the Rules field value if set, zero value otherwise.

func (*CreateRulesResponse) GetRulesOk

func (o *CreateRulesResponse) GetRulesOk() (*string, bool)

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

func (*CreateRulesResponse) HasName

func (o *CreateRulesResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateRulesResponse) HasRegion

func (o *CreateRulesResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateRulesResponse) HasRules

func (o *CreateRulesResponse) HasRules() bool

HasRules returns a boolean if a field has been set.

func (CreateRulesResponse) MarshalJSON

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

func (*CreateRulesResponse) SetName

func (o *CreateRulesResponse) SetName(v string)

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

func (*CreateRulesResponse) SetRegion

func (o *CreateRulesResponse) SetRegion(v string)

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

func (*CreateRulesResponse) SetRules

func (o *CreateRulesResponse) SetRules(v string)

SetRules gets a reference to the given string and assigns it to the Rules field.

func (CreateRulesResponse) ToMap

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

func (*CreateRulesResponse) UnmarshalJSON added in v0.2.0

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

type CreateWAFPayload

type CreateWAFPayload struct {
	// Name of the core rule set configuration for that WAF.
	CoreRuleSetName *string `json:"coreRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF.  **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them.  **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
	Labels *map[string]string `json:"labels,omitempty"`
	// WAF name
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Name of the rule configuration for that WAF.
	RulesConfigName      *string `json:"rulesConfigName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

CreateWAFPayload CreateWAFRequest creates a WAF with rules.

func NewCreateWAFPayload

func NewCreateWAFPayload() *CreateWAFPayload

NewCreateWAFPayload instantiates a new CreateWAFPayload 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 NewCreateWAFPayloadWithDefaults

func NewCreateWAFPayloadWithDefaults() *CreateWAFPayload

NewCreateWAFPayloadWithDefaults instantiates a new CreateWAFPayload 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 (*CreateWAFPayload) GetCoreRuleSetName

func (o *CreateWAFPayload) GetCoreRuleSetName() string

GetCoreRuleSetName returns the CoreRuleSetName field value if set, zero value otherwise.

func (*CreateWAFPayload) GetCoreRuleSetNameOk

func (o *CreateWAFPayload) GetCoreRuleSetNameOk() (*string, bool)

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

func (*CreateWAFPayload) GetLabels added in v0.8.0

func (o *CreateWAFPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateWAFPayload) GetLabelsOk added in v0.8.0

func (o *CreateWAFPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateWAFPayload) GetName

func (o *CreateWAFPayload) GetName() string

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

func (*CreateWAFPayload) GetNameOk

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

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

func (*CreateWAFPayload) GetProjectId

func (o *CreateWAFPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*CreateWAFPayload) GetProjectIdOk

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

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

func (*CreateWAFPayload) GetRegion

func (o *CreateWAFPayload) GetRegion() string

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

func (*CreateWAFPayload) GetRegionOk

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

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

func (*CreateWAFPayload) GetRulesConfigName

func (o *CreateWAFPayload) GetRulesConfigName() string

GetRulesConfigName returns the RulesConfigName field value if set, zero value otherwise.

func (*CreateWAFPayload) GetRulesConfigNameOk

func (o *CreateWAFPayload) GetRulesConfigNameOk() (*string, bool)

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

func (*CreateWAFPayload) HasCoreRuleSetName

func (o *CreateWAFPayload) HasCoreRuleSetName() bool

HasCoreRuleSetName returns a boolean if a field has been set.

func (*CreateWAFPayload) HasLabels added in v0.8.0

func (o *CreateWAFPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateWAFPayload) HasName

func (o *CreateWAFPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWAFPayload) HasProjectId

func (o *CreateWAFPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateWAFPayload) HasRegion

func (o *CreateWAFPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateWAFPayload) HasRulesConfigName

func (o *CreateWAFPayload) HasRulesConfigName() bool

HasRulesConfigName returns a boolean if a field has been set.

func (CreateWAFPayload) MarshalJSON

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

func (*CreateWAFPayload) SetCoreRuleSetName

func (o *CreateWAFPayload) SetCoreRuleSetName(v string)

SetCoreRuleSetName gets a reference to the given string and assigns it to the CoreRuleSetName field.

func (*CreateWAFPayload) SetLabels added in v0.8.0

func (o *CreateWAFPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateWAFPayload) SetName

func (o *CreateWAFPayload) SetName(v string)

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

func (*CreateWAFPayload) SetProjectId

func (o *CreateWAFPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*CreateWAFPayload) SetRegion

func (o *CreateWAFPayload) SetRegion(v string)

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

func (*CreateWAFPayload) SetRulesConfigName

func (o *CreateWAFPayload) SetRulesConfigName(v string)

SetRulesConfigName gets a reference to the given string and assigns it to the RulesConfigName field.

func (CreateWAFPayload) ToMap

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

func (*CreateWAFPayload) UnmarshalJSON added in v0.2.0

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

type CreateWAFResponse

type CreateWAFResponse struct {
	// Name of the core rule set configuration for that WAF.
	CoreRuleSetName *string `json:"coreRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF.  **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them.  **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
	Labels *map[string]string `json:"labels,omitempty"`
	// WAF name
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Name of the rule configuration for that WAF.
	RulesConfigName      *string `json:"rulesConfigName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

CreateWAFResponse CreateWAFResponse returns name and custom rules.

func NewCreateWAFResponse

func NewCreateWAFResponse() *CreateWAFResponse

NewCreateWAFResponse instantiates a new CreateWAFResponse 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 NewCreateWAFResponseWithDefaults

func NewCreateWAFResponseWithDefaults() *CreateWAFResponse

NewCreateWAFResponseWithDefaults instantiates a new CreateWAFResponse 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 (*CreateWAFResponse) GetCoreRuleSetName

func (o *CreateWAFResponse) GetCoreRuleSetName() string

GetCoreRuleSetName returns the CoreRuleSetName field value if set, zero value otherwise.

func (*CreateWAFResponse) GetCoreRuleSetNameOk

func (o *CreateWAFResponse) GetCoreRuleSetNameOk() (*string, bool)

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

func (*CreateWAFResponse) GetLabels added in v0.8.0

func (o *CreateWAFResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateWAFResponse) GetLabelsOk added in v0.8.0

func (o *CreateWAFResponse) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateWAFResponse) GetName

func (o *CreateWAFResponse) GetName() string

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

func (*CreateWAFResponse) GetNameOk

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

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

func (*CreateWAFResponse) GetRegion

func (o *CreateWAFResponse) GetRegion() string

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

func (*CreateWAFResponse) GetRegionOk

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

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

func (*CreateWAFResponse) GetRulesConfigName

func (o *CreateWAFResponse) GetRulesConfigName() string

GetRulesConfigName returns the RulesConfigName field value if set, zero value otherwise.

func (*CreateWAFResponse) GetRulesConfigNameOk

func (o *CreateWAFResponse) GetRulesConfigNameOk() (*string, bool)

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

func (*CreateWAFResponse) HasCoreRuleSetName

func (o *CreateWAFResponse) HasCoreRuleSetName() bool

HasCoreRuleSetName returns a boolean if a field has been set.

func (*CreateWAFResponse) HasLabels added in v0.8.0

func (o *CreateWAFResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateWAFResponse) HasName

func (o *CreateWAFResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWAFResponse) HasRegion

func (o *CreateWAFResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateWAFResponse) HasRulesConfigName

func (o *CreateWAFResponse) HasRulesConfigName() bool

HasRulesConfigName returns a boolean if a field has been set.

func (CreateWAFResponse) MarshalJSON

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

func (*CreateWAFResponse) SetCoreRuleSetName

func (o *CreateWAFResponse) SetCoreRuleSetName(v string)

SetCoreRuleSetName gets a reference to the given string and assigns it to the CoreRuleSetName field.

func (*CreateWAFResponse) SetLabels added in v0.8.0

func (o *CreateWAFResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateWAFResponse) SetName

func (o *CreateWAFResponse) SetName(v string)

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

func (*CreateWAFResponse) SetRegion

func (o *CreateWAFResponse) SetRegion(v string)

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

func (*CreateWAFResponse) SetRulesConfigName

func (o *CreateWAFResponse) SetRulesConfigName(v string)

SetRulesConfigName gets a reference to the given string and assigns it to the RulesConfigName field.

func (CreateWAFResponse) ToMap

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

func (*CreateWAFResponse) UnmarshalJSON added in v0.2.0

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

type CustomRulesQuota added in v0.3.0

type CustomRulesQuota struct {
	// The maximum number of custom rules in this project.
	Limit *int32 `json:"limit,omitempty"`
	// The number of custom rules that currently existing in this project.
	Usage                *int32 `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomRulesQuota Custom rules quotas holds the limit and usage for custom rules resources

func NewCustomRulesQuota added in v0.3.0

func NewCustomRulesQuota() *CustomRulesQuota

NewCustomRulesQuota instantiates a new CustomRulesQuota 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 NewCustomRulesQuotaWithDefaults added in v0.3.0

func NewCustomRulesQuotaWithDefaults() *CustomRulesQuota

NewCustomRulesQuotaWithDefaults instantiates a new CustomRulesQuota 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 (*CustomRulesQuota) GetLimit added in v0.3.0

func (o *CustomRulesQuota) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*CustomRulesQuota) GetLimitOk added in v0.3.0

func (o *CustomRulesQuota) GetLimitOk() (*int32, bool)

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

func (*CustomRulesQuota) GetUsage added in v0.3.0

func (o *CustomRulesQuota) GetUsage() int32

GetUsage returns the Usage field value if set, zero value otherwise.

func (*CustomRulesQuota) GetUsageOk added in v0.3.0

func (o *CustomRulesQuota) GetUsageOk() (*int32, bool)

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

func (*CustomRulesQuota) HasLimit added in v0.3.0

func (o *CustomRulesQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*CustomRulesQuota) HasUsage added in v0.3.0

func (o *CustomRulesQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (CustomRulesQuota) MarshalJSON added in v0.3.0

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

func (*CustomRulesQuota) SetLimit added in v0.3.0

func (o *CustomRulesQuota) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*CustomRulesQuota) SetUsage added in v0.3.0

func (o *CustomRulesQuota) SetUsage(v int32)

SetUsage gets a reference to the given int32 and assigns it to the Usage field.

func (CustomRulesQuota) ToMap added in v0.3.0

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

func (*CustomRulesQuota) UnmarshalJSON added in v0.3.0

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateCoreRuleSet Create a CRS configuration

		With this endpoint a core rule set (CRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiCreateCoreRuleSetRequest
	*/
	CreateCoreRuleSet(ctx context.Context, projectId string, region string) ApiCreateCoreRuleSetRequest

	// CreateCoreRuleSetExecute executes the request
	//  @return GetCoreRuleSetResponse
	CreateCoreRuleSetExecute(r ApiCreateCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)

	/*
		CreateRules Create a rule configuration

		With this endpoint a rule configuration is created and stored in this project. The rules are written in Seclang. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project. There is a limit of 1 MB of data on these rules.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiCreateRulesRequest
	*/
	CreateRules(ctx context.Context, projectId string, region string) ApiCreateRulesRequest

	// CreateRulesExecute executes the request
	//  @return CreateRulesResponse
	CreateRulesExecute(r ApiCreateRulesRequest) (*CreateRulesResponse, error)

	/*
		CreateWAF Create a WAF configuration

		This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the core rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiCreateWAFRequest
	*/
	CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest

	// CreateWAFExecute executes the request
	//  @return CreateWAFResponse
	CreateWAFExecute(r ApiCreateWAFRequest) (*CreateWAFResponse, error)

	/*
		DeleteCoreRuleSet Delete a CRS configuration

		To delete a core rule set (CRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiDeleteCoreRuleSetRequest
	*/
	DeleteCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteCoreRuleSetRequest

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

	/*
		DeleteRules Delete a rule configuration

		To delete a rule configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiDeleteRulesRequest
	*/
	DeleteRules(ctx context.Context, projectId string, region string, name string) ApiDeleteRulesRequest

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

	/*
		DeleteWAF Delete a WAF configuration

		This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiDeleteWAFRequest
	*/
	DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest

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

	/*
		GetCoreRuleSet Retrieve a CRS configuration

		To retrieve an existing core rule set (CRS) configuration this endpoint can be used.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiGetCoreRuleSetRequest
	*/
	GetCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetCoreRuleSetRequest

	// GetCoreRuleSetExecute executes the request
	//  @return GetCoreRuleSetResponse
	GetCoreRuleSetExecute(r ApiGetCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)

	/*
		GetQuota Get the quota for WAF resources in a project.

		Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiGetQuotaRequest
	*/
	GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest

	// GetQuotaExecute executes the request
	//  @return GetQuotaResponse
	GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)

	/*
		GetRules Retrieve a rule configuration

		To retrieve an existing rule configuration this endpoint can be used.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiGetRulesRequest
	*/
	GetRules(ctx context.Context, projectId string, region string, name string) ApiGetRulesRequest

	// GetRulesExecute executes the request
	//  @return GetRulesResponse
	GetRulesExecute(r ApiGetRulesRequest) (*GetRulesResponse, error)

	/*
		GetWAF Retrieve a WAF configuration

		This endpoint will return the specified WAF configuration.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiGetWAFRequest
	*/
	GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest

	// GetWAFExecute executes the request
	//  @return GetWAFResponse
	GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)

	/*
		ListCoreRuleSets List of CRS configurations

		List all existing core rule set (CRS) configurations that are stored in the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiListCoreRuleSetsRequest
	*/
	ListCoreRuleSets(ctx context.Context, projectId string, region string) ApiListCoreRuleSetsRequest

	// ListCoreRuleSetsExecute executes the request
	//  @return ListCoreRuleSetResponse
	ListCoreRuleSetsExecute(r ApiListCoreRuleSetsRequest) (*ListCoreRuleSetResponse, error)

	/*
		ListRules List of rule configurations

		List all existing rule configurations that are stored in the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiListRulesRequest
	*/
	ListRules(ctx context.Context, projectId string, region string) ApiListRulesRequest

	// ListRulesExecute executes the request
	//  @return ListRulesResponse
	ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)

	/*
		ListWAF List of WAF configurations

		To list all WAF configurations stored in a project, use this endpoint.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiListWAFRequest
	*/
	ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest

	// ListWAFExecute executes the request
	//  @return ListWAFResponse
	ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)

	/*
		PatchCoreRuleSet Granularly update a CRS configuration

		Accepts the same structure as the GET response. Only fields provided with values will be updated.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiPatchCoreRuleSetRequest
	*/
	PatchCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchCoreRuleSetRequest

	// PatchCoreRuleSetExecute executes the request
	//  @return GetCoreRuleSetResponse
	PatchCoreRuleSetExecute(r ApiPatchCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)

	/*
		UpdateCoreRuleSet Update a CRS configuration

		DEPRECATED: Use PatchCoreRuleSet

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiUpdateCoreRuleSetRequest
	*/
	UpdateCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiUpdateCoreRuleSetRequest

	// UpdateCoreRuleSetExecute executes the request
	//  @return UpdateCoreRuleSetResponse
	UpdateCoreRuleSetExecute(r ApiUpdateCoreRuleSetRequest) (*UpdateCoreRuleSetResponse, error)

	/*
		UpdateRules Update a rule configuration

		This endpoint will update an existing rules configuration and also inturn update all WAF configurations that reference it. There is a limit of 1 MB of data on these rules.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiUpdateRulesRequest
	*/
	UpdateRules(ctx context.Context, projectId string, region string, name string) ApiUpdateRulesRequest

	// UpdateRulesExecute executes the request
	//  @return UpdateRulesResponse
	UpdateRulesExecute(r ApiUpdateRulesRequest) (*UpdateRulesResponse, error)

	/*
		UpdateWAF Update a WAF configuration

		The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param name
		@return ApiUpdateWAFRequest
	*/
	UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest

	// UpdateWAFExecute executes the request
	//  @return UpdateWAFResponse
	UpdateWAFExecute(r ApiUpdateWAFRequest) (*UpdateWAFResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateCoreRuleSet

func (a *DefaultAPIService) CreateCoreRuleSet(ctx context.Context, projectId string, region string) ApiCreateCoreRuleSetRequest

CreateCoreRuleSet Create a CRS configuration

With this endpoint a core rule set (CRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateCoreRuleSetRequest

func (*DefaultAPIService) CreateCoreRuleSetExecute

Execute executes the request

@return GetCoreRuleSetResponse

func (*DefaultAPIService) CreateRules

func (a *DefaultAPIService) CreateRules(ctx context.Context, projectId string, region string) ApiCreateRulesRequest

CreateRules Create a rule configuration

With this endpoint a rule configuration is created and stored in this project. The rules are written in Seclang. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project. There is a limit of 1 MB of data on these rules.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateRulesRequest

func (*DefaultAPIService) CreateRulesExecute

Execute executes the request

@return CreateRulesResponse

func (*DefaultAPIService) CreateWAF

func (a *DefaultAPIService) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest

CreateWAF Create a WAF configuration

This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the core rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateWAFRequest

func (*DefaultAPIService) CreateWAFExecute

func (a *DefaultAPIService) CreateWAFExecute(r ApiCreateWAFRequest) (*CreateWAFResponse, error)

Execute executes the request

@return CreateWAFResponse

func (*DefaultAPIService) DeleteCoreRuleSet

func (a *DefaultAPIService) DeleteCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteCoreRuleSetRequest

DeleteCoreRuleSet Delete a CRS configuration

To delete a core rule set (CRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteCoreRuleSetRequest

func (*DefaultAPIService) DeleteCoreRuleSetExecute

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

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) DeleteRules

func (a *DefaultAPIService) DeleteRules(ctx context.Context, projectId string, region string, name string) ApiDeleteRulesRequest

DeleteRules Delete a rule configuration

To delete a rule configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteRulesRequest

func (*DefaultAPIService) DeleteRulesExecute

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

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) DeleteWAF

func (a *DefaultAPIService) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest

DeleteWAF Delete a WAF configuration

This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteWAFRequest

func (*DefaultAPIService) DeleteWAFExecute

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

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) GetCoreRuleSet

func (a *DefaultAPIService) GetCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetCoreRuleSetRequest

GetCoreRuleSet Retrieve a CRS configuration

To retrieve an existing core rule set (CRS) configuration this endpoint can be used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetCoreRuleSetRequest

func (*DefaultAPIService) GetCoreRuleSetExecute

Execute executes the request

@return GetCoreRuleSetResponse

func (*DefaultAPIService) GetQuota added in v0.3.0

func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest

GetQuota Get the quota for WAF resources in a project.

Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiGetQuotaRequest

func (*DefaultAPIService) GetQuotaExecute added in v0.3.0

func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)

Execute executes the request

@return GetQuotaResponse

func (*DefaultAPIService) GetRules

func (a *DefaultAPIService) GetRules(ctx context.Context, projectId string, region string, name string) ApiGetRulesRequest

GetRules Retrieve a rule configuration

To retrieve an existing rule configuration this endpoint can be used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetRulesRequest

func (*DefaultAPIService) GetRulesExecute

func (a *DefaultAPIService) GetRulesExecute(r ApiGetRulesRequest) (*GetRulesResponse, error)

Execute executes the request

@return GetRulesResponse

func (*DefaultAPIService) GetWAF

func (a *DefaultAPIService) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest

GetWAF Retrieve a WAF configuration

This endpoint will return the specified WAF configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetWAFRequest

func (*DefaultAPIService) GetWAFExecute

func (a *DefaultAPIService) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)

Execute executes the request

@return GetWAFResponse

func (*DefaultAPIService) ListCoreRuleSets

func (a *DefaultAPIService) ListCoreRuleSets(ctx context.Context, projectId string, region string) ApiListCoreRuleSetsRequest

ListCoreRuleSets List of CRS configurations

List all existing core rule set (CRS) configurations that are stored in the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListCoreRuleSetsRequest

func (*DefaultAPIService) ListCoreRuleSetsExecute

Execute executes the request

@return ListCoreRuleSetResponse

func (*DefaultAPIService) ListRules

func (a *DefaultAPIService) ListRules(ctx context.Context, projectId string, region string) ApiListRulesRequest

ListRules List of rule configurations

List all existing rule configurations that are stored in the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListRulesRequest

func (*DefaultAPIService) ListRulesExecute

func (a *DefaultAPIService) ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)

Execute executes the request

@return ListRulesResponse

func (*DefaultAPIService) ListWAF

func (a *DefaultAPIService) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest

ListWAF List of WAF configurations

To list all WAF configurations stored in a project, use this endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListWAFRequest

func (*DefaultAPIService) ListWAFExecute

func (a *DefaultAPIService) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)

Execute executes the request

@return ListWAFResponse

func (*DefaultAPIService) PatchCoreRuleSet added in v0.6.0

func (a *DefaultAPIService) PatchCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchCoreRuleSetRequest

PatchCoreRuleSet Granularly update a CRS configuration

Accepts the same structure as the GET response. Only fields provided with values will be updated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiPatchCoreRuleSetRequest

func (*DefaultAPIService) PatchCoreRuleSetExecute added in v0.6.0

Execute executes the request

@return GetCoreRuleSetResponse

func (*DefaultAPIService) UpdateCoreRuleSet

func (a *DefaultAPIService) UpdateCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiUpdateCoreRuleSetRequest

UpdateCoreRuleSet Update a CRS configuration

DEPRECATED: Use PatchCoreRuleSet

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateCoreRuleSetRequest

func (*DefaultAPIService) UpdateCoreRuleSetExecute

Execute executes the request

@return UpdateCoreRuleSetResponse

func (*DefaultAPIService) UpdateRules

func (a *DefaultAPIService) UpdateRules(ctx context.Context, projectId string, region string, name string) ApiUpdateRulesRequest

UpdateRules Update a rule configuration

This endpoint will update an existing rules configuration and also inturn update all WAF configurations that reference it. There is a limit of 1 MB of data on these rules.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateRulesRequest

func (*DefaultAPIService) UpdateRulesExecute

Execute executes the request

@return UpdateRulesResponse

func (*DefaultAPIService) UpdateWAF

func (a *DefaultAPIService) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest

UpdateWAF Update a WAF configuration

The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateWAFRequest

func (*DefaultAPIService) UpdateWAFExecute

func (a *DefaultAPIService) UpdateWAFExecute(r ApiUpdateWAFRequest) (*UpdateWAFResponse, error)

Execute executes the request

@return UpdateWAFResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateCoreRuleSetExecuteMock can be populated to implement the behavior of the CreateCoreRuleSetExecute function of this mock
	CreateCoreRuleSetExecuteMock *func(r ApiCreateCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)
	// CreateRulesExecuteMock can be populated to implement the behavior of the CreateRulesExecute function of this mock
	CreateRulesExecuteMock *func(r ApiCreateRulesRequest) (*CreateRulesResponse, error)
	// CreateWAFExecuteMock can be populated to implement the behavior of the CreateWAFExecute function of this mock
	CreateWAFExecuteMock *func(r ApiCreateWAFRequest) (*CreateWAFResponse, error)
	// DeleteCoreRuleSetExecuteMock can be populated to implement the behavior of the DeleteCoreRuleSetExecute function of this mock
	DeleteCoreRuleSetExecuteMock *func(r ApiDeleteCoreRuleSetRequest) (map[string]interface{}, error)
	// DeleteRulesExecuteMock can be populated to implement the behavior of the DeleteRulesExecute function of this mock
	DeleteRulesExecuteMock *func(r ApiDeleteRulesRequest) (map[string]interface{}, error)
	// DeleteWAFExecuteMock can be populated to implement the behavior of the DeleteWAFExecute function of this mock
	DeleteWAFExecuteMock *func(r ApiDeleteWAFRequest) (map[string]interface{}, error)
	// GetCoreRuleSetExecuteMock can be populated to implement the behavior of the GetCoreRuleSetExecute function of this mock
	GetCoreRuleSetExecuteMock *func(r ApiGetCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)
	// GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
	GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
	// GetRulesExecuteMock can be populated to implement the behavior of the GetRulesExecute function of this mock
	GetRulesExecuteMock *func(r ApiGetRulesRequest) (*GetRulesResponse, error)
	// GetWAFExecuteMock can be populated to implement the behavior of the GetWAFExecute function of this mock
	GetWAFExecuteMock *func(r ApiGetWAFRequest) (*GetWAFResponse, error)
	// ListCoreRuleSetsExecuteMock can be populated to implement the behavior of the ListCoreRuleSetsExecute function of this mock
	ListCoreRuleSetsExecuteMock *func(r ApiListCoreRuleSetsRequest) (*ListCoreRuleSetResponse, error)
	// ListRulesExecuteMock can be populated to implement the behavior of the ListRulesExecute function of this mock
	ListRulesExecuteMock *func(r ApiListRulesRequest) (*ListRulesResponse, error)
	// ListWAFExecuteMock can be populated to implement the behavior of the ListWAFExecute function of this mock
	ListWAFExecuteMock *func(r ApiListWAFRequest) (*ListWAFResponse, error)
	// PatchCoreRuleSetExecuteMock can be populated to implement the behavior of the PatchCoreRuleSetExecute function of this mock
	PatchCoreRuleSetExecuteMock *func(r ApiPatchCoreRuleSetRequest) (*GetCoreRuleSetResponse, error)
	// UpdateCoreRuleSetExecuteMock can be populated to implement the behavior of the UpdateCoreRuleSetExecute function of this mock
	UpdateCoreRuleSetExecuteMock *func(r ApiUpdateCoreRuleSetRequest) (*UpdateCoreRuleSetResponse, error)
	// UpdateRulesExecuteMock can be populated to implement the behavior of the UpdateRulesExecute function of this mock
	UpdateRulesExecuteMock *func(r ApiUpdateRulesRequest) (*UpdateRulesResponse, error)
	// UpdateWAFExecuteMock can be populated to implement the behavior of the UpdateWAFExecute function of this mock
	UpdateWAFExecuteMock *func(r ApiUpdateWAFRequest) (*UpdateWAFResponse, 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) CreateCoreRuleSet

func (a DefaultAPIServiceMock) CreateCoreRuleSet(ctx context.Context, projectId string, region string) ApiCreateCoreRuleSetRequest

func (DefaultAPIServiceMock) CreateCoreRuleSetExecute

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

func (DefaultAPIServiceMock) CreateRules

func (a DefaultAPIServiceMock) CreateRules(ctx context.Context, projectId string, region string) ApiCreateRulesRequest

func (DefaultAPIServiceMock) CreateRulesExecute

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

func (DefaultAPIServiceMock) CreateWAF

func (a DefaultAPIServiceMock) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest

func (DefaultAPIServiceMock) CreateWAFExecute

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

func (DefaultAPIServiceMock) DeleteCoreRuleSet

func (a DefaultAPIServiceMock) DeleteCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteCoreRuleSetRequest

func (DefaultAPIServiceMock) DeleteCoreRuleSetExecute

func (a DefaultAPIServiceMock) DeleteCoreRuleSetExecute(r ApiDeleteCoreRuleSetRequest) (map[string]interface{}, error)

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

func (DefaultAPIServiceMock) DeleteRules

func (a DefaultAPIServiceMock) DeleteRules(ctx context.Context, projectId string, region string, name string) ApiDeleteRulesRequest

func (DefaultAPIServiceMock) DeleteRulesExecute

func (a DefaultAPIServiceMock) DeleteRulesExecute(r ApiDeleteRulesRequest) (map[string]interface{}, error)

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

func (DefaultAPIServiceMock) DeleteWAF

func (a DefaultAPIServiceMock) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest

func (DefaultAPIServiceMock) DeleteWAFExecute

func (a DefaultAPIServiceMock) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)

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

func (DefaultAPIServiceMock) GetCoreRuleSet

func (a DefaultAPIServiceMock) GetCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetCoreRuleSetRequest

func (DefaultAPIServiceMock) GetCoreRuleSetExecute

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

func (DefaultAPIServiceMock) GetQuota added in v0.3.0

func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest

func (DefaultAPIServiceMock) GetQuotaExecute added in v0.3.0

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

func (DefaultAPIServiceMock) GetRules

func (a DefaultAPIServiceMock) GetRules(ctx context.Context, projectId string, region string, name string) ApiGetRulesRequest

func (DefaultAPIServiceMock) GetRulesExecute

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

func (DefaultAPIServiceMock) GetWAF

func (a DefaultAPIServiceMock) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest

func (DefaultAPIServiceMock) GetWAFExecute

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

func (DefaultAPIServiceMock) ListCoreRuleSets

func (a DefaultAPIServiceMock) ListCoreRuleSets(ctx context.Context, projectId string, region string) ApiListCoreRuleSetsRequest

func (DefaultAPIServiceMock) ListCoreRuleSetsExecute

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

func (DefaultAPIServiceMock) ListRules

func (a DefaultAPIServiceMock) ListRules(ctx context.Context, projectId string, region string) ApiListRulesRequest

func (DefaultAPIServiceMock) ListRulesExecute

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

func (DefaultAPIServiceMock) ListWAF

func (a DefaultAPIServiceMock) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest

func (DefaultAPIServiceMock) ListWAFExecute

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

func (DefaultAPIServiceMock) PatchCoreRuleSet added in v0.6.0

func (a DefaultAPIServiceMock) PatchCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchCoreRuleSetRequest

func (DefaultAPIServiceMock) PatchCoreRuleSetExecute added in v0.6.0

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

func (DefaultAPIServiceMock) UpdateCoreRuleSet

func (a DefaultAPIServiceMock) UpdateCoreRuleSet(ctx context.Context, projectId string, region string, name string) ApiUpdateCoreRuleSetRequest

func (DefaultAPIServiceMock) UpdateCoreRuleSetExecute

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

func (DefaultAPIServiceMock) UpdateRules

func (a DefaultAPIServiceMock) UpdateRules(ctx context.Context, projectId string, region string, name string) ApiUpdateRulesRequest

func (DefaultAPIServiceMock) UpdateRulesExecute

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

func (DefaultAPIServiceMock) UpdateWAF

func (a DefaultAPIServiceMock) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest

func (DefaultAPIServiceMock) UpdateWAFExecute

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

type GetCoreRuleSetResponse

type GetCoreRuleSetResponse struct {
	// Indicates if the OWASP core rule set is active.
	Active *bool `json:"active,omitempty"`
	// Inventory of all available Core Rule Set groups and their current configuration. The key is the unique Group ID.
	Groups *map[string]CRSRuleGroup `json:"groups,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Core rule set version.
	Version              *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
	AdditionalProperties map[string]interface{}
}

GetCoreRuleSetResponse GetCoreRuleSetResponse returns rule configuration name and it's rules.

func NewGetCoreRuleSetResponse

func NewGetCoreRuleSetResponse() *GetCoreRuleSetResponse

NewGetCoreRuleSetResponse instantiates a new GetCoreRuleSetResponse 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 NewGetCoreRuleSetResponseWithDefaults

func NewGetCoreRuleSetResponseWithDefaults() *GetCoreRuleSetResponse

NewGetCoreRuleSetResponseWithDefaults instantiates a new GetCoreRuleSetResponse 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 (*GetCoreRuleSetResponse) GetActive

func (o *GetCoreRuleSetResponse) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*GetCoreRuleSetResponse) GetActiveOk

func (o *GetCoreRuleSetResponse) GetActiveOk() (*bool, bool)

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

func (*GetCoreRuleSetResponse) GetGroups added in v0.5.0

func (o *GetCoreRuleSetResponse) GetGroups() map[string]CRSRuleGroup

GetGroups returns the Groups field value if set, zero value otherwise.

func (*GetCoreRuleSetResponse) GetGroupsOk added in v0.5.0

func (o *GetCoreRuleSetResponse) GetGroupsOk() (*map[string]CRSRuleGroup, bool)

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

func (*GetCoreRuleSetResponse) GetName

func (o *GetCoreRuleSetResponse) GetName() string

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

func (*GetCoreRuleSetResponse) GetNameOk

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

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

func (*GetCoreRuleSetResponse) GetRegion

func (o *GetCoreRuleSetResponse) GetRegion() string

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

func (*GetCoreRuleSetResponse) GetRegionOk

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

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

func (*GetCoreRuleSetResponse) GetVersion added in v0.5.0

func (o *GetCoreRuleSetResponse) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*GetCoreRuleSetResponse) GetVersionOk added in v0.5.0

func (o *GetCoreRuleSetResponse) GetVersionOk() (*string, bool)

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

func (*GetCoreRuleSetResponse) HasActive

func (o *GetCoreRuleSetResponse) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*GetCoreRuleSetResponse) HasGroups added in v0.5.0

func (o *GetCoreRuleSetResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*GetCoreRuleSetResponse) HasName

func (o *GetCoreRuleSetResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetCoreRuleSetResponse) HasRegion

func (o *GetCoreRuleSetResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*GetCoreRuleSetResponse) HasVersion added in v0.5.0

func (o *GetCoreRuleSetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetCoreRuleSetResponse) MarshalJSON

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

func (*GetCoreRuleSetResponse) SetActive

func (o *GetCoreRuleSetResponse) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*GetCoreRuleSetResponse) SetGroups added in v0.5.0

func (o *GetCoreRuleSetResponse) SetGroups(v map[string]CRSRuleGroup)

SetGroups gets a reference to the given map[string]CRSRuleGroup and assigns it to the Groups field.

func (*GetCoreRuleSetResponse) SetName

func (o *GetCoreRuleSetResponse) SetName(v string)

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

func (*GetCoreRuleSetResponse) SetRegion

func (o *GetCoreRuleSetResponse) SetRegion(v string)

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

func (*GetCoreRuleSetResponse) SetVersion added in v0.5.0

func (o *GetCoreRuleSetResponse) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (GetCoreRuleSetResponse) ToMap

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

func (*GetCoreRuleSetResponse) UnmarshalJSON added in v0.2.0

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

type GetLimitedCoreRuleSetResponse added in v0.5.0

type GetLimitedCoreRuleSetResponse struct {
	// Indicates if the OWASP core rule set is active.
	Active *bool `json:"active,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

GetLimitedCoreRuleSetResponse struct for GetLimitedCoreRuleSetResponse

func NewGetLimitedCoreRuleSetResponse added in v0.5.0

func NewGetLimitedCoreRuleSetResponse() *GetLimitedCoreRuleSetResponse

NewGetLimitedCoreRuleSetResponse instantiates a new GetLimitedCoreRuleSetResponse 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 NewGetLimitedCoreRuleSetResponseWithDefaults added in v0.5.0

func NewGetLimitedCoreRuleSetResponseWithDefaults() *GetLimitedCoreRuleSetResponse

NewGetLimitedCoreRuleSetResponseWithDefaults instantiates a new GetLimitedCoreRuleSetResponse 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 (*GetLimitedCoreRuleSetResponse) GetActive added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*GetLimitedCoreRuleSetResponse) GetActiveOk added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) GetActiveOk() (*bool, bool)

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

func (*GetLimitedCoreRuleSetResponse) GetName added in v0.5.0

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

func (*GetLimitedCoreRuleSetResponse) GetNameOk added in v0.5.0

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

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

func (*GetLimitedCoreRuleSetResponse) GetRegion added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) GetRegion() string

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

func (*GetLimitedCoreRuleSetResponse) GetRegionOk added in v0.5.0

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

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

func (*GetLimitedCoreRuleSetResponse) HasActive added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*GetLimitedCoreRuleSetResponse) HasName added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetLimitedCoreRuleSetResponse) HasRegion added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (GetLimitedCoreRuleSetResponse) MarshalJSON added in v0.5.0

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

func (*GetLimitedCoreRuleSetResponse) SetActive added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*GetLimitedCoreRuleSetResponse) SetName added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) SetName(v string)

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

func (*GetLimitedCoreRuleSetResponse) SetRegion added in v0.5.0

func (o *GetLimitedCoreRuleSetResponse) SetRegion(v string)

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

func (GetLimitedCoreRuleSetResponse) ToMap added in v0.5.0

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

func (*GetLimitedCoreRuleSetResponse) UnmarshalJSON added in v0.5.0

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

type GetQuotaResponse added in v0.3.0

type GetQuotaResponse struct {
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	Quotas    *Quotas `json:"quotas,omitempty"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

GetQuotaResponse struct for GetQuotaResponse

func NewGetQuotaResponse added in v0.3.0

func NewGetQuotaResponse() *GetQuotaResponse

NewGetQuotaResponse instantiates a new GetQuotaResponse 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 NewGetQuotaResponseWithDefaults added in v0.3.0

func NewGetQuotaResponseWithDefaults() *GetQuotaResponse

NewGetQuotaResponseWithDefaults instantiates a new GetQuotaResponse 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 (*GetQuotaResponse) GetProjectId added in v0.3.0

func (o *GetQuotaResponse) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*GetQuotaResponse) GetProjectIdOk added in v0.3.0

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

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

func (*GetQuotaResponse) GetQuotas added in v0.3.0

func (o *GetQuotaResponse) GetQuotas() Quotas

GetQuotas returns the Quotas field value if set, zero value otherwise.

func (*GetQuotaResponse) GetQuotasOk added in v0.3.0

func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)

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

func (*GetQuotaResponse) GetRegion added in v0.3.0

func (o *GetQuotaResponse) GetRegion() string

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

func (*GetQuotaResponse) GetRegionOk added in v0.3.0

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

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

func (*GetQuotaResponse) HasProjectId added in v0.3.0

func (o *GetQuotaResponse) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*GetQuotaResponse) HasQuotas added in v0.3.0

func (o *GetQuotaResponse) HasQuotas() bool

HasQuotas returns a boolean if a field has been set.

func (*GetQuotaResponse) HasRegion added in v0.3.0

func (o *GetQuotaResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (GetQuotaResponse) MarshalJSON added in v0.3.0

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

func (*GetQuotaResponse) SetProjectId added in v0.3.0

func (o *GetQuotaResponse) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*GetQuotaResponse) SetQuotas added in v0.3.0

func (o *GetQuotaResponse) SetQuotas(v Quotas)

SetQuotas gets a reference to the given Quotas and assigns it to the Quotas field.

func (*GetQuotaResponse) SetRegion added in v0.3.0

func (o *GetQuotaResponse) SetRegion(v string)

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

func (GetQuotaResponse) ToMap added in v0.3.0

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

func (*GetQuotaResponse) UnmarshalJSON added in v0.3.0

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

type GetRulesResponse

type GetRulesResponse struct {
	// Rule configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Custom rules written in Seclang syntax.
	Rules                *string `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetRulesResponse GetRulesResponse returns rule configuration name and it's rules.

func NewGetRulesResponse

func NewGetRulesResponse() *GetRulesResponse

NewGetRulesResponse instantiates a new GetRulesResponse 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 NewGetRulesResponseWithDefaults

func NewGetRulesResponseWithDefaults() *GetRulesResponse

NewGetRulesResponseWithDefaults instantiates a new GetRulesResponse 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 (*GetRulesResponse) GetName

func (o *GetRulesResponse) GetName() string

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

func (*GetRulesResponse) GetNameOk

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

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

func (*GetRulesResponse) GetRegion

func (o *GetRulesResponse) GetRegion() string

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

func (*GetRulesResponse) GetRegionOk

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

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

func (*GetRulesResponse) GetRules

func (o *GetRulesResponse) GetRules() string

GetRules returns the Rules field value if set, zero value otherwise.

func (*GetRulesResponse) GetRulesOk

func (o *GetRulesResponse) GetRulesOk() (*string, bool)

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

func (*GetRulesResponse) HasName

func (o *GetRulesResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetRulesResponse) HasRegion

func (o *GetRulesResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*GetRulesResponse) HasRules

func (o *GetRulesResponse) HasRules() bool

HasRules returns a boolean if a field has been set.

func (GetRulesResponse) MarshalJSON

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

func (*GetRulesResponse) SetName

func (o *GetRulesResponse) SetName(v string)

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

func (*GetRulesResponse) SetRegion

func (o *GetRulesResponse) SetRegion(v string)

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

func (*GetRulesResponse) SetRules

func (o *GetRulesResponse) SetRules(v string)

SetRules gets a reference to the given string and assigns it to the Rules field.

func (GetRulesResponse) ToMap

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

func (*GetRulesResponse) UnmarshalJSON added in v0.2.0

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

type GetWAFResponse

type GetWAFResponse struct {
	// Name of the core rule set configuration for that WAF.
	CoreRuleSetName *string `json:"coreRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF.  **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them.  **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
	Labels *map[string]string `json:"labels,omitempty"`
	// WAF name
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Name of the rule configuration for that WAF.
	RulesConfigName      *string `json:"rulesConfigName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

GetWAFResponse GetWAFResponse returns id, name and custom rules.

func NewGetWAFResponse

func NewGetWAFResponse() *GetWAFResponse

NewGetWAFResponse instantiates a new GetWAFResponse 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 NewGetWAFResponseWithDefaults

func NewGetWAFResponseWithDefaults() *GetWAFResponse

NewGetWAFResponseWithDefaults instantiates a new GetWAFResponse 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 (*GetWAFResponse) GetCoreRuleSetName

func (o *GetWAFResponse) GetCoreRuleSetName() string

GetCoreRuleSetName returns the CoreRuleSetName field value if set, zero value otherwise.

func (*GetWAFResponse) GetCoreRuleSetNameOk

func (o *GetWAFResponse) GetCoreRuleSetNameOk() (*string, bool)

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

func (*GetWAFResponse) GetLabels added in v0.8.0

func (o *GetWAFResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*GetWAFResponse) GetLabelsOk added in v0.8.0

func (o *GetWAFResponse) GetLabelsOk() (*map[string]string, bool)

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

func (*GetWAFResponse) GetName

func (o *GetWAFResponse) GetName() string

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

func (*GetWAFResponse) GetNameOk

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

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

func (*GetWAFResponse) GetRegion

func (o *GetWAFResponse) GetRegion() string

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

func (*GetWAFResponse) GetRegionOk

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

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

func (*GetWAFResponse) GetRulesConfigName

func (o *GetWAFResponse) GetRulesConfigName() string

GetRulesConfigName returns the RulesConfigName field value if set, zero value otherwise.

func (*GetWAFResponse) GetRulesConfigNameOk

func (o *GetWAFResponse) GetRulesConfigNameOk() (*string, bool)

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

func (*GetWAFResponse) HasCoreRuleSetName

func (o *GetWAFResponse) HasCoreRuleSetName() bool

HasCoreRuleSetName returns a boolean if a field has been set.

func (*GetWAFResponse) HasLabels added in v0.8.0

func (o *GetWAFResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*GetWAFResponse) HasName

func (o *GetWAFResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetWAFResponse) HasRegion

func (o *GetWAFResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*GetWAFResponse) HasRulesConfigName

func (o *GetWAFResponse) HasRulesConfigName() bool

HasRulesConfigName returns a boolean if a field has been set.

func (GetWAFResponse) MarshalJSON

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

func (*GetWAFResponse) SetCoreRuleSetName

func (o *GetWAFResponse) SetCoreRuleSetName(v string)

SetCoreRuleSetName gets a reference to the given string and assigns it to the CoreRuleSetName field.

func (*GetWAFResponse) SetLabels added in v0.8.0

func (o *GetWAFResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*GetWAFResponse) SetName

func (o *GetWAFResponse) SetName(v string)

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

func (*GetWAFResponse) SetRegion

func (o *GetWAFResponse) SetRegion(v string)

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

func (*GetWAFResponse) SetRulesConfigName

func (o *GetWAFResponse) SetRulesConfigName(v string)

SetRulesConfigName gets a reference to the given string and assigns it to the RulesConfigName field.

func (GetWAFResponse) ToMap

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

func (*GetWAFResponse) UnmarshalJSON added in v0.2.0

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

type GoogleProtobufAny

type GoogleProtobufAny struct {
	// The type of the serialized message.
	Type                 *string `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{}
}

GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func NewGoogleProtobufAny

func NewGoogleProtobufAny() *GoogleProtobufAny

NewGoogleProtobufAny instantiates a new GoogleProtobufAny 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 NewGoogleProtobufAnyWithDefaults

func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny

NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny 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 (*GoogleProtobufAny) GetType

func (o *GoogleProtobufAny) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*GoogleProtobufAny) GetTypeOk

func (o *GoogleProtobufAny) GetTypeOk() (*string, 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 (*GoogleProtobufAny) HasType

func (o *GoogleProtobufAny) HasType() bool

HasType returns a boolean if a field has been set.

func (GoogleProtobufAny) MarshalJSON

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

func (*GoogleProtobufAny) SetType

func (o *GoogleProtobufAny) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (GoogleProtobufAny) ToMap

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

func (*GoogleProtobufAny) UnmarshalJSON

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

type ListCoreRuleSetResponse

type ListCoreRuleSetResponse struct {
	Items []GetLimitedCoreRuleSetResponse `json:"items,omitempty"`
	// Continue token from the ListCoreRuleSetResponse with Limit option
	NextPageId           *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

ListCoreRuleSetResponse ListCoreRuleSetResponse returns a list of rule configuration responses.

func NewListCoreRuleSetResponse

func NewListCoreRuleSetResponse() *ListCoreRuleSetResponse

NewListCoreRuleSetResponse instantiates a new ListCoreRuleSetResponse 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 NewListCoreRuleSetResponseWithDefaults

func NewListCoreRuleSetResponseWithDefaults() *ListCoreRuleSetResponse

NewListCoreRuleSetResponseWithDefaults instantiates a new ListCoreRuleSetResponse 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 (*ListCoreRuleSetResponse) GetItems

GetItems returns the Items field value if set, zero value otherwise.

func (*ListCoreRuleSetResponse) GetItemsOk

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

func (*ListCoreRuleSetResponse) GetNextPageId

func (o *ListCoreRuleSetResponse) GetNextPageId() string

GetNextPageId returns the NextPageId field value if set, zero value otherwise.

func (*ListCoreRuleSetResponse) GetNextPageIdOk

func (o *ListCoreRuleSetResponse) GetNextPageIdOk() (*string, bool)

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

func (*ListCoreRuleSetResponse) HasItems

func (o *ListCoreRuleSetResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListCoreRuleSetResponse) HasNextPageId

func (o *ListCoreRuleSetResponse) HasNextPageId() bool

HasNextPageId returns a boolean if a field has been set.

func (ListCoreRuleSetResponse) MarshalJSON

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

func (*ListCoreRuleSetResponse) SetItems

SetItems gets a reference to the given []GetLimitedCoreRuleSetResponse and assigns it to the Items field.

func (*ListCoreRuleSetResponse) SetNextPageId

func (o *ListCoreRuleSetResponse) SetNextPageId(v string)

SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.

func (ListCoreRuleSetResponse) ToMap

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

func (*ListCoreRuleSetResponse) UnmarshalJSON added in v0.2.0

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

type ListRulesResponse

type ListRulesResponse struct {
	Items []GetRulesResponse `json:"items,omitempty"`
	// Continue token from the ListRulesResponse with Limit option
	NextPageId           *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

ListRulesResponse ListRulesResponse returns a list of rule configuration responses.

func NewListRulesResponse

func NewListRulesResponse() *ListRulesResponse

NewListRulesResponse instantiates a new ListRulesResponse 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 NewListRulesResponseWithDefaults

func NewListRulesResponseWithDefaults() *ListRulesResponse

NewListRulesResponseWithDefaults instantiates a new ListRulesResponse 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 (*ListRulesResponse) GetItems

func (o *ListRulesResponse) GetItems() []GetRulesResponse

GetItems returns the Items field value if set, zero value otherwise.

func (*ListRulesResponse) GetItemsOk

func (o *ListRulesResponse) GetItemsOk() ([]GetRulesResponse, bool)

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

func (*ListRulesResponse) GetNextPageId

func (o *ListRulesResponse) GetNextPageId() string

GetNextPageId returns the NextPageId field value if set, zero value otherwise.

func (*ListRulesResponse) GetNextPageIdOk

func (o *ListRulesResponse) GetNextPageIdOk() (*string, bool)

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

func (*ListRulesResponse) HasItems

func (o *ListRulesResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListRulesResponse) HasNextPageId

func (o *ListRulesResponse) HasNextPageId() bool

HasNextPageId returns a boolean if a field has been set.

func (ListRulesResponse) MarshalJSON

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

func (*ListRulesResponse) SetItems

func (o *ListRulesResponse) SetItems(v []GetRulesResponse)

SetItems gets a reference to the given []GetRulesResponse and assigns it to the Items field.

func (*ListRulesResponse) SetNextPageId

func (o *ListRulesResponse) SetNextPageId(v string)

SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.

func (ListRulesResponse) ToMap

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

func (*ListRulesResponse) UnmarshalJSON added in v0.2.0

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

type ListWAFResponse

type ListWAFResponse struct {
	Items []GetWAFResponse `json:"items,omitempty"`
	// Continue token from the ListWAFResponse with Limit option
	NextPageId           *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

ListWAFResponse ListWAFResponse returns a list of WAF responses.

func NewListWAFResponse

func NewListWAFResponse() *ListWAFResponse

NewListWAFResponse instantiates a new ListWAFResponse 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 NewListWAFResponseWithDefaults

func NewListWAFResponseWithDefaults() *ListWAFResponse

NewListWAFResponseWithDefaults instantiates a new ListWAFResponse 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 (*ListWAFResponse) GetItems

func (o *ListWAFResponse) GetItems() []GetWAFResponse

GetItems returns the Items field value if set, zero value otherwise.

func (*ListWAFResponse) GetItemsOk

func (o *ListWAFResponse) GetItemsOk() ([]GetWAFResponse, bool)

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

func (*ListWAFResponse) GetNextPageId

func (o *ListWAFResponse) GetNextPageId() string

GetNextPageId returns the NextPageId field value if set, zero value otherwise.

func (*ListWAFResponse) GetNextPageIdOk

func (o *ListWAFResponse) GetNextPageIdOk() (*string, bool)

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

func (*ListWAFResponse) HasItems

func (o *ListWAFResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListWAFResponse) HasNextPageId

func (o *ListWAFResponse) HasNextPageId() bool

HasNextPageId returns a boolean if a field has been set.

func (ListWAFResponse) MarshalJSON

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

func (*ListWAFResponse) SetItems

func (o *ListWAFResponse) SetItems(v []GetWAFResponse)

SetItems gets a reference to the given []GetWAFResponse and assigns it to the Items field.

func (*ListWAFResponse) SetNextPageId

func (o *ListWAFResponse) SetNextPageId(v string)

SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.

func (ListWAFResponse) ToMap

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

func (*ListWAFResponse) UnmarshalJSON added in v0.2.0

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCRSConfigQuota added in v0.3.0

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

func NewNullableCRSConfigQuota added in v0.3.0

func NewNullableCRSConfigQuota(val *CRSConfigQuota) *NullableCRSConfigQuota

func (NullableCRSConfigQuota) Get added in v0.3.0

func (NullableCRSConfigQuota) IsSet added in v0.3.0

func (v NullableCRSConfigQuota) IsSet() bool

func (NullableCRSConfigQuota) MarshalJSON added in v0.3.0

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

func (*NullableCRSConfigQuota) Set added in v0.3.0

func (*NullableCRSConfigQuota) UnmarshalJSON added in v0.3.0

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

func (*NullableCRSConfigQuota) Unset added in v0.3.0

func (v *NullableCRSConfigQuota) Unset()

type NullableCRSRule added in v0.5.0

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

func NewNullableCRSRule added in v0.5.0

func NewNullableCRSRule(val *CRSRule) *NullableCRSRule

func (NullableCRSRule) Get added in v0.5.0

func (v NullableCRSRule) Get() *CRSRule

func (NullableCRSRule) IsSet added in v0.5.0

func (v NullableCRSRule) IsSet() bool

func (NullableCRSRule) MarshalJSON added in v0.5.0

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

func (*NullableCRSRule) Set added in v0.5.0

func (v *NullableCRSRule) Set(val *CRSRule)

func (*NullableCRSRule) UnmarshalJSON added in v0.5.0

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

func (*NullableCRSRule) Unset added in v0.5.0

func (v *NullableCRSRule) Unset()

type NullableCRSRuleGroup added in v0.5.0

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

func NewNullableCRSRuleGroup added in v0.5.0

func NewNullableCRSRuleGroup(val *CRSRuleGroup) *NullableCRSRuleGroup

func (NullableCRSRuleGroup) Get added in v0.5.0

func (NullableCRSRuleGroup) IsSet added in v0.5.0

func (v NullableCRSRuleGroup) IsSet() bool

func (NullableCRSRuleGroup) MarshalJSON added in v0.5.0

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

func (*NullableCRSRuleGroup) Set added in v0.5.0

func (v *NullableCRSRuleGroup) Set(val *CRSRuleGroup)

func (*NullableCRSRuleGroup) UnmarshalJSON added in v0.5.0

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

func (*NullableCRSRuleGroup) Unset added in v0.5.0

func (v *NullableCRSRuleGroup) Unset()

type NullableCreateCoreRuleSetPayload

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

func (NullableCreateCoreRuleSetPayload) Get

func (NullableCreateCoreRuleSetPayload) IsSet

func (NullableCreateCoreRuleSetPayload) MarshalJSON

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

func (*NullableCreateCoreRuleSetPayload) Set

func (*NullableCreateCoreRuleSetPayload) UnmarshalJSON

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

func (*NullableCreateCoreRuleSetPayload) Unset

type NullableCreateRulesPayload

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

func NewNullableCreateRulesPayload

func NewNullableCreateRulesPayload(val *CreateRulesPayload) *NullableCreateRulesPayload

func (NullableCreateRulesPayload) Get

func (NullableCreateRulesPayload) IsSet

func (v NullableCreateRulesPayload) IsSet() bool

func (NullableCreateRulesPayload) MarshalJSON

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

func (*NullableCreateRulesPayload) Set

func (*NullableCreateRulesPayload) UnmarshalJSON

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

func (*NullableCreateRulesPayload) Unset

func (v *NullableCreateRulesPayload) Unset()

type NullableCreateRulesResponse

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

func NewNullableCreateRulesResponse

func NewNullableCreateRulesResponse(val *CreateRulesResponse) *NullableCreateRulesResponse

func (NullableCreateRulesResponse) Get

func (NullableCreateRulesResponse) IsSet

func (NullableCreateRulesResponse) MarshalJSON

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

func (*NullableCreateRulesResponse) Set

func (*NullableCreateRulesResponse) UnmarshalJSON

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

func (*NullableCreateRulesResponse) Unset

func (v *NullableCreateRulesResponse) Unset()

type NullableCreateWAFPayload

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

func NewNullableCreateWAFPayload

func NewNullableCreateWAFPayload(val *CreateWAFPayload) *NullableCreateWAFPayload

func (NullableCreateWAFPayload) Get

func (NullableCreateWAFPayload) IsSet

func (v NullableCreateWAFPayload) IsSet() bool

func (NullableCreateWAFPayload) MarshalJSON

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

func (*NullableCreateWAFPayload) Set

func (*NullableCreateWAFPayload) UnmarshalJSON

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

func (*NullableCreateWAFPayload) Unset

func (v *NullableCreateWAFPayload) Unset()

type NullableCreateWAFResponse

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

func NewNullableCreateWAFResponse

func NewNullableCreateWAFResponse(val *CreateWAFResponse) *NullableCreateWAFResponse

func (NullableCreateWAFResponse) Get

func (NullableCreateWAFResponse) IsSet

func (v NullableCreateWAFResponse) IsSet() bool

func (NullableCreateWAFResponse) MarshalJSON

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

func (*NullableCreateWAFResponse) Set

func (*NullableCreateWAFResponse) UnmarshalJSON

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

func (*NullableCreateWAFResponse) Unset

func (v *NullableCreateWAFResponse) Unset()

type NullableCustomRulesQuota added in v0.3.0

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

func NewNullableCustomRulesQuota added in v0.3.0

func NewNullableCustomRulesQuota(val *CustomRulesQuota) *NullableCustomRulesQuota

func (NullableCustomRulesQuota) Get added in v0.3.0

func (NullableCustomRulesQuota) IsSet added in v0.3.0

func (v NullableCustomRulesQuota) IsSet() bool

func (NullableCustomRulesQuota) MarshalJSON added in v0.3.0

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

func (*NullableCustomRulesQuota) Set added in v0.3.0

func (*NullableCustomRulesQuota) UnmarshalJSON added in v0.3.0

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

func (*NullableCustomRulesQuota) Unset added in v0.3.0

func (v *NullableCustomRulesQuota) 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 NullableGetCoreRuleSetResponse

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

func (NullableGetCoreRuleSetResponse) Get

func (NullableGetCoreRuleSetResponse) IsSet

func (NullableGetCoreRuleSetResponse) MarshalJSON

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

func (*NullableGetCoreRuleSetResponse) Set

func (*NullableGetCoreRuleSetResponse) UnmarshalJSON

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

func (*NullableGetCoreRuleSetResponse) Unset

func (v *NullableGetCoreRuleSetResponse) Unset()

type NullableGetLimitedCoreRuleSetResponse added in v0.5.0

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

func NewNullableGetLimitedCoreRuleSetResponse added in v0.5.0

func NewNullableGetLimitedCoreRuleSetResponse(val *GetLimitedCoreRuleSetResponse) *NullableGetLimitedCoreRuleSetResponse

func (NullableGetLimitedCoreRuleSetResponse) Get added in v0.5.0

func (NullableGetLimitedCoreRuleSetResponse) IsSet added in v0.5.0

func (NullableGetLimitedCoreRuleSetResponse) MarshalJSON added in v0.5.0

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

func (*NullableGetLimitedCoreRuleSetResponse) Set added in v0.5.0

func (*NullableGetLimitedCoreRuleSetResponse) UnmarshalJSON added in v0.5.0

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

func (*NullableGetLimitedCoreRuleSetResponse) Unset added in v0.5.0

type NullableGetQuotaResponse added in v0.3.0

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

func NewNullableGetQuotaResponse added in v0.3.0

func NewNullableGetQuotaResponse(val *GetQuotaResponse) *NullableGetQuotaResponse

func (NullableGetQuotaResponse) Get added in v0.3.0

func (NullableGetQuotaResponse) IsSet added in v0.3.0

func (v NullableGetQuotaResponse) IsSet() bool

func (NullableGetQuotaResponse) MarshalJSON added in v0.3.0

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

func (*NullableGetQuotaResponse) Set added in v0.3.0

func (*NullableGetQuotaResponse) UnmarshalJSON added in v0.3.0

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

func (*NullableGetQuotaResponse) Unset added in v0.3.0

func (v *NullableGetQuotaResponse) Unset()

type NullableGetRulesResponse

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

func NewNullableGetRulesResponse

func NewNullableGetRulesResponse(val *GetRulesResponse) *NullableGetRulesResponse

func (NullableGetRulesResponse) Get

func (NullableGetRulesResponse) IsSet

func (v NullableGetRulesResponse) IsSet() bool

func (NullableGetRulesResponse) MarshalJSON

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

func (*NullableGetRulesResponse) Set

func (*NullableGetRulesResponse) UnmarshalJSON

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

func (*NullableGetRulesResponse) Unset

func (v *NullableGetRulesResponse) Unset()

type NullableGetWAFResponse

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

func NewNullableGetWAFResponse

func NewNullableGetWAFResponse(val *GetWAFResponse) *NullableGetWAFResponse

func (NullableGetWAFResponse) Get

func (NullableGetWAFResponse) IsSet

func (v NullableGetWAFResponse) IsSet() bool

func (NullableGetWAFResponse) MarshalJSON

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

func (*NullableGetWAFResponse) Set

func (*NullableGetWAFResponse) UnmarshalJSON

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

func (*NullableGetWAFResponse) Unset

func (v *NullableGetWAFResponse) Unset()

type NullableGoogleProtobufAny

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

func NewNullableGoogleProtobufAny

func NewNullableGoogleProtobufAny(val *GoogleProtobufAny) *NullableGoogleProtobufAny

func (NullableGoogleProtobufAny) Get

func (NullableGoogleProtobufAny) IsSet

func (v NullableGoogleProtobufAny) IsSet() bool

func (NullableGoogleProtobufAny) MarshalJSON

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

func (*NullableGoogleProtobufAny) Set

func (*NullableGoogleProtobufAny) UnmarshalJSON

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

func (*NullableGoogleProtobufAny) Unset

func (v *NullableGoogleProtobufAny) 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 NullableListCoreRuleSetResponse

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

func (NullableListCoreRuleSetResponse) Get

func (NullableListCoreRuleSetResponse) IsSet

func (NullableListCoreRuleSetResponse) MarshalJSON

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

func (*NullableListCoreRuleSetResponse) Set

func (*NullableListCoreRuleSetResponse) UnmarshalJSON

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

func (*NullableListCoreRuleSetResponse) Unset

type NullableListRulesResponse

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

func NewNullableListRulesResponse

func NewNullableListRulesResponse(val *ListRulesResponse) *NullableListRulesResponse

func (NullableListRulesResponse) Get

func (NullableListRulesResponse) IsSet

func (v NullableListRulesResponse) IsSet() bool

func (NullableListRulesResponse) MarshalJSON

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

func (*NullableListRulesResponse) Set

func (*NullableListRulesResponse) UnmarshalJSON

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

func (*NullableListRulesResponse) Unset

func (v *NullableListRulesResponse) Unset()

type NullableListWAFResponse

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

func NewNullableListWAFResponse

func NewNullableListWAFResponse(val *ListWAFResponse) *NullableListWAFResponse

func (NullableListWAFResponse) Get

func (NullableListWAFResponse) IsSet

func (v NullableListWAFResponse) IsSet() bool

func (NullableListWAFResponse) MarshalJSON

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

func (*NullableListWAFResponse) Set

func (*NullableListWAFResponse) UnmarshalJSON

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

func (*NullableListWAFResponse) Unset

func (v *NullableListWAFResponse) Unset()

type NullableOWASPCoreRuleSet added in v0.7.0

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

func NewNullableOWASPCoreRuleSet added in v0.7.0

func NewNullableOWASPCoreRuleSet(val *OWASPCoreRuleSet) *NullableOWASPCoreRuleSet

func (NullableOWASPCoreRuleSet) Get added in v0.7.0

func (NullableOWASPCoreRuleSet) IsSet added in v0.7.0

func (v NullableOWASPCoreRuleSet) IsSet() bool

func (NullableOWASPCoreRuleSet) MarshalJSON added in v0.7.0

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

func (*NullableOWASPCoreRuleSet) Set added in v0.7.0

func (*NullableOWASPCoreRuleSet) UnmarshalJSON added in v0.7.0

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

func (*NullableOWASPCoreRuleSet) Unset added in v0.7.0

func (v *NullableOWASPCoreRuleSet) Unset()

type NullableOWASPCoreRuleSet1 added in v0.7.0

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

func NewNullableOWASPCoreRuleSet1 added in v0.7.0

func NewNullableOWASPCoreRuleSet1(val *OWASPCoreRuleSet1) *NullableOWASPCoreRuleSet1

func (NullableOWASPCoreRuleSet1) Get added in v0.7.0

func (NullableOWASPCoreRuleSet1) IsSet added in v0.7.0

func (v NullableOWASPCoreRuleSet1) IsSet() bool

func (NullableOWASPCoreRuleSet1) MarshalJSON added in v0.7.0

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

func (*NullableOWASPCoreRuleSet1) Set added in v0.7.0

func (*NullableOWASPCoreRuleSet1) UnmarshalJSON added in v0.7.0

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

func (*NullableOWASPCoreRuleSet1) Unset added in v0.7.0

func (v *NullableOWASPCoreRuleSet1) Unset()

type NullablePatchCRSRule added in v0.6.0

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

func NewNullablePatchCRSRule added in v0.6.0

func NewNullablePatchCRSRule(val *PatchCRSRule) *NullablePatchCRSRule

func (NullablePatchCRSRule) Get added in v0.6.0

func (NullablePatchCRSRule) IsSet added in v0.6.0

func (v NullablePatchCRSRule) IsSet() bool

func (NullablePatchCRSRule) MarshalJSON added in v0.6.0

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

func (*NullablePatchCRSRule) Set added in v0.6.0

func (v *NullablePatchCRSRule) Set(val *PatchCRSRule)

func (*NullablePatchCRSRule) UnmarshalJSON added in v0.6.0

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

func (*NullablePatchCRSRule) Unset added in v0.6.0

func (v *NullablePatchCRSRule) Unset()

type NullablePatchCRSRuleGroup added in v0.6.0

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

func NewNullablePatchCRSRuleGroup added in v0.6.0

func NewNullablePatchCRSRuleGroup(val *PatchCRSRuleGroup) *NullablePatchCRSRuleGroup

func (NullablePatchCRSRuleGroup) Get added in v0.6.0

func (NullablePatchCRSRuleGroup) IsSet added in v0.6.0

func (v NullablePatchCRSRuleGroup) IsSet() bool

func (NullablePatchCRSRuleGroup) MarshalJSON added in v0.6.0

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

func (*NullablePatchCRSRuleGroup) Set added in v0.6.0

func (*NullablePatchCRSRuleGroup) UnmarshalJSON added in v0.6.0

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

func (*NullablePatchCRSRuleGroup) Unset added in v0.6.0

func (v *NullablePatchCRSRuleGroup) Unset()

type NullablePatchCoreRuleSetPayload added in v0.6.0

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

func NewNullablePatchCoreRuleSetPayload added in v0.6.0

func NewNullablePatchCoreRuleSetPayload(val *PatchCoreRuleSetPayload) *NullablePatchCoreRuleSetPayload

func (NullablePatchCoreRuleSetPayload) Get added in v0.6.0

func (NullablePatchCoreRuleSetPayload) IsSet added in v0.6.0

func (NullablePatchCoreRuleSetPayload) MarshalJSON added in v0.6.0

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

func (*NullablePatchCoreRuleSetPayload) Set added in v0.6.0

func (*NullablePatchCoreRuleSetPayload) UnmarshalJSON added in v0.6.0

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

func (*NullablePatchCoreRuleSetPayload) Unset added in v0.6.0

type NullableQuotas added in v0.3.0

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

func NewNullableQuotas added in v0.3.0

func NewNullableQuotas(val *Quotas) *NullableQuotas

func (NullableQuotas) Get added in v0.3.0

func (v NullableQuotas) Get() *Quotas

func (NullableQuotas) IsSet added in v0.3.0

func (v NullableQuotas) IsSet() bool

func (NullableQuotas) MarshalJSON added in v0.3.0

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

func (*NullableQuotas) Set added in v0.3.0

func (v *NullableQuotas) Set(val *Quotas)

func (*NullableQuotas) UnmarshalJSON added in v0.3.0

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

func (*NullableQuotas) Unset added in v0.3.0

func (v *NullableQuotas) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) 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 NullableUpdateCoreRuleSetPayload

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

func (NullableUpdateCoreRuleSetPayload) Get

func (NullableUpdateCoreRuleSetPayload) IsSet

func (NullableUpdateCoreRuleSetPayload) MarshalJSON

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

func (*NullableUpdateCoreRuleSetPayload) Set

func (*NullableUpdateCoreRuleSetPayload) UnmarshalJSON

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

func (*NullableUpdateCoreRuleSetPayload) Unset

type NullableUpdateCoreRuleSetResponse

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

func (NullableUpdateCoreRuleSetResponse) Get

func (NullableUpdateCoreRuleSetResponse) IsSet

func (NullableUpdateCoreRuleSetResponse) MarshalJSON

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

func (*NullableUpdateCoreRuleSetResponse) Set

func (*NullableUpdateCoreRuleSetResponse) UnmarshalJSON

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

func (*NullableUpdateCoreRuleSetResponse) Unset

type NullableUpdateRulesPayload

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

func NewNullableUpdateRulesPayload

func NewNullableUpdateRulesPayload(val *UpdateRulesPayload) *NullableUpdateRulesPayload

func (NullableUpdateRulesPayload) Get

func (NullableUpdateRulesPayload) IsSet

func (v NullableUpdateRulesPayload) IsSet() bool

func (NullableUpdateRulesPayload) MarshalJSON

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

func (*NullableUpdateRulesPayload) Set

func (*NullableUpdateRulesPayload) UnmarshalJSON

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

func (*NullableUpdateRulesPayload) Unset

func (v *NullableUpdateRulesPayload) Unset()

type NullableUpdateRulesResponse

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

func NewNullableUpdateRulesResponse

func NewNullableUpdateRulesResponse(val *UpdateRulesResponse) *NullableUpdateRulesResponse

func (NullableUpdateRulesResponse) Get

func (NullableUpdateRulesResponse) IsSet

func (NullableUpdateRulesResponse) MarshalJSON

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

func (*NullableUpdateRulesResponse) Set

func (*NullableUpdateRulesResponse) UnmarshalJSON

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

func (*NullableUpdateRulesResponse) Unset

func (v *NullableUpdateRulesResponse) Unset()

type NullableUpdateWAFPayload

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

func NewNullableUpdateWAFPayload

func NewNullableUpdateWAFPayload(val *UpdateWAFPayload) *NullableUpdateWAFPayload

func (NullableUpdateWAFPayload) Get

func (NullableUpdateWAFPayload) IsSet

func (v NullableUpdateWAFPayload) IsSet() bool

func (NullableUpdateWAFPayload) MarshalJSON

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

func (*NullableUpdateWAFPayload) Set

func (*NullableUpdateWAFPayload) UnmarshalJSON

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

func (*NullableUpdateWAFPayload) Unset

func (v *NullableUpdateWAFPayload) Unset()

type NullableUpdateWAFResponse

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

func NewNullableUpdateWAFResponse

func NewNullableUpdateWAFResponse(val *UpdateWAFResponse) *NullableUpdateWAFResponse

func (NullableUpdateWAFResponse) Get

func (NullableUpdateWAFResponse) IsSet

func (v NullableUpdateWAFResponse) IsSet() bool

func (NullableUpdateWAFResponse) MarshalJSON

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

func (*NullableUpdateWAFResponse) Set

func (*NullableUpdateWAFResponse) UnmarshalJSON

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

func (*NullableUpdateWAFResponse) Unset

func (v *NullableUpdateWAFResponse) Unset()

type NullableWAFConfigQuota added in v0.3.0

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

func NewNullableWAFConfigQuota added in v0.3.0

func NewNullableWAFConfigQuota(val *WAFConfigQuota) *NullableWAFConfigQuota

func (NullableWAFConfigQuota) Get added in v0.3.0

func (NullableWAFConfigQuota) IsSet added in v0.3.0

func (v NullableWAFConfigQuota) IsSet() bool

func (NullableWAFConfigQuota) MarshalJSON added in v0.3.0

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

func (*NullableWAFConfigQuota) Set added in v0.3.0

func (*NullableWAFConfigQuota) UnmarshalJSON added in v0.3.0

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

func (*NullableWAFConfigQuota) Unset added in v0.3.0

func (v *NullableWAFConfigQuota) Unset()

type OWASPCoreRuleSet added in v0.7.0

type OWASPCoreRuleSet string

OWASPCoreRuleSet The current mode of the rule.

const (
	OWASPCORERULESET_MODE_UNSPECIFIED         OWASPCoreRuleSet = "MODE_UNSPECIFIED"
	OWASPCORERULESET_MODE_ENABLED             OWASPCoreRuleSet = "MODE_ENABLED"
	OWASPCORERULESET_MODE_DISABLED            OWASPCoreRuleSet = "MODE_DISABLED"
	OWASPCORERULESET_MODE_LOG_ONLY            OWASPCoreRuleSet = "MODE_LOG_ONLY"
	OWASPCORERULESET_UNKNOWN_DEFAULT_OPEN_API OWASPCoreRuleSet = "unknown_default_open_api"
)

List of OWASP_Core_Rule_Set

func NewOWASPCoreRuleSetFromValue added in v0.7.0

func NewOWASPCoreRuleSetFromValue(v string) (*OWASPCoreRuleSet, error)

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

func (OWASPCoreRuleSet) IsValid added in v0.7.0

func (v OWASPCoreRuleSet) IsValid() bool

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

func (OWASPCoreRuleSet) Ptr added in v0.7.0

Ptr returns reference to OWASP_Core_Rule_Set value

func (*OWASPCoreRuleSet) UnmarshalJSON added in v0.7.0

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

type OWASPCoreRuleSet1 added in v0.7.0

type OWASPCoreRuleSet1 string

OWASPCoreRuleSet1 The current mode of the rule.

const (
	OWASPCORERULESET1_MODE_UNSPECIFIED         OWASPCoreRuleSet1 = "MODE_UNSPECIFIED"
	OWASPCORERULESET1_MODE_ENABLED             OWASPCoreRuleSet1 = "MODE_ENABLED"
	OWASPCORERULESET1_MODE_DISABLED            OWASPCoreRuleSet1 = "MODE_DISABLED"
	OWASPCORERULESET1_MODE_LOG_ONLY            OWASPCoreRuleSet1 = "MODE_LOG_ONLY"
	OWASPCORERULESET1_UNKNOWN_DEFAULT_OPEN_API OWASPCoreRuleSet1 = "unknown_default_open_api"
)

List of OWASP_Core_Rule_Set_1

func NewOWASPCoreRuleSet1FromValue added in v0.7.0

func NewOWASPCoreRuleSet1FromValue(v string) (*OWASPCoreRuleSet1, error)

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

func (OWASPCoreRuleSet1) IsValid added in v0.7.0

func (v OWASPCoreRuleSet1) IsValid() bool

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

func (OWASPCoreRuleSet1) Ptr added in v0.7.0

Ptr returns reference to OWASP_Core_Rule_Set_1 value

func (*OWASPCoreRuleSet1) UnmarshalJSON added in v0.7.0

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

type PatchCRSRule added in v0.6.0

type PatchCRSRule struct {
	Mode                 *OWASPCoreRuleSet1 `json:"mode,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchCRSRule struct for PatchCRSRule

func NewPatchCRSRule added in v0.6.0

func NewPatchCRSRule() *PatchCRSRule

NewPatchCRSRule instantiates a new PatchCRSRule 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 NewPatchCRSRuleWithDefaults added in v0.6.0

func NewPatchCRSRuleWithDefaults() *PatchCRSRule

NewPatchCRSRuleWithDefaults instantiates a new PatchCRSRule 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 (*PatchCRSRule) GetMode added in v0.6.0

func (o *PatchCRSRule) GetMode() OWASPCoreRuleSet1

GetMode returns the Mode field value if set, zero value otherwise.

func (*PatchCRSRule) GetModeOk added in v0.6.0

func (o *PatchCRSRule) GetModeOk() (*OWASPCoreRuleSet1, 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 (*PatchCRSRule) HasMode added in v0.6.0

func (o *PatchCRSRule) HasMode() bool

HasMode returns a boolean if a field has been set.

func (PatchCRSRule) MarshalJSON added in v0.6.0

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

func (*PatchCRSRule) SetMode added in v0.6.0

func (o *PatchCRSRule) SetMode(v OWASPCoreRuleSet1)

SetMode gets a reference to the given OWASPCoreRuleSet1 and assigns it to the Mode field.

func (PatchCRSRule) ToMap added in v0.6.0

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

func (*PatchCRSRule) UnmarshalJSON added in v0.6.0

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

type PatchCRSRuleGroup added in v0.6.0

type PatchCRSRuleGroup struct {
	Rules                *map[string]PatchCRSRule `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchCRSRuleGroup struct for PatchCRSRuleGroup

func NewPatchCRSRuleGroup added in v0.6.0

func NewPatchCRSRuleGroup() *PatchCRSRuleGroup

NewPatchCRSRuleGroup instantiates a new PatchCRSRuleGroup 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 NewPatchCRSRuleGroupWithDefaults added in v0.6.0

func NewPatchCRSRuleGroupWithDefaults() *PatchCRSRuleGroup

NewPatchCRSRuleGroupWithDefaults instantiates a new PatchCRSRuleGroup 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 (*PatchCRSRuleGroup) GetRules added in v0.6.0

func (o *PatchCRSRuleGroup) GetRules() map[string]PatchCRSRule

GetRules returns the Rules field value if set, zero value otherwise.

func (*PatchCRSRuleGroup) GetRulesOk added in v0.6.0

func (o *PatchCRSRuleGroup) GetRulesOk() (*map[string]PatchCRSRule, bool)

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

func (*PatchCRSRuleGroup) HasRules added in v0.6.0

func (o *PatchCRSRuleGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PatchCRSRuleGroup) MarshalJSON added in v0.6.0

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

func (*PatchCRSRuleGroup) SetRules added in v0.6.0

func (o *PatchCRSRuleGroup) SetRules(v map[string]PatchCRSRule)

SetRules gets a reference to the given map[string]PatchCRSRule and assigns it to the Rules field.

func (PatchCRSRuleGroup) ToMap added in v0.6.0

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

func (*PatchCRSRuleGroup) UnmarshalJSON added in v0.6.0

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

type PatchCoreRuleSetPayload added in v0.6.0

type PatchCoreRuleSetPayload struct {
	// To activate the OWASP core rule set, set this boolean to true.
	Active *bool `json:"active,omitempty"`
	// Map of Core Rule Set groups to be patched. The key is the Group ID (e.g., 942 for SQL Injection). Only provided rules within the group will be updated; others remain unchanged.
	Groups *map[string]PatchCRSRuleGroup `json:"groups,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

PatchCoreRuleSetPayload PatchCoreRuleSetRequest updates a rules configuration.

func NewPatchCoreRuleSetPayload added in v0.6.0

func NewPatchCoreRuleSetPayload() *PatchCoreRuleSetPayload

NewPatchCoreRuleSetPayload instantiates a new PatchCoreRuleSetPayload 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 NewPatchCoreRuleSetPayloadWithDefaults added in v0.6.0

func NewPatchCoreRuleSetPayloadWithDefaults() *PatchCoreRuleSetPayload

NewPatchCoreRuleSetPayloadWithDefaults instantiates a new PatchCoreRuleSetPayload 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 (*PatchCoreRuleSetPayload) GetActive added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PatchCoreRuleSetPayload) GetActiveOk added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetActiveOk() (*bool, bool)

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

func (*PatchCoreRuleSetPayload) GetGroups added in v0.6.0

GetGroups returns the Groups field value if set, zero value otherwise.

func (*PatchCoreRuleSetPayload) GetGroupsOk added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetGroupsOk() (*map[string]PatchCRSRuleGroup, bool)

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

func (*PatchCoreRuleSetPayload) GetName added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetName() string

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

func (*PatchCoreRuleSetPayload) GetNameOk added in v0.6.0

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

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

func (*PatchCoreRuleSetPayload) GetProjectId added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*PatchCoreRuleSetPayload) GetProjectIdOk added in v0.6.0

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

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

func (*PatchCoreRuleSetPayload) GetRegion added in v0.6.0

func (o *PatchCoreRuleSetPayload) GetRegion() string

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

func (*PatchCoreRuleSetPayload) GetRegionOk added in v0.6.0

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

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

func (*PatchCoreRuleSetPayload) HasActive added in v0.6.0

func (o *PatchCoreRuleSetPayload) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PatchCoreRuleSetPayload) HasGroups added in v0.6.0

func (o *PatchCoreRuleSetPayload) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*PatchCoreRuleSetPayload) HasName added in v0.6.0

func (o *PatchCoreRuleSetPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchCoreRuleSetPayload) HasProjectId added in v0.6.0

func (o *PatchCoreRuleSetPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*PatchCoreRuleSetPayload) HasRegion added in v0.6.0

func (o *PatchCoreRuleSetPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (PatchCoreRuleSetPayload) MarshalJSON added in v0.6.0

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

func (*PatchCoreRuleSetPayload) SetActive added in v0.6.0

func (o *PatchCoreRuleSetPayload) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PatchCoreRuleSetPayload) SetGroups added in v0.6.0

func (o *PatchCoreRuleSetPayload) SetGroups(v map[string]PatchCRSRuleGroup)

SetGroups gets a reference to the given map[string]PatchCRSRuleGroup and assigns it to the Groups field.

func (*PatchCoreRuleSetPayload) SetName added in v0.6.0

func (o *PatchCoreRuleSetPayload) SetName(v string)

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

func (*PatchCoreRuleSetPayload) SetProjectId added in v0.6.0

func (o *PatchCoreRuleSetPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*PatchCoreRuleSetPayload) SetRegion added in v0.6.0

func (o *PatchCoreRuleSetPayload) SetRegion(v string)

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

func (PatchCoreRuleSetPayload) ToMap added in v0.6.0

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

func (*PatchCoreRuleSetPayload) UnmarshalJSON added in v0.6.0

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

type Quotas added in v0.3.0

type Quotas struct {
	CoreRuleSet            *CRSConfigQuota   `json:"coreRuleSet,omitempty"`
	CustomRules            *CustomRulesQuota `json:"customRules,omitempty"`
	WebApplicationFirewall *WAFConfigQuota   `json:"webApplicationFirewall,omitempty"`
	AdditionalProperties   map[string]interface{}
}

Quotas Quotas holds the specific quota elements for different resources

func NewQuotas added in v0.3.0

func NewQuotas() *Quotas

NewQuotas instantiates a new Quotas 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 NewQuotasWithDefaults added in v0.3.0

func NewQuotasWithDefaults() *Quotas

NewQuotasWithDefaults instantiates a new Quotas 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 (*Quotas) GetCoreRuleSet added in v0.3.0

func (o *Quotas) GetCoreRuleSet() CRSConfigQuota

GetCoreRuleSet returns the CoreRuleSet field value if set, zero value otherwise.

func (*Quotas) GetCoreRuleSetOk added in v0.3.0

func (o *Quotas) GetCoreRuleSetOk() (*CRSConfigQuota, bool)

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

func (*Quotas) GetCustomRules added in v0.3.0

func (o *Quotas) GetCustomRules() CustomRulesQuota

GetCustomRules returns the CustomRules field value if set, zero value otherwise.

func (*Quotas) GetCustomRulesOk added in v0.3.0

func (o *Quotas) GetCustomRulesOk() (*CustomRulesQuota, bool)

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

func (*Quotas) GetWebApplicationFirewall added in v0.3.0

func (o *Quotas) GetWebApplicationFirewall() WAFConfigQuota

GetWebApplicationFirewall returns the WebApplicationFirewall field value if set, zero value otherwise.

func (*Quotas) GetWebApplicationFirewallOk added in v0.3.0

func (o *Quotas) GetWebApplicationFirewallOk() (*WAFConfigQuota, bool)

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

func (*Quotas) HasCoreRuleSet added in v0.3.0

func (o *Quotas) HasCoreRuleSet() bool

HasCoreRuleSet returns a boolean if a field has been set.

func (*Quotas) HasCustomRules added in v0.3.0

func (o *Quotas) HasCustomRules() bool

HasCustomRules returns a boolean if a field has been set.

func (*Quotas) HasWebApplicationFirewall added in v0.3.0

func (o *Quotas) HasWebApplicationFirewall() bool

HasWebApplicationFirewall returns a boolean if a field has been set.

func (Quotas) MarshalJSON added in v0.3.0

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

func (*Quotas) SetCoreRuleSet added in v0.3.0

func (o *Quotas) SetCoreRuleSet(v CRSConfigQuota)

SetCoreRuleSet gets a reference to the given CRSConfigQuota and assigns it to the CoreRuleSet field.

func (*Quotas) SetCustomRules added in v0.3.0

func (o *Quotas) SetCustomRules(v CustomRulesQuota)

SetCustomRules gets a reference to the given CustomRulesQuota and assigns it to the CustomRules field.

func (*Quotas) SetWebApplicationFirewall added in v0.3.0

func (o *Quotas) SetWebApplicationFirewall(v WAFConfigQuota)

SetWebApplicationFirewall gets a reference to the given WAFConfigQuota and assigns it to the WebApplicationFirewall field.

func (Quotas) ToMap added in v0.3.0

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

func (*Quotas) UnmarshalJSON added in v0.3.0

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

type Status

type Status struct {
	// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
	Code *int32 `json:"code,omitempty"`
	// A list of messages that carry the error details.  There is a common set of message types for APIs to use.
	Details []GoogleProtobufAny `json:"details,omitempty"`
	// A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

Status The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func NewStatus

func NewStatus() *Status

NewStatus instantiates a new Status 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 NewStatusWithDefaults

func NewStatusWithDefaults() *Status

NewStatusWithDefaults instantiates a new Status 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 (*Status) GetCode

func (o *Status) GetCode() int32

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

func (*Status) GetCodeOk

func (o *Status) GetCodeOk() (*int32, bool)

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

func (*Status) GetDetails

func (o *Status) GetDetails() []GoogleProtobufAny

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

func (*Status) GetDetailsOk

func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, 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 (*Status) GetMessage

func (o *Status) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Status) GetMessageOk

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

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

func (*Status) HasCode

func (o *Status) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Status) HasDetails

func (o *Status) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Status) HasMessage

func (o *Status) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (Status) MarshalJSON

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

func (*Status) SetCode

func (o *Status) SetCode(v int32)

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

func (*Status) SetDetails

func (o *Status) SetDetails(v []GoogleProtobufAny)

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

func (*Status) SetMessage

func (o *Status) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (Status) ToMap

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

func (*Status) UnmarshalJSON added in v0.2.0

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

type UpdateCoreRuleSetPayload

type UpdateCoreRuleSetPayload struct {
	// To activate the OWASP core rule set, set this boolean to true.
	Active *bool `json:"active,omitempty"`
	// Map of Core Rule Set groups to be patched. The key is the Group ID (e.g., 942 for SQL Injection). Only provided rules within the group will be updated; others remain unchanged.
	Groups *map[string]PatchCRSRuleGroup `json:"groups,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

UpdateCoreRuleSetPayload UpdateCoreRuleSetRequest updates a rules configuration, but only if it changed. DEPRECATED use PatchCoreRuleSet

func NewUpdateCoreRuleSetPayload

func NewUpdateCoreRuleSetPayload() *UpdateCoreRuleSetPayload

NewUpdateCoreRuleSetPayload instantiates a new UpdateCoreRuleSetPayload 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 NewUpdateCoreRuleSetPayloadWithDefaults

func NewUpdateCoreRuleSetPayloadWithDefaults() *UpdateCoreRuleSetPayload

NewUpdateCoreRuleSetPayloadWithDefaults instantiates a new UpdateCoreRuleSetPayload 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 (*UpdateCoreRuleSetPayload) GetActive

func (o *UpdateCoreRuleSetPayload) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*UpdateCoreRuleSetPayload) GetActiveOk

func (o *UpdateCoreRuleSetPayload) GetActiveOk() (*bool, bool)

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

func (*UpdateCoreRuleSetPayload) GetGroups added in v0.6.0

GetGroups returns the Groups field value if set, zero value otherwise.

func (*UpdateCoreRuleSetPayload) GetGroupsOk added in v0.6.0

func (o *UpdateCoreRuleSetPayload) GetGroupsOk() (*map[string]PatchCRSRuleGroup, bool)

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

func (*UpdateCoreRuleSetPayload) GetName

func (o *UpdateCoreRuleSetPayload) GetName() string

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

func (*UpdateCoreRuleSetPayload) GetNameOk

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

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

func (*UpdateCoreRuleSetPayload) GetProjectId

func (o *UpdateCoreRuleSetPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*UpdateCoreRuleSetPayload) GetProjectIdOk

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

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

func (*UpdateCoreRuleSetPayload) GetRegion

func (o *UpdateCoreRuleSetPayload) GetRegion() string

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

func (*UpdateCoreRuleSetPayload) GetRegionOk

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

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

func (*UpdateCoreRuleSetPayload) HasActive

func (o *UpdateCoreRuleSetPayload) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*UpdateCoreRuleSetPayload) HasGroups added in v0.6.0

func (o *UpdateCoreRuleSetPayload) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*UpdateCoreRuleSetPayload) HasName

func (o *UpdateCoreRuleSetPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateCoreRuleSetPayload) HasProjectId

func (o *UpdateCoreRuleSetPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*UpdateCoreRuleSetPayload) HasRegion

func (o *UpdateCoreRuleSetPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (UpdateCoreRuleSetPayload) MarshalJSON

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

func (*UpdateCoreRuleSetPayload) SetActive

func (o *UpdateCoreRuleSetPayload) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*UpdateCoreRuleSetPayload) SetGroups added in v0.6.0

SetGroups gets a reference to the given map[string]PatchCRSRuleGroup and assigns it to the Groups field.

func (*UpdateCoreRuleSetPayload) SetName

func (o *UpdateCoreRuleSetPayload) SetName(v string)

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

func (*UpdateCoreRuleSetPayload) SetProjectId

func (o *UpdateCoreRuleSetPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*UpdateCoreRuleSetPayload) SetRegion

func (o *UpdateCoreRuleSetPayload) SetRegion(v string)

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

func (UpdateCoreRuleSetPayload) ToMap

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

func (*UpdateCoreRuleSetPayload) UnmarshalJSON added in v0.2.0

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

type UpdateCoreRuleSetResponse

type UpdateCoreRuleSetResponse struct {
	// Indicates if the OWASP core rule set is active.
	Active *bool `json:"active,omitempty"`
	// Core rule set configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region               *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	AdditionalProperties map[string]interface{}
}

UpdateCoreRuleSetResponse DEPRECATED use PatchCoreRuleSet

func NewUpdateCoreRuleSetResponse

func NewUpdateCoreRuleSetResponse() *UpdateCoreRuleSetResponse

NewUpdateCoreRuleSetResponse instantiates a new UpdateCoreRuleSetResponse 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 NewUpdateCoreRuleSetResponseWithDefaults

func NewUpdateCoreRuleSetResponseWithDefaults() *UpdateCoreRuleSetResponse

NewUpdateCoreRuleSetResponseWithDefaults instantiates a new UpdateCoreRuleSetResponse 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 (*UpdateCoreRuleSetResponse) GetActive

func (o *UpdateCoreRuleSetResponse) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*UpdateCoreRuleSetResponse) GetActiveOk

func (o *UpdateCoreRuleSetResponse) GetActiveOk() (*bool, bool)

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

func (*UpdateCoreRuleSetResponse) GetName

func (o *UpdateCoreRuleSetResponse) GetName() string

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

func (*UpdateCoreRuleSetResponse) GetNameOk

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

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

func (*UpdateCoreRuleSetResponse) GetRegion

func (o *UpdateCoreRuleSetResponse) GetRegion() string

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

func (*UpdateCoreRuleSetResponse) GetRegionOk

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

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

func (*UpdateCoreRuleSetResponse) HasActive

func (o *UpdateCoreRuleSetResponse) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*UpdateCoreRuleSetResponse) HasName

func (o *UpdateCoreRuleSetResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateCoreRuleSetResponse) HasRegion

func (o *UpdateCoreRuleSetResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (UpdateCoreRuleSetResponse) MarshalJSON

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

func (*UpdateCoreRuleSetResponse) SetActive

func (o *UpdateCoreRuleSetResponse) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*UpdateCoreRuleSetResponse) SetName

func (o *UpdateCoreRuleSetResponse) SetName(v string)

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

func (*UpdateCoreRuleSetResponse) SetRegion

func (o *UpdateCoreRuleSetResponse) SetRegion(v string)

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

func (UpdateCoreRuleSetResponse) ToMap

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

func (*UpdateCoreRuleSetResponse) UnmarshalJSON added in v0.2.0

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

type UpdateRulesPayload

type UpdateRulesPayload struct {
	// Rule configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Custom rules for WAF written in Seclang syntax.
	Rules                *string `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateRulesPayload UpdateRulesRequest updates a rules configuration, but only if it changed.

func NewUpdateRulesPayload

func NewUpdateRulesPayload() *UpdateRulesPayload

NewUpdateRulesPayload instantiates a new UpdateRulesPayload 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 NewUpdateRulesPayloadWithDefaults

func NewUpdateRulesPayloadWithDefaults() *UpdateRulesPayload

NewUpdateRulesPayloadWithDefaults instantiates a new UpdateRulesPayload 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 (*UpdateRulesPayload) GetName

func (o *UpdateRulesPayload) GetName() string

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

func (*UpdateRulesPayload) GetNameOk

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

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

func (*UpdateRulesPayload) GetProjectId

func (o *UpdateRulesPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*UpdateRulesPayload) GetProjectIdOk

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

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

func (*UpdateRulesPayload) GetRegion

func (o *UpdateRulesPayload) GetRegion() string

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

func (*UpdateRulesPayload) GetRegionOk

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

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

func (*UpdateRulesPayload) GetRules

func (o *UpdateRulesPayload) GetRules() string

GetRules returns the Rules field value if set, zero value otherwise.

func (*UpdateRulesPayload) GetRulesOk

func (o *UpdateRulesPayload) GetRulesOk() (*string, bool)

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

func (*UpdateRulesPayload) HasName

func (o *UpdateRulesPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateRulesPayload) HasProjectId

func (o *UpdateRulesPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*UpdateRulesPayload) HasRegion

func (o *UpdateRulesPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*UpdateRulesPayload) HasRules

func (o *UpdateRulesPayload) HasRules() bool

HasRules returns a boolean if a field has been set.

func (UpdateRulesPayload) MarshalJSON

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

func (*UpdateRulesPayload) SetName

func (o *UpdateRulesPayload) SetName(v string)

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

func (*UpdateRulesPayload) SetProjectId

func (o *UpdateRulesPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*UpdateRulesPayload) SetRegion

func (o *UpdateRulesPayload) SetRegion(v string)

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

func (*UpdateRulesPayload) SetRules

func (o *UpdateRulesPayload) SetRules(v string)

SetRules gets a reference to the given string and assigns it to the Rules field.

func (UpdateRulesPayload) ToMap

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

func (*UpdateRulesPayload) UnmarshalJSON added in v0.2.0

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

type UpdateRulesResponse

type UpdateRulesResponse struct {
	// Rule configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Custom rules written in Seclang syntax.
	Rules                *string `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateRulesResponse UpdateRulesResponse returns rule configuration name and it's rules.

func NewUpdateRulesResponse

func NewUpdateRulesResponse() *UpdateRulesResponse

NewUpdateRulesResponse instantiates a new UpdateRulesResponse 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 NewUpdateRulesResponseWithDefaults

func NewUpdateRulesResponseWithDefaults() *UpdateRulesResponse

NewUpdateRulesResponseWithDefaults instantiates a new UpdateRulesResponse 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 (*UpdateRulesResponse) GetName

func (o *UpdateRulesResponse) GetName() string

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

func (*UpdateRulesResponse) GetNameOk

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

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

func (*UpdateRulesResponse) GetRegion

func (o *UpdateRulesResponse) GetRegion() string

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

func (*UpdateRulesResponse) GetRegionOk

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

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

func (*UpdateRulesResponse) GetRules

func (o *UpdateRulesResponse) GetRules() string

GetRules returns the Rules field value if set, zero value otherwise.

func (*UpdateRulesResponse) GetRulesOk

func (o *UpdateRulesResponse) GetRulesOk() (*string, bool)

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

func (*UpdateRulesResponse) HasName

func (o *UpdateRulesResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateRulesResponse) HasRegion

func (o *UpdateRulesResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*UpdateRulesResponse) HasRules

func (o *UpdateRulesResponse) HasRules() bool

HasRules returns a boolean if a field has been set.

func (UpdateRulesResponse) MarshalJSON

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

func (*UpdateRulesResponse) SetName

func (o *UpdateRulesResponse) SetName(v string)

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

func (*UpdateRulesResponse) SetRegion

func (o *UpdateRulesResponse) SetRegion(v string)

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

func (*UpdateRulesResponse) SetRules

func (o *UpdateRulesResponse) SetRules(v string)

SetRules gets a reference to the given string and assigns it to the Rules field.

func (UpdateRulesResponse) ToMap

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

func (*UpdateRulesResponse) UnmarshalJSON added in v0.2.0

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

type UpdateWAFPayload

type UpdateWAFPayload struct {
	// Name of the core rule set configuration for that WAF.
	CoreRuleSetName *string `json:"coreRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF.  **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them.  **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
	Labels *map[string]string `json:"labels,omitempty"`
	// WAF name
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Project identifier
	ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Name of the rule configuration for that WAF.
	RulesConfigName      *string `json:"rulesConfigName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

UpdateWAFPayload UpdateWAFRequest updates a WAF if rules changed.

func NewUpdateWAFPayload

func NewUpdateWAFPayload() *UpdateWAFPayload

NewUpdateWAFPayload instantiates a new UpdateWAFPayload 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 NewUpdateWAFPayloadWithDefaults

func NewUpdateWAFPayloadWithDefaults() *UpdateWAFPayload

NewUpdateWAFPayloadWithDefaults instantiates a new UpdateWAFPayload 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 (*UpdateWAFPayload) GetCoreRuleSetName

func (o *UpdateWAFPayload) GetCoreRuleSetName() string

GetCoreRuleSetName returns the CoreRuleSetName field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetCoreRuleSetNameOk

func (o *UpdateWAFPayload) GetCoreRuleSetNameOk() (*string, bool)

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

func (*UpdateWAFPayload) GetLabels added in v0.8.0

func (o *UpdateWAFPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetLabelsOk added in v0.8.0

func (o *UpdateWAFPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*UpdateWAFPayload) GetName

func (o *UpdateWAFPayload) GetName() string

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

func (*UpdateWAFPayload) GetNameOk

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

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

func (*UpdateWAFPayload) GetProjectId

func (o *UpdateWAFPayload) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetProjectIdOk

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

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

func (*UpdateWAFPayload) GetRegion

func (o *UpdateWAFPayload) GetRegion() string

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

func (*UpdateWAFPayload) GetRegionOk

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

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

func (*UpdateWAFPayload) GetRulesConfigName

func (o *UpdateWAFPayload) GetRulesConfigName() string

GetRulesConfigName returns the RulesConfigName field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetRulesConfigNameOk

func (o *UpdateWAFPayload) GetRulesConfigNameOk() (*string, bool)

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

func (*UpdateWAFPayload) HasCoreRuleSetName

func (o *UpdateWAFPayload) HasCoreRuleSetName() bool

HasCoreRuleSetName returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasLabels added in v0.8.0

func (o *UpdateWAFPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasName

func (o *UpdateWAFPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasProjectId

func (o *UpdateWAFPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasRegion

func (o *UpdateWAFPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasRulesConfigName

func (o *UpdateWAFPayload) HasRulesConfigName() bool

HasRulesConfigName returns a boolean if a field has been set.

func (UpdateWAFPayload) MarshalJSON

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

func (*UpdateWAFPayload) SetCoreRuleSetName

func (o *UpdateWAFPayload) SetCoreRuleSetName(v string)

SetCoreRuleSetName gets a reference to the given string and assigns it to the CoreRuleSetName field.

func (*UpdateWAFPayload) SetLabels added in v0.8.0

func (o *UpdateWAFPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateWAFPayload) SetName

func (o *UpdateWAFPayload) SetName(v string)

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

func (*UpdateWAFPayload) SetProjectId

func (o *UpdateWAFPayload) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*UpdateWAFPayload) SetRegion

func (o *UpdateWAFPayload) SetRegion(v string)

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

func (*UpdateWAFPayload) SetRulesConfigName

func (o *UpdateWAFPayload) SetRulesConfigName(v string)

SetRulesConfigName gets a reference to the given string and assigns it to the RulesConfigName field.

func (UpdateWAFPayload) ToMap

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

func (*UpdateWAFPayload) UnmarshalJSON added in v0.2.0

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

type UpdateWAFResponse

type UpdateWAFResponse struct {
	// Name of the core rule set configuration for that WAF.
	CoreRuleSetName *string `json:"coreRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF.  **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them.  **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
	Labels *map[string]string `json:"labels,omitempty"`
	// WAF name
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Region
	Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
	// Name of the rule configuration for that WAF.
	RulesConfigName      *string `json:"rulesConfigName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	AdditionalProperties map[string]interface{}
}

UpdateWAFResponse UpdateWAFResponse returns name and custom rules.

func NewUpdateWAFResponse

func NewUpdateWAFResponse() *UpdateWAFResponse

NewUpdateWAFResponse instantiates a new UpdateWAFResponse 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 NewUpdateWAFResponseWithDefaults

func NewUpdateWAFResponseWithDefaults() *UpdateWAFResponse

NewUpdateWAFResponseWithDefaults instantiates a new UpdateWAFResponse 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 (*UpdateWAFResponse) GetCoreRuleSetName

func (o *UpdateWAFResponse) GetCoreRuleSetName() string

GetCoreRuleSetName returns the CoreRuleSetName field value if set, zero value otherwise.

func (*UpdateWAFResponse) GetCoreRuleSetNameOk

func (o *UpdateWAFResponse) GetCoreRuleSetNameOk() (*string, bool)

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

func (*UpdateWAFResponse) GetLabels added in v0.8.0

func (o *UpdateWAFResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateWAFResponse) GetLabelsOk added in v0.8.0

func (o *UpdateWAFResponse) GetLabelsOk() (*map[string]string, bool)

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

func (*UpdateWAFResponse) GetName

func (o *UpdateWAFResponse) GetName() string

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

func (*UpdateWAFResponse) GetNameOk

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

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

func (*UpdateWAFResponse) GetRegion

func (o *UpdateWAFResponse) GetRegion() string

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

func (*UpdateWAFResponse) GetRegionOk

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

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

func (*UpdateWAFResponse) GetRulesConfigName

func (o *UpdateWAFResponse) GetRulesConfigName() string

GetRulesConfigName returns the RulesConfigName field value if set, zero value otherwise.

func (*UpdateWAFResponse) GetRulesConfigNameOk

func (o *UpdateWAFResponse) GetRulesConfigNameOk() (*string, bool)

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

func (*UpdateWAFResponse) HasCoreRuleSetName

func (o *UpdateWAFResponse) HasCoreRuleSetName() bool

HasCoreRuleSetName returns a boolean if a field has been set.

func (*UpdateWAFResponse) HasLabels added in v0.8.0

func (o *UpdateWAFResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateWAFResponse) HasName

func (o *UpdateWAFResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateWAFResponse) HasRegion

func (o *UpdateWAFResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*UpdateWAFResponse) HasRulesConfigName

func (o *UpdateWAFResponse) HasRulesConfigName() bool

HasRulesConfigName returns a boolean if a field has been set.

func (UpdateWAFResponse) MarshalJSON

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

func (*UpdateWAFResponse) SetCoreRuleSetName

func (o *UpdateWAFResponse) SetCoreRuleSetName(v string)

SetCoreRuleSetName gets a reference to the given string and assigns it to the CoreRuleSetName field.

func (*UpdateWAFResponse) SetLabels added in v0.8.0

func (o *UpdateWAFResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateWAFResponse) SetName

func (o *UpdateWAFResponse) SetName(v string)

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

func (*UpdateWAFResponse) SetRegion

func (o *UpdateWAFResponse) SetRegion(v string)

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

func (*UpdateWAFResponse) SetRulesConfigName

func (o *UpdateWAFResponse) SetRulesConfigName(v string)

SetRulesConfigName gets a reference to the given string and assigns it to the RulesConfigName field.

func (UpdateWAFResponse) ToMap

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

func (*UpdateWAFResponse) UnmarshalJSON added in v0.2.0

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

type WAFConfigQuota added in v0.3.0

type WAFConfigQuota struct {
	// The maximum number of Web Application Firewall configurations in this project.
	Limit *int32 `json:"limit,omitempty"`
	// The number of Web Application Firewall configurations that are currently existing in this project.
	Usage                *int32 `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}
}

WAFConfigQuota WAF Config quota holds the limit and usage for Web Application Firewall configuration resources

func NewWAFConfigQuota added in v0.3.0

func NewWAFConfigQuota() *WAFConfigQuota

NewWAFConfigQuota instantiates a new WAFConfigQuota 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 NewWAFConfigQuotaWithDefaults added in v0.3.0

func NewWAFConfigQuotaWithDefaults() *WAFConfigQuota

NewWAFConfigQuotaWithDefaults instantiates a new WAFConfigQuota 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 (*WAFConfigQuota) GetLimit added in v0.3.0

func (o *WAFConfigQuota) GetLimit() int32

GetLimit returns the Limit field value if set, zero value otherwise.

func (*WAFConfigQuota) GetLimitOk added in v0.3.0

func (o *WAFConfigQuota) GetLimitOk() (*int32, bool)

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

func (*WAFConfigQuota) GetUsage added in v0.3.0

func (o *WAFConfigQuota) GetUsage() int32

GetUsage returns the Usage field value if set, zero value otherwise.

func (*WAFConfigQuota) GetUsageOk added in v0.3.0

func (o *WAFConfigQuota) GetUsageOk() (*int32, bool)

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

func (*WAFConfigQuota) HasLimit added in v0.3.0

func (o *WAFConfigQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*WAFConfigQuota) HasUsage added in v0.3.0

func (o *WAFConfigQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (WAFConfigQuota) MarshalJSON added in v0.3.0

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

func (*WAFConfigQuota) SetLimit added in v0.3.0

func (o *WAFConfigQuota) SetLimit(v int32)

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*WAFConfigQuota) SetUsage added in v0.3.0

func (o *WAFConfigQuota) SetUsage(v int32)

SetUsage gets a reference to the given int32 and assigns it to the Usage field.

func (WAFConfigQuota) ToMap added in v0.3.0

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

func (*WAFConfigQuota) UnmarshalJSON added in v0.3.0

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

Jump to

Keyboard shortcuts

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