v1betaapi

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 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 AllowedBehaviourActionEnumValues = []BehaviourAction{
	"ACTION_UNSPECIFIED",
	"ACTION_DENY",
	"ACTION_PASS",
	"ACTION_ALLOW",
	"unknown_default_open_api",
}

All allowed values of BehaviourAction enum

View Source
var AllowedConditionOperatorTypeEnumValues = []ConditionOperatorType{
	"OPERATOR_UNSPECIFIED",
	"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 ConditionOperatorType enum

View Source
var AllowedConditionTransformationsInnerEnumValues = []ConditionTransformationsInner{
	"TRANSFORMATION_UNSPECIFIED",
	"TRANSFORMATION_LENGTH",
	"TRANSFORMATION_LOWERCASE",
	"TRANSFORMATION_NONE",
	"TRANSFORMATION_TRIM",
	"TRANSFORMATION_UPPERCASE",
	"TRANSFORMATION_UTF8_TO_UNICODE",
	"unknown_default_open_api",
}

All allowed values of ConditionTransformationsInner enum

View Source
var AllowedConditionVariableTypeEnumValues = []ConditionVariableType{
	"VARIABLE_UNSPECIFIED",
	"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 ConditionVariableType enum

View Source
var AllowedGetBehaviourActionEnumValues = []GetBehaviourAction{
	"ACTION_UNSPECIFIED",
	"ACTION_DENY",
	"ACTION_PASS",
	"ACTION_ALLOW",
	"unknown_default_open_api",
}

All allowed values of GetBehaviourAction enum

View Source
var AllowedGetBehaviourSeverityEnumValues = []GetBehaviourSeverity{
	"SEVERITY_UNSPECIFIED",
	"SEVERITY_EMERGENCY",
	"SEVERITY_ALERT",
	"SEVERITY_CRITICAL",
	"SEVERITY_ERROR",
	"SEVERITY_WARNING",
	"SEVERITY_NOTICE",
	"SEVERITY_INFO",
	"SEVERITY_DEBUG",
	"unknown_default_open_api",
}

All allowed values of GetBehaviourSeverity enum

View Source
var AllowedMRSType1EnumValues = []MRSType1{
	"TYPE_UNSPECIFIED",
	"TYPE_OWASP_CRS",
	"unknown_default_open_api",
}

All allowed values of MRSType1 enum

View Source
var AllowedMRSType2EnumValues = []MRSType2{
	"TYPE_UNSPECIFIED",
	"TYPE_OWASP_CRS",
	"unknown_default_open_api",
}

All allowed values of MRSType2 enum

View Source
var AllowedMRSTypeEnumValues = []MRSType{
	"TYPE_UNSPECIFIED",
	"TYPE_OWASP_CRS",
	"unknown_default_open_api",
}

All allowed values of MRSType enum

View Source
var AllowedMode1EnumValues = []Mode1{
	"MODE_UNSPECIFIED",
	"MODE_ENABLED",
	"MODE_DISABLED",
	"MODE_LOG_ONLY",
	"unknown_default_open_api",
}

All allowed values of Mode1 enum

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

All allowed values of Mode 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 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 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 *BehaviourAction `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"`
	AdditionalProperties map[string]interface{}
}

Behaviour struct for Behaviour

func NewBehaviour

func NewBehaviour() *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() BehaviourAction

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

func (*Behaviour) GetActionOk

func (o *Behaviour) GetActionOk() (*BehaviourAction, 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 (*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) HasAction

func (o *Behaviour) HasAction() bool

HasAction returns a boolean if a field 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 BehaviourAction)

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

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 BehaviourAction

type BehaviourAction string

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

const (
	BEHAVIOURACTION_ACTION_UNSPECIFIED       BehaviourAction = "ACTION_UNSPECIFIED"
	BEHAVIOURACTION_ACTION_DENY              BehaviourAction = "ACTION_DENY"
	BEHAVIOURACTION_ACTION_PASS              BehaviourAction = "ACTION_PASS"
	BEHAVIOURACTION_ACTION_ALLOW             BehaviourAction = "ACTION_ALLOW"
	BEHAVIOURACTION_UNKNOWN_DEFAULT_OPEN_API BehaviourAction = "unknown_default_open_api"
)

List of Behaviour_action

func NewBehaviourActionFromValue

func NewBehaviourActionFromValue(v string) (*BehaviourAction, error)

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

func (BehaviourAction) IsValid

func (v BehaviourAction) IsValid() bool

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

func (BehaviourAction) Ptr

Ptr returns reference to Behaviour_action value

func (*BehaviourAction) UnmarshalJSON

func (v *BehaviourAction) UnmarshalJSON(src []byte) 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,omitempty"`
	// [HINT] Ordered processing adjustments applied to clean inputs before match checking.
	Transformations      []ConditionTransformationsInner `json:"transformations,omitempty"`
	Variable             *ConditionVariable              `json:"variable,omitempty"`
	AdditionalProperties map[string]interface{}
}

