v1betaapi

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 AllowedActionEnumValues = []Action{
	"ACTION_DENY",
	"ACTION_PASS",
	"ACTION_ALLOW",
	"unknown_default_open_api",
}

All allowed values of Action enum

View Source
var AllowedModeEnumValues = []Mode{
	"MODE_ENABLED",
	"MODE_DISABLED",
	"MODE_LOG_ONLY",
	"unknown_default_open_api",
}

All allowed values of Mode enum

View Source
var AllowedOperatorEnumValues = []Operator{
	"OPERATOR_BEGINS_WITH",
	"OPERATOR_CONTAINS",
	"OPERATOR_ENDS_WITH",
	"OPERATOR_EQ",
	"OPERATOR_GE",
	"OPERATOR_GT",
	"OPERATOR_IP_MATCH",
	"OPERATOR_LE",
	"OPERATOR_LT",
	"OPERATOR_RX",
	"OPERATOR_STREQ",
	"OPERATOR_STRMATCH",
	"OPERATOR_VALIDATE_SCHEMA",
	"OPERATOR_VALIDATE_URL_ENCODING",
	"OPERATOR_VALIDATE_UTF8_ENCODING",
	"OPERATOR_WITHIN",
	"unknown_default_open_api",
}

All allowed values of Operator enum

View Source
var AllowedSeverityEnumValues = []Severity{
	"SEVERITY_EMERGENCY",
	"SEVERITY_ALERT",
	"SEVERITY_CRITICAL",
	"SEVERITY_ERROR",
	"SEVERITY_WARNING",
	"SEVERITY_NOTICE",
	"SEVERITY_INFO",
	"SEVERITY_DEBUG",
	"unknown_default_open_api",
}

All allowed values of Severity enum

View Source
var AllowedTransformationEnumValues = []Transformation{
	"TRANSFORMATION_LENGTH",
	"TRANSFORMATION_LOWERCASE",
	"TRANSFORMATION_NONE",
	"TRANSFORMATION_TRIM",
	"TRANSFORMATION_UPPERCASE",
	"TRANSFORMATION_UTF8_TO_UNICODE",
	"unknown_default_open_api",
}

All allowed values of Transformation enum

View Source
var AllowedTypeEnumValues = []Type{
	"TYPE_OWASP_CRS",
	"unknown_default_open_api",
}

All allowed values of Type enum

View Source
var AllowedVariableEnumValues = []Variable{
	"VARIABLE_ARGS_GET",
	"VARIABLE_ARGS_POST",
	"VARIABLE_FULL_REQUEST_LENGTH",
	"VARIABLE_MATCHED_VAR",
	"VARIABLE_QUERY_STRING",
	"VARIABLE_REMOTE_ADDR",
	"VARIABLE_REMOTE_PORT",
	"VARIABLE_REQUEST_BASENAME",
	"VARIABLE_REQUEST_BODY",
	"VARIABLE_REQUEST_BODY_LENGTH",
	"VARIABLE_REQUEST_COOKIES",
	"VARIABLE_REQUEST_HEADERS",
	"VARIABLE_REQUEST_HEADERS_NAMES",
	"VARIABLE_REQUEST_METHOD",
	"VARIABLE_REQUEST_PROTOCOL",
	"VARIABLE_REQUEST_URI_RAW",
	"VARIABLE_RESPONSE_BODY",
	"VARIABLE_RESPONSE_CONTENT_LENGTH",
	"VARIABLE_RESPONSE_HEADERS",
	"VARIABLE_RESPONSE_HEADERS_NAMES",
	"VARIABLE_RESPONSE_PROTOCOL",
	"VARIABLE_RESPONSE_STATUS",
	"unknown_default_open_api",
}

All allowed values of Variable 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 v1beta.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

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

func (*APIClient) GetConfig

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

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type Action added in v0.13.0

type Action string

Action The protective stance action. ACTION_DENY forces a 403 status response code.

const (
	ACTION_ACTION_DENY              Action = "ACTION_DENY"
	ACTION_ACTION_PASS              Action = "ACTION_PASS"
	ACTION_ACTION_ALLOW             Action = "ACTION_ALLOW"
	ACTION_UNKNOWN_DEFAULT_OPEN_API Action = "unknown_default_open_api"
)

List of Action

func NewActionFromValue added in v0.13.0

func NewActionFromValue(v string) (*Action, error)

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

func (Action) IsValid added in v0.13.0

func (v Action) IsValid() bool

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

func (Action) Ptr added in v0.13.0

func (v Action) Ptr() *Action

Ptr returns reference to Action value

func (*Action) UnmarshalJSON added in v0.13.0

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

type ApiCreateCustomRuleGroupRequest

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

func (ApiCreateCustomRuleGroupRequest) CreateCustomRuleGroupPayload

func (r ApiCreateCustomRuleGroupRequest) CreateCustomRuleGroupPayload(createCustomRuleGroupPayload CreateCustomRuleGroupPayload) ApiCreateCustomRuleGroupRequest

func (ApiCreateCustomRuleGroupRequest) Execute

type ApiCreateManagedRuleSetRequest

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

func (ApiCreateManagedRuleSetRequest) CreateManagedRuleSetPayload

func (r ApiCreateManagedRuleSetRequest) CreateManagedRuleSetPayload(createManagedRuleSetPayload CreateManagedRuleSetPayload) ApiCreateManagedRuleSetRequest

func (ApiCreateManagedRuleSetRequest) 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

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

type ApiDeleteCustomRuleGroupRequest

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

func (ApiDeleteCustomRuleGroupRequest) Execute

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

type ApiDeleteManagedRuleSetRequest

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

func (ApiDeleteManagedRuleSetRequest) Execute

func (r ApiDeleteManagedRuleSetRequest) 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 ApiGetCustomRuleGroupRequest

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

func (ApiGetCustomRuleGroupRequest) Execute

type ApiGetManagedRuleSetRequest

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

func (ApiGetManagedRuleSetRequest) Execute

type ApiGetQuotaRequest

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

func (ApiGetQuotaRequest) Execute

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

type ApiGetWAFRequest

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

func (ApiGetWAFRequest) Execute

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

type ApiListCustomRuleGroupRequest

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

func (ApiListCustomRuleGroupRequest) Execute

func (ApiListCustomRuleGroupRequest) PageId

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

func (ApiListCustomRuleGroupRequest) PageSize

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

type ApiListManagedRuleSetsRequest

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

func (ApiListManagedRuleSetsRequest) Execute

func (ApiListManagedRuleSetsRequest) PageId

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

func (ApiListManagedRuleSetsRequest) PageSize

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 ApiPatchManagedRuleSetRequest

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

func (ApiPatchManagedRuleSetRequest) Execute

func (ApiPatchManagedRuleSetRequest) PatchManagedRuleSetPayload

func (r ApiPatchManagedRuleSetRequest) PatchManagedRuleSetPayload(patchManagedRuleSetPayload PatchManagedRuleSetPayload) ApiPatchManagedRuleSetRequest

type ApiUpdateCustomRuleGroupRequest added in v0.12.0

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

func (ApiUpdateCustomRuleGroupRequest) Execute added in v0.12.0

func (ApiUpdateCustomRuleGroupRequest) UpdateCustomRuleGroupPayload added in v0.12.0

func (r ApiUpdateCustomRuleGroupRequest) UpdateCustomRuleGroupPayload(updateCustomRuleGroupPayload UpdateCustomRuleGroupPayload) ApiUpdateCustomRuleGroupRequest

type ApiUpdateWAFRequest

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

func (ApiUpdateWAFRequest) Execute

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

func (ApiUpdateWAFRequest) UpdateWAFPayload

func (r ApiUpdateWAFRequest) UpdateWAFPayload(updateWAFPayload UpdateWAFPayload) ApiUpdateWAFRequest

type Behaviour

type Behaviour struct {
	Action Action `json:"action"`
	// Determines whether an entry should be generated in the security ledger upon a rule hit.
	Log *bool `json:"log,omitempty"`
	// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
	LogMsg               *string `json:"logMsg,omitempty"`
	AdditionalProperties map[string]interface{}
}

Behaviour struct for Behaviour

func NewBehaviour

func NewBehaviour(action Action) *Behaviour

NewBehaviour instantiates a new Behaviour 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 NewBehaviourWithDefaults

func NewBehaviourWithDefaults() *Behaviour

NewBehaviourWithDefaults instantiates a new Behaviour 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 (*Behaviour) GetAction

func (o *Behaviour) GetAction() Action

GetAction returns the Action field value

func (*Behaviour) GetActionOk

func (o *Behaviour) GetActionOk() (*Action, bool)

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

func (*Behaviour) GetLog

func (o *Behaviour) GetLog() bool

GetLog returns the Log field value if set, zero value otherwise.

func (*Behaviour) GetLogMsg

func (o *Behaviour) GetLogMsg() string

GetLogMsg returns the LogMsg field value if set, zero value otherwise.

func (*Behaviour) GetLogMsgOk

func (o *Behaviour) GetLogMsgOk() (*string, bool)

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

func (*Behaviour) GetLogOk

func (o *Behaviour) GetLogOk() (*bool, bool)

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

func (*Behaviour) HasLog

func (o *Behaviour) HasLog() bool

HasLog returns a boolean if a field has been set.

func (*Behaviour) HasLogMsg

func (o *Behaviour) HasLogMsg() bool

HasLogMsg returns a boolean if a field has been set.

func (Behaviour) MarshalJSON

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

func (*Behaviour) SetAction

func (o *Behaviour) SetAction(v Action)

SetAction sets field value

func (*Behaviour) SetLog

func (o *Behaviour) SetLog(v bool)

SetLog gets a reference to the given bool and assigns it to the Log field.

func (*Behaviour) SetLogMsg

func (o *Behaviour) SetLogMsg(v string)

SetLogMsg gets a reference to the given string and assigns it to the LogMsg field.

func (Behaviour) ToMap

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

func (*Behaviour) UnmarshalJSON

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

type CRGConfigQuota

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

CRGConfigQuota CRG quotas holds the limit and usage for CRG resources

func NewCRGConfigQuota

func NewCRGConfigQuota() *CRGConfigQuota

NewCRGConfigQuota instantiates a new CRGConfigQuota 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 NewCRGConfigQuotaWithDefaults

func NewCRGConfigQuotaWithDefaults() *CRGConfigQuota

NewCRGConfigQuotaWithDefaults instantiates a new CRGConfigQuota 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 (*CRGConfigQuota) GetLimit

func (o *CRGConfigQuota) GetLimit() int32

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

func (*CRGConfigQuota) GetLimitOk

func (o *CRGConfigQuota) 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 (*CRGConfigQuota) GetUsage

func (o *CRGConfigQuota) GetUsage() int32

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

func (*CRGConfigQuota) GetUsageOk

func (o *CRGConfigQuota) 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 (*CRGConfigQuota) HasLimit

func (o *CRGConfigQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*CRGConfigQuota) HasUsage

func (o *CRGConfigQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (CRGConfigQuota) MarshalJSON

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

func (*CRGConfigQuota) SetLimit

func (o *CRGConfigQuota) SetLimit(v int32)

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

func (*CRGConfigQuota) SetUsage

func (o *CRGConfigQuota) SetUsage(v int32)

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

func (CRGConfigQuota) ToMap

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

func (*CRGConfigQuota) UnmarshalJSON

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

type CRGUsage

type CRGUsage struct {
	// Number of WAF configurations actively using this rule group.
	Count *int32 `json:"count,omitempty"`
	// List of individual WAF configuration names that bind this rule group.
	Items                []string `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

CRGUsage Tracking metrics for CRG resource utilization

func NewCRGUsage

func NewCRGUsage() *CRGUsage

NewCRGUsage instantiates a new CRGUsage 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 NewCRGUsageWithDefaults

func NewCRGUsageWithDefaults() *CRGUsage

NewCRGUsageWithDefaults instantiates a new CRGUsage 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 (*CRGUsage) GetCount

func (o *CRGUsage) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*CRGUsage) GetCountOk

func (o *CRGUsage) GetCountOk() (*int32, bool)

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

func (*CRGUsage) GetItems

func (o *CRGUsage) GetItems() []string

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

func (*CRGUsage) GetItemsOk

func (o *CRGUsage) GetItemsOk() ([]string, 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 (*CRGUsage) HasCount

func (o *CRGUsage) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*CRGUsage) HasItems

func (o *CRGUsage) HasItems() bool

HasItems returns a boolean if a field has been set.

func (CRGUsage) MarshalJSON

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

func (*CRGUsage) SetCount

func (o *CRGUsage) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*CRGUsage) SetItems

func (o *CRGUsage) SetItems(v []string)

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

func (CRGUsage) ToMap

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

func (*CRGUsage) UnmarshalJSON

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

type Condition

type Condition struct {
	Operator ConditionOperator `json:"operator"`
	// [HINT] Ordered processing adjustments applied to clean inputs before match checking.
	Transformations      []Transformation  `json:"transformations,omitempty"`
	Variable             ConditionVariable `json:"variable"`
	AdditionalProperties map[string]interface{}
}

Condition struct for Condition

func NewCondition

func NewCondition(operator ConditionOperator, variable ConditionVariable) *Condition

NewCondition instantiates a new Condition 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 NewConditionWithDefaults

func NewConditionWithDefaults() *Condition

NewConditionWithDefaults instantiates a new Condition 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 (*Condition) GetOperator

func (o *Condition) GetOperator() ConditionOperator

GetOperator returns the Operator field value

func (*Condition) GetOperatorOk

func (o *Condition) GetOperatorOk() (*ConditionOperator, bool)

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

func (*Condition) GetTransformations

func (o *Condition) GetTransformations() []Transformation

GetTransformations returns the Transformations field value if set, zero value otherwise.

func (*Condition) GetTransformationsOk

func (o *Condition) GetTransformationsOk() ([]Transformation, bool)

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

func (*Condition) GetVariable

func (o *Condition) GetVariable() ConditionVariable

GetVariable returns the Variable field value

func (*Condition) GetVariableOk

func (o *Condition) GetVariableOk() (*ConditionVariable, bool)

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

func (*Condition) HasTransformations

func (o *Condition) HasTransformations() bool

HasTransformations returns a boolean if a field has been set.

func (Condition) MarshalJSON

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

func (*Condition) SetOperator

func (o *Condition) SetOperator(v ConditionOperator)

SetOperator sets field value

func (*Condition) SetTransformations

func (o *Condition) SetTransformations(v []Transformation)

SetTransformations gets a reference to the given []Transformation and assigns it to the Transformations field.

func (*Condition) SetVariable

func (o *Condition) SetVariable(v ConditionVariable)

SetVariable sets field value

func (Condition) ToMap

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

func (*Condition) UnmarshalJSON

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

type ConditionOperator

type ConditionOperator struct {
	Type Operator `json:"type"`
	// The text or rule regex pattern arguments applied inside the operator execution loop.
	Value                *string `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConditionOperator struct for ConditionOperator

func NewConditionOperator

func NewConditionOperator(types Operator) *ConditionOperator

NewConditionOperator instantiates a new ConditionOperator 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 NewConditionOperatorWithDefaults

func NewConditionOperatorWithDefaults() *ConditionOperator

NewConditionOperatorWithDefaults instantiates a new ConditionOperator 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 (*ConditionOperator) GetType

func (o *ConditionOperator) GetType() Operator

GetType returns the Type field value

func (*ConditionOperator) GetTypeOk

func (o *ConditionOperator) GetTypeOk() (*Operator, bool)

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

func (*ConditionOperator) GetValue

func (o *ConditionOperator) GetValue() string

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

func (*ConditionOperator) GetValueOk

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

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

func (*ConditionOperator) HasValue

func (o *ConditionOperator) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ConditionOperator) MarshalJSON

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

func (*ConditionOperator) SetType

func (o *ConditionOperator) SetType(v Operator)

SetType sets field value

func (*ConditionOperator) SetValue

func (o *ConditionOperator) SetValue(v string)

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

func (ConditionOperator) ToMap

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

func (*ConditionOperator) UnmarshalJSON

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

type ConditionVariable

type ConditionVariable struct {
	Type Variable `json:"type"`
	// Optional key element context for map variables (e.g., matching a 'Host' header key).
	Value                *string `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConditionVariable struct for ConditionVariable

func NewConditionVariable

func NewConditionVariable(types Variable) *ConditionVariable

NewConditionVariable instantiates a new ConditionVariable 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 NewConditionVariableWithDefaults

func NewConditionVariableWithDefaults() *ConditionVariable

NewConditionVariableWithDefaults instantiates a new ConditionVariable 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 (*ConditionVariable) GetType

func (o *ConditionVariable) GetType() Variable

GetType returns the Type field value

func (*ConditionVariable) GetTypeOk

func (o *ConditionVariable) GetTypeOk() (*Variable, bool)

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

func (*ConditionVariable) GetValue

func (o *ConditionVariable) GetValue() string

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

func (*ConditionVariable) GetValueOk

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

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

func (*ConditionVariable) HasValue

func (o *ConditionVariable) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ConditionVariable) MarshalJSON

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

func (*ConditionVariable) SetType

func (o *ConditionVariable) SetType(v Variable)

SetType sets field value

func (*ConditionVariable) SetValue

func (o *ConditionVariable) SetValue(v string)

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

func (ConditionVariable) ToMap

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

func (*ConditionVariable) UnmarshalJSON

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

type CreateCustomRule

type CreateCustomRule struct {
	Behaviour Behaviour `json:"behaviour"`
	// [HINT] Order matters! First condition match triggers execution.
	Conditions []Condition `json:"conditions"`
	// A clear description explaining the threat vector or criteria addressed by this rule.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateCustomRule struct for CreateCustomRule

func NewCreateCustomRule

func NewCreateCustomRule(behaviour Behaviour, conditions []Condition) *CreateCustomRule

NewCreateCustomRule instantiates a new CreateCustomRule 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 NewCreateCustomRuleWithDefaults

func NewCreateCustomRuleWithDefaults() *CreateCustomRule

NewCreateCustomRuleWithDefaults instantiates a new CreateCustomRule 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 (*CreateCustomRule) GetBehaviour

func (o *CreateCustomRule) GetBehaviour() Behaviour

GetBehaviour returns the Behaviour field value

func (*CreateCustomRule) GetBehaviourOk

func (o *CreateCustomRule) GetBehaviourOk() (*Behaviour, bool)

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

func (*CreateCustomRule) GetConditions

func (o *CreateCustomRule) GetConditions() []Condition

GetConditions returns the Conditions field value

func (*CreateCustomRule) GetConditionsOk

func (o *CreateCustomRule) GetConditionsOk() ([]Condition, bool)

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

func (*CreateCustomRule) GetDescription

func (o *CreateCustomRule) GetDescription() string

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

func (*CreateCustomRule) GetDescriptionOk

func (o *CreateCustomRule) 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 (*CreateCustomRule) HasDescription

func (o *CreateCustomRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateCustomRule) MarshalJSON

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

func (*CreateCustomRule) SetBehaviour

func (o *CreateCustomRule) SetBehaviour(v Behaviour)

SetBehaviour sets field value

func (*CreateCustomRule) SetConditions

func (o *CreateCustomRule) SetConditions(v []Condition)

SetConditions sets field value

func (*CreateCustomRule) SetDescription

func (o *CreateCustomRule) SetDescription(v string)

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

func (CreateCustomRule) ToMap

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

func (*CreateCustomRule) UnmarshalJSON

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

type CreateCustomRuleGroupPayload

type CreateCustomRuleGroupPayload struct {
	// Custom rule group name.
	Name string `json:"name" 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}$"`
	// The collection of custom rule group SecLang parameters forming this execution group.
	Rules                []CreateCustomRule `json:"rules"`
	AdditionalProperties map[string]interface{}
}

CreateCustomRuleGroupPayload Request payload for creating a CRG.

func NewCreateCustomRuleGroupPayload

func NewCreateCustomRuleGroupPayload(name string, rules []CreateCustomRule) *CreateCustomRuleGroupPayload

NewCreateCustomRuleGroupPayload instantiates a new CreateCustomRuleGroupPayload 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 NewCreateCustomRuleGroupPayloadWithDefaults

func NewCreateCustomRuleGroupPayloadWithDefaults() *CreateCustomRuleGroupPayload

NewCreateCustomRuleGroupPayloadWithDefaults instantiates a new CreateCustomRuleGroupPayload 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 (*CreateCustomRuleGroupPayload) GetName

func (o *CreateCustomRuleGroupPayload) GetName() string

GetName returns the Name field value

func (*CreateCustomRuleGroupPayload) GetNameOk

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

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

func (*CreateCustomRuleGroupPayload) GetProjectId

func (o *CreateCustomRuleGroupPayload) GetProjectId() string

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

func (*CreateCustomRuleGroupPayload) GetProjectIdOk

func (o *CreateCustomRuleGroupPayload) 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 (*CreateCustomRuleGroupPayload) GetRegion

func (o *CreateCustomRuleGroupPayload) GetRegion() string

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

func (*CreateCustomRuleGroupPayload) GetRegionOk

func (o *CreateCustomRuleGroupPayload) 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 (*CreateCustomRuleGroupPayload) GetRules

GetRules returns the Rules field value

func (*CreateCustomRuleGroupPayload) GetRulesOk

func (o *CreateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)

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

func (*CreateCustomRuleGroupPayload) HasProjectId

func (o *CreateCustomRuleGroupPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateCustomRuleGroupPayload) HasRegion

func (o *CreateCustomRuleGroupPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CreateCustomRuleGroupPayload) MarshalJSON

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

func (*CreateCustomRuleGroupPayload) SetName

func (o *CreateCustomRuleGroupPayload) SetName(v string)

SetName sets field value

func (*CreateCustomRuleGroupPayload) SetProjectId

func (o *CreateCustomRuleGroupPayload) SetProjectId(v string)

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

func (*CreateCustomRuleGroupPayload) SetRegion

func (o *CreateCustomRuleGroupPayload) SetRegion(v string)

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

func (*CreateCustomRuleGroupPayload) SetRules

SetRules sets field value

func (CreateCustomRuleGroupPayload) ToMap

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

func (*CreateCustomRuleGroupPayload) UnmarshalJSON

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

type CreateManagedRuleSetPayload

type CreateManagedRuleSetPayload struct {
	// Managed rule set configuration name.
	Name string `json:"name" 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}$"`
	Type                 Type    `json:"type"`
	AdditionalProperties map[string]interface{}
}

CreateManagedRuleSetPayload CreateManagedRuleSetRequest creates a rule configuration.

func NewCreateManagedRuleSetPayload

func NewCreateManagedRuleSetPayload(name string, types Type) *CreateManagedRuleSetPayload

NewCreateManagedRuleSetPayload instantiates a new CreateManagedRuleSetPayload 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 NewCreateManagedRuleSetPayloadWithDefaults

func NewCreateManagedRuleSetPayloadWithDefaults() *CreateManagedRuleSetPayload

NewCreateManagedRuleSetPayloadWithDefaults instantiates a new CreateManagedRuleSetPayload 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 (*CreateManagedRuleSetPayload) GetName

func (o *CreateManagedRuleSetPayload) GetName() string

GetName returns the Name field value

func (*CreateManagedRuleSetPayload) GetNameOk

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

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

func (*CreateManagedRuleSetPayload) GetProjectId

func (o *CreateManagedRuleSetPayload) GetProjectId() string

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

func (*CreateManagedRuleSetPayload) GetProjectIdOk

func (o *CreateManagedRuleSetPayload) 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 (*CreateManagedRuleSetPayload) GetRegion

func (o *CreateManagedRuleSetPayload) GetRegion() string

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

func (*CreateManagedRuleSetPayload) GetRegionOk

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

func (o *CreateManagedRuleSetPayload) GetType() Type

GetType returns the Type field value

func (*CreateManagedRuleSetPayload) GetTypeOk

func (o *CreateManagedRuleSetPayload) GetTypeOk() (*Type, bool)

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

func (*CreateManagedRuleSetPayload) HasProjectId

func (o *CreateManagedRuleSetPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateManagedRuleSetPayload) HasRegion

func (o *CreateManagedRuleSetPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CreateManagedRuleSetPayload) MarshalJSON

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

func (*CreateManagedRuleSetPayload) SetName

func (o *CreateManagedRuleSetPayload) SetName(v string)

SetName sets field value

func (*CreateManagedRuleSetPayload) SetProjectId

func (o *CreateManagedRuleSetPayload) SetProjectId(v string)

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

func (*CreateManagedRuleSetPayload) SetRegion

func (o *CreateManagedRuleSetPayload) SetRegion(v string)

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

func (*CreateManagedRuleSetPayload) SetType

func (o *CreateManagedRuleSetPayload) SetType(v Type)

SetType sets field value

func (CreateManagedRuleSetPayload) ToMap

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

func (*CreateManagedRuleSetPayload) UnmarshalJSON

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

type CreateWAFPayload