Condition struct for Condition

func NewCondition

func NewCondition() *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 if set, zero value otherwise.

func (*Condition) GetOperatorOk

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

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

func (*Condition) GetTransformations

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

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

func (*Condition) GetTransformationsOk

func (o *Condition) GetTransformationsOk() ([]ConditionTransformationsInner, 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 if set, zero value otherwise.

func (*Condition) GetVariableOk

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

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

func (*Condition) HasOperator

func (o *Condition) HasOperator() bool

HasOperator returns a boolean if a field has been set.

func (*Condition) HasTransformations

func (o *Condition) HasTransformations() bool

HasTransformations returns a boolean if a field has been set.

func (*Condition) HasVariable

func (o *Condition) HasVariable() bool

HasVariable 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 gets a reference to the given ConditionOperator and assigns it to the Operator field.

func (*Condition) SetTransformations

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

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

func (*Condition) SetVariable

func (o *Condition) SetVariable(v ConditionVariable)

SetVariable gets a reference to the given ConditionVariable and assigns it to the Variable field.

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 *ConditionOperatorType `json:"type,omitempty"`
	// 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() *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

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

func (*ConditionOperator) GetTypeOk

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

func (o *ConditionOperator) HasType() bool

HasType returns a boolean if a field 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

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

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 ConditionOperatorType

type ConditionOperatorType string

ConditionOperatorType The operational evaluation type definition macro.

const (
	CONDITIONOPERATORTYPE_OPERATOR_UNSPECIFIED            ConditionOperatorType = "OPERATOR_UNSPECIFIED"
	CONDITIONOPERATORTYPE_OPERATOR_BEGINS_WITH            ConditionOperatorType = "OPERATOR_BEGINS_WITH"
	CONDITIONOPERATORTYPE_OPERATOR_CONTAINS               ConditionOperatorType = "OPERATOR_CONTAINS"
	CONDITIONOPERATORTYPE_OPERATOR_ENDS_WITH              ConditionOperatorType = "OPERATOR_ENDS_WITH"
	CONDITIONOPERATORTYPE_OPERATOR_EQ                     ConditionOperatorType = "OPERATOR_EQ"
	CONDITIONOPERATORTYPE_OPERATOR_GE                     ConditionOperatorType = "OPERATOR_GE"
	CONDITIONOPERATORTYPE_OPERATOR_GT                     ConditionOperatorType = "OPERATOR_GT"
	CONDITIONOPERATORTYPE_OPERATOR_IP_MATCH               ConditionOperatorType = "OPERATOR_IP_MATCH"
	CONDITIONOPERATORTYPE_OPERATOR_LE                     ConditionOperatorType = "OPERATOR_LE"
	CONDITIONOPERATORTYPE_OPERATOR_LT                     ConditionOperatorType = "OPERATOR_LT"
	CONDITIONOPERATORTYPE_OPERATOR_RX                     ConditionOperatorType = "OPERATOR_RX"
	CONDITIONOPERATORTYPE_OPERATOR_STREQ                  ConditionOperatorType = "OPERATOR_STREQ"
	CONDITIONOPERATORTYPE_OPERATOR_STRMATCH               ConditionOperatorType = "OPERATOR_STRMATCH"
	CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_SCHEMA        ConditionOperatorType = "OPERATOR_VALIDATE_SCHEMA"
	CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_URL_ENCODING  ConditionOperatorType = "OPERATOR_VALIDATE_URL_ENCODING"
	CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_UTF8_ENCODING ConditionOperatorType = "OPERATOR_VALIDATE_UTF8_ENCODING"
	CONDITIONOPERATORTYPE_OPERATOR_WITHIN                 ConditionOperatorType = "OPERATOR_WITHIN"
	CONDITIONOPERATORTYPE_UNKNOWN_DEFAULT_OPEN_API        ConditionOperatorType = "unknown_default_open_api"
)

List of ConditionOperator_type

func NewConditionOperatorTypeFromValue

func NewConditionOperatorTypeFromValue(v string) (*ConditionOperatorType, error)

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

func (ConditionOperatorType) IsValid

func (v ConditionOperatorType) IsValid() bool

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

func (ConditionOperatorType) Ptr

Ptr returns reference to ConditionOperator_type value

func (*ConditionOperatorType) UnmarshalJSON

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

type ConditionTransformationsInner

type ConditionTransformationsInner string

ConditionTransformationsInner the model 'ConditionTransformationsInner'

const (
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UNSPECIFIED     ConditionTransformationsInner = "TRANSFORMATION_UNSPECIFIED"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_LENGTH          ConditionTransformationsInner = "TRANSFORMATION_LENGTH"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_LOWERCASE       ConditionTransformationsInner = "TRANSFORMATION_LOWERCASE"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_NONE            ConditionTransformationsInner = "TRANSFORMATION_NONE"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_TRIM            ConditionTransformationsInner = "TRANSFORMATION_TRIM"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UPPERCASE       ConditionTransformationsInner = "TRANSFORMATION_UPPERCASE"
	CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UTF8_TO_UNICODE ConditionTransformationsInner = "TRANSFORMATION_UTF8_TO_UNICODE"
	CONDITIONTRANSFORMATIONSINNER_UNKNOWN_DEFAULT_OPEN_API       ConditionTransformationsInner = "unknown_default_open_api"
)

List of Condition_transformations_inner

func NewConditionTransformationsInnerFromValue

func NewConditionTransformationsInnerFromValue(v string) (*ConditionTransformationsInner, error)

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

func (ConditionTransformationsInner) IsValid

func (v ConditionTransformationsInner) IsValid() bool

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

func (ConditionTransformationsInner) Ptr

Ptr returns reference to Condition_transformations_inner value

func (*ConditionTransformationsInner) UnmarshalJSON

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

type ConditionVariable

type ConditionVariable struct {
	Type *ConditionVariableType `json:"type,omitempty"`
	// 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() *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

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

func (*ConditionVariable) GetTypeOk

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

func (o *ConditionVariable) HasType() bool

HasType returns a boolean if a field 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

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

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 ConditionVariableType

type ConditionVariableType string

ConditionVariableType The targeted validation engine variable macro.

const (
	CONDITIONVARIABLETYPE_VARIABLE_UNSPECIFIED             ConditionVariableType = "VARIABLE_UNSPECIFIED"
	CONDITIONVARIABLETYPE_VARIABLE_ARGS_GET                ConditionVariableType = "VARIABLE_ARGS_GET"
	CONDITIONVARIABLETYPE_VARIABLE_ARGS_POST               ConditionVariableType = "VARIABLE_ARGS_POST"
	CONDITIONVARIABLETYPE_VARIABLE_FULL_REQUEST_LENGTH     ConditionVariableType = "VARIABLE_FULL_REQUEST_LENGTH"
	CONDITIONVARIABLETYPE_VARIABLE_MATCHED_VAR             ConditionVariableType = "VARIABLE_MATCHED_VAR"
	CONDITIONVARIABLETYPE_VARIABLE_QUERY_STRING            ConditionVariableType = "VARIABLE_QUERY_STRING"
	CONDITIONVARIABLETYPE_VARIABLE_REMOTE_ADDR             ConditionVariableType = "VARIABLE_REMOTE_ADDR"
	CONDITIONVARIABLETYPE_VARIABLE_REMOTE_PORT             ConditionVariableType = "VARIABLE_REMOTE_PORT"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BASENAME        ConditionVariableType = "VARIABLE_REQUEST_BASENAME"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BODY            ConditionVariableType = "VARIABLE_REQUEST_BODY"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BODY_LENGTH     ConditionVariableType = "VARIABLE_REQUEST_BODY_LENGTH"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_COOKIES         ConditionVariableType = "VARIABLE_REQUEST_COOKIES"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_HEADERS         ConditionVariableType = "VARIABLE_REQUEST_HEADERS"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_HEADERS_NAMES   ConditionVariableType = "VARIABLE_REQUEST_HEADERS_NAMES"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_METHOD          ConditionVariableType = "VARIABLE_REQUEST_METHOD"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_PROTOCOL        ConditionVariableType = "VARIABLE_REQUEST_PROTOCOL"
	CONDITIONVARIABLETYPE_VARIABLE_REQUEST_URI_RAW         ConditionVariableType = "VARIABLE_REQUEST_URI_RAW"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_BODY           ConditionVariableType = "VARIABLE_RESPONSE_BODY"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_CONTENT_LENGTH ConditionVariableType = "VARIABLE_RESPONSE_CONTENT_LENGTH"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_HEADERS        ConditionVariableType = "VARIABLE_RESPONSE_HEADERS"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_HEADERS_NAMES  ConditionVariableType = "VARIABLE_RESPONSE_HEADERS_NAMES"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_PROTOCOL       ConditionVariableType = "VARIABLE_RESPONSE_PROTOCOL"
	CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_STATUS         ConditionVariableType = "VARIABLE_RESPONSE_STATUS"
	CONDITIONVARIABLETYPE_UNKNOWN_DEFAULT_OPEN_API         ConditionVariableType = "unknown_default_open_api"
)

List of ConditionVariable_type

func NewConditionVariableTypeFromValue

func NewConditionVariableTypeFromValue(v string) (*ConditionVariableType, error)

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

func (ConditionVariableType) IsValid

func (v ConditionVariableType) IsValid() bool

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

func (ConditionVariableType) Ptr

Ptr returns reference to ConditionVariable_type value

func (*ConditionVariableType) UnmarshalJSON

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

type CreateCustomRule

type CreateCustomRule struct {
	Behaviour *Behaviour `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"`
	AdditionalProperties map[string]interface{}
}

CreateCustomRule struct for CreateCustomRule

func NewCreateCustomRule

func NewCreateCustomRule() *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 if set, zero value otherwise.

func (*CreateCustomRule) GetBehaviourOk

func (o *CreateCustomRule) GetBehaviourOk() (*Behaviour, 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 (*CreateCustomRule) GetConditions

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

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

func (*CreateCustomRule) GetConditionsOk

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

func (o *CreateCustomRule) HasBehaviour() bool

HasBehaviour returns a boolean if a field has been set.

func (*CreateCustomRule) HasConditions

func (o *CreateCustomRule) HasConditions() bool

HasConditions returns a boolean if a field 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 gets a reference to the given Behaviour and assigns it to the Behaviour field.

func (*CreateCustomRule) SetConditions

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

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

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

CreateCustomRuleGroupPayload Request payload for creating a CRG.

func NewCreateCustomRuleGroupPayload

func NewCreateCustomRuleGroupPayload() *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 if set, zero value otherwise.

func (*CreateCustomRuleGroupPayload) GetNameOk

func (o *CreateCustomRuleGroupPayload) 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 (*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 if set, zero value otherwise.

func (*CreateCustomRuleGroupPayload) GetRulesOk

func (o *CreateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, 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 (*CreateCustomRuleGroupPayload) HasName

func (o *CreateCustomRuleGroupPayload) HasName() bool

HasName returns a boolean if a field 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) HasRules

func (o *CreateCustomRuleGroupPayload) HasRules() bool

HasRules 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 gets a reference to the given string and assigns it to the Name field.

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 gets a reference to the given []CreateCustomRule and assigns it to the Rules field.

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,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}$"`
	Type                 *MRSType `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateManagedRuleSetPayload CreateManagedRuleSetRequest creates a rule configuration.

func NewCreateManagedRuleSetPayload

func NewCreateManagedRuleSetPayload() *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 if set, zero value otherwise.

func (*CreateManagedRuleSetPayload) GetNameOk

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

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

func (*CreateManagedRuleSetPayload) GetTypeOk

func (o *CreateManagedRuleSetPayload) GetTypeOk() (*MRSType, 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 (*CreateManagedRuleSetPayload) HasName

func (o *CreateManagedRuleSetPayload) HasName() bool

HasName returns a boolean if a field 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) HasType

func (o *CreateManagedRuleSetPayload) HasType() bool

HasType 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 gets a reference to the given string and assigns it to the Name field.

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

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

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,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{}
}

CreateWAFPayload CreateWAFRequest creates a WAF with rules.

func NewCreateWAFPayload

func NewCreateWAFPayload() *CreateWAFPayload

NewCreateWAFPayload instantiates a new CreateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateWAFPayloadWithDefaults

func NewCreateWAFPayloadWithDefaults() *CreateWAFPayload

NewCreateWAFPayloadWithDefaults instantiates a new CreateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateWAFPayload) 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 if set, zero value otherwise.

func (*CreateWAFPayload) GetNameOk

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

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

func (*CreateWAFPayload) GetProjectId

func (o *CreateWAFPayload) GetProjectId() string

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

func (*CreateWAFPayload) GetProjectIdOk

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

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

func (*CreateWAFPayload) GetRegion

func (o *CreateWAFPayload) GetRegion() string

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

func (*CreateWAFPayload) GetRegionOk

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

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

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

func (o *CreateWAFPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWAFPayload) HasProjectId

func (o *CreateWAFPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*CreateWAFPayload) HasRegion

func (o *CreateWAFPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (CreateWAFPayload) 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 gets a reference to the given string and assigns it to the Name field.

func (*CreateWAFPayload) SetProjectId

func (o *CreateWAFPayload) SetProjectId(v string)

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

func (*CreateWAFPayload) SetRegion

func (o *CreateWAFPayload) SetRegion(v string)

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

func (CreateWAFPayload) 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
	*/
	CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest

	// CreateCustomRuleGroupExecute executes the request
	//  @return GetCustomRuleGroupResponse
	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
	*/
	CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest

	// CreateManagedRuleSetExecute executes the request
	//  @return GetManagedRuleSetResponse
	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
	*/
	CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest

	// CreateWAFExecute executes the request
	//  @return GetWAFResponse
	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
	*/
	DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest

	// DeleteCustomRuleGroupExecute executes the request
	//  @return map[string]interface{}
	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
	*/
	DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest

	// DeleteManagedRuleSetExecute executes the request
	//  @return map[string]interface{}
	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
	*/
	DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest

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

	/*
		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
	*/
	GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest

	// GetCustomRuleGroupExecute executes the request
	//  @return GetCustomRuleGroupResponse
	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
	*/
	GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest

	// GetManagedRuleSetExecute executes the request
	//  @return GetManagedRuleSetResponse
	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
	*/
	GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest

	// GetQuotaExecute executes the request
	//  @return GetQuotaResponse
	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
	*/
	GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest

	// GetWAFExecute executes the request
	//  @return GetWAFResponse
	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
	*/
	ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest

	// ListCustomRuleGroupExecute executes the request
	//  @return ListCustomRuleGroupResponse
	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
	*/
	ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest

	// ListManagedRuleSetsExecute executes the request
	//  @return ListManagedRuleSetResponse
	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
	*/
	ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest

	// ListWAFExecute executes the request
	//  @return ListWAFResponse
	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
	*/
	PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest

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

	/*
		UpdateWAF Update a WAF configuration

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

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

	// UpdateWAFExecute executes the request
	//  @return GetWAFResponse
	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

func (*DefaultAPIService) CreateCustomRuleGroupExecute

Execute executes the request

@return GetCustomRuleGroupResponse

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

func (*DefaultAPIService) CreateManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

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

func (*DefaultAPIService) CreateWAFExecute

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

Execute executes the request

@return GetWAFResponse

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

func (*DefaultAPIService) DeleteCustomRuleGroupExecute

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

Execute executes the request

@return map[string]interface{}

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

func (*DefaultAPIService) DeleteManagedRuleSetExecute

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

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) DeleteWAF

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

DeleteWAF Delete a WAF configuration

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

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

func (*DefaultAPIService) DeleteWAFExecute

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

Execute executes the request

@return map[string]interface{}

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

func (*DefaultAPIService) GetCustomRuleGroupExecute

Execute executes the request

@return GetCustomRuleGroupResponse

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

func (*DefaultAPIService) GetManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

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

func (*DefaultAPIService) GetQuotaExecute

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

Execute executes the request

@return GetQuotaResponse

func (*DefaultAPIService) GetWAF

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

GetWAF Retrieve a WAF configuration

This endpoint will return the specified WAF configuration.

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

func (*DefaultAPIService) GetWAFExecute

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

Execute executes the request

@return GetWAFResponse

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

func (*DefaultAPIService) ListCustomRuleGroupExecute

Execute executes the request

@return ListCustomRuleGroupResponse

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

func (*DefaultAPIService) ListManagedRuleSetsExecute

Execute executes the request

@return ListManagedRuleSetResponse

func (*DefaultAPIService) ListWAF

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

ListWAF List of WAF configurations

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

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

func (*DefaultAPIService) ListWAFExecute

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

Execute executes the request

@return ListWAFResponse

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

func (*DefaultAPIService) PatchManagedRuleSetExecute

Execute executes the request

@return GetManagedRuleSetResponse

func (*DefaultAPIService) UpdateWAF

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

UpdateWAF Update a WAF configuration

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

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

func (*DefaultAPIService) UpdateWAFExecute

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

Execute executes the request

@return GetWAFResponse

type DefaultAPIServiceMock

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

func (DefaultAPIServiceMock) CreateCustomRuleGroupExecute

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

func (DefaultAPIServiceMock) CreateManagedRuleSetExecute

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

func (DefaultAPIServiceMock) CreateWAFExecute

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

func (DefaultAPIServiceMock) DeleteCustomRuleGroup

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

func (DefaultAPIServiceMock) DeleteCustomRuleGroupExecute

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

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

func (DefaultAPIServiceMock) DeleteManagedRuleSetExecute

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

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

func (DefaultAPIServiceMock) DeleteWAFExecute

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

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

func (DefaultAPIServiceMock) GetCustomRuleGroup

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

func (DefaultAPIServiceMock) GetCustomRuleGroupExecute

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

func (DefaultAPIServiceMock) GetManagedRuleSetExecute

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

func (DefaultAPIServiceMock) GetQuotaExecute

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

func (DefaultAPIServiceMock) GetWAFExecute

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

func (DefaultAPIServiceMock) ListCustomRuleGroup

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

func (DefaultAPIServiceMock) ListCustomRuleGroupExecute

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

func (DefaultAPIServiceMock) ListManagedRuleSetsExecute

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

func (DefaultAPIServiceMock) ListWAFExecute

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

func (DefaultAPIServiceMock) PatchManagedRuleSet

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

func (DefaultAPIServiceMock) PatchManagedRuleSetExecute

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

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

func (DefaultAPIServiceMock) UpdateWAFExecute

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

type GetBehaviour

type GetBehaviour struct {
	Action *GetBehaviourAction `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             *GetBehaviourSeverity `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() GetBehaviourAction

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

func (*GetBehaviour) GetActionOk

func (o *GetBehaviour) GetActionOk() (*GetBehaviourAction, 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() GetBehaviourSeverity

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

func (*GetBehaviour) GetSeverityOk

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

SetAction gets a reference to the given GetBehaviourAction 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 GetBehaviourSeverity)

SetSeverity gets a reference to the given GetBehaviourSeverity 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 GetBehaviourAction

type GetBehaviourAction string

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

const (
	GETBEHAVIOURACTION_ACTION_UNSPECIFIED       GetBehaviourAction = "ACTION_UNSPECIFIED"
	GETBEHAVIOURACTION_ACTION_DENY              GetBehaviourAction = "ACTION_DENY"
	GETBEHAVIOURACTION_ACTION_PASS              GetBehaviourAction = "ACTION_PASS"
	GETBEHAVIOURACTION_ACTION_ALLOW             GetBehaviourAction = "ACTION_ALLOW"
	GETBEHAVIOURACTION_UNKNOWN_DEFAULT_OPEN_API GetBehaviourAction = "unknown_default_open_api"
)

List of GetBehaviour_action

func NewGetBehaviourActionFromValue

func NewGetBehaviourActionFromValue(v string) (*GetBehaviourAction, error)

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

func (GetBehaviourAction) IsValid

func (v GetBehaviourAction) IsValid() bool

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

func (GetBehaviourAction) Ptr

Ptr returns reference to GetBehaviour_action value

func (*GetBehaviourAction) UnmarshalJSON

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

type GetBehaviourSeverity

type GetBehaviourSeverity string

GetBehaviourSeverity Severity classification metric used by internal analytics graphs.

const (
	GETBEHAVIOURSEVERITY_SEVERITY_UNSPECIFIED     GetBehaviourSeverity = "SEVERITY_UNSPECIFIED"
	GETBEHAVIOURSEVERITY_SEVERITY_EMERGENCY       GetBehaviourSeverity = "SEVERITY_EMERGENCY"
	GETBEHAVIOURSEVERITY_SEVERITY_ALERT           GetBehaviourSeverity = "SEVERITY_ALERT"
	GETBEHAVIOURSEVERITY_SEVERITY_CRITICAL        GetBehaviourSeverity = "SEVERITY_CRITICAL"
	GETBEHAVIOURSEVERITY_SEVERITY_ERROR           GetBehaviourSeverity = "SEVERITY_ERROR"
	GETBEHAVIOURSEVERITY_SEVERITY_WARNING         GetBehaviourSeverity = "SEVERITY_WARNING"
	GETBEHAVIOURSEVERITY_SEVERITY_NOTICE          GetBehaviourSeverity = "SEVERITY_NOTICE"
	GETBEHAVIOURSEVERITY_SEVERITY_INFO            GetBehaviourSeverity = "SEVERITY_INFO"
	GETBEHAVIOURSEVERITY_SEVERITY_DEBUG           GetBehaviourSeverity = "SEVERITY_DEBUG"
	GETBEHAVIOURSEVERITY_UNKNOWN_DEFAULT_OPEN_API GetBehaviourSeverity = "unknown_default_open_api"
)

List of GetBehaviour_severity

func NewGetBehaviourSeverityFromValue

func NewGetBehaviourSeverityFromValue(v string) (*GetBehaviourSeverity, error)

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

func (GetBehaviourSeverity) IsValid

func (v GetBehaviourSeverity) IsValid() bool

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

func (GetBehaviourSeverity) Ptr

Ptr returns reference to GetBehaviour_severity value

func (*GetBehaviourSeverity) UnmarshalJSON

func (v *GetBehaviourSeverity) UnmarshalJSON(src []byte) 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  *MRSType1 `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() (*MRSType1, 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

SetType gets a reference to the given MRSType1 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  *MRSType2 `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() MRSType2

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

func (*GetManagedRuleSetResponse) GetTypeOk

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

SetType gets a reference to the given MRSType2 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 {
	// SQL Injection Attack Detected via libinjection
	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 MRSType

type MRSType string

MRSType Set the managed rule set type.

const (
	MRSTYPE_TYPE_UNSPECIFIED         MRSType = "TYPE_UNSPECIFIED"
	MRSTYPE_TYPE_OWASP_CRS           MRSType = "TYPE_OWASP_CRS"
	MRSTYPE_UNKNOWN_DEFAULT_OPEN_API MRSType = "unknown_default_open_api"
)

List of MRS_Type

func NewMRSTypeFromValue

func NewMRSTypeFromValue(v string) (*MRSType, error)

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

func (MRSType) IsValid

func (v MRSType) IsValid() bool

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

func (MRSType) Ptr

func (v MRSType) Ptr() *MRSType

Ptr returns reference to MRS_Type value

func (*MRSType) UnmarshalJSON

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

type MRSType1

type MRSType1 string

MRSType1 Get the managed rule set type.

const (
	MRSTYPE1_TYPE_UNSPECIFIED         MRSType1 = "TYPE_UNSPECIFIED"
	MRSTYPE1_TYPE_OWASP_CRS           MRSType1 = "TYPE_OWASP_CRS"
	MRSTYPE1_UNKNOWN_DEFAULT_OPEN_API MRSType1 = "unknown_default_open_api"
)

List of MRS_Type_1

func NewMRSType1FromValue

func NewMRSType1FromValue(v string) (*MRSType1, error)

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

func (MRSType1) IsValid

func (v MRSType1) IsValid() bool

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

func (MRSType1) Ptr

func (v MRSType1) Ptr() *MRSType1

Ptr returns reference to MRS_Type_1 value

func (*MRSType1) UnmarshalJSON

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

type MRSType2

type MRSType2 string

MRSType2 Get the managed rule set type.

const (
	MRSTYPE2_TYPE_UNSPECIFIED         MRSType2 = "TYPE_UNSPECIFIED"
	MRSTYPE2_TYPE_OWASP_CRS           MRSType2 = "TYPE_OWASP_CRS"
	MRSTYPE2_UNKNOWN_DEFAULT_OPEN_API MRSType2 = "unknown_default_open_api"
)

List of MRS_Type_2

func NewMRSType2FromValue

func NewMRSType2FromValue(v string) (*MRSType2, error)

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

func (MRSType2) IsValid

func (v MRSType2) IsValid() bool

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

func (MRSType2) Ptr

func (v MRSType2) Ptr() *MRSType2

Ptr returns reference to MRS_Type_2 value

func (*MRSType2) UnmarshalJSON

func (v *MRSType2) UnmarshalJSON(src []byte) 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_UNSPECIFIED         Mode = "MODE_UNSPECIFIED"
	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 Mode1

type Mode1 string

Mode1 The current mode of the rule.

const (
	MODE1_MODE_UNSPECIFIED         Mode1 = "MODE_UNSPECIFIED"
	MODE1_MODE_ENABLED             Mode1 = "MODE_ENABLED"
	MODE1_MODE_DISABLED            Mode1 = "MODE_DISABLED"
	MODE1_MODE_LOG_ONLY            Mode1 = "MODE_LOG_ONLY"
	MODE1_UNKNOWN_DEFAULT_OPEN_API Mode1 = "unknown_default_open_api"
)

List of Mode_1

func NewMode1FromValue

func NewMode1FromValue(v string) (*Mode1, error)

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

func (Mode1) IsValid

func (v Mode1) IsValid() bool

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

func (Mode1) Ptr

func (v Mode1) Ptr() *Mode1

Ptr returns reference to Mode_1 value

func (*Mode1) UnmarshalJSON

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

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 NullableBehaviourAction

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

func NewNullableBehaviourAction

func NewNullableBehaviourAction(val *BehaviourAction) *NullableBehaviourAction

func (NullableBehaviourAction) Get

func (NullableBehaviourAction) IsSet

func (v NullableBehaviourAction) IsSet() bool

func (NullableBehaviourAction) MarshalJSON

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

func (*NullableBehaviourAction) Set

func (*NullableBehaviourAction) UnmarshalJSON

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

func (*NullableBehaviourAction) Unset

func (v *NullableBehaviourAction) 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 NullableConditionOperatorType

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

func (NullableConditionOperatorType) Get

func (NullableConditionOperatorType) IsSet

func (NullableConditionOperatorType) MarshalJSON

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

func (*NullableConditionOperatorType) Set

func (*NullableConditionOperatorType) UnmarshalJSON

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

func (*NullableConditionOperatorType) Unset

func (v *NullableConditionOperatorType) Unset()

type NullableConditionTransformationsInner

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

func (NullableConditionTransformationsInner) Get

func (NullableConditionTransformationsInner) IsSet

func (NullableConditionTransformationsInner) MarshalJSON

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

func (*NullableConditionTransformationsInner) Set

func (*NullableConditionTransformationsInner) UnmarshalJSON

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

func (*NullableConditionTransformationsInner) 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 NullableConditionVariableType

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

func (NullableConditionVariableType) Get

func (NullableConditionVariableType) IsSet

func (NullableConditionVariableType) MarshalJSON

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

func (*NullableConditionVariableType) Set

func (*NullableConditionVariableType) UnmarshalJSON

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

func (*NullableConditionVariableType) Unset

func (v *NullableConditionVariableType) 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 NullableGetBehaviourAction

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

func NewNullableGetBehaviourAction

func NewNullableGetBehaviourAction(val *GetBehaviourAction) *NullableGetBehaviourAction

func (NullableGetBehaviourAction) Get

func (NullableGetBehaviourAction) IsSet

func (v NullableGetBehaviourAction) IsSet() bool

func (NullableGetBehaviourAction) MarshalJSON

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

func (*NullableGetBehaviourAction) Set

func (*NullableGetBehaviourAction) UnmarshalJSON

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

func (*NullableGetBehaviourAction) Unset

func (v *NullableGetBehaviourAction) Unset()

type NullableGetBehaviourSeverity

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

func NewNullableGetBehaviourSeverity

func NewNullableGetBehaviourSeverity(val *GetBehaviourSeverity) *NullableGetBehaviourSeverity

func (NullableGetBehaviourSeverity) Get

func (NullableGetBehaviourSeverity) IsSet

func (NullableGetBehaviourSeverity) MarshalJSON

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

func (*NullableGetBehaviourSeverity) Set

func (*NullableGetBehaviourSeverity) UnmarshalJSON

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

func (*NullableGetBehaviourSeverity) Unset

func (v *NullableGetBehaviourSeverity) 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 NullableMRSType

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

func NewNullableMRSType

func NewNullableMRSType(val *MRSType) *NullableMRSType

func (NullableMRSType) Get

func (v NullableMRSType) Get() *MRSType

func (NullableMRSType) IsSet

func (v NullableMRSType) IsSet() bool

func (NullableMRSType) MarshalJSON

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

func (*NullableMRSType) Set

func (v *NullableMRSType) Set(val *MRSType)

func (*NullableMRSType) UnmarshalJSON

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

func (*NullableMRSType) Unset

func (v *NullableMRSType) Unset()

type NullableMRSType1

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

func NewNullableMRSType1

func NewNullableMRSType1(val *MRSType1) *NullableMRSType1

func (NullableMRSType1) Get

func (v NullableMRSType1) Get() *MRSType1

func (NullableMRSType1) IsSet

func (v NullableMRSType1) IsSet() bool

func (NullableMRSType1) MarshalJSON

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

func (*NullableMRSType1) Set

func (v *NullableMRSType1) Set(val *MRSType1)

func (*NullableMRSType1) UnmarshalJSON

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

func (*NullableMRSType1) Unset

func (v *NullableMRSType1) Unset()

type NullableMRSType2

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

func NewNullableMRSType2

func NewNullableMRSType2(val *MRSType2) *NullableMRSType2

func (NullableMRSType2) Get

func (v NullableMRSType2) Get() *MRSType2

func (NullableMRSType2) IsSet

func (v NullableMRSType2) IsSet() bool

func (NullableMRSType2) MarshalJSON

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

func (*NullableMRSType2) Set

func (v *NullableMRSType2) Set(val *MRSType2)

func (*NullableMRSType2) UnmarshalJSON

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

func (*NullableMRSType2) Unset

func (v *NullableMRSType2) 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 NullableMode1

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

func NewNullableMode1

func NewNullableMode1(val *Mode1) *NullableMode1

func (NullableMode1) Get

func (v NullableMode1) Get() *Mode1

func (NullableMode1) IsSet

func (v NullableMode1) IsSet() bool

func (NullableMode1) MarshalJSON

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

func (*NullableMode1) Set

func (v *NullableMode1) Set(val *Mode1)

func (*NullableMode1) UnmarshalJSON

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

func (*NullableMode1) Unset

func (v *NullableMode1) 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 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 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 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 PatchMRSRule

type PatchMRSRule struct {
	Mode                 *Mode1 `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() Mode1

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

func (*PatchMRSRule) GetModeOk

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

SetMode gets a reference to the given Mode1 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 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 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,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{}
}

UpdateWAFPayload UpdateWAFRequest updates a WAF if rules changed.

func NewUpdateWAFPayload

func NewUpdateWAFPayload() *UpdateWAFPayload

NewUpdateWAFPayload instantiates a new UpdateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateWAFPayloadWithDefaults

func NewUpdateWAFPayloadWithDefaults() *UpdateWAFPayload

NewUpdateWAFPayloadWithDefaults instantiates a new UpdateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateWAFPayload) 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 if set, zero value otherwise.

func (*UpdateWAFPayload) GetNameOk

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

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

func (*UpdateWAFPayload) GetProjectId

func (o *UpdateWAFPayload) GetProjectId() string

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

func (*UpdateWAFPayload) GetProjectIdOk

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

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

func (*UpdateWAFPayload) GetRegion

func (o *UpdateWAFPayload) GetRegion() string

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

func (*UpdateWAFPayload) GetRegionOk

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

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

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

func (o *UpdateWAFPayload) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasProjectId

func (o *UpdateWAFPayload) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*UpdateWAFPayload) HasRegion

func (o *UpdateWAFPayload) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (UpdateWAFPayload) 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 gets a reference to the given string and assigns it to the Name field.

func (*UpdateWAFPayload) SetProjectId

func (o *UpdateWAFPayload) SetProjectId(v string)

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

func (*UpdateWAFPayload) SetRegion

func (o *UpdateWAFPayload) SetRegion(v string)

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

func (UpdateWAFPayload) ToMap

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

func (*UpdateWAFPayload) UnmarshalJSON

func (o *UpdateWAFPayload) UnmarshalJSON(data []byte) (err 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