type CreateWAFPayload struct {
	// Name of the CRG configuration for that WAF.
	CustomRuleGroupName *string `json:"customRuleGroupName,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"`
	// Name of the managed rule set configuration for that WAF.
	ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// WAF name
	Name string `json:"name" 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{}
}

CreateWAFPayload CreateWAFRequest creates a WAF with rules.

func NewCreateWAFPayload

func NewCreateWAFPayload(name string) *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) GetCustomRuleGroupName

func (o *CreateWAFPayload) GetCustomRuleGroupName() string

GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.

func (*CreateWAFPayload) GetCustomRuleGroupNameOk

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

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

func (*CreateWAFPayload) GetLabels

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

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

func (*CreateWAFPayload) GetLabelsOk

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) GetManagedRuleSetName

func (o *CreateWAFPayload) GetManagedRuleSetName() string

GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.

func (*CreateWAFPayload) GetManagedRuleSetNameOk

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

GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName 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

func (*CreateWAFPayload) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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) HasCustomRuleGroupName

func (o *CreateWAFPayload) HasCustomRuleGroupName() bool

HasCustomRuleGroupName returns a boolean if a field has been set.

func (*CreateWAFPayload) HasLabels

func (o *CreateWAFPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateWAFPayload) HasManagedRuleSetName

func (o *CreateWAFPayload) HasManagedRuleSetName() bool

HasManagedRuleSetName 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) MarshalJSON

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

func (*CreateWAFPayload) SetCustomRuleGroupName

func (o *CreateWAFPayload) SetCustomRuleGroupName(v string)

SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.

func (*CreateWAFPayload) SetLabels

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) SetManagedRuleSetName

func (o *CreateWAFPayload) SetManagedRuleSetName(v string)

SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.

func (*CreateWAFPayload) SetName

func (o *CreateWAFPayload) SetName(v string)

SetName sets field value

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) ToMap

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

func (*CreateWAFPayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateCustomRuleGroup Create a CRG configuration

		Creates a structured rule configuration using the abstract CRG. 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 ApiCreateCustomRuleGroupRequest

		Deprecated
	*/
	CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest

	// CreateCustomRuleGroupExecute executes the request
	//  @return GetCustomRuleGroupResponse
	// Deprecated
	CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)

	/*
		CreateManagedRuleSet Create a MRS configuration

		With this endpoint a managed rule set (MRS) 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 ApiCreateManagedRuleSetRequest

		Deprecated
	*/
	CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest

	// CreateManagedRuleSetExecute executes the request
	//  @return GetManagedRuleSetResponse
	// Deprecated
	CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, 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 managed 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

		Deprecated
	*/
	CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest

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

	/*
		DeleteCustomRuleGroup Delete a CRG configuration

		To delete a custom rule group 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 ApiDeleteCustomRuleGroupRequest

		Deprecated
	*/
	DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest

	// DeleteCustomRuleGroupExecute executes the request
	//  @return map[string]interface{}
	// Deprecated
	DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)

	/*
		DeleteManagedRuleSet Delete a MRS configuration

		To delete a managed rule set (MRS) 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 ApiDeleteManagedRuleSetRequest

		Deprecated
	*/
	DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest

	// DeleteManagedRuleSetExecute executes the request
	//  @return map[string]interface{}
	// Deprecated
	DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (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

		Deprecated
	*/
	DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest

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

	/*
		GetCustomRuleGroup Retrieve a CRG configuration

		Retrieves the specified SecLang custom rule configuration (CRG) structure.

		@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 ApiGetCustomRuleGroupRequest

		Deprecated
	*/
	GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest

	// GetCustomRuleGroupExecute executes the request
	//  @return GetCustomRuleGroupResponse
	// Deprecated
	GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)

	/*
		GetManagedRuleSet Retrieve a MRS configuration

		To retrieve an existing managed rule set (MRS) 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 ApiGetManagedRuleSetRequest

		Deprecated
	*/
	GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest

	// GetManagedRuleSetExecute executes the request
	//  @return GetManagedRuleSetResponse
	// Deprecated
	GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, 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

		Deprecated
	*/
	GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest

	// GetQuotaExecute executes the request
	//  @return GetQuotaResponse
	// Deprecated
	GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, 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

		Deprecated
	*/
	GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest

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

	/*
		ListCustomRuleGroup List of CRG configurations

		List all existing Custom Rule Groups 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 ApiListCustomRuleGroupRequest

		Deprecated
	*/
	ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest

	// ListCustomRuleGroupExecute executes the request
	//  @return ListCustomRuleGroupResponse
	// Deprecated
	ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)

	/*
		ListManagedRuleSets List of MRS configurations

		List all existing managed rule set (MRS) 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 ApiListManagedRuleSetsRequest

		Deprecated
	*/
	ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest

	// ListManagedRuleSetsExecute executes the request
	//  @return ListManagedRuleSetResponse
	// Deprecated
	ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, 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

		Deprecated
	*/
	ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest

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

	/*
		PatchManagedRuleSet Granularly update a MRS 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 ApiPatchManagedRuleSetRequest

		Deprecated
	*/
	PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest

	// PatchManagedRuleSetExecute executes the request
	//  @return GetManagedRuleSetResponse
	// Deprecated
	PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)

	/*
		UpdateCustomRuleGroup Update a CRG configuration

		Replaces the rules array of an existing CRG. The CRG name is immutable and used as the resource key. Send the complete desired rule set; per-rule partial merge is not supported.

		@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 ApiUpdateCustomRuleGroupRequest

		Deprecated
	*/
	UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest

	// UpdateCustomRuleGroupExecute executes the request
	//  @return GetCustomRuleGroupResponse
	// Deprecated
	UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, 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

		Deprecated
	*/
	UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest

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

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateCustomRuleGroup

func (a *DefaultAPIService) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest

CreateCustomRuleGroup Create a CRG configuration

Creates a structured rule configuration using the abstract CRG. 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 ApiCreateCustomRuleGroupRequest

Deprecated

func (*DefaultAPIService) CreateCustomRuleGroupExecute

Execute executes the request

@return GetCustomRuleGroupResponse

Deprecated

func (*DefaultAPIService) CreateManagedRuleSet

func (a *DefaultAPIService) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest

CreateManagedRuleSet Create a MRS configuration

With this endpoint a managed rule set (MRS) 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 ApiCreateManagedRuleSetRequest

Deprecated

func (*DefaultAPIService) CreateManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

Deprecated

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 managed 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

Deprecated

func (*DefaultAPIService) CreateWAFExecute

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

Execute executes the request

@return GetWAFResponse

Deprecated

func (*DefaultAPIService) DeleteCustomRuleGroup

func (a *DefaultAPIService) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest

DeleteCustomRuleGroup Delete a CRG configuration

To delete a custom rule group 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 ApiDeleteCustomRuleGroupRequest

Deprecated

func (*DefaultAPIService) DeleteCustomRuleGroupExecute

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

Execute executes the request

@return map[string]interface{}

Deprecated

func (*DefaultAPIService) DeleteManagedRuleSet

func (a *DefaultAPIService) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest

DeleteManagedRuleSet Delete a MRS configuration

To delete a managed rule set (MRS) 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 ApiDeleteManagedRuleSetRequest

Deprecated

func (*DefaultAPIService) DeleteManagedRuleSetExecute

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

Execute executes the request

@return map[string]interface{}

Deprecated

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

Deprecated

func (*DefaultAPIService) DeleteWAFExecute

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

Execute executes the request

@return map[string]interface{}

Deprecated

func (*DefaultAPIService) GetCustomRuleGroup

func (a *DefaultAPIService) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest

GetCustomRuleGroup Retrieve a CRG configuration

Retrieves the specified SecLang custom rule configuration (CRG) structure.

@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 ApiGetCustomRuleGroupRequest

Deprecated

func (*DefaultAPIService) GetCustomRuleGroupExecute

Execute executes the request

@return GetCustomRuleGroupResponse

Deprecated

func (*DefaultAPIService) GetManagedRuleSet

func (a *DefaultAPIService) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest

GetManagedRuleSet Retrieve a MRS configuration

To retrieve an existing managed rule set (MRS) 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 ApiGetManagedRuleSetRequest

Deprecated

func (*DefaultAPIService) GetManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

Deprecated

func (*DefaultAPIService) GetQuota

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

Deprecated

func (*DefaultAPIService) GetQuotaExecute

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

Execute executes the request

@return GetQuotaResponse

Deprecated

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

Deprecated

func (*DefaultAPIService) GetWAFExecute

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

Execute executes the request

@return GetWAFResponse

Deprecated

func (*DefaultAPIService) ListCustomRuleGroup

func (a *DefaultAPIService) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest

ListCustomRuleGroup List of CRG configurations

List all existing Custom Rule Groups 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 ApiListCustomRuleGroupRequest

Deprecated

func (*DefaultAPIService) ListCustomRuleGroupExecute

Execute executes the request

@return ListCustomRuleGroupResponse

Deprecated

func (*DefaultAPIService) ListManagedRuleSets

func (a *DefaultAPIService) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest

ListManagedRuleSets List of MRS configurations

List all existing managed rule set (MRS) 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 ApiListManagedRuleSetsRequest

Deprecated

func (*DefaultAPIService) ListManagedRuleSetsExecute

Execute executes the request

@return ListManagedRuleSetResponse

Deprecated

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

Deprecated

func (*DefaultAPIService) ListWAFExecute

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

Execute executes the request

@return ListWAFResponse

Deprecated

func (*DefaultAPIService) PatchManagedRuleSet

func (a *DefaultAPIService) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest

PatchManagedRuleSet Granularly update a MRS 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 ApiPatchManagedRuleSetRequest

Deprecated

func (*DefaultAPIService) PatchManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

Deprecated

func (*DefaultAPIService) UpdateCustomRuleGroup added in v0.12.0

func (a *DefaultAPIService) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest

UpdateCustomRuleGroup Update a CRG configuration

Replaces the rules array of an existing CRG. The CRG name is immutable and used as the resource key. Send the complete desired rule set; per-rule partial merge is not supported.

@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 ApiUpdateCustomRuleGroupRequest

Deprecated

func (*DefaultAPIService) UpdateCustomRuleGroupExecute added in v0.12.0

Execute executes the request

@return GetCustomRuleGroupResponse

Deprecated

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

Deprecated

func (*DefaultAPIService) UpdateWAFExecute

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

Execute executes the request

@return GetWAFResponse

Deprecated

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// Deprecated: CreateCustomRuleGroupExecuteMock can be populated to implement the behavior of the CreateCustomRuleGroupExecute function of this mock
	CreateCustomRuleGroupExecuteMock *func(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
	// Deprecated: CreateManagedRuleSetExecuteMock can be populated to implement the behavior of the CreateManagedRuleSetExecute function of this mock
	CreateManagedRuleSetExecuteMock *func(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
	// Deprecated: CreateWAFExecuteMock can be populated to implement the behavior of the CreateWAFExecute function of this mock
	CreateWAFExecuteMock *func(r ApiCreateWAFRequest) (*GetWAFResponse, error)
	// Deprecated: DeleteCustomRuleGroupExecuteMock can be populated to implement the behavior of the DeleteCustomRuleGroupExecute function of this mock
	DeleteCustomRuleGroupExecuteMock *func(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
	// Deprecated: DeleteManagedRuleSetExecuteMock can be populated to implement the behavior of the DeleteManagedRuleSetExecute function of this mock
	DeleteManagedRuleSetExecuteMock *func(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
	// Deprecated: DeleteWAFExecuteMock can be populated to implement the behavior of the DeleteWAFExecute function of this mock
	DeleteWAFExecuteMock *func(r ApiDeleteWAFRequest) (map[string]interface{}, error)
	// Deprecated: GetCustomRuleGroupExecuteMock can be populated to implement the behavior of the GetCustomRuleGroupExecute function of this mock
	GetCustomRuleGroupExecuteMock *func(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
	// Deprecated: GetManagedRuleSetExecuteMock can be populated to implement the behavior of the GetManagedRuleSetExecute function of this mock
	GetManagedRuleSetExecuteMock *func(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
	// Deprecated: GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
	GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
	// Deprecated: GetWAFExecuteMock can be populated to implement the behavior of the GetWAFExecute function of this mock
	GetWAFExecuteMock *func(r ApiGetWAFRequest) (*GetWAFResponse, error)
	// Deprecated: ListCustomRuleGroupExecuteMock can be populated to implement the behavior of the ListCustomRuleGroupExecute function of this mock
	ListCustomRuleGroupExecuteMock *func(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
	// Deprecated: ListManagedRuleSetsExecuteMock can be populated to implement the behavior of the ListManagedRuleSetsExecute function of this mock
	ListManagedRuleSetsExecuteMock *func(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
	// Deprecated: ListWAFExecuteMock can be populated to implement the behavior of the ListWAFExecute function of this mock
	ListWAFExecuteMock *func(r ApiListWAFRequest) (*ListWAFResponse, error)
	// Deprecated: PatchManagedRuleSetExecuteMock can be populated to implement the behavior of the PatchManagedRuleSetExecute function of this mock
	PatchManagedRuleSetExecuteMock *func(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
	// Deprecated: UpdateCustomRuleGroupExecuteMock can be populated to implement the behavior of the UpdateCustomRuleGroupExecute function of this mock
	UpdateCustomRuleGroupExecuteMock *func(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
	// Deprecated: UpdateWAFExecuteMock can be populated to implement the behavior of the UpdateWAFExecute function of this mock
	UpdateWAFExecuteMock *func(r ApiUpdateWAFRequest) (*GetWAFResponse, 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) CreateCustomRuleGroup

func (a DefaultAPIServiceMock) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest

Deprecated

func (DefaultAPIServiceMock) CreateCustomRuleGroupExecute deprecated

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

func (DefaultAPIServiceMock) CreateManagedRuleSet

func (a DefaultAPIServiceMock) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest

Deprecated

func (DefaultAPIServiceMock) CreateManagedRuleSetExecute deprecated

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

func (DefaultAPIServiceMock) CreateWAF

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

Deprecated

func (DefaultAPIServiceMock) CreateWAFExecute deprecated

Deprecated: 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) DeleteCustomRuleGroup

func (a DefaultAPIServiceMock) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest

Deprecated

func (DefaultAPIServiceMock) DeleteCustomRuleGroupExecute deprecated

func (a DefaultAPIServiceMock) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)

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

func (DefaultAPIServiceMock) DeleteManagedRuleSet

func (a DefaultAPIServiceMock) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest

Deprecated

func (DefaultAPIServiceMock) DeleteManagedRuleSetExecute deprecated

func (a DefaultAPIServiceMock) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)

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

func (DefaultAPIServiceMock) DeleteWAF

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

Deprecated

func (DefaultAPIServiceMock) DeleteWAFExecute deprecated

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

Deprecated: 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) GetCustomRuleGroup

func (a DefaultAPIServiceMock) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest

Deprecated

func (DefaultAPIServiceMock) GetCustomRuleGroupExecute deprecated

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

func (DefaultAPIServiceMock) GetManagedRuleSet

func (a DefaultAPIServiceMock) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest

Deprecated

func (DefaultAPIServiceMock) GetManagedRuleSetExecute deprecated

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

func (DefaultAPIServiceMock) GetQuota

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

Deprecated

func (DefaultAPIServiceMock) GetQuotaExecute deprecated

Deprecated: 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) GetWAF

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

Deprecated

func (DefaultAPIServiceMock) GetWAFExecute deprecated

Deprecated: 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) ListCustomRuleGroup

func (a DefaultAPIServiceMock) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest

Deprecated

func (DefaultAPIServiceMock) ListCustomRuleGroupExecute deprecated

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

func (DefaultAPIServiceMock) ListManagedRuleSets

func (a DefaultAPIServiceMock) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest

Deprecated

func (DefaultAPIServiceMock) ListManagedRuleSetsExecute deprecated

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

func (DefaultAPIServiceMock) ListWAF

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

Deprecated

func (DefaultAPIServiceMock) ListWAFExecute deprecated

Deprecated: 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) PatchManagedRuleSet

func (a DefaultAPIServiceMock) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest

Deprecated

func (DefaultAPIServiceMock) PatchManagedRuleSetExecute deprecated

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

func (DefaultAPIServiceMock) UpdateCustomRuleGroup added in v0.12.0

func (a DefaultAPIServiceMock) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest

Deprecated

func (DefaultAPIServiceMock) UpdateCustomRuleGroupExecute deprecated added in v0.12.0

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

func (DefaultAPIServiceMock) UpdateWAF

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

Deprecated

func (DefaultAPIServiceMock) UpdateWAFExecute deprecated

Deprecated: 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 GetBehaviour

type GetBehaviour struct {
	Action *Action `json:"action,omitempty"`
	// Determines whether an entry should be generated in the security ledger upon a rule hit.
	Log *bool `json:"log,omitempty"`
	// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
	LogMsg               *string   `json:"logMsg,omitempty"`
	Severity             *Severity `json:"severity,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetBehaviour struct for GetBehaviour

func NewGetBehaviour

func NewGetBehaviour() *GetBehaviour

NewGetBehaviour instantiates a new GetBehaviour 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 NewGetBehaviourWithDefaults

func NewGetBehaviourWithDefaults() *GetBehaviour

NewGetBehaviourWithDefaults instantiates a new GetBehaviour 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 (*GetBehaviour) GetAction

func (o *GetBehaviour) GetAction() Action

GetAction returns the Action field value if set, zero value otherwise.

func (*GetBehaviour) GetActionOk

func (o *GetBehaviour) GetActionOk() (*Action, bool)

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

func (*GetBehaviour) GetLog

func (o *GetBehaviour) GetLog() bool

GetLog returns the Log field value if set, zero value otherwise.

func (*GetBehaviour) GetLogMsg

func (o *GetBehaviour) GetLogMsg() string

GetLogMsg returns the LogMsg field value if set, zero value otherwise.

func (*GetBehaviour) GetLogMsgOk

func (o *GetBehaviour) GetLogMsgOk() (*string, bool)

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

func (*GetBehaviour) GetLogOk

func (o *GetBehaviour) GetLogOk() (*bool, bool)

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

func (*GetBehaviour) GetSeverity

func (o *GetBehaviour) GetSeverity() Severity

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

func (*GetBehaviour) GetSeverityOk

func (o *GetBehaviour) GetSeverityOk() (*Severity, 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 (*GetBehaviour) HasAction

func (o *GetBehaviour) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*GetBehaviour) HasLog

func (o *GetBehaviour) HasLog() bool

HasLog returns a boolean if a field has been set.

func (*GetBehaviour) HasLogMsg

func (o *GetBehaviour) HasLogMsg() bool

HasLogMsg returns a boolean if a field has been set.

func (*GetBehaviour) HasSeverity

func (o *GetBehaviour) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (GetBehaviour) MarshalJSON

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

func (*GetBehaviour) SetAction

func (o *GetBehaviour) SetAction(v Action)

SetAction gets a reference to the given Action and assigns it to the Action field.

func (*GetBehaviour) SetLog

func (o *GetBehaviour) SetLog(v bool)

SetLog gets a reference to the given bool and assigns it to the Log field.

func (*GetBehaviour) SetLogMsg

func (o *GetBehaviour) SetLogMsg(v string)

SetLogMsg gets a reference to the given string and assigns it to the LogMsg field.

func (*GetBehaviour) SetSeverity

func (o *GetBehaviour) SetSeverity(v Severity)

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

func (GetBehaviour) ToMap

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

func (*GetBehaviour) UnmarshalJSON

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

type GetCustomRule

type GetCustomRule struct {
	Behaviour *GetBehaviour `json:"behaviour,omitempty"`
	// [HINT] Order matters! First condition match triggers execution.
	Conditions []Condition `json:"conditions,omitempty"`
	// A clear description explaining the threat vector or criteria addressed by this rule.
	Description *string `json:"description,omitempty"`
	// Backend auto-allocated unique rule ID within the valid 1-99999 threshold.
	Id                   *int32 `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCustomRule struct for GetCustomRule

func NewGetCustomRule

func NewGetCustomRule() *GetCustomRule

NewGetCustomRule instantiates a new GetCustomRule 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 NewGetCustomRuleWithDefaults

func NewGetCustomRuleWithDefaults() *GetCustomRule

NewGetCustomRuleWithDefaults instantiates a new GetCustomRule 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 (*GetCustomRule) GetBehaviour

func (o *GetCustomRule) GetBehaviour() GetBehaviour

GetBehaviour returns the Behaviour field value if set, zero value otherwise.

func (*GetCustomRule) GetBehaviourOk

func (o *GetCustomRule) GetBehaviourOk() (*GetBehaviour, bool)

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

func (*GetCustomRule) GetConditions

func (o *GetCustomRule) GetConditions() []Condition

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*GetCustomRule) GetConditionsOk

func (o *GetCustomRule) GetConditionsOk() ([]Condition, bool)

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

func (*GetCustomRule) GetDescription

func (o *GetCustomRule) GetDescription() string

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

func (*GetCustomRule) GetDescriptionOk

func (o *GetCustomRule) 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 (*GetCustomRule) GetId

func (o *GetCustomRule) GetId() int32

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

func (*GetCustomRule) GetIdOk

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

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

func (*GetCustomRule) HasBehaviour

func (o *GetCustomRule) HasBehaviour() bool

HasBehaviour returns a boolean if a field has been set.

func (*GetCustomRule) HasConditions

func (o *GetCustomRule) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*GetCustomRule) HasDescription

func (o *GetCustomRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*GetCustomRule) HasId

func (o *GetCustomRule) HasId() bool

HasId returns a boolean if a field has been set.

func (GetCustomRule) MarshalJSON

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

func (*GetCustomRule) SetBehaviour

func (o *GetCustomRule) SetBehaviour(v GetBehaviour)

SetBehaviour gets a reference to the given GetBehaviour and assigns it to the Behaviour field.

func (*GetCustomRule) SetConditions

func (o *GetCustomRule) SetConditions(v []Condition)

SetConditions gets a reference to the given []Condition and assigns it to the Conditions field.

func (*GetCustomRule) SetDescription

func (o *GetCustomRule) SetDescription(v string)

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

func (*GetCustomRule) SetId

func (o *GetCustomRule) SetId(v int32)

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

func (GetCustomRule) ToMap

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

func (*GetCustomRule) UnmarshalJSON

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

type GetCustomRuleGroupResponse

type GetCustomRuleGroupResponse struct {
	// Custom rule group configuration name.
	Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// Enriched rules containing auto-generated IDs and computed severity values.
	Rules                []GetCustomRule `json:"rules,omitempty"`
	Usage                *CRGUsage       `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetCustomRuleGroupResponse Response payload delivering the detailed CRG configuration name and it's rule content.

func NewGetCustomRuleGroupResponse

func NewGetCustomRuleGroupResponse() *GetCustomRuleGroupResponse

NewGetCustomRuleGroupResponse instantiates a new GetCustomRuleGroupResponse 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 NewGetCustomRuleGroupResponseWithDefaults

func NewGetCustomRuleGroupResponseWithDefaults() *GetCustomRuleGroupResponse

NewGetCustomRuleGroupResponseWithDefaults instantiates a new GetCustomRuleGroupResponse 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 (*GetCustomRuleGroupResponse) GetName

func (o *GetCustomRuleGroupResponse) GetName() string

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

func (*GetCustomRuleGroupResponse) GetNameOk

func (o *GetCustomRuleGroupResponse) 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 (*GetCustomRuleGroupResponse) GetRules

func (o *GetCustomRuleGroupResponse) GetRules() []GetCustomRule

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

func (*GetCustomRuleGroupResponse) GetRulesOk

func (o *GetCustomRuleGroupResponse) GetRulesOk() ([]GetCustomRule, 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 (*GetCustomRuleGroupResponse) GetUsage

func (o *GetCustomRuleGroupResponse) GetUsage() CRGUsage

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

func (*GetCustomRuleGroupResponse) GetUsageOk

func (o *GetCustomRuleGroupResponse) GetUsageOk() (*CRGUsage, 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 (*GetCustomRuleGroupResponse) HasName

func (o *GetCustomRuleGroupResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetCustomRuleGroupResponse) HasRules

func (o *GetCustomRuleGroupResponse) HasRules() bool

HasRules returns a boolean if a field has been set.

func (*GetCustomRuleGroupResponse) HasUsage

func (o *GetCustomRuleGroupResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (GetCustomRuleGroupResponse) MarshalJSON

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

func (*GetCustomRuleGroupResponse) SetName

func (o *GetCustomRuleGroupResponse) SetName(v string)

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

func (*GetCustomRuleGroupResponse) SetRules

func (o *GetCustomRuleGroupResponse) SetRules(v []GetCustomRule)

SetRules gets a reference to the given []GetCustomRule and assigns it to the Rules field.

func (*GetCustomRuleGroupResponse) SetUsage

func (o *GetCustomRuleGroupResponse) SetUsage(v CRGUsage)

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

func (GetCustomRuleGroupResponse) ToMap

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

func (*GetCustomRuleGroupResponse) UnmarshalJSON

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

type GetLimitedManagedRuleSetResponse

type GetLimitedManagedRuleSetResponse struct {
	// Managed rule set configuration name.
	Name  *string   `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	Type  *Type     `json:"type,omitempty"`
	Usage *MRSUsage `json:"usage,omitempty"`
	// Managed rule set version.
	Version              *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
	AdditionalProperties map[string]interface{}
}

GetLimitedManagedRuleSetResponse struct for GetLimitedManagedRuleSetResponse

func NewGetLimitedManagedRuleSetResponse

func NewGetLimitedManagedRuleSetResponse() *GetLimitedManagedRuleSetResponse

NewGetLimitedManagedRuleSetResponse instantiates a new GetLimitedManagedRuleSetResponse 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 NewGetLimitedManagedRuleSetResponseWithDefaults

func NewGetLimitedManagedRuleSetResponseWithDefaults() *GetLimitedManagedRuleSetResponse

NewGetLimitedManagedRuleSetResponseWithDefaults instantiates a new GetLimitedManagedRuleSetResponse 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 (*GetLimitedManagedRuleSetResponse) GetName

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

func (*GetLimitedManagedRuleSetResponse) GetNameOk

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

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

func (*GetLimitedManagedRuleSetResponse) GetTypeOk

func (o *GetLimitedManagedRuleSetResponse) GetTypeOk() (*Type, 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 (*GetLimitedManagedRuleSetResponse) GetUsage

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

func (*GetLimitedManagedRuleSetResponse) GetUsageOk

func (o *GetLimitedManagedRuleSetResponse) GetUsageOk() (*MRSUsage, 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 (*GetLimitedManagedRuleSetResponse) GetVersion

func (o *GetLimitedManagedRuleSetResponse) GetVersion() string

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

func (*GetLimitedManagedRuleSetResponse) GetVersionOk

func (o *GetLimitedManagedRuleSetResponse) 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 (*GetLimitedManagedRuleSetResponse) HasName

HasName returns a boolean if a field has been set.

func (*GetLimitedManagedRuleSetResponse) HasType

HasType returns a boolean if a field has been set.

func (*GetLimitedManagedRuleSetResponse) HasUsage

func (o *GetLimitedManagedRuleSetResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (*GetLimitedManagedRuleSetResponse) HasVersion

func (o *GetLimitedManagedRuleSetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetLimitedManagedRuleSetResponse) MarshalJSON

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

func (*GetLimitedManagedRuleSetResponse) SetName

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

func (*GetLimitedManagedRuleSetResponse) SetType

func (o *GetLimitedManagedRuleSetResponse) SetType(v Type)

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

func (*GetLimitedManagedRuleSetResponse) SetUsage

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

func (*GetLimitedManagedRuleSetResponse) SetVersion

func (o *GetLimitedManagedRuleSetResponse) SetVersion(v string)

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

func (GetLimitedManagedRuleSetResponse) ToMap

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

func (*GetLimitedManagedRuleSetResponse) UnmarshalJSON

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

type GetManagedRuleSetResponse

type GetManagedRuleSetResponse struct {
	// Inventory of all available Managed Rule Set groups and their current configuration. The key is the unique Group ID.
	Groups *map[string]MRSRuleGroup `json:"groups,omitempty"`
	// Managed rule set configuration name.
	Name  *string   `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	Type  *Type     `json:"type,omitempty"`
	Usage *MRSUsage `json:"usage,omitempty"`
	// Managed rule set version.
	Version              *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
	AdditionalProperties map[string]interface{}
}

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

func NewGetManagedRuleSetResponse

func NewGetManagedRuleSetResponse() *GetManagedRuleSetResponse

NewGetManagedRuleSetResponse instantiates a new GetManagedRuleSetResponse 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 NewGetManagedRuleSetResponseWithDefaults

func NewGetManagedRuleSetResponseWithDefaults() *GetManagedRuleSetResponse

NewGetManagedRuleSetResponseWithDefaults instantiates a new GetManagedRuleSetResponse 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 (*GetManagedRuleSetResponse) GetGroups

func (o *GetManagedRuleSetResponse) GetGroups() map[string]MRSRuleGroup

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

func (*GetManagedRuleSetResponse) GetGroupsOk

func (o *GetManagedRuleSetResponse) GetGroupsOk() (*map[string]MRSRuleGroup, 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 (*GetManagedRuleSetResponse) GetName

func (o *GetManagedRuleSetResponse) GetName() string

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

func (*GetManagedRuleSetResponse) GetNameOk

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

func (o *GetManagedRuleSetResponse) GetType() Type

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

func (*GetManagedRuleSetResponse) GetTypeOk

func (o *GetManagedRuleSetResponse) GetTypeOk() (*Type, 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 (*GetManagedRuleSetResponse) GetUsage

func (o *GetManagedRuleSetResponse) GetUsage() MRSUsage

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

func (*GetManagedRuleSetResponse) GetUsageOk

func (o *GetManagedRuleSetResponse) GetUsageOk() (*MRSUsage, 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 (*GetManagedRuleSetResponse) GetVersion

func (o *GetManagedRuleSetResponse) GetVersion() string

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

func (*GetManagedRuleSetResponse) GetVersionOk

func (o *GetManagedRuleSetResponse) 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 (*GetManagedRuleSetResponse) HasGroups

func (o *GetManagedRuleSetResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*GetManagedRuleSetResponse) HasName

func (o *GetManagedRuleSetResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetManagedRuleSetResponse) HasType

func (o *GetManagedRuleSetResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (*GetManagedRuleSetResponse) HasUsage

func (o *GetManagedRuleSetResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (*GetManagedRuleSetResponse) HasVersion

func (o *GetManagedRuleSetResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (GetManagedRuleSetResponse) MarshalJSON

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

func (*GetManagedRuleSetResponse) SetGroups

func (o *GetManagedRuleSetResponse) SetGroups(v map[string]MRSRuleGroup)

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

func (*GetManagedRuleSetResponse) SetName

func (o *GetManagedRuleSetResponse) SetName(v string)

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

func (*GetManagedRuleSetResponse) SetType

func (o *GetManagedRuleSetResponse) SetType(v Type)

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

func (*GetManagedRuleSetResponse) SetUsage

func (o *GetManagedRuleSetResponse) SetUsage(v MRSUsage)

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

func (*GetManagedRuleSetResponse) SetVersion

func (o *GetManagedRuleSetResponse) SetVersion(v string)

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

func (GetManagedRuleSetResponse) ToMap

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

func (*GetManagedRuleSetResponse) UnmarshalJSON

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

type GetQuotaResponse

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

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

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

func (o *GetQuotaResponse) GetProjectId() string

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

func (*GetQuotaResponse) GetProjectIdOk

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

func (o *GetQuotaResponse) GetQuotas() Quotas

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

func (*GetQuotaResponse) GetQuotasOk

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

func (o *GetQuotaResponse) GetRegion() string

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

func (*GetQuotaResponse) GetRegionOk

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

func (o *GetQuotaResponse) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*GetQuotaResponse) HasQuotas

func (o *GetQuotaResponse) HasQuotas() bool

HasQuotas returns a boolean if a field has been set.

func (*GetQuotaResponse) HasRegion

func (o *GetQuotaResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (GetQuotaResponse) MarshalJSON

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

func (*GetQuotaResponse) SetProjectId

func (o *GetQuotaResponse) SetProjectId(v string)

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

func (*GetQuotaResponse) SetQuotas

func (o *GetQuotaResponse) SetQuotas(v Quotas)

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

func (*GetQuotaResponse) SetRegion

func (o *GetQuotaResponse) SetRegion(v string)

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

func (GetQuotaResponse) ToMap

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

func (*GetQuotaResponse) UnmarshalJSON

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

type GetWAFResponse

type GetWAFResponse struct {
	// Name of the CRG configuration for that WAF.
	CustomRuleGroupName *string `json:"customRuleGroupName,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"`
	// Name of the managed rule set configuration for that WAF.
	ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// WAF name
	Name                 *string   `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	Usage                *WAFUsage `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}
}

GetWAFResponse GetWAFResponse returns detailed information about the WAF, which includes the identifying name, references to MRS/CRG and usage.

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) GetCustomRuleGroupName

func (o *GetWAFResponse) GetCustomRuleGroupName() string

GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.

func (*GetWAFResponse) GetCustomRuleGroupNameOk

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

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

func (*GetWAFResponse) GetLabels

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

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

func (*GetWAFResponse) GetLabelsOk

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) GetManagedRuleSetName

func (o *GetWAFResponse) GetManagedRuleSetName() string

GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.

func (*GetWAFResponse) GetManagedRuleSetNameOk

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

GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName 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) GetUsage

func (o *GetWAFResponse) GetUsage() WAFUsage

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

func (*GetWAFResponse) GetUsageOk

func (o *GetWAFResponse) GetUsageOk() (*WAFUsage, 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 (*GetWAFResponse) HasCustomRuleGroupName

func (o *GetWAFResponse) HasCustomRuleGroupName() bool

HasCustomRuleGroupName returns a boolean if a field has been set.

func (*GetWAFResponse) HasLabels

func (o *GetWAFResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*GetWAFResponse) HasManagedRuleSetName

func (o *GetWAFResponse) HasManagedRuleSetName() bool

HasManagedRuleSetName 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) HasUsage

func (o *GetWAFResponse) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (GetWAFResponse) MarshalJSON

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

func (*GetWAFResponse) SetCustomRuleGroupName

func (o *GetWAFResponse) SetCustomRuleGroupName(v string)

SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.

func (*GetWAFResponse) SetLabels

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) SetManagedRuleSetName

func (o *GetWAFResponse) SetManagedRuleSetName(v string)

SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName 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) SetUsage

func (o *GetWAFResponse) SetUsage(v WAFUsage)

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

func (GetWAFResponse) ToMap

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

func (*GetWAFResponse) UnmarshalJSON

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 ListCustomRuleGroupResponse

type ListCustomRuleGroupResponse struct {
	Items []GetCustomRuleGroupResponse `json:"items,omitempty"`
	// Continue token from the ListCustomRuleGroupResponse 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{}
}

ListCustomRuleGroupResponse ListCustomRuleGroupResponse returns a list of Custom Rule Group responses.

func NewListCustomRuleGroupResponse

func NewListCustomRuleGroupResponse() *ListCustomRuleGroupResponse

NewListCustomRuleGroupResponse instantiates a new ListCustomRuleGroupResponse 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 NewListCustomRuleGroupResponseWithDefaults

func NewListCustomRuleGroupResponseWithDefaults() *ListCustomRuleGroupResponse

NewListCustomRuleGroupResponseWithDefaults instantiates a new ListCustomRuleGroupResponse 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 (*ListCustomRuleGroupResponse) GetItems

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

func (*ListCustomRuleGroupResponse) 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 (*ListCustomRuleGroupResponse) GetNextPageId

func (o *ListCustomRuleGroupResponse) GetNextPageId() string

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

func (*ListCustomRuleGroupResponse) GetNextPageIdOk

func (o *ListCustomRuleGroupResponse) 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 (*ListCustomRuleGroupResponse) HasItems

func (o *ListCustomRuleGroupResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListCustomRuleGroupResponse) HasNextPageId

func (o *ListCustomRuleGroupResponse) HasNextPageId() bool

HasNextPageId returns a boolean if a field has been set.

func (ListCustomRuleGroupResponse) MarshalJSON

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

func (*ListCustomRuleGroupResponse) SetItems

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

func (*ListCustomRuleGroupResponse) SetNextPageId

func (o *ListCustomRuleGroupResponse) SetNextPageId(v string)

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

func (ListCustomRuleGroupResponse) ToMap

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

func (*ListCustomRuleGroupResponse) UnmarshalJSON

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

type ListManagedRuleSetResponse

type ListManagedRuleSetResponse struct {
	Items []GetLimitedManagedRuleSetResponse `json:"items,omitempty"`
	// Continue token from the ListManagedRuleSetResponse 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{}
}

ListManagedRuleSetResponse ListManagedRuleSetResponse returns a list of rule configuration responses.

func NewListManagedRuleSetResponse

func NewListManagedRuleSetResponse() *ListManagedRuleSetResponse

NewListManagedRuleSetResponse instantiates a new ListManagedRuleSetResponse 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 NewListManagedRuleSetResponseWithDefaults

func NewListManagedRuleSetResponseWithDefaults() *ListManagedRuleSetResponse

NewListManagedRuleSetResponseWithDefaults instantiates a new ListManagedRuleSetResponse 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 (*ListManagedRuleSetResponse) GetItems

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

func (*ListManagedRuleSetResponse) 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 (*ListManagedRuleSetResponse) GetNextPageId

func (o *ListManagedRuleSetResponse) GetNextPageId() string

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

func (*ListManagedRuleSetResponse) GetNextPageIdOk

func (o *ListManagedRuleSetResponse) 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 (*ListManagedRuleSetResponse) HasItems

func (o *ListManagedRuleSetResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListManagedRuleSetResponse) HasNextPageId

func (o *ListManagedRuleSetResponse) HasNextPageId() bool

HasNextPageId returns a boolean if a field has been set.

func (ListManagedRuleSetResponse) MarshalJSON

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

func (*ListManagedRuleSetResponse) SetItems

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

func (*ListManagedRuleSetResponse) SetNextPageId

func (o *ListManagedRuleSetResponse) SetNextPageId(v string)

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

func (ListManagedRuleSetResponse) ToMap

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

func (*ListManagedRuleSetResponse) UnmarshalJSON

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

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

type MRSConfigQuota

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

MRSConfigQuota MRS Config quota holds the limit and usage for Managed Rule Set configuration resources

func NewMRSConfigQuota

func NewMRSConfigQuota() *MRSConfigQuota

NewMRSConfigQuota instantiates a new MRSConfigQuota 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 NewMRSConfigQuotaWithDefaults

func NewMRSConfigQuotaWithDefaults() *MRSConfigQuota

NewMRSConfigQuotaWithDefaults instantiates a new MRSConfigQuota 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 (*MRSConfigQuota) GetLimit

func (o *MRSConfigQuota) GetLimit() int32

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

func (*MRSConfigQuota) GetLimitOk

func (o *MRSConfigQuota) 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 (*MRSConfigQuota) GetUsage

func (o *MRSConfigQuota) GetUsage() int32

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

func (*MRSConfigQuota) GetUsageOk

func (o *MRSConfigQuota) 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 (*MRSConfigQuota) HasLimit

func (o *MRSConfigQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*MRSConfigQuota) HasUsage

func (o *MRSConfigQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (MRSConfigQuota) MarshalJSON

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

func (*MRSConfigQuota) SetLimit

func (o *MRSConfigQuota) SetLimit(v int32)

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

func (*MRSConfigQuota) SetUsage

func (o *MRSConfigQuota) SetUsage(v int32)

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

func (MRSConfigQuota) ToMap

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

func (*MRSConfigQuota) UnmarshalJSON

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

type MRSRule

type MRSRule struct {
	// A description of what this rule covers.
	Description *string `json:"description,omitempty"`
	Mode        *Mode   `json:"mode,omitempty"`
	// Impact level.
	Severity             *string `json:"severity,omitempty" validate:"regexp=^(CRITICAL|ERROR|WARNING|INFO)$"`
	AdditionalProperties map[string]interface{}
}

MRSRule Rule represents an individual security or validation rule.

func NewMRSRule

func NewMRSRule() *MRSRule

NewMRSRule instantiates a new MRSRule 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 NewMRSRuleWithDefaults

func NewMRSRuleWithDefaults() *MRSRule

NewMRSRuleWithDefaults instantiates a new MRSRule 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 (*MRSRule) GetDescription

func (o *MRSRule) GetDescription() string

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

func (*MRSRule) GetDescriptionOk

func (o *MRSRule) 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 (*MRSRule) GetMode

func (o *MRSRule) GetMode() Mode

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

func (*MRSRule) GetModeOk

func (o *MRSRule) GetModeOk() (*Mode, 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 (*MRSRule) GetSeverity

func (o *MRSRule) GetSeverity() string

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

func (*MRSRule) GetSeverityOk

func (o *MRSRule) 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 (*MRSRule) HasDescription

func (o *MRSRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MRSRule) HasMode

func (o *MRSRule) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*MRSRule) HasSeverity

func (o *MRSRule) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (MRSRule) MarshalJSON

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

func (*MRSRule) SetDescription

func (o *MRSRule) SetDescription(v string)

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

func (*MRSRule) SetMode

func (o *MRSRule) SetMode(v Mode)

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

func (*MRSRule) SetSeverity

func (o *MRSRule) SetSeverity(v string)

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

func (MRSRule) ToMap

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

func (*MRSRule) UnmarshalJSON

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

type MRSRuleGroup

type MRSRuleGroup 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]MRSRule `json:"rules,omitempty"`
	AdditionalProperties map[string]interface{}
}

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

func NewMRSRuleGroup

func NewMRSRuleGroup() *MRSRuleGroup

NewMRSRuleGroup instantiates a new MRSRuleGroup 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 NewMRSRuleGroupWithDefaults

func NewMRSRuleGroupWithDefaults() *MRSRuleGroup

NewMRSRuleGroupWithDefaults instantiates a new MRSRuleGroup 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 (*MRSRuleGroup) GetDescription

func (o *MRSRuleGroup) GetDescription() string

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

func (*MRSRuleGroup) GetDescriptionOk

func (o *MRSRuleGroup) 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 (*MRSRuleGroup) GetGroupName

func (o *MRSRuleGroup) GetGroupName() string

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

func (*MRSRuleGroup) GetGroupNameOk

func (o *MRSRuleGroup) 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 (*MRSRuleGroup) GetRules

func (o *MRSRuleGroup) GetRules() map[string]MRSRule

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

func (*MRSRuleGroup) GetRulesOk

func (o *MRSRuleGroup) GetRulesOk() (*map[string]MRSRule, 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 (*MRSRuleGroup) HasDescription

func (o *MRSRuleGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*MRSRuleGroup) HasGroupName

func (o *MRSRuleGroup) HasGroupName() bool

HasGroupName returns a boolean if a field has been set.

func (*MRSRuleGroup) HasRules

func (o *MRSRuleGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (MRSRuleGroup) MarshalJSON

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

func (*MRSRuleGroup) SetDescription

func (o *MRSRuleGroup) SetDescription(v string)

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

func (*MRSRuleGroup) SetGroupName

func (o *MRSRuleGroup) SetGroupName(v string)

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

func (*MRSRuleGroup) SetRules

func (o *MRSRuleGroup) SetRules(v map[string]MRSRule)

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

func (MRSRuleGroup) ToMap

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

func (*MRSRuleGroup) UnmarshalJSON

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

type MRSUsage

type MRSUsage struct {
	// Number of WAFs using this Managed Rule Set.
	Count *int32 `json:"count,omitempty"`
	// List of WAFs that use this Managed Rule Set.
	Items                []string `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

MRSUsage struct for MRSUsage

func NewMRSUsage

func NewMRSUsage() *MRSUsage

NewMRSUsage instantiates a new MRSUsage 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 NewMRSUsageWithDefaults

func NewMRSUsageWithDefaults() *MRSUsage

NewMRSUsageWithDefaults instantiates a new MRSUsage 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 (*MRSUsage) GetCount

func (o *MRSUsage) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*MRSUsage) GetCountOk

func (o *MRSUsage) GetCountOk() (*int32, bool)

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

func (*MRSUsage) GetItems

func (o *MRSUsage) GetItems() []string

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

func (*MRSUsage) GetItemsOk

func (o *MRSUsage) GetItemsOk() ([]string, 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 (*MRSUsage) HasCount

func (o *MRSUsage) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MRSUsage) HasItems

func (o *MRSUsage) HasItems() bool

HasItems returns a boolean if a field has been set.

func (MRSUsage) MarshalJSON

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

func (*MRSUsage) SetCount

func (o *MRSUsage) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*MRSUsage) SetItems

func (o *MRSUsage) SetItems(v []string)

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

func (MRSUsage) ToMap

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

func (*MRSUsage) UnmarshalJSON

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

type MappedNullable

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

type Mode

type Mode string

Mode The current mode of the rule.

const (
	MODE_MODE_ENABLED             Mode = "MODE_ENABLED"
	MODE_MODE_DISABLED            Mode = "MODE_DISABLED"
	MODE_MODE_LOG_ONLY            Mode = "MODE_LOG_ONLY"
	MODE_UNKNOWN_DEFAULT_OPEN_API Mode = "unknown_default_open_api"
)

List of Mode

func NewModeFromValue

func NewModeFromValue(v string) (*Mode, error)

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

func (Mode) IsValid

func (v Mode) IsValid() bool

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

func (Mode) Ptr

func (v Mode) Ptr() *Mode

Ptr returns reference to Mode value

func (*Mode) UnmarshalJSON

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

type NullableAction added in v0.13.0

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

func NewNullableAction added in v0.13.0

func NewNullableAction(val *Action) *NullableAction

func (NullableAction) Get added in v0.13.0

func (v NullableAction) Get() *Action

func (NullableAction) IsSet added in v0.13.0

func (v NullableAction) IsSet() bool

func (NullableAction) MarshalJSON added in v0.13.0

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

func (*NullableAction) Set added in v0.13.0

func (v *NullableAction) Set(val *Action)

func (*NullableAction) UnmarshalJSON added in v0.13.0

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

func (*NullableAction) Unset added in v0.13.0

func (v *NullableAction) Unset()

type NullableBehaviour

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

func NewNullableBehaviour

func NewNullableBehaviour(val *Behaviour) *NullableBehaviour

func (NullableBehaviour) Get

func (v NullableBehaviour) Get() *Behaviour

func (NullableBehaviour) IsSet

func (v NullableBehaviour) IsSet() bool

func (NullableBehaviour) MarshalJSON

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

func (*NullableBehaviour) Set

func (v *NullableBehaviour) Set(val *Behaviour)

func (*NullableBehaviour) UnmarshalJSON

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

func (*NullableBehaviour) Unset

func (v *NullableBehaviour) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCRGConfigQuota

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

func NewNullableCRGConfigQuota

func NewNullableCRGConfigQuota(val *CRGConfigQuota) *NullableCRGConfigQuota

func (NullableCRGConfigQuota) Get

func (NullableCRGConfigQuota) IsSet

func (v NullableCRGConfigQuota) IsSet() bool

func (NullableCRGConfigQuota) MarshalJSON

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

func (*NullableCRGConfigQuota) Set

func (*NullableCRGConfigQuota) UnmarshalJSON

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

func (*NullableCRGConfigQuota) Unset

func (v *NullableCRGConfigQuota) Unset()

type NullableCRGUsage

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

func NewNullableCRGUsage

func NewNullableCRGUsage(val *CRGUsage) *NullableCRGUsage

func (NullableCRGUsage) Get

func (v NullableCRGUsage) Get() *CRGUsage

func (NullableCRGUsage) IsSet

func (v NullableCRGUsage) IsSet() bool

func (NullableCRGUsage) MarshalJSON

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

func (*NullableCRGUsage) Set

func (v *NullableCRGUsage) Set(val *CRGUsage)

func (*NullableCRGUsage) UnmarshalJSON

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

func (*NullableCRGUsage) Unset

func (v *NullableCRGUsage) Unset()

type NullableCondition

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

func NewNullableCondition

func NewNullableCondition(val *Condition) *NullableCondition

func (NullableCondition) Get

func (v NullableCondition) Get() *Condition

func (NullableCondition) IsSet

func (v NullableCondition) IsSet() bool

func (NullableCondition) MarshalJSON

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

func (*NullableCondition) Set

func (v *NullableCondition) Set(val *Condition)

func (*NullableCondition) UnmarshalJSON

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

func (*NullableCondition) Unset

func (v *NullableCondition) Unset()

type NullableConditionOperator

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

func NewNullableConditionOperator

func NewNullableConditionOperator(val *ConditionOperator) *NullableConditionOperator

func (NullableConditionOperator) Get

func (NullableConditionOperator) IsSet

func (v NullableConditionOperator) IsSet() bool

func (NullableConditionOperator) MarshalJSON

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

func (*NullableConditionOperator) Set

func (*NullableConditionOperator) UnmarshalJSON

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

func (*NullableConditionOperator) Unset

func (v *NullableConditionOperator) Unset()

type NullableConditionVariable

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

func NewNullableConditionVariable

func NewNullableConditionVariable(val *ConditionVariable) *NullableConditionVariable

func (NullableConditionVariable) Get

func (NullableConditionVariable) IsSet

func (v NullableConditionVariable) IsSet() bool

func (NullableConditionVariable) MarshalJSON

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

func (*NullableConditionVariable) Set

func (*NullableConditionVariable) UnmarshalJSON

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

func (*NullableConditionVariable) Unset

func (v *NullableConditionVariable) Unset()

type NullableCreateCustomRule

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

func NewNullableCreateCustomRule

func NewNullableCreateCustomRule(val *CreateCustomRule) *NullableCreateCustomRule

func (NullableCreateCustomRule) Get

func (NullableCreateCustomRule) IsSet

func (v NullableCreateCustomRule) IsSet() bool

func (NullableCreateCustomRule) MarshalJSON

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

func (*NullableCreateCustomRule) Set

func (*NullableCreateCustomRule) UnmarshalJSON

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

func (*NullableCreateCustomRule) Unset

func (v *NullableCreateCustomRule) Unset()

type NullableCreateCustomRuleGroupPayload

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

func (NullableCreateCustomRuleGroupPayload) Get

func (NullableCreateCustomRuleGroupPayload) IsSet

func (NullableCreateCustomRuleGroupPayload) MarshalJSON

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

func (*NullableCreateCustomRuleGroupPayload) Set

func (*NullableCreateCustomRuleGroupPayload) UnmarshalJSON

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

func (*NullableCreateCustomRuleGroupPayload) Unset

type NullableCreateManagedRuleSetPayload

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

func (NullableCreateManagedRuleSetPayload) Get

func (NullableCreateManagedRuleSetPayload) IsSet

func (NullableCreateManagedRuleSetPayload) MarshalJSON

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

func (*NullableCreateManagedRuleSetPayload) Set

func (*NullableCreateManagedRuleSetPayload) UnmarshalJSON

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

func (*NullableCreateManagedRuleSetPayload) 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 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 NullableGetBehaviour

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

func NewNullableGetBehaviour

func NewNullableGetBehaviour(val *GetBehaviour) *NullableGetBehaviour

func (NullableGetBehaviour) Get

func (NullableGetBehaviour) IsSet

func (v NullableGetBehaviour) IsSet() bool

func (NullableGetBehaviour) MarshalJSON

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

func (*NullableGetBehaviour) Set

func (v *NullableGetBehaviour) Set(val *GetBehaviour)

func (*NullableGetBehaviour) UnmarshalJSON

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

func (*NullableGetBehaviour) Unset

func (v *NullableGetBehaviour) Unset()

type NullableGetCustomRule

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

func NewNullableGetCustomRule

func NewNullableGetCustomRule(val *GetCustomRule) *NullableGetCustomRule

func (NullableGetCustomRule) Get

func (NullableGetCustomRule) IsSet

func (v NullableGetCustomRule) IsSet() bool

func (NullableGetCustomRule) MarshalJSON

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

func (*NullableGetCustomRule) Set

func (v *NullableGetCustomRule) Set(val *GetCustomRule)

func (*NullableGetCustomRule) UnmarshalJSON

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

func (*NullableGetCustomRule) Unset

func (v *NullableGetCustomRule) Unset()

type NullableGetCustomRuleGroupResponse

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

func (NullableGetCustomRuleGroupResponse) Get

func (NullableGetCustomRuleGroupResponse) IsSet

func (NullableGetCustomRuleGroupResponse) MarshalJSON

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

func (*NullableGetCustomRuleGroupResponse) Set

func (*NullableGetCustomRuleGroupResponse) UnmarshalJSON

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

func (*NullableGetCustomRuleGroupResponse) Unset

type NullableGetLimitedManagedRuleSetResponse

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

func (NullableGetLimitedManagedRuleSetResponse) Get

func (NullableGetLimitedManagedRuleSetResponse) IsSet

func (NullableGetLimitedManagedRuleSetResponse) MarshalJSON

func (*NullableGetLimitedManagedRuleSetResponse) Set

func (*NullableGetLimitedManagedRuleSetResponse) UnmarshalJSON

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

func (*NullableGetLimitedManagedRuleSetResponse) Unset

type NullableGetManagedRuleSetResponse

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

func (NullableGetManagedRuleSetResponse) Get

func (NullableGetManagedRuleSetResponse) IsSet

func (NullableGetManagedRuleSetResponse) MarshalJSON

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

func (*NullableGetManagedRuleSetResponse) Set

func (*NullableGetManagedRuleSetResponse) UnmarshalJSON

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

func (*NullableGetManagedRuleSetResponse) Unset

type NullableGetQuotaResponse

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

func NewNullableGetQuotaResponse

func NewNullableGetQuotaResponse(val *GetQuotaResponse) *NullableGetQuotaResponse

func (NullableGetQuotaResponse) Get

func (NullableGetQuotaResponse) IsSet

func (v NullableGetQuotaResponse) IsSet() bool

func (NullableGetQuotaResponse) MarshalJSON

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

func (*NullableGetQuotaResponse) Set

func (*NullableGetQuotaResponse) UnmarshalJSON

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

func (*NullableGetQuotaResponse) Unset

func (v *NullableGetQuotaResponse) 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 NullableListCustomRuleGroupResponse

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

func (NullableListCustomRuleGroupResponse) Get

func (NullableListCustomRuleGroupResponse) IsSet

func (NullableListCustomRuleGroupResponse) MarshalJSON

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

func (*NullableListCustomRuleGroupResponse) Set

func (*NullableListCustomRuleGroupResponse) UnmarshalJSON

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

func (*NullableListCustomRuleGroupResponse) Unset

type NullableListManagedRuleSetResponse

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

func (NullableListManagedRuleSetResponse) Get

func (NullableListManagedRuleSetResponse) IsSet

func (NullableListManagedRuleSetResponse) MarshalJSON

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

func (*NullableListManagedRuleSetResponse) Set

func (*NullableListManagedRuleSetResponse) UnmarshalJSON

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

func (*NullableListManagedRuleSetResponse) 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 NullableMRSConfigQuota

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

func NewNullableMRSConfigQuota

func NewNullableMRSConfigQuota(val *MRSConfigQuota) *NullableMRSConfigQuota

func (NullableMRSConfigQuota) Get

func (NullableMRSConfigQuota) IsSet

func (v NullableMRSConfigQuota) IsSet() bool

func (NullableMRSConfigQuota) MarshalJSON

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

func (*NullableMRSConfigQuota) Set

func (*NullableMRSConfigQuota) UnmarshalJSON

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

func (*NullableMRSConfigQuota) Unset

func (v *NullableMRSConfigQuota) Unset()

type NullableMRSRule

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

func NewNullableMRSRule

func NewNullableMRSRule(val *MRSRule) *NullableMRSRule

func (NullableMRSRule) Get

func (v NullableMRSRule) Get() *MRSRule

func (NullableMRSRule) IsSet

func (v NullableMRSRule) IsSet() bool

func (NullableMRSRule) MarshalJSON

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

func (*NullableMRSRule) Set

func (v *NullableMRSRule) Set(val *MRSRule)

func (*NullableMRSRule) UnmarshalJSON

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

func (*NullableMRSRule) Unset

func (v *NullableMRSRule) Unset()

type NullableMRSRuleGroup

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

func NewNullableMRSRuleGroup

func NewNullableMRSRuleGroup(val *MRSRuleGroup) *NullableMRSRuleGroup

func (NullableMRSRuleGroup) Get

func (NullableMRSRuleGroup) IsSet

func (v NullableMRSRuleGroup) IsSet() bool

func (NullableMRSRuleGroup) MarshalJSON

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

func (*NullableMRSRuleGroup) Set

func (v *NullableMRSRuleGroup) Set(val *MRSRuleGroup)

func (*NullableMRSRuleGroup) UnmarshalJSON

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

func (*NullableMRSRuleGroup) Unset

func (v *NullableMRSRuleGroup) Unset()

type NullableMRSUsage

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

func NewNullableMRSUsage

func NewNullableMRSUsage(val *MRSUsage) *NullableMRSUsage

func (NullableMRSUsage) Get

func (v NullableMRSUsage) Get() *MRSUsage

func (NullableMRSUsage) IsSet

func (v NullableMRSUsage) IsSet() bool

func (NullableMRSUsage) MarshalJSON

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

func (*NullableMRSUsage) Set

func (v *NullableMRSUsage) Set(val *MRSUsage)

func (*NullableMRSUsage) UnmarshalJSON

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

func (*NullableMRSUsage) Unset

func (v *NullableMRSUsage) Unset()

type NullableMode

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

func NewNullableMode

func NewNullableMode(val *Mode) *NullableMode

func (NullableMode) Get

func (v NullableMode) Get() *Mode

func (NullableMode) IsSet

func (v NullableMode) IsSet() bool

func (NullableMode) MarshalJSON

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

func (*NullableMode) Set

func (v *NullableMode) Set(val *Mode)

func (*NullableMode) UnmarshalJSON

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

func (*NullableMode) Unset

func (v *NullableMode) Unset()

type NullableOperator added in v0.13.0

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

func NewNullableOperator added in v0.13.0

func NewNullableOperator(val *Operator) *NullableOperator

func (NullableOperator) Get added in v0.13.0

func (v NullableOperator) Get() *Operator

func (NullableOperator) IsSet added in v0.13.0

func (v NullableOperator) IsSet() bool

func (NullableOperator) MarshalJSON added in v0.13.0

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

func (*NullableOperator) Set added in v0.13.0

func (v *NullableOperator) Set(val *Operator)

func (*NullableOperator) UnmarshalJSON added in v0.13.0

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

func (*NullableOperator) Unset added in v0.13.0

func (v *NullableOperator) Unset()

type NullablePatchMRSRule

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

func NewNullablePatchMRSRule

func NewNullablePatchMRSRule(val *PatchMRSRule) *NullablePatchMRSRule

func (NullablePatchMRSRule) Get

func (NullablePatchMRSRule) IsSet

func (v NullablePatchMRSRule) IsSet() bool

func (NullablePatchMRSRule) MarshalJSON

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

func (*NullablePatchMRSRule) Set

func (v *NullablePatchMRSRule) Set(val *PatchMRSRule)

func (*NullablePatchMRSRule) UnmarshalJSON

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

func (*NullablePatchMRSRule) Unset

func (v *NullablePatchMRSRule) Unset()

type NullablePatchMRSRuleGroup

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

func NewNullablePatchMRSRuleGroup

func NewNullablePatchMRSRuleGroup(val *PatchMRSRuleGroup) *NullablePatchMRSRuleGroup

func (NullablePatchMRSRuleGroup) Get

func (NullablePatchMRSRuleGroup) IsSet

func (v NullablePatchMRSRuleGroup) IsSet() bool

func (NullablePatchMRSRuleGroup) MarshalJSON

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

func (*NullablePatchMRSRuleGroup) Set

func (*NullablePatchMRSRuleGroup) UnmarshalJSON

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

func (*NullablePatchMRSRuleGroup) Unset

func (v *NullablePatchMRSRuleGroup) Unset()

type NullablePatchManagedRuleSetPayload

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

func (NullablePatchManagedRuleSetPayload) Get

func (NullablePatchManagedRuleSetPayload) IsSet

func (NullablePatchManagedRuleSetPayload) MarshalJSON

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

func (*NullablePatchManagedRuleSetPayload) Set

func (*NullablePatchManagedRuleSetPayload) UnmarshalJSON

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

func (*NullablePatchManagedRuleSetPayload) Unset

type NullableQuotas

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

func NewNullableQuotas

func NewNullableQuotas(val *Quotas) *NullableQuotas

func (NullableQuotas) Get

func (v NullableQuotas) Get() *Quotas

func (NullableQuotas) IsSet

func (v NullableQuotas) IsSet() bool

func (NullableQuotas) MarshalJSON

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

func (*NullableQuotas) Set

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

func (*NullableQuotas) UnmarshalJSON

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

func (*NullableQuotas) Unset

func (v *NullableQuotas) Unset()

type NullableSeverity added in v0.13.0

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

func NewNullableSeverity added in v0.13.0

func NewNullableSeverity(val *Severity) *NullableSeverity

func (NullableSeverity) Get added in v0.13.0

func (v NullableSeverity) Get() *Severity

func (NullableSeverity) IsSet added in v0.13.0

func (v NullableSeverity) IsSet() bool

func (NullableSeverity) MarshalJSON added in v0.13.0

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

func (*NullableSeverity) Set added in v0.13.0

func (v *NullableSeverity) Set(val *Severity)

func (*NullableSeverity) UnmarshalJSON added in v0.13.0

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

func (*NullableSeverity) Unset added in v0.13.0

func (v *NullableSeverity) 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 NullableTransformation added in v0.13.0

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

func NewNullableTransformation added in v0.13.0

func NewNullableTransformation(val *Transformation) *NullableTransformation

func (NullableTransformation) Get added in v0.13.0

func (NullableTransformation) IsSet added in v0.13.0

func (v NullableTransformation) IsSet() bool

func (NullableTransformation) MarshalJSON added in v0.13.0

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

func (*NullableTransformation) Set added in v0.13.0

func (*NullableTransformation) UnmarshalJSON added in v0.13.0

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

func (*NullableTransformation) Unset added in v0.13.0

func (v *NullableTransformation) Unset()

type NullableType added in v0.13.0

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

func NewNullableType added in v0.13.0

func NewNullableType(val *Type) *NullableType

func (NullableType) Get added in v0.13.0

func (v NullableType) Get() *Type

func (NullableType) IsSet added in v0.13.0

func (v NullableType) IsSet() bool

func (NullableType) MarshalJSON added in v0.13.0

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

func (*NullableType) Set added in v0.13.0

func (v *NullableType) Set(val *Type)

func (*NullableType) UnmarshalJSON added in v0.13.0

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

func (*NullableType) Unset added in v0.13.0

func (v *NullableType) Unset()

type NullableUpdateCustomRuleGroupPayload added in v0.12.0

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

func NewNullableUpdateCustomRuleGroupPayload added in v0.12.0

func NewNullableUpdateCustomRuleGroupPayload(val *UpdateCustomRuleGroupPayload) *NullableUpdateCustomRuleGroupPayload

func (NullableUpdateCustomRuleGroupPayload) Get added in v0.12.0

func (NullableUpdateCustomRuleGroupPayload) IsSet added in v0.12.0

func (NullableUpdateCustomRuleGroupPayload) MarshalJSON added in v0.12.0

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

func (*NullableUpdateCustomRuleGroupPayload) Set added in v0.12.0

func (*NullableUpdateCustomRuleGroupPayload) UnmarshalJSON added in v0.12.0

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

func (*NullableUpdateCustomRuleGroupPayload) Unset added in v0.12.0

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 NullableVariable added in v0.13.0

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

func NewNullableVariable added in v0.13.0

func NewNullableVariable(val *Variable) *NullableVariable

func (NullableVariable) Get added in v0.13.0

func (v NullableVariable) Get() *Variable

func (NullableVariable) IsSet added in v0.13.0

func (v NullableVariable) IsSet() bool

func (NullableVariable) MarshalJSON added in v0.13.0

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

func (*NullableVariable) Set added in v0.13.0

func (v *NullableVariable) Set(val *Variable)

func (*NullableVariable) UnmarshalJSON added in v0.13.0

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

func (*NullableVariable) Unset added in v0.13.0

func (v *NullableVariable) Unset()

type NullableWAFConfigQuota

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

func NewNullableWAFConfigQuota

func NewNullableWAFConfigQuota(val *WAFConfigQuota) *NullableWAFConfigQuota

func (NullableWAFConfigQuota) Get

func (NullableWAFConfigQuota) IsSet

func (v NullableWAFConfigQuota) IsSet() bool

func (NullableWAFConfigQuota) MarshalJSON

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

func (*NullableWAFConfigQuota) Set

func (*NullableWAFConfigQuota) UnmarshalJSON

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

func (*NullableWAFConfigQuota) Unset

func (v *NullableWAFConfigQuota) Unset()

type NullableWAFUsage

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

func NewNullableWAFUsage

func NewNullableWAFUsage(val *WAFUsage) *NullableWAFUsage

func (NullableWAFUsage) Get

func (v NullableWAFUsage) Get() *WAFUsage

func (NullableWAFUsage) IsSet

func (v NullableWAFUsage) IsSet() bool

func (NullableWAFUsage) MarshalJSON

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

func (*NullableWAFUsage) Set

func (v *NullableWAFUsage) Set(val *WAFUsage)

func (*NullableWAFUsage) UnmarshalJSON

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

func (*NullableWAFUsage) Unset

func (v *NullableWAFUsage) Unset()

type NullableWAFUsageItem

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

func NewNullableWAFUsageItem

func NewNullableWAFUsageItem(val *WAFUsageItem) *NullableWAFUsageItem

func (NullableWAFUsageItem) Get

func (NullableWAFUsageItem) IsSet

func (v NullableWAFUsageItem) IsSet() bool

func (NullableWAFUsageItem) MarshalJSON

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

func (*NullableWAFUsageItem) Set

func (v *NullableWAFUsageItem) Set(val *WAFUsageItem)

func (*NullableWAFUsageItem) UnmarshalJSON

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

func (*NullableWAFUsageItem) Unset

func (v *NullableWAFUsageItem) Unset()

type Operator added in v0.13.0

type Operator string

Operator The operational evaluation type definition macro.

const (
	OPERATOR_OPERATOR_BEGINS_WITH            Operator = "OPERATOR_BEGINS_WITH"
	OPERATOR_OPERATOR_CONTAINS               Operator = "OPERATOR_CONTAINS"
	OPERATOR_OPERATOR_ENDS_WITH              Operator = "OPERATOR_ENDS_WITH"
	OPERATOR_OPERATOR_EQ                     Operator = "OPERATOR_EQ"
	OPERATOR_OPERATOR_GE                     Operator = "OPERATOR_GE"
	OPERATOR_OPERATOR_GT                     Operator = "OPERATOR_GT"
	OPERATOR_OPERATOR_IP_MATCH               Operator = "OPERATOR_IP_MATCH"
	OPERATOR_OPERATOR_LE                     Operator = "OPERATOR_LE"
	OPERATOR_OPERATOR_LT                     Operator = "OPERATOR_LT"
	OPERATOR_OPERATOR_RX                     Operator = "OPERATOR_RX"
	OPERATOR_OPERATOR_STREQ                  Operator = "OPERATOR_STREQ"
	OPERATOR_OPERATOR_STRMATCH               Operator = "OPERATOR_STRMATCH"
	OPERATOR_OPERATOR_VALIDATE_SCHEMA        Operator = "OPERATOR_VALIDATE_SCHEMA"
	OPERATOR_OPERATOR_VALIDATE_URL_ENCODING  Operator = "OPERATOR_VALIDATE_URL_ENCODING"
	OPERATOR_OPERATOR_VALIDATE_UTF8_ENCODING Operator = "OPERATOR_VALIDATE_UTF8_ENCODING"
	OPERATOR_OPERATOR_WITHIN                 Operator = "OPERATOR_WITHIN"
	OPERATOR_UNKNOWN_DEFAULT_OPEN_API        Operator = "unknown_default_open_api"
)

List of Operator

func NewOperatorFromValue added in v0.13.0

func NewOperatorFromValue(v string) (*Operator, error)

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

func (Operator) IsValid added in v0.13.0

func (v Operator) IsValid() bool

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

func (Operator) Ptr added in v0.13.0

func (v Operator) Ptr() *Operator

Ptr returns reference to Operator value

func (*Operator) UnmarshalJSON added in v0.13.0

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

type PatchMRSRule

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

PatchMRSRule struct for PatchMRSRule

func NewPatchMRSRule

func NewPatchMRSRule() *PatchMRSRule

NewPatchMRSRule instantiates a new PatchMRSRule 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 NewPatchMRSRuleWithDefaults

func NewPatchMRSRuleWithDefaults() *PatchMRSRule

NewPatchMRSRuleWithDefaults instantiates a new PatchMRSRule 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 (*PatchMRSRule) GetMode

func (o *PatchMRSRule) GetMode() Mode

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

func (*PatchMRSRule) GetModeOk

func (o *PatchMRSRule) GetModeOk() (*Mode, 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 (*PatchMRSRule) HasMode

func (o *PatchMRSRule) HasMode() bool

HasMode returns a boolean if a field has been set.

func (PatchMRSRule) MarshalJSON

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

func (*PatchMRSRule) SetMode

func (o *PatchMRSRule) SetMode(v Mode)

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

func (PatchMRSRule) ToMap

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

func (*PatchMRSRule) UnmarshalJSON

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

type PatchMRSRuleGroup

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

PatchMRSRuleGroup struct for PatchMRSRuleGroup

func NewPatchMRSRuleGroup

func NewPatchMRSRuleGroup() *PatchMRSRuleGroup

NewPatchMRSRuleGroup instantiates a new PatchMRSRuleGroup 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 NewPatchMRSRuleGroupWithDefaults

func NewPatchMRSRuleGroupWithDefaults() *PatchMRSRuleGroup

NewPatchMRSRuleGroupWithDefaults instantiates a new PatchMRSRuleGroup 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 (*PatchMRSRuleGroup) GetRules

func (o *PatchMRSRuleGroup) GetRules() map[string]PatchMRSRule

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

func (*PatchMRSRuleGroup) GetRulesOk

func (o *PatchMRSRuleGroup) GetRulesOk() (*map[string]PatchMRSRule, 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 (*PatchMRSRuleGroup) HasRules

func (o *PatchMRSRuleGroup) HasRules() bool

HasRules returns a boolean if a field has been set.

func (PatchMRSRuleGroup) MarshalJSON

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

func (*PatchMRSRuleGroup) SetRules

func (o *PatchMRSRuleGroup) SetRules(v map[string]PatchMRSRule)

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

func (PatchMRSRuleGroup) ToMap

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

func (*PatchMRSRuleGroup) UnmarshalJSON

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

type PatchManagedRuleSetPayload

type PatchManagedRuleSetPayload struct {
	// Map of Managed 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]PatchMRSRuleGroup `json:"groups,omitempty"`
	// Managed 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{}
}

PatchManagedRuleSetPayload PatchManagedRuleSetRequest updates a rules configuration.

func NewPatchManagedRuleSetPayload

func NewPatchManagedRuleSetPayload() *PatchManagedRuleSetPayload

NewPatchManagedRuleSetPayload instantiates a new PatchManagedRuleSetPayload 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 NewPatchManagedRuleSetPayloadWithDefaults

func NewPatchManagedRuleSetPayloadWithDefaults() *PatchManagedRuleSetPayload

NewPatchManagedRuleSetPayloadWithDefaults instantiates a new PatchManagedRuleSetPayload 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 (*PatchManagedRuleSetPayload) GetGroups

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

func (*PatchManagedRuleSetPayload) GetGroupsOk

func (o *PatchManagedRuleSetPayload) GetGroupsOk() (*map[string]PatchMRSRuleGroup, 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 (*PatchManagedRuleSetPayload) GetName

func (o *PatchManagedRuleSetPayload) GetName() string

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

func (*PatchManagedRuleSetPayload) GetNameOk

func (o *PatchManagedRuleSetPayload) 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 (*PatchManagedRuleSetPayload) GetProjectId

func (o *PatchManagedRuleSetPayload) GetProjectId() string

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

func (*PatchManagedRuleSetPayload) GetProjectIdOk

func (o *PatchManagedRuleSetPayload) 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 (*PatchManagedRuleSetPayload) GetRegion

func (o *PatchManagedRuleSetPayload) GetRegion() string

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

func (*PatchManagedRuleSetPayload) GetRegionOk

func (o *PatchManagedRuleSetPayload) 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 (*PatchManagedRuleSetPayload) HasGroups

func (o *PatchManagedRuleSetPayload) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*PatchManagedRuleSetPayload) HasName

func (o *PatchManagedRuleSetPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchManagedRuleSetPayload) HasProjectId

func (o *PatchManagedRuleSetPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*PatchManagedRuleSetPayload) HasRegion

func (o *PatchManagedRuleSetPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (PatchManagedRuleSetPayload) MarshalJSON

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

func (*PatchManagedRuleSetPayload) SetGroups

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

func (*PatchManagedRuleSetPayload) SetName

func (o *PatchManagedRuleSetPayload) SetName(v string)

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

func (*PatchManagedRuleSetPayload) SetProjectId

func (o *PatchManagedRuleSetPayload) SetProjectId(v string)

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

func (*PatchManagedRuleSetPayload) SetRegion

func (o *PatchManagedRuleSetPayload) SetRegion(v string)

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

func (PatchManagedRuleSetPayload) ToMap

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

func (*PatchManagedRuleSetPayload) UnmarshalJSON

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

type Quotas

type Quotas struct {
	CustomRuleGroup        *CRGConfigQuota `json:"customRuleGroup,omitempty"`
	ManagedRuleSet         *MRSConfigQuota `json:"managedRuleSet,omitempty"`
	WebApplicationFirewall *WAFConfigQuota `json:"webApplicationFirewall,omitempty"`
	AdditionalProperties   map[string]interface{}
}

Quotas Quotas holds the specific quota elements for different resources

func NewQuotas

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

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) GetCustomRuleGroup

func (o *Quotas) GetCustomRuleGroup() CRGConfigQuota

GetCustomRuleGroup returns the CustomRuleGroup field value if set, zero value otherwise.

func (*Quotas) GetCustomRuleGroupOk

func (o *Quotas) GetCustomRuleGroupOk() (*CRGConfigQuota, bool)

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

func (*Quotas) GetManagedRuleSet

func (o *Quotas) GetManagedRuleSet() MRSConfigQuota

GetManagedRuleSet returns the ManagedRuleSet field value if set, zero value otherwise.

func (*Quotas) GetManagedRuleSetOk

func (o *Quotas) GetManagedRuleSetOk() (*MRSConfigQuota, bool)

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

func (*Quotas) GetWebApplicationFirewall

func (o *Quotas) GetWebApplicationFirewall() WAFConfigQuota

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

func (*Quotas) GetWebApplicationFirewallOk

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) HasCustomRuleGroup

func (o *Quotas) HasCustomRuleGroup() bool

HasCustomRuleGroup returns a boolean if a field has been set.

func (*Quotas) HasManagedRuleSet

func (o *Quotas) HasManagedRuleSet() bool

HasManagedRuleSet returns a boolean if a field has been set.

func (*Quotas) HasWebApplicationFirewall

func (o *Quotas) HasWebApplicationFirewall() bool

HasWebApplicationFirewall returns a boolean if a field has been set.

func (Quotas) MarshalJSON

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

func (*Quotas) SetCustomRuleGroup

func (o *Quotas) SetCustomRuleGroup(v CRGConfigQuota)

SetCustomRuleGroup gets a reference to the given CRGConfigQuota and assigns it to the CustomRuleGroup field.

func (*Quotas) SetManagedRuleSet

func (o *Quotas) SetManagedRuleSet(v MRSConfigQuota)

SetManagedRuleSet gets a reference to the given MRSConfigQuota and assigns it to the ManagedRuleSet field.

func (*Quotas) SetWebApplicationFirewall

func (o *Quotas) SetWebApplicationFirewall(v WAFConfigQuota)

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

func (Quotas) ToMap

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

func (*Quotas) UnmarshalJSON

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

type Severity added in v0.13.0

type Severity string

Severity Severity classification metric used by internal analytics graphs.

const (
	SEVERITY_SEVERITY_EMERGENCY       Severity = "SEVERITY_EMERGENCY"
	SEVERITY_SEVERITY_ALERT           Severity = "SEVERITY_ALERT"
	SEVERITY_SEVERITY_CRITICAL        Severity = "SEVERITY_CRITICAL"
	SEVERITY_SEVERITY_ERROR           Severity = "SEVERITY_ERROR"
	SEVERITY_SEVERITY_WARNING         Severity = "SEVERITY_WARNING"
	SEVERITY_SEVERITY_NOTICE          Severity = "SEVERITY_NOTICE"
	SEVERITY_SEVERITY_INFO            Severity = "SEVERITY_INFO"
	SEVERITY_SEVERITY_DEBUG           Severity = "SEVERITY_DEBUG"
	SEVERITY_UNKNOWN_DEFAULT_OPEN_API Severity = "unknown_default_open_api"
)

List of Severity

func NewSeverityFromValue added in v0.13.0

func NewSeverityFromValue(v string) (*Severity, error)

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

func (Severity) IsValid added in v0.13.0

func (v Severity) IsValid() bool

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

func (Severity) Ptr added in v0.13.0

func (v Severity) Ptr() *Severity

Ptr returns reference to Severity value

func (*Severity) UnmarshalJSON added in v0.13.0

func (v *Severity) UnmarshalJSON(src []byte) 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

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

type Transformation added in v0.13.0

type Transformation string

Transformation the model 'Transformation'

const (
	TRANSFORMATION_TRANSFORMATION_LENGTH          Transformation = "TRANSFORMATION_LENGTH"
	TRANSFORMATION_TRANSFORMATION_LOWERCASE       Transformation = "TRANSFORMATION_LOWERCASE"
	TRANSFORMATION_TRANSFORMATION_NONE            Transformation = "TRANSFORMATION_NONE"
	TRANSFORMATION_TRANSFORMATION_TRIM            Transformation = "TRANSFORMATION_TRIM"
	TRANSFORMATION_TRANSFORMATION_UPPERCASE       Transformation = "TRANSFORMATION_UPPERCASE"
	TRANSFORMATION_TRANSFORMATION_UTF8_TO_UNICODE Transformation = "TRANSFORMATION_UTF8_TO_UNICODE"
	TRANSFORMATION_UNKNOWN_DEFAULT_OPEN_API       Transformation = "unknown_default_open_api"
)

List of Transformation

func NewTransformationFromValue added in v0.13.0

func NewTransformationFromValue(v string) (*Transformation, error)

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

func (Transformation) IsValid added in v0.13.0

func (v Transformation) IsValid() bool

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

func (Transformation) Ptr added in v0.13.0

func (v Transformation) Ptr() *Transformation

Ptr returns reference to Transformation value

func (*Transformation) UnmarshalJSON added in v0.13.0

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

type Type added in v0.13.0

type Type string

Type Set the managed rule set type.

const (
	TYPE_TYPE_OWASP_CRS           Type = "TYPE_OWASP_CRS"
	TYPE_UNKNOWN_DEFAULT_OPEN_API Type = "unknown_default_open_api"
)

List of Type

func NewTypeFromValue added in v0.13.0

func NewTypeFromValue(v string) (*Type, error)

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

func (Type) IsValid added in v0.13.0

func (v Type) IsValid() bool

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

func (Type) Ptr added in v0.13.0

func (v Type) Ptr() *Type

Ptr returns reference to Type value

func (*Type) UnmarshalJSON added in v0.13.0

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

type UpdateCustomRuleGroupPayload added in v0.12.0

type UpdateCustomRuleGroupPayload struct {
	// Custom rule group name. Immutable resource key. Provided via URL path.
	Name string `json:"name" 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}$"`
	// The collection of custom rule group SecLang parameters forming this execution group. Replaces the existing rules atomically.
	Rules                []CreateCustomRule `json:"rules"`
	AdditionalProperties map[string]interface{}
}

UpdateCustomRuleGroupPayload Request payload for updating an existing CRG. Replaces the rules array atomically.

func NewUpdateCustomRuleGroupPayload added in v0.12.0

func NewUpdateCustomRuleGroupPayload(name string, rules []CreateCustomRule) *UpdateCustomRuleGroupPayload

NewUpdateCustomRuleGroupPayload instantiates a new UpdateCustomRuleGroupPayload 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 NewUpdateCustomRuleGroupPayloadWithDefaults added in v0.12.0

func NewUpdateCustomRuleGroupPayloadWithDefaults() *UpdateCustomRuleGroupPayload

NewUpdateCustomRuleGroupPayloadWithDefaults instantiates a new UpdateCustomRuleGroupPayload 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 (*UpdateCustomRuleGroupPayload) GetName added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) GetName() string

GetName returns the Name field value

func (*UpdateCustomRuleGroupPayload) GetNameOk added in v0.12.0

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

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

func (*UpdateCustomRuleGroupPayload) GetProjectId added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) GetProjectId() string

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

func (*UpdateCustomRuleGroupPayload) GetProjectIdOk added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) 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 (*UpdateCustomRuleGroupPayload) GetRegion added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) GetRegion() string

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

func (*UpdateCustomRuleGroupPayload) GetRegionOk added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) 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 (*UpdateCustomRuleGroupPayload) GetRules added in v0.12.0

GetRules returns the Rules field value

func (*UpdateCustomRuleGroupPayload) GetRulesOk added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)

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

func (*UpdateCustomRuleGroupPayload) HasProjectId added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*UpdateCustomRuleGroupPayload) HasRegion added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (UpdateCustomRuleGroupPayload) MarshalJSON added in v0.12.0

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

func (*UpdateCustomRuleGroupPayload) SetName added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) SetName(v string)

SetName sets field value

func (*UpdateCustomRuleGroupPayload) SetProjectId added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) SetProjectId(v string)

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

func (*UpdateCustomRuleGroupPayload) SetRegion added in v0.12.0

func (o *UpdateCustomRuleGroupPayload) SetRegion(v string)

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

func (*UpdateCustomRuleGroupPayload) SetRules added in v0.12.0

SetRules sets field value

func (UpdateCustomRuleGroupPayload) ToMap added in v0.12.0

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

func (*UpdateCustomRuleGroupPayload) UnmarshalJSON added in v0.12.0

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

type UpdateWAFPayload

type UpdateWAFPayload struct {
	// Name of the CRG configuration for that WAF.
	CustomRuleGroupName *string `json:"customRuleGroupName,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"`
	// Name of the managed rule set configuration for that WAF.
	ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
	// WAF name
	Name string `json:"name" 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{}
}

UpdateWAFPayload UpdateWAFRequest updates a WAF if rules changed.

func NewUpdateWAFPayload

func NewUpdateWAFPayload(name string) *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) GetCustomRuleGroupName

func (o *UpdateWAFPayload) GetCustomRuleGroupName() string

GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetCustomRuleGroupNameOk

func (o *UpdateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)

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

func (*UpdateWAFPayload) GetLabels

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

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

func (*UpdateWAFPayload) GetLabelsOk

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) GetManagedRuleSetName

func (o *UpdateWAFPayload) GetManagedRuleSetName() string

GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.

func (*UpdateWAFPayload) GetManagedRuleSetNameOk

func (o *UpdateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)

GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName 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

func (*UpdateWAFPayload) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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) HasCustomRuleGroupName

func (o *UpdateWAFPayload) HasCustomRuleGroupName() bool

HasCustomRuleGroupName returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasLabels

func (o *UpdateWAFPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasManagedRuleSetName

func (o *UpdateWAFPayload) HasManagedRuleSetName() bool

HasManagedRuleSetName 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) MarshalJSON

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

func (*UpdateWAFPayload) SetCustomRuleGroupName

func (o *UpdateWAFPayload) SetCustomRuleGroupName(v string)

SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.

func (*UpdateWAFPayload) SetLabels

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) SetManagedRuleSetName

func (o *UpdateWAFPayload) SetManagedRuleSetName(v string)

SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.

func (*UpdateWAFPayload) SetName

func (o *UpdateWAFPayload) SetName(v string)

SetName sets field value

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) ToMap

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

func (*UpdateWAFPayload) UnmarshalJSON

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

type Variable added in v0.13.0

type Variable string

Variable The targeted validation engine variable macro.

const (
	VARIABLE_VARIABLE_ARGS_GET                Variable = "VARIABLE_ARGS_GET"
	VARIABLE_VARIABLE_ARGS_POST               Variable = "VARIABLE_ARGS_POST"
	VARIABLE_VARIABLE_FULL_REQUEST_LENGTH     Variable = "VARIABLE_FULL_REQUEST_LENGTH"
	VARIABLE_VARIABLE_MATCHED_VAR             Variable = "VARIABLE_MATCHED_VAR"
	VARIABLE_VARIABLE_QUERY_STRING            Variable = "VARIABLE_QUERY_STRING"
	VARIABLE_VARIABLE_REMOTE_ADDR             Variable = "VARIABLE_REMOTE_ADDR"
	VARIABLE_VARIABLE_REMOTE_PORT             Variable = "VARIABLE_REMOTE_PORT"
	VARIABLE_VARIABLE_REQUEST_BASENAME        Variable = "VARIABLE_REQUEST_BASENAME"
	VARIABLE_VARIABLE_REQUEST_BODY            Variable = "VARIABLE_REQUEST_BODY"
	VARIABLE_VARIABLE_REQUEST_BODY_LENGTH     Variable = "VARIABLE_REQUEST_BODY_LENGTH"
	VARIABLE_VARIABLE_REQUEST_COOKIES         Variable = "VARIABLE_REQUEST_COOKIES"
	VARIABLE_VARIABLE_REQUEST_HEADERS         Variable = "VARIABLE_REQUEST_HEADERS"
	VARIABLE_VARIABLE_REQUEST_HEADERS_NAMES   Variable = "VARIABLE_REQUEST_HEADERS_NAMES"
	VARIABLE_VARIABLE_REQUEST_METHOD          Variable = "VARIABLE_REQUEST_METHOD"
	VARIABLE_VARIABLE_REQUEST_PROTOCOL        Variable = "VARIABLE_REQUEST_PROTOCOL"
	VARIABLE_VARIABLE_REQUEST_URI_RAW         Variable = "VARIABLE_REQUEST_URI_RAW"
	VARIABLE_VARIABLE_RESPONSE_BODY           Variable = "VARIABLE_RESPONSE_BODY"
	VARIABLE_VARIABLE_RESPONSE_CONTENT_LENGTH Variable = "VARIABLE_RESPONSE_CONTENT_LENGTH"
	VARIABLE_VARIABLE_RESPONSE_HEADERS        Variable = "VARIABLE_RESPONSE_HEADERS"
	VARIABLE_VARIABLE_RESPONSE_HEADERS_NAMES  Variable = "VARIABLE_RESPONSE_HEADERS_NAMES"
	VARIABLE_VARIABLE_RESPONSE_PROTOCOL       Variable = "VARIABLE_RESPONSE_PROTOCOL"
	VARIABLE_VARIABLE_RESPONSE_STATUS         Variable = "VARIABLE_RESPONSE_STATUS"
	VARIABLE_UNKNOWN_DEFAULT_OPEN_API         Variable = "unknown_default_open_api"
)

List of Variable

func NewVariableFromValue added in v0.13.0

func NewVariableFromValue(v string) (*Variable, error)

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

func (Variable) IsValid added in v0.13.0

func (v Variable) IsValid() bool

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

func (Variable) Ptr added in v0.13.0

func (v Variable) Ptr() *Variable

Ptr returns reference to Variable value

func (*Variable) UnmarshalJSON added in v0.13.0

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

type WAFConfigQuota

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

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

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

func (o *WAFConfigQuota) GetLimit() int32

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

func (*WAFConfigQuota) GetLimitOk

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

func (o *WAFConfigQuota) GetUsage() int32

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

func (*WAFConfigQuota) GetUsageOk

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

func (o *WAFConfigQuota) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*WAFConfigQuota) HasUsage

func (o *WAFConfigQuota) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (WAFConfigQuota) MarshalJSON

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

func (*WAFConfigQuota) SetLimit

func (o *WAFConfigQuota) SetLimit(v int32)

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

func (*WAFConfigQuota) SetUsage

func (o *WAFConfigQuota) SetUsage(v int32)

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

func (WAFConfigQuota) ToMap

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

func (*WAFConfigQuota) UnmarshalJSON

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

type WAFUsage

type WAFUsage struct {
	// Number of listeners using this WAF configuration.
	Count *int32 `json:"count,omitempty"`
	// List of Application Load Balancers with their associated listeners that use this WAF configuration.
	Items                []WAFUsageItem `json:"items,omitempty"`
	AdditionalProperties map[string]interface{}
}

WAFUsage struct for WAFUsage

func NewWAFUsage

func NewWAFUsage() *WAFUsage

NewWAFUsage instantiates a new WAFUsage 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 NewWAFUsageWithDefaults

func NewWAFUsageWithDefaults() *WAFUsage

NewWAFUsageWithDefaults instantiates a new WAFUsage 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 (*WAFUsage) GetCount

func (o *WAFUsage) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*WAFUsage) GetCountOk

func (o *WAFUsage) GetCountOk() (*int32, bool)

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

func (*WAFUsage) GetItems

func (o *WAFUsage) GetItems() []WAFUsageItem

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

func (*WAFUsage) GetItemsOk

func (o *WAFUsage) GetItemsOk() ([]WAFUsageItem, 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 (*WAFUsage) HasCount

func (o *WAFUsage) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*WAFUsage) HasItems

func (o *WAFUsage) HasItems() bool

HasItems returns a boolean if a field has been set.

func (WAFUsage) MarshalJSON

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

func (*WAFUsage) SetCount

func (o *WAFUsage) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*WAFUsage) SetItems

func (o *WAFUsage) SetItems(v []WAFUsageItem)

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

func (WAFUsage) ToMap

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

func (*WAFUsage) UnmarshalJSON

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

type WAFUsageItem

type WAFUsageItem struct {
	// The list of listener names in this Load Balancer, that are using the WAF.
	ListenerNames []string `json:"listenerNames,omitempty"`
	// The display name of the Load Balancer.
	LoadBalancerName     *string `json:"loadBalancerName,omitempty"`
	AdditionalProperties map[string]interface{}
}

WAFUsageItem struct for WAFUsageItem

func NewWAFUsageItem

func NewWAFUsageItem() *WAFUsageItem

NewWAFUsageItem instantiates a new WAFUsageItem 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 NewWAFUsageItemWithDefaults

func NewWAFUsageItemWithDefaults() *WAFUsageItem

NewWAFUsageItemWithDefaults instantiates a new WAFUsageItem 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 (*WAFUsageItem) GetListenerNames

func (o *WAFUsageItem) GetListenerNames() []string

GetListenerNames returns the ListenerNames field value if set, zero value otherwise.

func (*WAFUsageItem) GetListenerNamesOk

func (o *WAFUsageItem) GetListenerNamesOk() ([]string, bool)

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

func (*WAFUsageItem) GetLoadBalancerName

func (o *WAFUsageItem) GetLoadBalancerName() string

GetLoadBalancerName returns the LoadBalancerName field value if set, zero value otherwise.

func (*WAFUsageItem) GetLoadBalancerNameOk

func (o *WAFUsageItem) GetLoadBalancerNameOk() (*string, bool)

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

func (*WAFUsageItem) HasListenerNames

func (o *WAFUsageItem) HasListenerNames() bool

HasListenerNames returns a boolean if a field has been set.

func (*WAFUsageItem) HasLoadBalancerName

func (o *WAFUsageItem) HasLoadBalancerName() bool

HasLoadBalancerName returns a boolean if a field has been set.

func (WAFUsageItem) MarshalJSON

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

func (*WAFUsageItem) SetListenerNames

func (o *WAFUsageItem) SetListenerNames(v []string)

SetListenerNames gets a reference to the given []string and assigns it to the ListenerNames field.

func (*WAFUsageItem) SetLoadBalancerName

func (o *WAFUsageItem) SetLoadBalancerName(v string)

SetLoadBalancerName gets a reference to the given string and assigns it to the LoadBalancerName field.

func (WAFUsageItem) ToMap

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

func (*WAFUsageItem) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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