Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type Action
- type ApiCreateCustomRuleGroupRequest
- type ApiCreateManagedRuleSetRequest
- type ApiCreateWAFRequest
- type ApiDeleteCustomRuleGroupRequest
- type ApiDeleteManagedRuleSetRequest
- type ApiDeleteWAFRequest
- type ApiGetCustomRuleGroupRequest
- type ApiGetManagedRuleSetRequest
- type ApiGetQuotaRequest
- type ApiGetWAFRequest
- type ApiListCustomRuleGroupRequest
- type ApiListManagedRuleSetsRequest
- type ApiListWAFRequest
- type ApiPatchManagedRuleSetRequest
- type ApiUpdateCustomRuleGroupRequest
- type ApiUpdateWAFRequest
- type Behaviour
- func (o *Behaviour) GetAction() Action
- func (o *Behaviour) GetActionOk() (*Action, bool)
- func (o *Behaviour) GetLog() bool
- func (o *Behaviour) GetLogMsg() string
- func (o *Behaviour) GetLogMsgOk() (*string, bool)
- func (o *Behaviour) GetLogOk() (*bool, bool)
- func (o *Behaviour) HasLog() bool
- func (o *Behaviour) HasLogMsg() bool
- func (o Behaviour) MarshalJSON() ([]byte, error)
- func (o *Behaviour) SetAction(v Action)
- func (o *Behaviour) SetLog(v bool)
- func (o *Behaviour) SetLogMsg(v string)
- func (o Behaviour) ToMap() (map[string]interface{}, error)
- func (o *Behaviour) UnmarshalJSON(data []byte) (err error)
- type CRGConfigQuota
- func (o *CRGConfigQuota) GetLimit() int32
- func (o *CRGConfigQuota) GetLimitOk() (*int32, bool)
- func (o *CRGConfigQuota) GetUsage() int32
- func (o *CRGConfigQuota) GetUsageOk() (*int32, bool)
- func (o *CRGConfigQuota) HasLimit() bool
- func (o *CRGConfigQuota) HasUsage() bool
- func (o CRGConfigQuota) MarshalJSON() ([]byte, error)
- func (o *CRGConfigQuota) SetLimit(v int32)
- func (o *CRGConfigQuota) SetUsage(v int32)
- func (o CRGConfigQuota) ToMap() (map[string]interface{}, error)
- func (o *CRGConfigQuota) UnmarshalJSON(data []byte) (err error)
- type CRGUsage
- func (o *CRGUsage) GetCount() int32
- func (o *CRGUsage) GetCountOk() (*int32, bool)
- func (o *CRGUsage) GetItems() []string
- func (o *CRGUsage) GetItemsOk() ([]string, bool)
- func (o *CRGUsage) HasCount() bool
- func (o *CRGUsage) HasItems() bool
- func (o CRGUsage) MarshalJSON() ([]byte, error)
- func (o *CRGUsage) SetCount(v int32)
- func (o *CRGUsage) SetItems(v []string)
- func (o CRGUsage) ToMap() (map[string]interface{}, error)
- func (o *CRGUsage) UnmarshalJSON(data []byte) (err error)
- type Condition
- func (o *Condition) GetOperator() ConditionOperator
- func (o *Condition) GetOperatorOk() (*ConditionOperator, bool)
- func (o *Condition) GetTransformations() []Transformation
- func (o *Condition) GetTransformationsOk() ([]Transformation, bool)
- func (o *Condition) GetVariable() ConditionVariable
- func (o *Condition) GetVariableOk() (*ConditionVariable, bool)
- func (o *Condition) HasTransformations() bool
- func (o Condition) MarshalJSON() ([]byte, error)
- func (o *Condition) SetOperator(v ConditionOperator)
- func (o *Condition) SetTransformations(v []Transformation)
- func (o *Condition) SetVariable(v ConditionVariable)
- func (o Condition) ToMap() (map[string]interface{}, error)
- func (o *Condition) UnmarshalJSON(data []byte) (err error)
- type ConditionOperator
- func (o *ConditionOperator) GetType() Operator
- func (o *ConditionOperator) GetTypeOk() (*Operator, bool)
- func (o *ConditionOperator) GetValue() string
- func (o *ConditionOperator) GetValueOk() (*string, bool)
- func (o *ConditionOperator) HasValue() bool
- func (o ConditionOperator) MarshalJSON() ([]byte, error)
- func (o *ConditionOperator) SetType(v Operator)
- func (o *ConditionOperator) SetValue(v string)
- func (o ConditionOperator) ToMap() (map[string]interface{}, error)
- func (o *ConditionOperator) UnmarshalJSON(data []byte) (err error)
- type ConditionVariable
- func (o *ConditionVariable) GetType() Variable
- func (o *ConditionVariable) GetTypeOk() (*Variable, bool)
- func (o *ConditionVariable) GetValue() string
- func (o *ConditionVariable) GetValueOk() (*string, bool)
- func (o *ConditionVariable) HasValue() bool
- func (o ConditionVariable) MarshalJSON() ([]byte, error)
- func (o *ConditionVariable) SetType(v Variable)
- func (o *ConditionVariable) SetValue(v string)
- func (o ConditionVariable) ToMap() (map[string]interface{}, error)
- func (o *ConditionVariable) UnmarshalJSON(data []byte) (err error)
- type CreateCustomRule
- func (o *CreateCustomRule) GetBehaviour() Behaviour
- func (o *CreateCustomRule) GetBehaviourOk() (*Behaviour, bool)
- func (o *CreateCustomRule) GetConditions() []Condition
- func (o *CreateCustomRule) GetConditionsOk() ([]Condition, bool)
- func (o *CreateCustomRule) GetDescription() string
- func (o *CreateCustomRule) GetDescriptionOk() (*string, bool)
- func (o *CreateCustomRule) HasDescription() bool
- func (o CreateCustomRule) MarshalJSON() ([]byte, error)
- func (o *CreateCustomRule) SetBehaviour(v Behaviour)
- func (o *CreateCustomRule) SetConditions(v []Condition)
- func (o *CreateCustomRule) SetDescription(v string)
- func (o CreateCustomRule) ToMap() (map[string]interface{}, error)
- func (o *CreateCustomRule) UnmarshalJSON(data []byte) (err error)
- type CreateCustomRuleGroupPayload
- func (o *CreateCustomRuleGroupPayload) GetName() string
- func (o *CreateCustomRuleGroupPayload) GetNameOk() (*string, bool)
- func (o *CreateCustomRuleGroupPayload) GetProjectId() string
- func (o *CreateCustomRuleGroupPayload) GetProjectIdOk() (*string, bool)
- func (o *CreateCustomRuleGroupPayload) GetRegion() string
- func (o *CreateCustomRuleGroupPayload) GetRegionOk() (*string, bool)
- func (o *CreateCustomRuleGroupPayload) GetRules() []CreateCustomRule
- func (o *CreateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)
- func (o *CreateCustomRuleGroupPayload) HasProjectId() bool
- func (o *CreateCustomRuleGroupPayload) HasRegion() bool
- func (o CreateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
- func (o *CreateCustomRuleGroupPayload) SetName(v string)
- func (o *CreateCustomRuleGroupPayload) SetProjectId(v string)
- func (o *CreateCustomRuleGroupPayload) SetRegion(v string)
- func (o *CreateCustomRuleGroupPayload) SetRules(v []CreateCustomRule)
- func (o CreateCustomRuleGroupPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateCustomRuleGroupPayload) UnmarshalJSON(data []byte) (err error)
- type CreateManagedRuleSetPayload
- func (o *CreateManagedRuleSetPayload) GetName() string
- func (o *CreateManagedRuleSetPayload) GetNameOk() (*string, bool)
- func (o *CreateManagedRuleSetPayload) GetProjectId() string
- func (o *CreateManagedRuleSetPayload) GetProjectIdOk() (*string, bool)
- func (o *CreateManagedRuleSetPayload) GetRegion() string
- func (o *CreateManagedRuleSetPayload) GetRegionOk() (*string, bool)
- func (o *CreateManagedRuleSetPayload) GetType() Type
- func (o *CreateManagedRuleSetPayload) GetTypeOk() (*Type, bool)
- func (o *CreateManagedRuleSetPayload) HasProjectId() bool
- func (o *CreateManagedRuleSetPayload) HasRegion() bool
- func (o CreateManagedRuleSetPayload) MarshalJSON() ([]byte, error)
- func (o *CreateManagedRuleSetPayload) SetName(v string)
- func (o *CreateManagedRuleSetPayload) SetProjectId(v string)
- func (o *CreateManagedRuleSetPayload) SetRegion(v string)
- func (o *CreateManagedRuleSetPayload) SetType(v Type)
- func (o CreateManagedRuleSetPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateManagedRuleSetPayload) UnmarshalJSON(data []byte) (err error)
- type CreateWAFPayload
- func (o *CreateWAFPayload) GetCustomRuleGroupName() string
- func (o *CreateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
- func (o *CreateWAFPayload) GetLabels() map[string]string
- func (o *CreateWAFPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateWAFPayload) GetManagedRuleSetName() string
- func (o *CreateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
- func (o *CreateWAFPayload) GetName() string
- func (o *CreateWAFPayload) GetNameOk() (*string, bool)
- func (o *CreateWAFPayload) GetProjectId() string
- func (o *CreateWAFPayload) GetProjectIdOk() (*string, bool)
- func (o *CreateWAFPayload) GetRegion() string
- func (o *CreateWAFPayload) GetRegionOk() (*string, bool)
- func (o *CreateWAFPayload) HasCustomRuleGroupName() bool
- func (o *CreateWAFPayload) HasLabels() bool
- func (o *CreateWAFPayload) HasManagedRuleSetName() bool
- func (o *CreateWAFPayload) HasProjectId() bool
- func (o *CreateWAFPayload) HasRegion() bool
- func (o CreateWAFPayload) MarshalJSON() ([]byte, error)
- func (o *CreateWAFPayload) SetCustomRuleGroupName(v string)
- func (o *CreateWAFPayload) SetLabels(v map[string]string)
- func (o *CreateWAFPayload) SetManagedRuleSetName(v string)
- func (o *CreateWAFPayload) SetName(v string)
- func (o *CreateWAFPayload) SetProjectId(v string)
- func (o *CreateWAFPayload) SetRegion(v string)
- func (o CreateWAFPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateWAFPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
- func (a *DefaultAPIService) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
- func (a *DefaultAPIService) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
- func (a *DefaultAPIService) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a *DefaultAPIService) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
- func (a *DefaultAPIService) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
- func (a *DefaultAPIService) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
- func (a *DefaultAPIService) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
- func (a *DefaultAPIService) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
- func (a *DefaultAPIService) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
- func (a *DefaultAPIService) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
- func (a *DefaultAPIService) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
- func (a *DefaultAPIService) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
- func (a *DefaultAPIService) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a *DefaultAPIService) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
- func (a *DefaultAPIService) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
- func (a *DefaultAPIService) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
- func (a *DefaultAPIService) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
- func (a *DefaultAPIService) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
- func (a *DefaultAPIService) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
- func (a *DefaultAPIService) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
- func (a *DefaultAPIService) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
- func (a *DefaultAPIService) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
- func (a *DefaultAPIService) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a *DefaultAPIService) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest
- func (a *DefaultAPIService) UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
- func (a *DefaultAPIService) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
- func (a *DefaultAPIService) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)deprecated
- func (a DefaultAPIServiceMock) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
- func (a DefaultAPIServiceMock) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)deprecated
- func (a DefaultAPIServiceMock) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
- func (a DefaultAPIServiceMock) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)deprecated
- func (a DefaultAPIServiceMock) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)deprecated
- func (a DefaultAPIServiceMock) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
- func (a DefaultAPIServiceMock) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)deprecated
- func (a DefaultAPIServiceMock) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
- func (a DefaultAPIServiceMock) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)deprecated
- func (a DefaultAPIServiceMock) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)deprecated
- func (a DefaultAPIServiceMock) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
- func (a DefaultAPIServiceMock) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)deprecated
- func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)deprecated
- func (a DefaultAPIServiceMock) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
- func (a DefaultAPIServiceMock) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
- func (a DefaultAPIServiceMock) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)deprecated
- func (a DefaultAPIServiceMock) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
- func (a DefaultAPIServiceMock) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)deprecated
- func (a DefaultAPIServiceMock) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
- func (a DefaultAPIServiceMock) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)deprecated
- func (a DefaultAPIServiceMock) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)deprecated
- func (a DefaultAPIServiceMock) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
- func (a DefaultAPIServiceMock) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)deprecated
- type GetBehaviour
- func (o *GetBehaviour) GetAction() Action
- func (o *GetBehaviour) GetActionOk() (*Action, bool)
- func (o *GetBehaviour) GetLog() bool
- func (o *GetBehaviour) GetLogMsg() string
- func (o *GetBehaviour) GetLogMsgOk() (*string, bool)
- func (o *GetBehaviour) GetLogOk() (*bool, bool)
- func (o *GetBehaviour) GetSeverity() Severity
- func (o *GetBehaviour) GetSeverityOk() (*Severity, bool)
- func (o *GetBehaviour) HasAction() bool
- func (o *GetBehaviour) HasLog() bool
- func (o *GetBehaviour) HasLogMsg() bool
- func (o *GetBehaviour) HasSeverity() bool
- func (o GetBehaviour) MarshalJSON() ([]byte, error)
- func (o *GetBehaviour) SetAction(v Action)
- func (o *GetBehaviour) SetLog(v bool)
- func (o *GetBehaviour) SetLogMsg(v string)
- func (o *GetBehaviour) SetSeverity(v Severity)
- func (o GetBehaviour) ToMap() (map[string]interface{}, error)
- func (o *GetBehaviour) UnmarshalJSON(data []byte) (err error)
- type GetCustomRule
- func (o *GetCustomRule) GetBehaviour() GetBehaviour
- func (o *GetCustomRule) GetBehaviourOk() (*GetBehaviour, bool)
- func (o *GetCustomRule) GetConditions() []Condition
- func (o *GetCustomRule) GetConditionsOk() ([]Condition, bool)
- func (o *GetCustomRule) GetDescription() string
- func (o *GetCustomRule) GetDescriptionOk() (*string, bool)
- func (o *GetCustomRule) GetId() int32
- func (o *GetCustomRule) GetIdOk() (*int32, bool)
- func (o *GetCustomRule) HasBehaviour() bool
- func (o *GetCustomRule) HasConditions() bool
- func (o *GetCustomRule) HasDescription() bool
- func (o *GetCustomRule) HasId() bool
- func (o GetCustomRule) MarshalJSON() ([]byte, error)
- func (o *GetCustomRule) SetBehaviour(v GetBehaviour)
- func (o *GetCustomRule) SetConditions(v []Condition)
- func (o *GetCustomRule) SetDescription(v string)
- func (o *GetCustomRule) SetId(v int32)
- func (o GetCustomRule) ToMap() (map[string]interface{}, error)
- func (o *GetCustomRule) UnmarshalJSON(data []byte) (err error)
- type GetCustomRuleGroupResponse
- func (o *GetCustomRuleGroupResponse) GetName() string
- func (o *GetCustomRuleGroupResponse) GetNameOk() (*string, bool)
- func (o *GetCustomRuleGroupResponse) GetRules() []GetCustomRule
- func (o *GetCustomRuleGroupResponse) GetRulesOk() ([]GetCustomRule, bool)
- func (o *GetCustomRuleGroupResponse) GetUsage() CRGUsage
- func (o *GetCustomRuleGroupResponse) GetUsageOk() (*CRGUsage, bool)
- func (o *GetCustomRuleGroupResponse) HasName() bool
- func (o *GetCustomRuleGroupResponse) HasRules() bool
- func (o *GetCustomRuleGroupResponse) HasUsage() bool
- func (o GetCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
- func (o *GetCustomRuleGroupResponse) SetName(v string)
- func (o *GetCustomRuleGroupResponse) SetRules(v []GetCustomRule)
- func (o *GetCustomRuleGroupResponse) SetUsage(v CRGUsage)
- func (o GetCustomRuleGroupResponse) ToMap() (map[string]interface{}, error)
- func (o *GetCustomRuleGroupResponse) UnmarshalJSON(data []byte) (err error)
- type GetLimitedManagedRuleSetResponse
- func (o *GetLimitedManagedRuleSetResponse) GetName() string
- func (o *GetLimitedManagedRuleSetResponse) GetNameOk() (*string, bool)
- func (o *GetLimitedManagedRuleSetResponse) GetType() Type
- func (o *GetLimitedManagedRuleSetResponse) GetTypeOk() (*Type, bool)
- func (o *GetLimitedManagedRuleSetResponse) GetUsage() MRSUsage
- func (o *GetLimitedManagedRuleSetResponse) GetUsageOk() (*MRSUsage, bool)
- func (o *GetLimitedManagedRuleSetResponse) GetVersion() string
- func (o *GetLimitedManagedRuleSetResponse) GetVersionOk() (*string, bool)
- func (o *GetLimitedManagedRuleSetResponse) HasName() bool
- func (o *GetLimitedManagedRuleSetResponse) HasType() bool
- func (o *GetLimitedManagedRuleSetResponse) HasUsage() bool
- func (o *GetLimitedManagedRuleSetResponse) HasVersion() bool
- func (o GetLimitedManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (o *GetLimitedManagedRuleSetResponse) SetName(v string)
- func (o *GetLimitedManagedRuleSetResponse) SetType(v Type)
- func (o *GetLimitedManagedRuleSetResponse) SetUsage(v MRSUsage)
- func (o *GetLimitedManagedRuleSetResponse) SetVersion(v string)
- func (o GetLimitedManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
- func (o *GetLimitedManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
- type GetManagedRuleSetResponse
- func (o *GetManagedRuleSetResponse) GetGroups() map[string]MRSRuleGroup
- func (o *GetManagedRuleSetResponse) GetGroupsOk() (*map[string]MRSRuleGroup, bool)
- func (o *GetManagedRuleSetResponse) GetName() string
- func (o *GetManagedRuleSetResponse) GetNameOk() (*string, bool)
- func (o *GetManagedRuleSetResponse) GetType() Type
- func (o *GetManagedRuleSetResponse) GetTypeOk() (*Type, bool)
- func (o *GetManagedRuleSetResponse) GetUsage() MRSUsage
- func (o *GetManagedRuleSetResponse) GetUsageOk() (*MRSUsage, bool)
- func (o *GetManagedRuleSetResponse) GetVersion() string
- func (o *GetManagedRuleSetResponse) GetVersionOk() (*string, bool)
- func (o *GetManagedRuleSetResponse) HasGroups() bool
- func (o *GetManagedRuleSetResponse) HasName() bool
- func (o *GetManagedRuleSetResponse) HasType() bool
- func (o *GetManagedRuleSetResponse) HasUsage() bool
- func (o *GetManagedRuleSetResponse) HasVersion() bool
- func (o GetManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (o *GetManagedRuleSetResponse) SetGroups(v map[string]MRSRuleGroup)
- func (o *GetManagedRuleSetResponse) SetName(v string)
- func (o *GetManagedRuleSetResponse) SetType(v Type)
- func (o *GetManagedRuleSetResponse) SetUsage(v MRSUsage)
- func (o *GetManagedRuleSetResponse) SetVersion(v string)
- func (o GetManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
- func (o *GetManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
- type GetQuotaResponse
- func (o *GetQuotaResponse) GetProjectId() string
- func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
- func (o *GetQuotaResponse) GetQuotas() Quotas
- func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)
- func (o *GetQuotaResponse) GetRegion() string
- func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
- func (o *GetQuotaResponse) HasProjectId() bool
- func (o *GetQuotaResponse) HasQuotas() bool
- func (o *GetQuotaResponse) HasRegion() bool
- func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
- func (o *GetQuotaResponse) SetProjectId(v string)
- func (o *GetQuotaResponse) SetQuotas(v Quotas)
- func (o *GetQuotaResponse) SetRegion(v string)
- func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
- func (o *GetQuotaResponse) UnmarshalJSON(data []byte) (err error)
- type GetWAFResponse
- func (o *GetWAFResponse) GetCustomRuleGroupName() string
- func (o *GetWAFResponse) GetCustomRuleGroupNameOk() (*string, bool)
- func (o *GetWAFResponse) GetLabels() map[string]string
- func (o *GetWAFResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *GetWAFResponse) GetManagedRuleSetName() string
- func (o *GetWAFResponse) GetManagedRuleSetNameOk() (*string, bool)
- func (o *GetWAFResponse) GetName() string
- func (o *GetWAFResponse) GetNameOk() (*string, bool)
- func (o *GetWAFResponse) GetUsage() WAFUsage
- func (o *GetWAFResponse) GetUsageOk() (*WAFUsage, bool)
- func (o *GetWAFResponse) HasCustomRuleGroupName() bool
- func (o *GetWAFResponse) HasLabels() bool
- func (o *GetWAFResponse) HasManagedRuleSetName() bool
- func (o *GetWAFResponse) HasName() bool
- func (o *GetWAFResponse) HasUsage() bool
- func (o GetWAFResponse) MarshalJSON() ([]byte, error)
- func (o *GetWAFResponse) SetCustomRuleGroupName(v string)
- func (o *GetWAFResponse) SetLabels(v map[string]string)
- func (o *GetWAFResponse) SetManagedRuleSetName(v string)
- func (o *GetWAFResponse) SetName(v string)
- func (o *GetWAFResponse) SetUsage(v WAFUsage)
- func (o GetWAFResponse) ToMap() (map[string]interface{}, error)
- func (o *GetWAFResponse) UnmarshalJSON(data []byte) (err error)
- type GoogleProtobufAny
- func (o *GoogleProtobufAny) GetType() string
- func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
- func (o *GoogleProtobufAny) HasType() bool
- func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (o *GoogleProtobufAny) SetType(v string)
- func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
- func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
- type ListCustomRuleGroupResponse
- func (o *ListCustomRuleGroupResponse) GetItems() []GetCustomRuleGroupResponse
- func (o *ListCustomRuleGroupResponse) GetItemsOk() ([]GetCustomRuleGroupResponse, bool)
- func (o *ListCustomRuleGroupResponse) GetNextPageId() string
- func (o *ListCustomRuleGroupResponse) GetNextPageIdOk() (*string, bool)
- func (o *ListCustomRuleGroupResponse) HasItems() bool
- func (o *ListCustomRuleGroupResponse) HasNextPageId() bool
- func (o ListCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
- func (o *ListCustomRuleGroupResponse) SetItems(v []GetCustomRuleGroupResponse)
- func (o *ListCustomRuleGroupResponse) SetNextPageId(v string)
- func (o ListCustomRuleGroupResponse) ToMap() (map[string]interface{}, error)
- func (o *ListCustomRuleGroupResponse) UnmarshalJSON(data []byte) (err error)
- type ListManagedRuleSetResponse
- func (o *ListManagedRuleSetResponse) GetItems() []GetLimitedManagedRuleSetResponse
- func (o *ListManagedRuleSetResponse) GetItemsOk() ([]GetLimitedManagedRuleSetResponse, bool)
- func (o *ListManagedRuleSetResponse) GetNextPageId() string
- func (o *ListManagedRuleSetResponse) GetNextPageIdOk() (*string, bool)
- func (o *ListManagedRuleSetResponse) HasItems() bool
- func (o *ListManagedRuleSetResponse) HasNextPageId() bool
- func (o ListManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (o *ListManagedRuleSetResponse) SetItems(v []GetLimitedManagedRuleSetResponse)
- func (o *ListManagedRuleSetResponse) SetNextPageId(v string)
- func (o ListManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
- func (o *ListManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
- type ListWAFResponse
- func (o *ListWAFResponse) GetItems() []GetWAFResponse
- func (o *ListWAFResponse) GetItemsOk() ([]GetWAFResponse, bool)
- func (o *ListWAFResponse) GetNextPageId() string
- func (o *ListWAFResponse) GetNextPageIdOk() (*string, bool)
- func (o *ListWAFResponse) HasItems() bool
- func (o *ListWAFResponse) HasNextPageId() bool
- func (o ListWAFResponse) MarshalJSON() ([]byte, error)
- func (o *ListWAFResponse) SetItems(v []GetWAFResponse)
- func (o *ListWAFResponse) SetNextPageId(v string)
- func (o ListWAFResponse) ToMap() (map[string]interface{}, error)
- func (o *ListWAFResponse) UnmarshalJSON(data []byte) (err error)
- type MRSConfigQuota
- func (o *MRSConfigQuota) GetLimit() int32
- func (o *MRSConfigQuota) GetLimitOk() (*int32, bool)
- func (o *MRSConfigQuota) GetUsage() int32
- func (o *MRSConfigQuota) GetUsageOk() (*int32, bool)
- func (o *MRSConfigQuota) HasLimit() bool
- func (o *MRSConfigQuota) HasUsage() bool
- func (o MRSConfigQuota) MarshalJSON() ([]byte, error)
- func (o *MRSConfigQuota) SetLimit(v int32)
- func (o *MRSConfigQuota) SetUsage(v int32)
- func (o MRSConfigQuota) ToMap() (map[string]interface{}, error)
- func (o *MRSConfigQuota) UnmarshalJSON(data []byte) (err error)
- type MRSRule
- func (o *MRSRule) GetDescription() string
- func (o *MRSRule) GetDescriptionOk() (*string, bool)
- func (o *MRSRule) GetMode() Mode
- func (o *MRSRule) GetModeOk() (*Mode, bool)
- func (o *MRSRule) GetSeverity() string
- func (o *MRSRule) GetSeverityOk() (*string, bool)
- func (o *MRSRule) HasDescription() bool
- func (o *MRSRule) HasMode() bool
- func (o *MRSRule) HasSeverity() bool
- func (o MRSRule) MarshalJSON() ([]byte, error)
- func (o *MRSRule) SetDescription(v string)
- func (o *MRSRule) SetMode(v Mode)
- func (o *MRSRule) SetSeverity(v string)
- func (o MRSRule) ToMap() (map[string]interface{}, error)
- func (o *MRSRule) UnmarshalJSON(data []byte) (err error)
- type MRSRuleGroup
- func (o *MRSRuleGroup) GetDescription() string
- func (o *MRSRuleGroup) GetDescriptionOk() (*string, bool)
- func (o *MRSRuleGroup) GetGroupName() string
- func (o *MRSRuleGroup) GetGroupNameOk() (*string, bool)
- func (o *MRSRuleGroup) GetRules() map[string]MRSRule
- func (o *MRSRuleGroup) GetRulesOk() (*map[string]MRSRule, bool)
- func (o *MRSRuleGroup) HasDescription() bool
- func (o *MRSRuleGroup) HasGroupName() bool
- func (o *MRSRuleGroup) HasRules() bool
- func (o MRSRuleGroup) MarshalJSON() ([]byte, error)
- func (o *MRSRuleGroup) SetDescription(v string)
- func (o *MRSRuleGroup) SetGroupName(v string)
- func (o *MRSRuleGroup) SetRules(v map[string]MRSRule)
- func (o MRSRuleGroup) ToMap() (map[string]interface{}, error)
- func (o *MRSRuleGroup) UnmarshalJSON(data []byte) (err error)
- type MRSUsage
- func (o *MRSUsage) GetCount() int32
- func (o *MRSUsage) GetCountOk() (*int32, bool)
- func (o *MRSUsage) GetItems() []string
- func (o *MRSUsage) GetItemsOk() ([]string, bool)
- func (o *MRSUsage) HasCount() bool
- func (o *MRSUsage) HasItems() bool
- func (o MRSUsage) MarshalJSON() ([]byte, error)
- func (o *MRSUsage) SetCount(v int32)
- func (o *MRSUsage) SetItems(v []string)
- func (o MRSUsage) ToMap() (map[string]interface{}, error)
- func (o *MRSUsage) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type Mode
- type NullableAction
- type NullableBehaviour
- type NullableBool
- type NullableCRGConfigQuota
- func (v NullableCRGConfigQuota) Get() *CRGConfigQuota
- func (v NullableCRGConfigQuota) IsSet() bool
- func (v NullableCRGConfigQuota) MarshalJSON() ([]byte, error)
- func (v *NullableCRGConfigQuota) Set(val *CRGConfigQuota)
- func (v *NullableCRGConfigQuota) UnmarshalJSON(src []byte) error
- func (v *NullableCRGConfigQuota) Unset()
- type NullableCRGUsage
- type NullableCondition
- type NullableConditionOperator
- func (v NullableConditionOperator) Get() *ConditionOperator
- func (v NullableConditionOperator) IsSet() bool
- func (v NullableConditionOperator) MarshalJSON() ([]byte, error)
- func (v *NullableConditionOperator) Set(val *ConditionOperator)
- func (v *NullableConditionOperator) UnmarshalJSON(src []byte) error
- func (v *NullableConditionOperator) Unset()
- type NullableConditionVariable
- func (v NullableConditionVariable) Get() *ConditionVariable
- func (v NullableConditionVariable) IsSet() bool
- func (v NullableConditionVariable) MarshalJSON() ([]byte, error)
- func (v *NullableConditionVariable) Set(val *ConditionVariable)
- func (v *NullableConditionVariable) UnmarshalJSON(src []byte) error
- func (v *NullableConditionVariable) Unset()
- type NullableCreateCustomRule
- func (v NullableCreateCustomRule) Get() *CreateCustomRule
- func (v NullableCreateCustomRule) IsSet() bool
- func (v NullableCreateCustomRule) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomRule) Set(val *CreateCustomRule)
- func (v *NullableCreateCustomRule) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomRule) Unset()
- type NullableCreateCustomRuleGroupPayload
- func (v NullableCreateCustomRuleGroupPayload) Get() *CreateCustomRuleGroupPayload
- func (v NullableCreateCustomRuleGroupPayload) IsSet() bool
- func (v NullableCreateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomRuleGroupPayload) Set(val *CreateCustomRuleGroupPayload)
- func (v *NullableCreateCustomRuleGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomRuleGroupPayload) Unset()
- type NullableCreateManagedRuleSetPayload
- func (v NullableCreateManagedRuleSetPayload) Get() *CreateManagedRuleSetPayload
- func (v NullableCreateManagedRuleSetPayload) IsSet() bool
- func (v NullableCreateManagedRuleSetPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateManagedRuleSetPayload) Set(val *CreateManagedRuleSetPayload)
- func (v *NullableCreateManagedRuleSetPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateManagedRuleSetPayload) Unset()
- type NullableCreateWAFPayload
- func (v NullableCreateWAFPayload) Get() *CreateWAFPayload
- func (v NullableCreateWAFPayload) IsSet() bool
- func (v NullableCreateWAFPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWAFPayload) Set(val *CreateWAFPayload)
- func (v *NullableCreateWAFPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWAFPayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetBehaviour
- func (v NullableGetBehaviour) Get() *GetBehaviour
- func (v NullableGetBehaviour) IsSet() bool
- func (v NullableGetBehaviour) MarshalJSON() ([]byte, error)
- func (v *NullableGetBehaviour) Set(val *GetBehaviour)
- func (v *NullableGetBehaviour) UnmarshalJSON(src []byte) error
- func (v *NullableGetBehaviour) Unset()
- type NullableGetCustomRule
- func (v NullableGetCustomRule) Get() *GetCustomRule
- func (v NullableGetCustomRule) IsSet() bool
- func (v NullableGetCustomRule) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomRule) Set(val *GetCustomRule)
- func (v *NullableGetCustomRule) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomRule) Unset()
- type NullableGetCustomRuleGroupResponse
- func (v NullableGetCustomRuleGroupResponse) Get() *GetCustomRuleGroupResponse
- func (v NullableGetCustomRuleGroupResponse) IsSet() bool
- func (v NullableGetCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetCustomRuleGroupResponse) Set(val *GetCustomRuleGroupResponse)
- func (v *NullableGetCustomRuleGroupResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetCustomRuleGroupResponse) Unset()
- type NullableGetLimitedManagedRuleSetResponse
- func (v NullableGetLimitedManagedRuleSetResponse) Get() *GetLimitedManagedRuleSetResponse
- func (v NullableGetLimitedManagedRuleSetResponse) IsSet() bool
- func (v NullableGetLimitedManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetLimitedManagedRuleSetResponse) Set(val *GetLimitedManagedRuleSetResponse)
- func (v *NullableGetLimitedManagedRuleSetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetLimitedManagedRuleSetResponse) Unset()
- type NullableGetManagedRuleSetResponse
- func (v NullableGetManagedRuleSetResponse) Get() *GetManagedRuleSetResponse
- func (v NullableGetManagedRuleSetResponse) IsSet() bool
- func (v NullableGetManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetManagedRuleSetResponse) Set(val *GetManagedRuleSetResponse)
- func (v *NullableGetManagedRuleSetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetManagedRuleSetResponse) Unset()
- type NullableGetQuotaResponse
- func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
- func (v NullableGetQuotaResponse) IsSet() bool
- func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
- func (v *NullableGetQuotaResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetQuotaResponse) Unset()
- type NullableGetWAFResponse
- func (v NullableGetWAFResponse) Get() *GetWAFResponse
- func (v NullableGetWAFResponse) IsSet() bool
- func (v NullableGetWAFResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetWAFResponse) Set(val *GetWAFResponse)
- func (v *NullableGetWAFResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetWAFResponse) Unset()
- type NullableGoogleProtobufAny
- func (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
- func (v NullableGoogleProtobufAny) IsSet() bool
- func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
- func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
- func (v *NullableGoogleProtobufAny) UnmarshalJSON(src []byte) error
- func (v *NullableGoogleProtobufAny) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListCustomRuleGroupResponse
- func (v NullableListCustomRuleGroupResponse) Get() *ListCustomRuleGroupResponse
- func (v NullableListCustomRuleGroupResponse) IsSet() bool
- func (v NullableListCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListCustomRuleGroupResponse) Set(val *ListCustomRuleGroupResponse)
- func (v *NullableListCustomRuleGroupResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListCustomRuleGroupResponse) Unset()
- type NullableListManagedRuleSetResponse
- func (v NullableListManagedRuleSetResponse) Get() *ListManagedRuleSetResponse
- func (v NullableListManagedRuleSetResponse) IsSet() bool
- func (v NullableListManagedRuleSetResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListManagedRuleSetResponse) Set(val *ListManagedRuleSetResponse)
- func (v *NullableListManagedRuleSetResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListManagedRuleSetResponse) Unset()
- type NullableListWAFResponse
- func (v NullableListWAFResponse) Get() *ListWAFResponse
- func (v NullableListWAFResponse) IsSet() bool
- func (v NullableListWAFResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListWAFResponse) Set(val *ListWAFResponse)
- func (v *NullableListWAFResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListWAFResponse) Unset()
- type NullableMRSConfigQuota
- func (v NullableMRSConfigQuota) Get() *MRSConfigQuota
- func (v NullableMRSConfigQuota) IsSet() bool
- func (v NullableMRSConfigQuota) MarshalJSON() ([]byte, error)
- func (v *NullableMRSConfigQuota) Set(val *MRSConfigQuota)
- func (v *NullableMRSConfigQuota) UnmarshalJSON(src []byte) error
- func (v *NullableMRSConfigQuota) Unset()
- type NullableMRSRule
- type NullableMRSRuleGroup
- func (v NullableMRSRuleGroup) Get() *MRSRuleGroup
- func (v NullableMRSRuleGroup) IsSet() bool
- func (v NullableMRSRuleGroup) MarshalJSON() ([]byte, error)
- func (v *NullableMRSRuleGroup) Set(val *MRSRuleGroup)
- func (v *NullableMRSRuleGroup) UnmarshalJSON(src []byte) error
- func (v *NullableMRSRuleGroup) Unset()
- type NullableMRSUsage
- type NullableMode
- type NullableOperator
- type NullablePatchMRSRule
- func (v NullablePatchMRSRule) Get() *PatchMRSRule
- func (v NullablePatchMRSRule) IsSet() bool
- func (v NullablePatchMRSRule) MarshalJSON() ([]byte, error)
- func (v *NullablePatchMRSRule) Set(val *PatchMRSRule)
- func (v *NullablePatchMRSRule) UnmarshalJSON(src []byte) error
- func (v *NullablePatchMRSRule) Unset()
- type NullablePatchMRSRuleGroup
- func (v NullablePatchMRSRuleGroup) Get() *PatchMRSRuleGroup
- func (v NullablePatchMRSRuleGroup) IsSet() bool
- func (v NullablePatchMRSRuleGroup) MarshalJSON() ([]byte, error)
- func (v *NullablePatchMRSRuleGroup) Set(val *PatchMRSRuleGroup)
- func (v *NullablePatchMRSRuleGroup) UnmarshalJSON(src []byte) error
- func (v *NullablePatchMRSRuleGroup) Unset()
- type NullablePatchManagedRuleSetPayload
- func (v NullablePatchManagedRuleSetPayload) Get() *PatchManagedRuleSetPayload
- func (v NullablePatchManagedRuleSetPayload) IsSet() bool
- func (v NullablePatchManagedRuleSetPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePatchManagedRuleSetPayload) Set(val *PatchManagedRuleSetPayload)
- func (v *NullablePatchManagedRuleSetPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePatchManagedRuleSetPayload) Unset()
- type NullableQuotas
- type NullableSeverity
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableTransformation
- func (v NullableTransformation) Get() *Transformation
- func (v NullableTransformation) IsSet() bool
- func (v NullableTransformation) MarshalJSON() ([]byte, error)
- func (v *NullableTransformation) Set(val *Transformation)
- func (v *NullableTransformation) UnmarshalJSON(src []byte) error
- func (v *NullableTransformation) Unset()
- type NullableType
- type NullableUpdateCustomRuleGroupPayload
- func (v NullableUpdateCustomRuleGroupPayload) Get() *UpdateCustomRuleGroupPayload
- func (v NullableUpdateCustomRuleGroupPayload) IsSet() bool
- func (v NullableUpdateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomRuleGroupPayload) Set(val *UpdateCustomRuleGroupPayload)
- func (v *NullableUpdateCustomRuleGroupPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomRuleGroupPayload) Unset()
- type NullableUpdateWAFPayload
- func (v NullableUpdateWAFPayload) Get() *UpdateWAFPayload
- func (v NullableUpdateWAFPayload) IsSet() bool
- func (v NullableUpdateWAFPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateWAFPayload) Set(val *UpdateWAFPayload)
- func (v *NullableUpdateWAFPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateWAFPayload) Unset()
- type NullableVariable
- type NullableWAFConfigQuota
- func (v NullableWAFConfigQuota) Get() *WAFConfigQuota
- func (v NullableWAFConfigQuota) IsSet() bool
- func (v NullableWAFConfigQuota) MarshalJSON() ([]byte, error)
- func (v *NullableWAFConfigQuota) Set(val *WAFConfigQuota)
- func (v *NullableWAFConfigQuota) UnmarshalJSON(src []byte) error
- func (v *NullableWAFConfigQuota) Unset()
- type NullableWAFUsage
- type NullableWAFUsageItem
- func (v NullableWAFUsageItem) Get() *WAFUsageItem
- func (v NullableWAFUsageItem) IsSet() bool
- func (v NullableWAFUsageItem) MarshalJSON() ([]byte, error)
- func (v *NullableWAFUsageItem) Set(val *WAFUsageItem)
- func (v *NullableWAFUsageItem) UnmarshalJSON(src []byte) error
- func (v *NullableWAFUsageItem) Unset()
- type Operator
- type PatchMRSRule
- func (o *PatchMRSRule) GetMode() Mode
- func (o *PatchMRSRule) GetModeOk() (*Mode, bool)
- func (o *PatchMRSRule) HasMode() bool
- func (o PatchMRSRule) MarshalJSON() ([]byte, error)
- func (o *PatchMRSRule) SetMode(v Mode)
- func (o PatchMRSRule) ToMap() (map[string]interface{}, error)
- func (o *PatchMRSRule) UnmarshalJSON(data []byte) (err error)
- type PatchMRSRuleGroup
- func (o *PatchMRSRuleGroup) GetRules() map[string]PatchMRSRule
- func (o *PatchMRSRuleGroup) GetRulesOk() (*map[string]PatchMRSRule, bool)
- func (o *PatchMRSRuleGroup) HasRules() bool
- func (o PatchMRSRuleGroup) MarshalJSON() ([]byte, error)
- func (o *PatchMRSRuleGroup) SetRules(v map[string]PatchMRSRule)
- func (o PatchMRSRuleGroup) ToMap() (map[string]interface{}, error)
- func (o *PatchMRSRuleGroup) UnmarshalJSON(data []byte) (err error)
- type PatchManagedRuleSetPayload
- func (o *PatchManagedRuleSetPayload) GetGroups() map[string]PatchMRSRuleGroup
- func (o *PatchManagedRuleSetPayload) GetGroupsOk() (*map[string]PatchMRSRuleGroup, bool)
- func (o *PatchManagedRuleSetPayload) GetName() string
- func (o *PatchManagedRuleSetPayload) GetNameOk() (*string, bool)
- func (o *PatchManagedRuleSetPayload) GetProjectId() string
- func (o *PatchManagedRuleSetPayload) GetProjectIdOk() (*string, bool)
- func (o *PatchManagedRuleSetPayload) GetRegion() string
- func (o *PatchManagedRuleSetPayload) GetRegionOk() (*string, bool)
- func (o *PatchManagedRuleSetPayload) HasGroups() bool
- func (o *PatchManagedRuleSetPayload) HasName() bool
- func (o *PatchManagedRuleSetPayload) HasProjectId() bool
- func (o *PatchManagedRuleSetPayload) HasRegion() bool
- func (o PatchManagedRuleSetPayload) MarshalJSON() ([]byte, error)
- func (o *PatchManagedRuleSetPayload) SetGroups(v map[string]PatchMRSRuleGroup)
- func (o *PatchManagedRuleSetPayload) SetName(v string)
- func (o *PatchManagedRuleSetPayload) SetProjectId(v string)
- func (o *PatchManagedRuleSetPayload) SetRegion(v string)
- func (o PatchManagedRuleSetPayload) ToMap() (map[string]interface{}, error)
- func (o *PatchManagedRuleSetPayload) UnmarshalJSON(data []byte) (err error)
- type Quotas
- func (o *Quotas) GetCustomRuleGroup() CRGConfigQuota
- func (o *Quotas) GetCustomRuleGroupOk() (*CRGConfigQuota, bool)
- func (o *Quotas) GetManagedRuleSet() MRSConfigQuota
- func (o *Quotas) GetManagedRuleSetOk() (*MRSConfigQuota, bool)
- func (o *Quotas) GetWebApplicationFirewall() WAFConfigQuota
- func (o *Quotas) GetWebApplicationFirewallOk() (*WAFConfigQuota, bool)
- func (o *Quotas) HasCustomRuleGroup() bool
- func (o *Quotas) HasManagedRuleSet() bool
- func (o *Quotas) HasWebApplicationFirewall() bool
- func (o Quotas) MarshalJSON() ([]byte, error)
- func (o *Quotas) SetCustomRuleGroup(v CRGConfigQuota)
- func (o *Quotas) SetManagedRuleSet(v MRSConfigQuota)
- func (o *Quotas) SetWebApplicationFirewall(v WAFConfigQuota)
- func (o Quotas) ToMap() (map[string]interface{}, error)
- func (o *Quotas) UnmarshalJSON(data []byte) (err error)
- type Severity
- type Status
- func (o *Status) GetCode() int32
- func (o *Status) GetCodeOk() (*int32, bool)
- func (o *Status) GetDetails() []GoogleProtobufAny
- func (o *Status) GetDetailsOk() ([]GoogleProtobufAny, bool)
- func (o *Status) GetMessage() string
- func (o *Status) GetMessageOk() (*string, bool)
- func (o *Status) HasCode() bool
- func (o *Status) HasDetails() bool
- func (o *Status) HasMessage() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetCode(v int32)
- func (o *Status) SetDetails(v []GoogleProtobufAny)
- func (o *Status) SetMessage(v string)
- func (o Status) ToMap() (map[string]interface{}, error)
- func (o *Status) UnmarshalJSON(data []byte) (err error)
- type Transformation
- type Type
- type UpdateCustomRuleGroupPayload
- func (o *UpdateCustomRuleGroupPayload) GetName() string
- func (o *UpdateCustomRuleGroupPayload) GetNameOk() (*string, bool)
- func (o *UpdateCustomRuleGroupPayload) GetProjectId() string
- func (o *UpdateCustomRuleGroupPayload) GetProjectIdOk() (*string, bool)
- func (o *UpdateCustomRuleGroupPayload) GetRegion() string
- func (o *UpdateCustomRuleGroupPayload) GetRegionOk() (*string, bool)
- func (o *UpdateCustomRuleGroupPayload) GetRules() []CreateCustomRule
- func (o *UpdateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)
- func (o *UpdateCustomRuleGroupPayload) HasProjectId() bool
- func (o *UpdateCustomRuleGroupPayload) HasRegion() bool
- func (o UpdateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateCustomRuleGroupPayload) SetName(v string)
- func (o *UpdateCustomRuleGroupPayload) SetProjectId(v string)
- func (o *UpdateCustomRuleGroupPayload) SetRegion(v string)
- func (o *UpdateCustomRuleGroupPayload) SetRules(v []CreateCustomRule)
- func (o UpdateCustomRuleGroupPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateCustomRuleGroupPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateWAFPayload
- func (o *UpdateWAFPayload) GetCustomRuleGroupName() string
- func (o *UpdateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
- func (o *UpdateWAFPayload) GetLabels() map[string]string
- func (o *UpdateWAFPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateWAFPayload) GetManagedRuleSetName() string
- func (o *UpdateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
- func (o *UpdateWAFPayload) GetName() string
- func (o *UpdateWAFPayload) GetNameOk() (*string, bool)
- func (o *UpdateWAFPayload) GetProjectId() string
- func (o *UpdateWAFPayload) GetProjectIdOk() (*string, bool)
- func (o *UpdateWAFPayload) GetRegion() string
- func (o *UpdateWAFPayload) GetRegionOk() (*string, bool)
- func (o *UpdateWAFPayload) HasCustomRuleGroupName() bool
- func (o *UpdateWAFPayload) HasLabels() bool
- func (o *UpdateWAFPayload) HasManagedRuleSetName() bool
- func (o *UpdateWAFPayload) HasProjectId() bool
- func (o *UpdateWAFPayload) HasRegion() bool
- func (o UpdateWAFPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateWAFPayload) SetCustomRuleGroupName(v string)
- func (o *UpdateWAFPayload) SetLabels(v map[string]string)
- func (o *UpdateWAFPayload) SetManagedRuleSetName(v string)
- func (o *UpdateWAFPayload) SetName(v string)
- func (o *UpdateWAFPayload) SetProjectId(v string)
- func (o *UpdateWAFPayload) SetRegion(v string)
- func (o UpdateWAFPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateWAFPayload) UnmarshalJSON(data []byte) (err error)
- type Variable
- type WAFConfigQuota
- func (o *WAFConfigQuota) GetLimit() int32
- func (o *WAFConfigQuota) GetLimitOk() (*int32, bool)
- func (o *WAFConfigQuota) GetUsage() int32
- func (o *WAFConfigQuota) GetUsageOk() (*int32, bool)
- func (o *WAFConfigQuota) HasLimit() bool
- func (o *WAFConfigQuota) HasUsage() bool
- func (o WAFConfigQuota) MarshalJSON() ([]byte, error)
- func (o *WAFConfigQuota) SetLimit(v int32)
- func (o *WAFConfigQuota) SetUsage(v int32)
- func (o WAFConfigQuota) ToMap() (map[string]interface{}, error)
- func (o *WAFConfigQuota) UnmarshalJSON(data []byte) (err error)
- type WAFUsage
- func (o *WAFUsage) GetCount() int32
- func (o *WAFUsage) GetCountOk() (*int32, bool)
- func (o *WAFUsage) GetItems() []WAFUsageItem
- func (o *WAFUsage) GetItemsOk() ([]WAFUsageItem, bool)
- func (o *WAFUsage) HasCount() bool
- func (o *WAFUsage) HasItems() bool
- func (o WAFUsage) MarshalJSON() ([]byte, error)
- func (o *WAFUsage) SetCount(v int32)
- func (o *WAFUsage) SetItems(v []WAFUsageItem)
- func (o WAFUsage) ToMap() (map[string]interface{}, error)
- func (o *WAFUsage) UnmarshalJSON(data []byte) (err error)
- type WAFUsageItem
- func (o *WAFUsageItem) GetListenerNames() []string
- func (o *WAFUsageItem) GetListenerNamesOk() ([]string, bool)
- func (o *WAFUsageItem) GetLoadBalancerName() string
- func (o *WAFUsageItem) GetLoadBalancerNameOk() (*string, bool)
- func (o *WAFUsageItem) HasListenerNames() bool
- func (o *WAFUsageItem) HasLoadBalancerName() bool
- func (o WAFUsageItem) MarshalJSON() ([]byte, error)
- func (o *WAFUsageItem) SetListenerNames(v []string)
- func (o *WAFUsageItem) SetLoadBalancerName(v string)
- func (o WAFUsageItem) ToMap() (map[string]interface{}, error)
- func (o *WAFUsageItem) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedActionEnumValues = []Action{
"ACTION_DENY",
"ACTION_PASS",
"ACTION_ALLOW",
"unknown_default_open_api",
}
All allowed values of Action enum
var AllowedModeEnumValues = []Mode{
"MODE_ENABLED",
"MODE_DISABLED",
"MODE_LOG_ONLY",
"unknown_default_open_api",
}
All allowed values of Mode enum
var AllowedOperatorEnumValues = []Operator{
"OPERATOR_BEGINS_WITH",
"OPERATOR_CONTAINS",
"OPERATOR_ENDS_WITH",
"OPERATOR_EQ",
"OPERATOR_GE",
"OPERATOR_GT",
"OPERATOR_IP_MATCH",
"OPERATOR_LE",
"OPERATOR_LT",
"OPERATOR_RX",
"OPERATOR_STREQ",
"OPERATOR_STRMATCH",
"OPERATOR_VALIDATE_SCHEMA",
"OPERATOR_VALIDATE_URL_ENCODING",
"OPERATOR_VALIDATE_UTF8_ENCODING",
"OPERATOR_WITHIN",
"unknown_default_open_api",
}
All allowed values of Operator enum
var AllowedSeverityEnumValues = []Severity{
"SEVERITY_EMERGENCY",
"SEVERITY_ALERT",
"SEVERITY_CRITICAL",
"SEVERITY_ERROR",
"SEVERITY_WARNING",
"SEVERITY_NOTICE",
"SEVERITY_INFO",
"SEVERITY_DEBUG",
"unknown_default_open_api",
}
All allowed values of Severity enum
var AllowedTransformationEnumValues = []Transformation{
"TRANSFORMATION_LENGTH",
"TRANSFORMATION_LOWERCASE",
"TRANSFORMATION_NONE",
"TRANSFORMATION_TRIM",
"TRANSFORMATION_UPPERCASE",
"TRANSFORMATION_UTF8_TO_UNICODE",
"unknown_default_open_api",
}
All allowed values of Transformation enum
var AllowedTypeEnumValues = []Type{
"TYPE_OWASP_CRS",
"unknown_default_open_api",
}
All allowed values of Type enum
var AllowedVariableEnumValues = []Variable{
"VARIABLE_ARGS_GET",
"VARIABLE_ARGS_POST",
"VARIABLE_FULL_REQUEST_LENGTH",
"VARIABLE_MATCHED_VAR",
"VARIABLE_QUERY_STRING",
"VARIABLE_REMOTE_ADDR",
"VARIABLE_REMOTE_PORT",
"VARIABLE_REQUEST_BASENAME",
"VARIABLE_REQUEST_BODY",
"VARIABLE_REQUEST_BODY_LENGTH",
"VARIABLE_REQUEST_COOKIES",
"VARIABLE_REQUEST_HEADERS",
"VARIABLE_REQUEST_HEADERS_NAMES",
"VARIABLE_REQUEST_METHOD",
"VARIABLE_REQUEST_PROTOCOL",
"VARIABLE_REQUEST_URI_RAW",
"VARIABLE_RESPONSE_BODY",
"VARIABLE_RESPONSE_CONTENT_LENGTH",
"VARIABLE_RESPONSE_HEADERS",
"VARIABLE_RESPONSE_HEADERS_NAMES",
"VARIABLE_RESPONSE_PROTOCOL",
"VARIABLE_RESPONSE_STATUS",
"unknown_default_open_api",
}
All allowed values of Variable enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Application Load Balancer Web Application Firewall API API v1beta.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Action ¶ added in v0.13.0
type Action string
Action The protective stance action. ACTION_DENY forces a 403 status response code.
const ( ACTION_ACTION_DENY Action = "ACTION_DENY" ACTION_ACTION_PASS Action = "ACTION_PASS" ACTION_ACTION_ALLOW Action = "ACTION_ALLOW" ACTION_UNKNOWN_DEFAULT_OPEN_API Action = "unknown_default_open_api" )
List of Action
func NewActionFromValue ¶ added in v0.13.0
NewActionFromValue returns a pointer to a valid Action for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Action) IsValid ¶ added in v0.13.0
IsValid return true if the value is valid for the enum, false otherwise
func (*Action) UnmarshalJSON ¶ added in v0.13.0
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 ¶
func (r ApiCreateCustomRuleGroupRequest) Execute() (*GetCustomRuleGroupResponse, error)
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 ¶
func (r ApiCreateManagedRuleSetRequest) Execute() (*GetManagedRuleSetResponse, error)
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 ¶
func (r ApiGetCustomRuleGroupRequest) Execute() (*GetCustomRuleGroupResponse, error)
type ApiGetManagedRuleSetRequest ¶
type ApiGetManagedRuleSetRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetManagedRuleSetRequest) Execute ¶
func (r ApiGetManagedRuleSetRequest) Execute() (*GetManagedRuleSetResponse, error)
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 (r ApiListCustomRuleGroupRequest) Execute() (*ListCustomRuleGroupResponse, error)
func (ApiListCustomRuleGroupRequest) PageId ¶
func (r ApiListCustomRuleGroupRequest) PageId(pageId string) ApiListCustomRuleGroupRequest
page_id is a page identifier returned by the previous response and is used to request the next page
func (ApiListCustomRuleGroupRequest) PageSize ¶
func (r ApiListCustomRuleGroupRequest) PageSize(pageSize string) ApiListCustomRuleGroupRequest
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 (r ApiListManagedRuleSetsRequest) Execute() (*ListManagedRuleSetResponse, error)
func (ApiListManagedRuleSetsRequest) PageId ¶
func (r ApiListManagedRuleSetsRequest) PageId(pageId string) ApiListManagedRuleSetsRequest
page_id is a page identifier returned by the previous response and is used to request the next page
func (ApiListManagedRuleSetsRequest) PageSize ¶
func (r ApiListManagedRuleSetsRequest) PageSize(pageSize string) ApiListManagedRuleSetsRequest
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 (r ApiPatchManagedRuleSetRequest) Execute() (*GetManagedRuleSetResponse, error)
func (ApiPatchManagedRuleSetRequest) PatchManagedRuleSetPayload ¶
func (r ApiPatchManagedRuleSetRequest) PatchManagedRuleSetPayload(patchManagedRuleSetPayload PatchManagedRuleSetPayload) ApiPatchManagedRuleSetRequest
type ApiUpdateCustomRuleGroupRequest ¶ added in v0.12.0
type ApiUpdateCustomRuleGroupRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateCustomRuleGroupRequest) Execute ¶ added in v0.12.0
func (r ApiUpdateCustomRuleGroupRequest) Execute() (*GetCustomRuleGroupResponse, error)
func (ApiUpdateCustomRuleGroupRequest) UpdateCustomRuleGroupPayload ¶ added in v0.12.0
func (r ApiUpdateCustomRuleGroupRequest) UpdateCustomRuleGroupPayload(updateCustomRuleGroupPayload UpdateCustomRuleGroupPayload) ApiUpdateCustomRuleGroupRequest
type ApiUpdateWAFRequest ¶
type ApiUpdateWAFRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateWAFRequest) Execute ¶
func (r ApiUpdateWAFRequest) Execute() (*GetWAFResponse, error)
func (ApiUpdateWAFRequest) UpdateWAFPayload ¶
func (r ApiUpdateWAFRequest) UpdateWAFPayload(updateWAFPayload UpdateWAFPayload) ApiUpdateWAFRequest
type Behaviour ¶
type Behaviour struct {
Action Action `json:"action"`
// Determines whether an entry should be generated in the security ledger upon a rule hit.
Log *bool `json:"log,omitempty"`
// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
LogMsg *string `json:"logMsg,omitempty"`
AdditionalProperties map[string]interface{}
}
Behaviour struct for Behaviour
func NewBehaviour ¶
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) GetActionOk ¶
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*Behaviour) GetLogMsg ¶
GetLogMsg returns the LogMsg field value if set, zero value otherwise.
func (*Behaviour) GetLogMsgOk ¶
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 ¶
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) MarshalJSON ¶
func (*Behaviour) SetLog ¶
SetLog gets a reference to the given bool and assigns it to the Log field.
func (*Behaviour) SetLogMsg ¶
SetLogMsg gets a reference to the given string and assigns it to the LogMsg field.
func (*Behaviour) UnmarshalJSON ¶
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) GetCountOk ¶
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) 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 (CRGUsage) MarshalJSON ¶
func (*CRGUsage) SetCount ¶
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*CRGUsage) SetItems ¶
SetItems gets a reference to the given []string and assigns it to the Items field.
func (*CRGUsage) UnmarshalJSON ¶
type Condition ¶
type Condition struct {
Operator ConditionOperator `json:"operator"`
// [HINT] Ordered processing adjustments applied to clean inputs before match checking.
Transformations []Transformation `json:"transformations,omitempty"`
Variable ConditionVariable `json:"variable"`
AdditionalProperties map[string]interface{}
}
Condition struct for Condition
func NewCondition ¶
func NewCondition(operator ConditionOperator, variable ConditionVariable) *Condition
NewCondition instantiates a new Condition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionWithDefaults ¶
func NewConditionWithDefaults() *Condition
NewConditionWithDefaults instantiates a new Condition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Condition) GetOperator ¶
func (o *Condition) GetOperator() ConditionOperator
GetOperator returns the Operator field value
func (*Condition) GetOperatorOk ¶
func (o *Condition) GetOperatorOk() (*ConditionOperator, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*Condition) GetTransformations ¶
func (o *Condition) GetTransformations() []Transformation
GetTransformations returns the Transformations field value if set, zero value otherwise.
func (*Condition) GetTransformationsOk ¶
func (o *Condition) GetTransformationsOk() ([]Transformation, bool)
GetTransformationsOk returns a tuple with the Transformations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetVariable ¶
func (o *Condition) GetVariable() ConditionVariable
GetVariable returns the Variable field value
func (*Condition) GetVariableOk ¶
func (o *Condition) GetVariableOk() (*ConditionVariable, bool)
GetVariableOk returns a tuple with the Variable field value and a boolean to check if the value has been set.
func (*Condition) HasTransformations ¶
HasTransformations returns a boolean if a field has been set.
func (Condition) MarshalJSON ¶
func (*Condition) SetOperator ¶
func (o *Condition) SetOperator(v ConditionOperator)
SetOperator sets field value
func (*Condition) SetTransformations ¶
func (o *Condition) SetTransformations(v []Transformation)
SetTransformations gets a reference to the given []Transformation and assigns it to the Transformations field.
func (*Condition) SetVariable ¶
func (o *Condition) SetVariable(v ConditionVariable)
SetVariable sets field value
func (*Condition) UnmarshalJSON ¶
type ConditionOperator ¶
type ConditionOperator struct {
Type Operator `json:"type"`
// The text or rule regex pattern arguments applied inside the operator execution loop.
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ConditionOperator struct for ConditionOperator
func NewConditionOperator ¶
func NewConditionOperator(types Operator) *ConditionOperator
NewConditionOperator instantiates a new ConditionOperator object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionOperatorWithDefaults ¶
func NewConditionOperatorWithDefaults() *ConditionOperator
NewConditionOperatorWithDefaults instantiates a new ConditionOperator object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConditionOperator) GetType ¶
func (o *ConditionOperator) GetType() Operator
GetType returns the Type field value
func (*ConditionOperator) GetTypeOk ¶
func (o *ConditionOperator) GetTypeOk() (*Operator, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ConditionOperator) GetValue ¶
func (o *ConditionOperator) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConditionOperator) GetValueOk ¶
func (o *ConditionOperator) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionOperator) HasValue ¶
func (o *ConditionOperator) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ConditionOperator) MarshalJSON ¶
func (o ConditionOperator) MarshalJSON() ([]byte, error)
func (*ConditionOperator) SetType ¶
func (o *ConditionOperator) SetType(v Operator)
SetType sets field value
func (*ConditionOperator) SetValue ¶
func (o *ConditionOperator) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (ConditionOperator) ToMap ¶
func (o ConditionOperator) ToMap() (map[string]interface{}, error)
func (*ConditionOperator) UnmarshalJSON ¶
func (o *ConditionOperator) UnmarshalJSON(data []byte) (err error)
type ConditionVariable ¶
type ConditionVariable struct {
Type Variable `json:"type"`
// Optional key element context for map variables (e.g., matching a 'Host' header key).
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ConditionVariable struct for ConditionVariable
func NewConditionVariable ¶
func NewConditionVariable(types Variable) *ConditionVariable
NewConditionVariable instantiates a new ConditionVariable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionVariableWithDefaults ¶
func NewConditionVariableWithDefaults() *ConditionVariable
NewConditionVariableWithDefaults instantiates a new ConditionVariable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConditionVariable) GetType ¶
func (o *ConditionVariable) GetType() Variable
GetType returns the Type field value
func (*ConditionVariable) GetTypeOk ¶
func (o *ConditionVariable) GetTypeOk() (*Variable, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ConditionVariable) GetValue ¶
func (o *ConditionVariable) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConditionVariable) GetValueOk ¶
func (o *ConditionVariable) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionVariable) HasValue ¶
func (o *ConditionVariable) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ConditionVariable) MarshalJSON ¶
func (o ConditionVariable) MarshalJSON() ([]byte, error)
func (*ConditionVariable) SetType ¶
func (o *ConditionVariable) SetType(v Variable)
SetType sets field value
func (*ConditionVariable) SetValue ¶
func (o *ConditionVariable) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (ConditionVariable) ToMap ¶
func (o ConditionVariable) ToMap() (map[string]interface{}, error)
func (*ConditionVariable) UnmarshalJSON ¶
func (o *ConditionVariable) UnmarshalJSON(data []byte) (err error)
type CreateCustomRule ¶
type CreateCustomRule struct {
Behaviour Behaviour `json:"behaviour"`
// [HINT] Order matters! First condition match triggers execution.
Conditions []Condition `json:"conditions"`
// A clear description explaining the threat vector or criteria addressed by this rule.
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCustomRule struct for CreateCustomRule
func NewCreateCustomRule ¶
func NewCreateCustomRule(behaviour Behaviour, conditions []Condition) *CreateCustomRule
NewCreateCustomRule instantiates a new CreateCustomRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCustomRuleWithDefaults ¶
func NewCreateCustomRuleWithDefaults() *CreateCustomRule
NewCreateCustomRuleWithDefaults instantiates a new CreateCustomRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCustomRule) GetBehaviour ¶
func (o *CreateCustomRule) GetBehaviour() Behaviour
GetBehaviour returns the Behaviour field value
func (*CreateCustomRule) GetBehaviourOk ¶
func (o *CreateCustomRule) GetBehaviourOk() (*Behaviour, bool)
GetBehaviourOk returns a tuple with the Behaviour field value and a boolean to check if the value has been set.
func (*CreateCustomRule) GetConditions ¶
func (o *CreateCustomRule) GetConditions() []Condition
GetConditions returns the Conditions field value
func (*CreateCustomRule) GetConditionsOk ¶
func (o *CreateCustomRule) GetConditionsOk() ([]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value and a boolean to check if the value has been set.
func (*CreateCustomRule) GetDescription ¶
func (o *CreateCustomRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateCustomRule) GetDescriptionOk ¶
func (o *CreateCustomRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRule) HasDescription ¶
func (o *CreateCustomRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateCustomRule) MarshalJSON ¶
func (o CreateCustomRule) MarshalJSON() ([]byte, error)
func (*CreateCustomRule) SetBehaviour ¶
func (o *CreateCustomRule) SetBehaviour(v Behaviour)
SetBehaviour sets field value
func (*CreateCustomRule) SetConditions ¶
func (o *CreateCustomRule) SetConditions(v []Condition)
SetConditions sets field value
func (*CreateCustomRule) SetDescription ¶
func (o *CreateCustomRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CreateCustomRule) ToMap ¶
func (o CreateCustomRule) ToMap() (map[string]interface{}, error)
func (*CreateCustomRule) UnmarshalJSON ¶
func (o *CreateCustomRule) UnmarshalJSON(data []byte) (err error)
type CreateCustomRuleGroupPayload ¶
type CreateCustomRuleGroupPayload struct {
// Custom rule group name.
Name string `json:"name" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
// The collection of custom rule group SecLang parameters forming this execution group.
Rules []CreateCustomRule `json:"rules"`
AdditionalProperties map[string]interface{}
}
CreateCustomRuleGroupPayload Request payload for creating a CRG.
func NewCreateCustomRuleGroupPayload ¶
func NewCreateCustomRuleGroupPayload(name string, rules []CreateCustomRule) *CreateCustomRuleGroupPayload
NewCreateCustomRuleGroupPayload instantiates a new CreateCustomRuleGroupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCustomRuleGroupPayloadWithDefaults ¶
func NewCreateCustomRuleGroupPayloadWithDefaults() *CreateCustomRuleGroupPayload
NewCreateCustomRuleGroupPayloadWithDefaults instantiates a new CreateCustomRuleGroupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCustomRuleGroupPayload) GetName ¶
func (o *CreateCustomRuleGroupPayload) GetName() string
GetName returns the Name field value
func (*CreateCustomRuleGroupPayload) GetNameOk ¶
func (o *CreateCustomRuleGroupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetProjectId ¶
func (o *CreateCustomRuleGroupPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetProjectIdOk ¶
func (o *CreateCustomRuleGroupPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetRegion ¶
func (o *CreateCustomRuleGroupPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetRegionOk ¶
func (o *CreateCustomRuleGroupPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetRules ¶
func (o *CreateCustomRuleGroupPayload) GetRules() []CreateCustomRule
GetRules returns the Rules field value
func (*CreateCustomRuleGroupPayload) GetRulesOk ¶
func (o *CreateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)
GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) HasProjectId ¶
func (o *CreateCustomRuleGroupPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateCustomRuleGroupPayload) HasRegion ¶
func (o *CreateCustomRuleGroupPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CreateCustomRuleGroupPayload) MarshalJSON ¶
func (o CreateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
func (*CreateCustomRuleGroupPayload) SetName ¶
func (o *CreateCustomRuleGroupPayload) SetName(v string)
SetName sets field value
func (*CreateCustomRuleGroupPayload) SetProjectId ¶
func (o *CreateCustomRuleGroupPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateCustomRuleGroupPayload) SetRegion ¶
func (o *CreateCustomRuleGroupPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateCustomRuleGroupPayload) SetRules ¶
func (o *CreateCustomRuleGroupPayload) SetRules(v []CreateCustomRule)
SetRules sets field value
func (CreateCustomRuleGroupPayload) ToMap ¶
func (o CreateCustomRuleGroupPayload) ToMap() (map[string]interface{}, error)
func (*CreateCustomRuleGroupPayload) UnmarshalJSON ¶
func (o *CreateCustomRuleGroupPayload) UnmarshalJSON(data []byte) (err error)
type CreateManagedRuleSetPayload ¶
type CreateManagedRuleSetPayload struct {
// Managed rule set configuration name.
Name string `json:"name" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
Type Type `json:"type"`
AdditionalProperties map[string]interface{}
}
CreateManagedRuleSetPayload CreateManagedRuleSetRequest creates a rule configuration.
func NewCreateManagedRuleSetPayload ¶
func NewCreateManagedRuleSetPayload(name string, types Type) *CreateManagedRuleSetPayload
NewCreateManagedRuleSetPayload instantiates a new CreateManagedRuleSetPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateManagedRuleSetPayloadWithDefaults ¶
func NewCreateManagedRuleSetPayloadWithDefaults() *CreateManagedRuleSetPayload
NewCreateManagedRuleSetPayloadWithDefaults instantiates a new CreateManagedRuleSetPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateManagedRuleSetPayload) GetName ¶
func (o *CreateManagedRuleSetPayload) GetName() string
GetName returns the Name field value
func (*CreateManagedRuleSetPayload) GetNameOk ¶
func (o *CreateManagedRuleSetPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetProjectId ¶
func (o *CreateManagedRuleSetPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetProjectIdOk ¶
func (o *CreateManagedRuleSetPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetRegion ¶
func (o *CreateManagedRuleSetPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetRegionOk ¶
func (o *CreateManagedRuleSetPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetType ¶
func (o *CreateManagedRuleSetPayload) GetType() Type
GetType returns the Type field value
func (*CreateManagedRuleSetPayload) GetTypeOk ¶
func (o *CreateManagedRuleSetPayload) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) HasProjectId ¶
func (o *CreateManagedRuleSetPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateManagedRuleSetPayload) HasRegion ¶
func (o *CreateManagedRuleSetPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CreateManagedRuleSetPayload) MarshalJSON ¶
func (o CreateManagedRuleSetPayload) MarshalJSON() ([]byte, error)
func (*CreateManagedRuleSetPayload) SetName ¶
func (o *CreateManagedRuleSetPayload) SetName(v string)
SetName sets field value
func (*CreateManagedRuleSetPayload) SetProjectId ¶
func (o *CreateManagedRuleSetPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateManagedRuleSetPayload) SetRegion ¶
func (o *CreateManagedRuleSetPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateManagedRuleSetPayload) SetType ¶
func (o *CreateManagedRuleSetPayload) SetType(v Type)
SetType sets field value
func (CreateManagedRuleSetPayload) ToMap ¶
func (o CreateManagedRuleSetPayload) ToMap() (map[string]interface{}, error)
func (*CreateManagedRuleSetPayload) UnmarshalJSON ¶
func (o *CreateManagedRuleSetPayload) UnmarshalJSON(data []byte) (err error)
type CreateWAFPayload ¶
type CreateWAFPayload struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name string `json:"name" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
CreateWAFPayload CreateWAFRequest creates a WAF with rules.
func NewCreateWAFPayload ¶
func NewCreateWAFPayload(name string) *CreateWAFPayload
NewCreateWAFPayload instantiates a new CreateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWAFPayloadWithDefaults ¶
func NewCreateWAFPayloadWithDefaults() *CreateWAFPayload
NewCreateWAFPayloadWithDefaults instantiates a new CreateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWAFPayload) GetCustomRuleGroupName ¶
func (o *CreateWAFPayload) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*CreateWAFPayload) GetCustomRuleGroupNameOk ¶
func (o *CreateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetLabels ¶
func (o *CreateWAFPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateWAFPayload) GetLabelsOk ¶
func (o *CreateWAFPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetManagedRuleSetName ¶
func (o *CreateWAFPayload) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*CreateWAFPayload) GetManagedRuleSetNameOk ¶
func (o *CreateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetName ¶
func (o *CreateWAFPayload) GetName() string
GetName returns the Name field value
func (*CreateWAFPayload) GetNameOk ¶
func (o *CreateWAFPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetProjectId ¶
func (o *CreateWAFPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateWAFPayload) GetProjectIdOk ¶
func (o *CreateWAFPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetRegion ¶
func (o *CreateWAFPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateWAFPayload) GetRegionOk ¶
func (o *CreateWAFPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) HasCustomRuleGroupName ¶
func (o *CreateWAFPayload) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*CreateWAFPayload) HasLabels ¶
func (o *CreateWAFPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateWAFPayload) HasManagedRuleSetName ¶
func (o *CreateWAFPayload) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*CreateWAFPayload) HasProjectId ¶
func (o *CreateWAFPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateWAFPayload) HasRegion ¶
func (o *CreateWAFPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CreateWAFPayload) MarshalJSON ¶
func (o CreateWAFPayload) MarshalJSON() ([]byte, error)
func (*CreateWAFPayload) SetCustomRuleGroupName ¶
func (o *CreateWAFPayload) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*CreateWAFPayload) SetLabels ¶
func (o *CreateWAFPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateWAFPayload) SetManagedRuleSetName ¶
func (o *CreateWAFPayload) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*CreateWAFPayload) SetName ¶
func (o *CreateWAFPayload) SetName(v string)
SetName sets field value
func (*CreateWAFPayload) SetProjectId ¶
func (o *CreateWAFPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateWAFPayload) SetRegion ¶
func (o *CreateWAFPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (CreateWAFPayload) ToMap ¶
func (o CreateWAFPayload) ToMap() (map[string]interface{}, error)
func (*CreateWAFPayload) UnmarshalJSON ¶
func (o *CreateWAFPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateCustomRuleGroup Create a CRG configuration
Creates a structured rule configuration using the abstract CRG. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateCustomRuleGroupRequest
Deprecated
*/
CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
// CreateCustomRuleGroupExecute executes the request
// @return GetCustomRuleGroupResponse
// Deprecated
CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
/*
CreateManagedRuleSet Create a MRS configuration
With this endpoint a managed rule set (MRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateManagedRuleSetRequest
Deprecated
*/
CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
// CreateManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
// Deprecated
CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
CreateWAF Create a WAF configuration
This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the managed rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateWAFRequest
Deprecated
*/
CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
// CreateWAFExecute executes the request
// @return GetWAFResponse
// Deprecated
CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
/*
DeleteCustomRuleGroup Delete a CRG configuration
To delete a custom rule group configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteCustomRuleGroupRequest
Deprecated
*/
DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
// DeleteCustomRuleGroupExecute executes the request
// @return map[string]interface{}
// Deprecated
DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
/*
DeleteManagedRuleSet Delete a MRS configuration
To delete a managed rule set (MRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteManagedRuleSetRequest
Deprecated
*/
DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
// DeleteManagedRuleSetExecute executes the request
// @return map[string]interface{}
// Deprecated
DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
/*
DeleteWAF Delete a WAF configuration
This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteWAFRequest
Deprecated
*/
DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
// DeleteWAFExecute executes the request
// @return map[string]interface{}
// Deprecated
DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
/*
GetCustomRuleGroup Retrieve a CRG configuration
Retrieves the specified SecLang custom rule configuration (CRG) structure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetCustomRuleGroupRequest
Deprecated
*/
GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
// GetCustomRuleGroupExecute executes the request
// @return GetCustomRuleGroupResponse
// Deprecated
GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
/*
GetManagedRuleSet Retrieve a MRS configuration
To retrieve an existing managed rule set (MRS) configuration this endpoint can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetManagedRuleSetRequest
Deprecated
*/
GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
// GetManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
// Deprecated
GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
GetQuota Get the quota for WAF resources in a project.
Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiGetQuotaRequest
Deprecated
*/
GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
// GetQuotaExecute executes the request
// @return GetQuotaResponse
// Deprecated
GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
/*
GetWAF Retrieve a WAF configuration
This endpoint will return the specified WAF configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetWAFRequest
Deprecated
*/
GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
// GetWAFExecute executes the request
// @return GetWAFResponse
// Deprecated
GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
/*
ListCustomRuleGroup List of CRG configurations
List all existing Custom Rule Groups that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListCustomRuleGroupRequest
Deprecated
*/
ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
// ListCustomRuleGroupExecute executes the request
// @return ListCustomRuleGroupResponse
// Deprecated
ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
/*
ListManagedRuleSets List of MRS configurations
List all existing managed rule set (MRS) configurations that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListManagedRuleSetsRequest
Deprecated
*/
ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
// ListManagedRuleSetsExecute executes the request
// @return ListManagedRuleSetResponse
// Deprecated
ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
/*
ListWAF List of WAF configurations
To list all WAF configurations stored in a project, use this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListWAFRequest
Deprecated
*/
ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
// ListWAFExecute executes the request
// @return ListWAFResponse
// Deprecated
ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
/*
PatchManagedRuleSet Granularly update a MRS configuration
Accepts the same structure as the GET response. Only fields provided with values will be updated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiPatchManagedRuleSetRequest
Deprecated
*/
PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
// PatchManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
// Deprecated
PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
UpdateCustomRuleGroup Update a CRG configuration
Replaces the rules array of an existing CRG. The CRG name is immutable and used as the resource key. Send the complete desired rule set; per-rule partial merge is not supported.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateCustomRuleGroupRequest
Deprecated
*/
UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest
// UpdateCustomRuleGroupExecute executes the request
// @return GetCustomRuleGroupResponse
// Deprecated
UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
/*
UpdateWAF Update a WAF configuration
The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateWAFRequest
Deprecated
*/
UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
// UpdateWAFExecute executes the request
// @return GetWAFResponse
// Deprecated
UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateCustomRuleGroup ¶
func (a *DefaultAPIService) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
CreateCustomRuleGroup Create a CRG configuration
Creates a structured rule configuration using the abstract CRG. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateCustomRuleGroupRequest
Deprecated
func (*DefaultAPIService) CreateCustomRuleGroupExecute ¶
func (a *DefaultAPIService) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Execute executes the request
@return GetCustomRuleGroupResponse
Deprecated
func (*DefaultAPIService) CreateManagedRuleSet ¶
func (a *DefaultAPIService) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
CreateManagedRuleSet Create a MRS configuration
With this endpoint a managed rule set (MRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateManagedRuleSetRequest
Deprecated
func (*DefaultAPIService) CreateManagedRuleSetExecute ¶
func (a *DefaultAPIService) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
Deprecated
func (*DefaultAPIService) CreateWAF ¶
func (a *DefaultAPIService) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
CreateWAF Create a WAF configuration
This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the managed rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateWAFRequest
Deprecated
func (*DefaultAPIService) CreateWAFExecute ¶
func (a *DefaultAPIService) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
Deprecated
func (*DefaultAPIService) DeleteCustomRuleGroup ¶
func (a *DefaultAPIService) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
DeleteCustomRuleGroup Delete a CRG configuration
To delete a custom rule group configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteCustomRuleGroupRequest
Deprecated
func (*DefaultAPIService) DeleteCustomRuleGroupExecute ¶
func (a *DefaultAPIService) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
Deprecated
func (*DefaultAPIService) DeleteManagedRuleSet ¶
func (a *DefaultAPIService) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
DeleteManagedRuleSet Delete a MRS configuration
To delete a managed rule set (MRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteManagedRuleSetRequest
Deprecated
func (*DefaultAPIService) DeleteManagedRuleSetExecute ¶
func (a *DefaultAPIService) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
Deprecated
func (*DefaultAPIService) DeleteWAF ¶
func (a *DefaultAPIService) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
DeleteWAF Delete a WAF configuration
This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteWAFRequest
Deprecated
func (*DefaultAPIService) DeleteWAFExecute ¶
func (a *DefaultAPIService) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
Deprecated
func (*DefaultAPIService) GetCustomRuleGroup ¶
func (a *DefaultAPIService) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
GetCustomRuleGroup Retrieve a CRG configuration
Retrieves the specified SecLang custom rule configuration (CRG) structure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetCustomRuleGroupRequest
Deprecated
func (*DefaultAPIService) GetCustomRuleGroupExecute ¶
func (a *DefaultAPIService) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Execute executes the request
@return GetCustomRuleGroupResponse
Deprecated
func (*DefaultAPIService) GetManagedRuleSet ¶
func (a *DefaultAPIService) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
GetManagedRuleSet Retrieve a MRS configuration
To retrieve an existing managed rule set (MRS) configuration this endpoint can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetManagedRuleSetRequest
Deprecated
func (*DefaultAPIService) GetManagedRuleSetExecute ¶
func (a *DefaultAPIService) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
Deprecated
func (*DefaultAPIService) GetQuota ¶
func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
GetQuota Get the quota for WAF resources in a project.
Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiGetQuotaRequest
Deprecated
func (*DefaultAPIService) GetQuotaExecute ¶
func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
Execute executes the request
@return GetQuotaResponse
Deprecated
func (*DefaultAPIService) GetWAF ¶
func (a *DefaultAPIService) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
GetWAF Retrieve a WAF configuration
This endpoint will return the specified WAF configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetWAFRequest
Deprecated
func (*DefaultAPIService) GetWAFExecute ¶
func (a *DefaultAPIService) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
Deprecated
func (*DefaultAPIService) ListCustomRuleGroup ¶
func (a *DefaultAPIService) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
ListCustomRuleGroup List of CRG configurations
List all existing Custom Rule Groups that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListCustomRuleGroupRequest
Deprecated
func (*DefaultAPIService) ListCustomRuleGroupExecute ¶
func (a *DefaultAPIService) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
Execute executes the request
@return ListCustomRuleGroupResponse
Deprecated
func (*DefaultAPIService) ListManagedRuleSets ¶
func (a *DefaultAPIService) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
ListManagedRuleSets List of MRS configurations
List all existing managed rule set (MRS) configurations that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListManagedRuleSetsRequest
Deprecated
func (*DefaultAPIService) ListManagedRuleSetsExecute ¶
func (a *DefaultAPIService) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
Execute executes the request
@return ListManagedRuleSetResponse
Deprecated
func (*DefaultAPIService) ListWAF ¶
func (a *DefaultAPIService) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
ListWAF List of WAF configurations
To list all WAF configurations stored in a project, use this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListWAFRequest
Deprecated
func (*DefaultAPIService) ListWAFExecute ¶
func (a *DefaultAPIService) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
Execute executes the request
@return ListWAFResponse
Deprecated
func (*DefaultAPIService) PatchManagedRuleSet ¶
func (a *DefaultAPIService) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
PatchManagedRuleSet Granularly update a MRS configuration
Accepts the same structure as the GET response. Only fields provided with values will be updated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiPatchManagedRuleSetRequest
Deprecated
func (*DefaultAPIService) PatchManagedRuleSetExecute ¶
func (a *DefaultAPIService) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
Deprecated
func (*DefaultAPIService) UpdateCustomRuleGroup ¶ added in v0.12.0
func (a *DefaultAPIService) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest
UpdateCustomRuleGroup Update a CRG configuration
Replaces the rules array of an existing CRG. The CRG name is immutable and used as the resource key. Send the complete desired rule set; per-rule partial merge is not supported.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiUpdateCustomRuleGroupRequest
Deprecated
func (*DefaultAPIService) UpdateCustomRuleGroupExecute ¶ added in v0.12.0
func (a *DefaultAPIService) UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Execute executes the request
@return GetCustomRuleGroupResponse
Deprecated
func (*DefaultAPIService) UpdateWAF ¶
func (a *DefaultAPIService) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
UpdateWAF Update a WAF configuration
The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiUpdateWAFRequest
Deprecated
func (*DefaultAPIService) UpdateWAFExecute ¶
func (a *DefaultAPIService) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
Deprecated
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// Deprecated: CreateCustomRuleGroupExecuteMock can be populated to implement the behavior of the CreateCustomRuleGroupExecute function of this mock
CreateCustomRuleGroupExecuteMock *func(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
// Deprecated: CreateManagedRuleSetExecuteMock can be populated to implement the behavior of the CreateManagedRuleSetExecute function of this mock
CreateManagedRuleSetExecuteMock *func(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// Deprecated: CreateWAFExecuteMock can be populated to implement the behavior of the CreateWAFExecute function of this mock
CreateWAFExecuteMock *func(r ApiCreateWAFRequest) (*GetWAFResponse, error)
// Deprecated: DeleteCustomRuleGroupExecuteMock can be populated to implement the behavior of the DeleteCustomRuleGroupExecute function of this mock
DeleteCustomRuleGroupExecuteMock *func(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
// Deprecated: DeleteManagedRuleSetExecuteMock can be populated to implement the behavior of the DeleteManagedRuleSetExecute function of this mock
DeleteManagedRuleSetExecuteMock *func(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
// Deprecated: DeleteWAFExecuteMock can be populated to implement the behavior of the DeleteWAFExecute function of this mock
DeleteWAFExecuteMock *func(r ApiDeleteWAFRequest) (map[string]interface{}, error)
// Deprecated: GetCustomRuleGroupExecuteMock can be populated to implement the behavior of the GetCustomRuleGroupExecute function of this mock
GetCustomRuleGroupExecuteMock *func(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
// Deprecated: GetManagedRuleSetExecuteMock can be populated to implement the behavior of the GetManagedRuleSetExecute function of this mock
GetManagedRuleSetExecuteMock *func(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// Deprecated: GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
// Deprecated: GetWAFExecuteMock can be populated to implement the behavior of the GetWAFExecute function of this mock
GetWAFExecuteMock *func(r ApiGetWAFRequest) (*GetWAFResponse, error)
// Deprecated: ListCustomRuleGroupExecuteMock can be populated to implement the behavior of the ListCustomRuleGroupExecute function of this mock
ListCustomRuleGroupExecuteMock *func(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
// Deprecated: ListManagedRuleSetsExecuteMock can be populated to implement the behavior of the ListManagedRuleSetsExecute function of this mock
ListManagedRuleSetsExecuteMock *func(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
// Deprecated: ListWAFExecuteMock can be populated to implement the behavior of the ListWAFExecute function of this mock
ListWAFExecuteMock *func(r ApiListWAFRequest) (*ListWAFResponse, error)
// Deprecated: PatchManagedRuleSetExecuteMock can be populated to implement the behavior of the PatchManagedRuleSetExecute function of this mock
PatchManagedRuleSetExecuteMock *func(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// Deprecated: UpdateCustomRuleGroupExecuteMock can be populated to implement the behavior of the UpdateCustomRuleGroupExecute function of this mock
UpdateCustomRuleGroupExecuteMock *func(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
// Deprecated: UpdateWAFExecuteMock can be populated to implement the behavior of the UpdateWAFExecute function of this mock
UpdateWAFExecuteMock *func(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateCustomRuleGroup ¶
func (a DefaultAPIServiceMock) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
Deprecated
func (DefaultAPIServiceMock) CreateCustomRuleGroupExecute
deprecated
func (a DefaultAPIServiceMock) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Deprecated: CreateCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateManagedRuleSet ¶
func (a DefaultAPIServiceMock) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
Deprecated
func (DefaultAPIServiceMock) CreateManagedRuleSetExecute
deprecated
func (a DefaultAPIServiceMock) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Deprecated: CreateManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateWAF ¶
func (a DefaultAPIServiceMock) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
Deprecated
func (DefaultAPIServiceMock) CreateWAFExecute
deprecated
func (a DefaultAPIServiceMock) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
Deprecated: CreateWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteCustomRuleGroup ¶
func (a DefaultAPIServiceMock) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
Deprecated
func (DefaultAPIServiceMock) DeleteCustomRuleGroupExecute
deprecated
func (a DefaultAPIServiceMock) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
Deprecated: DeleteCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteManagedRuleSet ¶
func (a DefaultAPIServiceMock) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
Deprecated
func (DefaultAPIServiceMock) DeleteManagedRuleSetExecute
deprecated
func (a DefaultAPIServiceMock) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
Deprecated: DeleteManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteWAF ¶
func (a DefaultAPIServiceMock) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
Deprecated
func (DefaultAPIServiceMock) DeleteWAFExecute
deprecated
func (a DefaultAPIServiceMock) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
Deprecated: DeleteWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCustomRuleGroup ¶
func (a DefaultAPIServiceMock) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
Deprecated
func (DefaultAPIServiceMock) GetCustomRuleGroupExecute
deprecated
func (a DefaultAPIServiceMock) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Deprecated: GetCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetManagedRuleSet ¶
func (a DefaultAPIServiceMock) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
Deprecated
func (DefaultAPIServiceMock) GetManagedRuleSetExecute
deprecated
func (a DefaultAPIServiceMock) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Deprecated: GetManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetQuota ¶
func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
Deprecated
func (DefaultAPIServiceMock) GetQuotaExecute
deprecated
func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
Deprecated: GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetWAF ¶
func (a DefaultAPIServiceMock) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
Deprecated
func (DefaultAPIServiceMock) GetWAFExecute
deprecated
func (a DefaultAPIServiceMock) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
Deprecated: GetWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCustomRuleGroup ¶
func (a DefaultAPIServiceMock) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
Deprecated
func (DefaultAPIServiceMock) ListCustomRuleGroupExecute
deprecated
func (a DefaultAPIServiceMock) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
Deprecated: ListCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListManagedRuleSets ¶
func (a DefaultAPIServiceMock) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
Deprecated
func (DefaultAPIServiceMock) ListManagedRuleSetsExecute
deprecated
func (a DefaultAPIServiceMock) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
Deprecated: ListManagedRuleSetsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListManagedRuleSetsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListWAF ¶
func (a DefaultAPIServiceMock) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
Deprecated
func (DefaultAPIServiceMock) ListWAFExecute
deprecated
func (a DefaultAPIServiceMock) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
Deprecated: ListWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PatchManagedRuleSet ¶
func (a DefaultAPIServiceMock) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
Deprecated
func (DefaultAPIServiceMock) PatchManagedRuleSetExecute
deprecated
func (a DefaultAPIServiceMock) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Deprecated: PatchManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateCustomRuleGroup ¶ added in v0.12.0
func (a DefaultAPIServiceMock) UpdateCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiUpdateCustomRuleGroupRequest
Deprecated
func (DefaultAPIServiceMock) UpdateCustomRuleGroupExecute
deprecated
added in
v0.12.0
func (a DefaultAPIServiceMock) UpdateCustomRuleGroupExecute(r ApiUpdateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Deprecated: UpdateCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateWAF ¶
func (a DefaultAPIServiceMock) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
Deprecated
func (DefaultAPIServiceMock) UpdateWAFExecute
deprecated
func (a DefaultAPIServiceMock) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
Deprecated: UpdateWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateWAFExecuteMock field in the DefaultAPIServiceMock struct.
type GetBehaviour ¶
type GetBehaviour struct {
Action *Action `json:"action,omitempty"`
// Determines whether an entry should be generated in the security ledger upon a rule hit.
Log *bool `json:"log,omitempty"`
// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
LogMsg *string `json:"logMsg,omitempty"`
Severity *Severity `json:"severity,omitempty"`
AdditionalProperties map[string]interface{}
}
GetBehaviour struct for GetBehaviour
func NewGetBehaviour ¶
func NewGetBehaviour() *GetBehaviour
NewGetBehaviour instantiates a new GetBehaviour object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBehaviourWithDefaults ¶
func NewGetBehaviourWithDefaults() *GetBehaviour
NewGetBehaviourWithDefaults instantiates a new GetBehaviour object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBehaviour) GetAction ¶
func (o *GetBehaviour) GetAction() Action
GetAction returns the Action field value if set, zero value otherwise.
func (*GetBehaviour) GetActionOk ¶
func (o *GetBehaviour) GetActionOk() (*Action, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetLog ¶
func (o *GetBehaviour) GetLog() bool
GetLog returns the Log field value if set, zero value otherwise.
func (*GetBehaviour) GetLogMsg ¶
func (o *GetBehaviour) GetLogMsg() string
GetLogMsg returns the LogMsg field value if set, zero value otherwise.
func (*GetBehaviour) GetLogMsgOk ¶
func (o *GetBehaviour) GetLogMsgOk() (*string, bool)
GetLogMsgOk returns a tuple with the LogMsg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetLogOk ¶
func (o *GetBehaviour) GetLogOk() (*bool, bool)
GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetSeverity ¶
func (o *GetBehaviour) GetSeverity() Severity
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*GetBehaviour) GetSeverityOk ¶
func (o *GetBehaviour) GetSeverityOk() (*Severity, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) HasAction ¶
func (o *GetBehaviour) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*GetBehaviour) HasLog ¶
func (o *GetBehaviour) HasLog() bool
HasLog returns a boolean if a field has been set.
func (*GetBehaviour) HasLogMsg ¶
func (o *GetBehaviour) HasLogMsg() bool
HasLogMsg returns a boolean if a field has been set.
func (*GetBehaviour) HasSeverity ¶
func (o *GetBehaviour) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (GetBehaviour) MarshalJSON ¶
func (o GetBehaviour) MarshalJSON() ([]byte, error)
func (*GetBehaviour) SetAction ¶
func (o *GetBehaviour) SetAction(v Action)
SetAction gets a reference to the given Action and assigns it to the Action field.
func (*GetBehaviour) SetLog ¶
func (o *GetBehaviour) SetLog(v bool)
SetLog gets a reference to the given bool and assigns it to the Log field.
func (*GetBehaviour) SetLogMsg ¶
func (o *GetBehaviour) SetLogMsg(v string)
SetLogMsg gets a reference to the given string and assigns it to the LogMsg field.
func (*GetBehaviour) SetSeverity ¶
func (o *GetBehaviour) SetSeverity(v Severity)
SetSeverity gets a reference to the given Severity and assigns it to the Severity field.
func (GetBehaviour) ToMap ¶
func (o GetBehaviour) ToMap() (map[string]interface{}, error)
func (*GetBehaviour) UnmarshalJSON ¶
func (o *GetBehaviour) UnmarshalJSON(data []byte) (err error)
type GetCustomRule ¶
type GetCustomRule struct {
Behaviour *GetBehaviour `json:"behaviour,omitempty"`
// [HINT] Order matters! First condition match triggers execution.
Conditions []Condition `json:"conditions,omitempty"`
// A clear description explaining the threat vector or criteria addressed by this rule.
Description *string `json:"description,omitempty"`
// Backend auto-allocated unique rule ID within the valid 1-99999 threshold.
Id *int32 `json:"id,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCustomRule struct for GetCustomRule
func NewGetCustomRule ¶
func NewGetCustomRule() *GetCustomRule
NewGetCustomRule instantiates a new GetCustomRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetCustomRuleWithDefaults ¶
func NewGetCustomRuleWithDefaults() *GetCustomRule
NewGetCustomRuleWithDefaults instantiates a new GetCustomRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetCustomRule) GetBehaviour ¶
func (o *GetCustomRule) GetBehaviour() GetBehaviour
GetBehaviour returns the Behaviour field value if set, zero value otherwise.
func (*GetCustomRule) GetBehaviourOk ¶
func (o *GetCustomRule) GetBehaviourOk() (*GetBehaviour, bool)
GetBehaviourOk returns a tuple with the Behaviour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetConditions ¶
func (o *GetCustomRule) GetConditions() []Condition
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*GetCustomRule) GetConditionsOk ¶
func (o *GetCustomRule) GetConditionsOk() ([]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetDescription ¶
func (o *GetCustomRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*GetCustomRule) GetDescriptionOk ¶
func (o *GetCustomRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetId ¶
func (o *GetCustomRule) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*GetCustomRule) GetIdOk ¶
func (o *GetCustomRule) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) HasBehaviour ¶
func (o *GetCustomRule) HasBehaviour() bool
HasBehaviour returns a boolean if a field has been set.
func (*GetCustomRule) HasConditions ¶
func (o *GetCustomRule) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (*GetCustomRule) HasDescription ¶
func (o *GetCustomRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GetCustomRule) HasId ¶
func (o *GetCustomRule) HasId() bool
HasId returns a boolean if a field has been set.
func (GetCustomRule) MarshalJSON ¶
func (o GetCustomRule) MarshalJSON() ([]byte, error)
func (*GetCustomRule) SetBehaviour ¶
func (o *GetCustomRule) SetBehaviour(v GetBehaviour)
SetBehaviour gets a reference to the given GetBehaviour and assigns it to the Behaviour field.
func (*GetCustomRule) SetConditions ¶
func (o *GetCustomRule) SetConditions(v []Condition)
SetConditions gets a reference to the given []Condition and assigns it to the Conditions field.
func (*GetCustomRule) SetDescription ¶
func (o *GetCustomRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*GetCustomRule) SetId ¶
func (o *GetCustomRule) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (GetCustomRule) ToMap ¶
func (o GetCustomRule) ToMap() (map[string]interface{}, error)
func (*GetCustomRule) UnmarshalJSON ¶
func (o *GetCustomRule) UnmarshalJSON(data []byte) (err error)
type GetCustomRuleGroupResponse ¶
type GetCustomRuleGroupResponse struct {
// Custom rule group configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Enriched rules containing auto-generated IDs and computed severity values.
Rules []GetCustomRule `json:"rules,omitempty"`
Usage *CRGUsage `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCustomRuleGroupResponse Response payload delivering the detailed CRG configuration name and it's rule content.
func NewGetCustomRuleGroupResponse ¶
func NewGetCustomRuleGroupResponse() *GetCustomRuleGroupResponse
NewGetCustomRuleGroupResponse instantiates a new GetCustomRuleGroupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetCustomRuleGroupResponseWithDefaults ¶
func NewGetCustomRuleGroupResponseWithDefaults() *GetCustomRuleGroupResponse
NewGetCustomRuleGroupResponseWithDefaults instantiates a new GetCustomRuleGroupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetCustomRuleGroupResponse) GetName ¶
func (o *GetCustomRuleGroupResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetNameOk ¶
func (o *GetCustomRuleGroupResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) GetRules ¶
func (o *GetCustomRuleGroupResponse) GetRules() []GetCustomRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetRulesOk ¶
func (o *GetCustomRuleGroupResponse) GetRulesOk() ([]GetCustomRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) GetUsage ¶
func (o *GetCustomRuleGroupResponse) GetUsage() CRGUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetUsageOk ¶
func (o *GetCustomRuleGroupResponse) GetUsageOk() (*CRGUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) HasName ¶
func (o *GetCustomRuleGroupResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetCustomRuleGroupResponse) HasRules ¶
func (o *GetCustomRuleGroupResponse) HasRules() bool
HasRules returns a boolean if a field has been set.
func (*GetCustomRuleGroupResponse) HasUsage ¶
func (o *GetCustomRuleGroupResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (GetCustomRuleGroupResponse) MarshalJSON ¶
func (o GetCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
func (*GetCustomRuleGroupResponse) SetName ¶
func (o *GetCustomRuleGroupResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetCustomRuleGroupResponse) SetRules ¶
func (o *GetCustomRuleGroupResponse) SetRules(v []GetCustomRule)
SetRules gets a reference to the given []GetCustomRule and assigns it to the Rules field.
func (*GetCustomRuleGroupResponse) SetUsage ¶
func (o *GetCustomRuleGroupResponse) SetUsage(v CRGUsage)
SetUsage gets a reference to the given CRGUsage and assigns it to the Usage field.
func (GetCustomRuleGroupResponse) ToMap ¶
func (o GetCustomRuleGroupResponse) ToMap() (map[string]interface{}, error)
func (*GetCustomRuleGroupResponse) UnmarshalJSON ¶
func (o *GetCustomRuleGroupResponse) UnmarshalJSON(data []byte) (err error)
type GetLimitedManagedRuleSetResponse ¶
type GetLimitedManagedRuleSetResponse struct {
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
Type *Type `json:"type,omitempty"`
Usage *MRSUsage `json:"usage,omitempty"`
// Managed rule set version.
Version *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
AdditionalProperties map[string]interface{}
}
GetLimitedManagedRuleSetResponse struct for GetLimitedManagedRuleSetResponse
func NewGetLimitedManagedRuleSetResponse ¶
func NewGetLimitedManagedRuleSetResponse() *GetLimitedManagedRuleSetResponse
NewGetLimitedManagedRuleSetResponse instantiates a new GetLimitedManagedRuleSetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetLimitedManagedRuleSetResponseWithDefaults ¶
func NewGetLimitedManagedRuleSetResponseWithDefaults() *GetLimitedManagedRuleSetResponse
NewGetLimitedManagedRuleSetResponseWithDefaults instantiates a new GetLimitedManagedRuleSetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetLimitedManagedRuleSetResponse) GetName ¶
func (o *GetLimitedManagedRuleSetResponse) GetName() string
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 ¶
func (o *GetLimitedManagedRuleSetResponse) GetType() Type
GetType returns the Type field value if set, zero value otherwise.
func (*GetLimitedManagedRuleSetResponse) GetTypeOk ¶
func (o *GetLimitedManagedRuleSetResponse) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetLimitedManagedRuleSetResponse) GetUsage ¶
func (o *GetLimitedManagedRuleSetResponse) GetUsage() MRSUsage
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 ¶
func (o *GetLimitedManagedRuleSetResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetLimitedManagedRuleSetResponse) HasType ¶
func (o *GetLimitedManagedRuleSetResponse) HasType() bool
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 ¶
func (o *GetLimitedManagedRuleSetResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetLimitedManagedRuleSetResponse) SetType ¶
func (o *GetLimitedManagedRuleSetResponse) SetType(v Type)
SetType gets a reference to the given Type and assigns it to the Type field.
func (*GetLimitedManagedRuleSetResponse) SetUsage ¶
func (o *GetLimitedManagedRuleSetResponse) SetUsage(v MRSUsage)
SetUsage gets a reference to the given MRSUsage and assigns it to the Usage field.
func (*GetLimitedManagedRuleSetResponse) SetVersion ¶
func (o *GetLimitedManagedRuleSetResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (GetLimitedManagedRuleSetResponse) ToMap ¶
func (o GetLimitedManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
func (*GetLimitedManagedRuleSetResponse) UnmarshalJSON ¶
func (o *GetLimitedManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
type GetManagedRuleSetResponse ¶
type GetManagedRuleSetResponse struct {
// Inventory of all available Managed Rule Set groups and their current configuration. The key is the unique Group ID.
Groups *map[string]MRSRuleGroup `json:"groups,omitempty"`
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
Type *Type `json:"type,omitempty"`
Usage *MRSUsage `json:"usage,omitempty"`
// Managed rule set version.
Version *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
AdditionalProperties map[string]interface{}
}
GetManagedRuleSetResponse GetManagedRuleSetResponse returns rule configuration name and it's rules.
func NewGetManagedRuleSetResponse ¶
func NewGetManagedRuleSetResponse() *GetManagedRuleSetResponse
NewGetManagedRuleSetResponse instantiates a new GetManagedRuleSetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetManagedRuleSetResponseWithDefaults ¶
func NewGetManagedRuleSetResponseWithDefaults() *GetManagedRuleSetResponse
NewGetManagedRuleSetResponseWithDefaults instantiates a new GetManagedRuleSetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetManagedRuleSetResponse) GetGroups ¶
func (o *GetManagedRuleSetResponse) GetGroups() map[string]MRSRuleGroup
GetGroups returns the Groups field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetGroupsOk ¶
func (o *GetManagedRuleSetResponse) GetGroupsOk() (*map[string]MRSRuleGroup, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetName ¶
func (o *GetManagedRuleSetResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetNameOk ¶
func (o *GetManagedRuleSetResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetType ¶
func (o *GetManagedRuleSetResponse) GetType() Type
GetType returns the Type field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetTypeOk ¶
func (o *GetManagedRuleSetResponse) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetUsage ¶
func (o *GetManagedRuleSetResponse) GetUsage() MRSUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetUsageOk ¶
func (o *GetManagedRuleSetResponse) GetUsageOk() (*MRSUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetVersion ¶
func (o *GetManagedRuleSetResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetVersionOk ¶
func (o *GetManagedRuleSetResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) HasGroups ¶
func (o *GetManagedRuleSetResponse) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasName ¶
func (o *GetManagedRuleSetResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasType ¶
func (o *GetManagedRuleSetResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasUsage ¶
func (o *GetManagedRuleSetResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasVersion ¶
func (o *GetManagedRuleSetResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (GetManagedRuleSetResponse) MarshalJSON ¶
func (o GetManagedRuleSetResponse) MarshalJSON() ([]byte, error)
func (*GetManagedRuleSetResponse) SetGroups ¶
func (o *GetManagedRuleSetResponse) SetGroups(v map[string]MRSRuleGroup)
SetGroups gets a reference to the given map[string]MRSRuleGroup and assigns it to the Groups field.
func (*GetManagedRuleSetResponse) SetName ¶
func (o *GetManagedRuleSetResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetManagedRuleSetResponse) SetType ¶
func (o *GetManagedRuleSetResponse) SetType(v Type)
SetType gets a reference to the given Type and assigns it to the Type field.
func (*GetManagedRuleSetResponse) SetUsage ¶
func (o *GetManagedRuleSetResponse) SetUsage(v MRSUsage)
SetUsage gets a reference to the given MRSUsage and assigns it to the Usage field.
func (*GetManagedRuleSetResponse) SetVersion ¶
func (o *GetManagedRuleSetResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (GetManagedRuleSetResponse) ToMap ¶
func (o GetManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
func (*GetManagedRuleSetResponse) UnmarshalJSON ¶
func (o *GetManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
type GetQuotaResponse ¶
type GetQuotaResponse struct {
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
Quotas *Quotas `json:"quotas,omitempty"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
GetQuotaResponse struct for GetQuotaResponse
func NewGetQuotaResponse ¶
func NewGetQuotaResponse() *GetQuotaResponse
NewGetQuotaResponse instantiates a new GetQuotaResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetQuotaResponseWithDefaults ¶
func NewGetQuotaResponseWithDefaults() *GetQuotaResponse
NewGetQuotaResponseWithDefaults instantiates a new GetQuotaResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetQuotaResponse) GetProjectId ¶
func (o *GetQuotaResponse) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*GetQuotaResponse) GetProjectIdOk ¶
func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetQuotas ¶
func (o *GetQuotaResponse) GetQuotas() Quotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*GetQuotaResponse) GetQuotasOk ¶
func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetRegion ¶
func (o *GetQuotaResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetQuotaResponse) GetRegionOk ¶
func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) HasProjectId ¶
func (o *GetQuotaResponse) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*GetQuotaResponse) HasQuotas ¶
func (o *GetQuotaResponse) HasQuotas() bool
HasQuotas returns a boolean if a field has been set.
func (*GetQuotaResponse) HasRegion ¶
func (o *GetQuotaResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (GetQuotaResponse) MarshalJSON ¶
func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
func (*GetQuotaResponse) SetProjectId ¶
func (o *GetQuotaResponse) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*GetQuotaResponse) SetQuotas ¶
func (o *GetQuotaResponse) SetQuotas(v Quotas)
SetQuotas gets a reference to the given Quotas and assigns it to the Quotas field.
func (*GetQuotaResponse) SetRegion ¶
func (o *GetQuotaResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (GetQuotaResponse) ToMap ¶
func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
func (*GetQuotaResponse) UnmarshalJSON ¶
func (o *GetQuotaResponse) UnmarshalJSON(data []byte) (err error)
type GetWAFResponse ¶
type GetWAFResponse struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
Usage *WAFUsage `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWAFResponse GetWAFResponse returns detailed information about the WAF, which includes the identifying name, references to MRS/CRG and usage.
func NewGetWAFResponse ¶
func NewGetWAFResponse() *GetWAFResponse
NewGetWAFResponse instantiates a new GetWAFResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetWAFResponseWithDefaults ¶
func NewGetWAFResponseWithDefaults() *GetWAFResponse
NewGetWAFResponseWithDefaults instantiates a new GetWAFResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetWAFResponse) GetCustomRuleGroupName ¶
func (o *GetWAFResponse) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*GetWAFResponse) GetCustomRuleGroupNameOk ¶
func (o *GetWAFResponse) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetLabels ¶
func (o *GetWAFResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetWAFResponse) GetLabelsOk ¶
func (o *GetWAFResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetManagedRuleSetName ¶
func (o *GetWAFResponse) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*GetWAFResponse) GetManagedRuleSetNameOk ¶
func (o *GetWAFResponse) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetName ¶
func (o *GetWAFResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetWAFResponse) GetNameOk ¶
func (o *GetWAFResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetUsage ¶
func (o *GetWAFResponse) GetUsage() WAFUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetWAFResponse) GetUsageOk ¶
func (o *GetWAFResponse) GetUsageOk() (*WAFUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) HasCustomRuleGroupName ¶
func (o *GetWAFResponse) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*GetWAFResponse) HasLabels ¶
func (o *GetWAFResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetWAFResponse) HasManagedRuleSetName ¶
func (o *GetWAFResponse) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*GetWAFResponse) HasName ¶
func (o *GetWAFResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetWAFResponse) HasUsage ¶
func (o *GetWAFResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (GetWAFResponse) MarshalJSON ¶
func (o GetWAFResponse) MarshalJSON() ([]byte, error)
func (*GetWAFResponse) SetCustomRuleGroupName ¶
func (o *GetWAFResponse) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*GetWAFResponse) SetLabels ¶
func (o *GetWAFResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetWAFResponse) SetManagedRuleSetName ¶
func (o *GetWAFResponse) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*GetWAFResponse) SetName ¶
func (o *GetWAFResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetWAFResponse) SetUsage ¶
func (o *GetWAFResponse) SetUsage(v WAFUsage)
SetUsage gets a reference to the given WAFUsage and assigns it to the Usage field.
func (GetWAFResponse) ToMap ¶
func (o GetWAFResponse) ToMap() (map[string]interface{}, error)
func (*GetWAFResponse) UnmarshalJSON ¶
func (o *GetWAFResponse) UnmarshalJSON(data []byte) (err error)
type GoogleProtobufAny ¶
type GoogleProtobufAny struct {
// The type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{}
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGoogleProtobufAnyWithDefaults ¶
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GoogleProtobufAny) GetType ¶
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoogleProtobufAny) HasType ¶
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (GoogleProtobufAny) ToMap ¶
func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
func (*GoogleProtobufAny) UnmarshalJSON ¶
func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
type ListCustomRuleGroupResponse ¶
type ListCustomRuleGroupResponse struct {
Items []GetCustomRuleGroupResponse `json:"items,omitempty"`
// Continue token from the ListCustomRuleGroupResponse with Limit option
NextPageId *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
AdditionalProperties map[string]interface{}
}
ListCustomRuleGroupResponse ListCustomRuleGroupResponse returns a list of Custom Rule Group responses.
func NewListCustomRuleGroupResponse ¶
func NewListCustomRuleGroupResponse() *ListCustomRuleGroupResponse
NewListCustomRuleGroupResponse instantiates a new ListCustomRuleGroupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCustomRuleGroupResponseWithDefaults ¶
func NewListCustomRuleGroupResponseWithDefaults() *ListCustomRuleGroupResponse
NewListCustomRuleGroupResponseWithDefaults instantiates a new ListCustomRuleGroupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCustomRuleGroupResponse) GetItems ¶
func (o *ListCustomRuleGroupResponse) GetItems() []GetCustomRuleGroupResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ListCustomRuleGroupResponse) GetItemsOk ¶
func (o *ListCustomRuleGroupResponse) GetItemsOk() ([]GetCustomRuleGroupResponse, 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 (*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 ¶
func (o *ListCustomRuleGroupResponse) SetItems(v []GetCustomRuleGroupResponse)
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 ¶
func (o *ListManagedRuleSetResponse) GetItems() []GetLimitedManagedRuleSetResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ListManagedRuleSetResponse) GetItemsOk ¶
func (o *ListManagedRuleSetResponse) GetItemsOk() ([]GetLimitedManagedRuleSetResponse, 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 (*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 ¶
func (o *ListManagedRuleSetResponse) SetItems(v []GetLimitedManagedRuleSetResponse)
SetItems gets a reference to the given []GetLimitedManagedRuleSetResponse and assigns it to the Items field.
func (*ListManagedRuleSetResponse) SetNextPageId ¶
func (o *ListManagedRuleSetResponse) SetNextPageId(v string)
SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.
func (ListManagedRuleSetResponse) ToMap ¶
func (o ListManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
func (*ListManagedRuleSetResponse) UnmarshalJSON ¶
func (o *ListManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
type ListWAFResponse ¶
type ListWAFResponse struct {
Items []GetWAFResponse `json:"items,omitempty"`
// Continue token from the ListWAFResponse with Limit option
NextPageId *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
AdditionalProperties map[string]interface{}
}
ListWAFResponse ListWAFResponse returns a list of WAF responses.
func NewListWAFResponse ¶
func NewListWAFResponse() *ListWAFResponse
NewListWAFResponse instantiates a new ListWAFResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListWAFResponseWithDefaults ¶
func NewListWAFResponseWithDefaults() *ListWAFResponse
NewListWAFResponseWithDefaults instantiates a new ListWAFResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListWAFResponse) GetItems ¶
func (o *ListWAFResponse) GetItems() []GetWAFResponse
GetItems returns the Items field value if set, zero value otherwise.
func (*ListWAFResponse) GetItemsOk ¶
func (o *ListWAFResponse) GetItemsOk() ([]GetWAFResponse, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListWAFResponse) GetNextPageId ¶
func (o *ListWAFResponse) GetNextPageId() string
GetNextPageId returns the NextPageId field value if set, zero value otherwise.
func (*ListWAFResponse) GetNextPageIdOk ¶
func (o *ListWAFResponse) GetNextPageIdOk() (*string, bool)
GetNextPageIdOk returns a tuple with the NextPageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListWAFResponse) HasItems ¶
func (o *ListWAFResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*ListWAFResponse) HasNextPageId ¶
func (o *ListWAFResponse) HasNextPageId() bool
HasNextPageId returns a boolean if a field has been set.
func (ListWAFResponse) MarshalJSON ¶
func (o ListWAFResponse) MarshalJSON() ([]byte, error)
func (*ListWAFResponse) SetItems ¶
func (o *ListWAFResponse) SetItems(v []GetWAFResponse)
SetItems gets a reference to the given []GetWAFResponse and assigns it to the Items field.
func (*ListWAFResponse) SetNextPageId ¶
func (o *ListWAFResponse) SetNextPageId(v string)
SetNextPageId gets a reference to the given string and assigns it to the NextPageId field.
func (ListWAFResponse) ToMap ¶
func (o ListWAFResponse) ToMap() (map[string]interface{}, error)
func (*ListWAFResponse) UnmarshalJSON ¶
func (o *ListWAFResponse) UnmarshalJSON(data []byte) (err error)
type MRSConfigQuota ¶
type MRSConfigQuota struct {
// The maximum number of Managed Rule Set configurations in this project.
Limit *int32 `json:"limit,omitempty"`
// The number of Managed Rule Set configurations that are currently existing in this project.
Usage *int32 `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
MRSConfigQuota MRS Config quota holds the limit and usage for Managed Rule Set configuration resources
func NewMRSConfigQuota ¶
func NewMRSConfigQuota() *MRSConfigQuota
NewMRSConfigQuota instantiates a new MRSConfigQuota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMRSConfigQuotaWithDefaults ¶
func NewMRSConfigQuotaWithDefaults() *MRSConfigQuota
NewMRSConfigQuotaWithDefaults instantiates a new MRSConfigQuota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MRSConfigQuota) GetLimit ¶
func (o *MRSConfigQuota) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*MRSConfigQuota) GetLimitOk ¶
func (o *MRSConfigQuota) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MRSConfigQuota) GetUsage ¶
func (o *MRSConfigQuota) GetUsage() int32
GetUsage returns the Usage field value if set, zero value otherwise.
func (*MRSConfigQuota) GetUsageOk ¶
func (o *MRSConfigQuota) GetUsageOk() (*int32, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MRSConfigQuota) HasLimit ¶
func (o *MRSConfigQuota) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*MRSConfigQuota) HasUsage ¶
func (o *MRSConfigQuota) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (MRSConfigQuota) MarshalJSON ¶
func (o MRSConfigQuota) MarshalJSON() ([]byte, error)
func (*MRSConfigQuota) SetLimit ¶
func (o *MRSConfigQuota) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*MRSConfigQuota) SetUsage ¶
func (o *MRSConfigQuota) SetUsage(v int32)
SetUsage gets a reference to the given int32 and assigns it to the Usage field.
func (MRSConfigQuota) ToMap ¶
func (o MRSConfigQuota) ToMap() (map[string]interface{}, error)
func (*MRSConfigQuota) UnmarshalJSON ¶
func (o *MRSConfigQuota) UnmarshalJSON(data []byte) (err error)
type MRSRule ¶
type MRSRule struct {
// A description of what this rule covers.
Description *string `json:"description,omitempty"`
Mode *Mode `json:"mode,omitempty"`
// Impact level.
Severity *string `json:"severity,omitempty" validate:"regexp=^(CRITICAL|ERROR|WARNING|INFO)$"`
AdditionalProperties map[string]interface{}
}
MRSRule Rule represents an individual security or validation rule.
func NewMRSRule ¶
func NewMRSRule() *MRSRule
NewMRSRule instantiates a new MRSRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMRSRuleWithDefaults ¶
func NewMRSRuleWithDefaults() *MRSRule
NewMRSRuleWithDefaults instantiates a new MRSRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MRSRule) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*MRSRule) GetDescriptionOk ¶
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) GetModeOk ¶
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 ¶
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*MRSRule) GetSeverityOk ¶
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 ¶
HasDescription returns a boolean if a field has been set.
func (*MRSRule) HasSeverity ¶
HasSeverity returns a boolean if a field has been set.
func (MRSRule) MarshalJSON ¶
func (*MRSRule) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MRSRule) SetMode ¶
SetMode gets a reference to the given Mode and assigns it to the Mode field.
func (*MRSRule) SetSeverity ¶
SetSeverity gets a reference to the given string and assigns it to the Severity field.
func (*MRSRule) UnmarshalJSON ¶
type MRSRuleGroup ¶
type MRSRuleGroup struct {
// A description of what this group covers.
Description *string `json:"description,omitempty"`
// The name for the rule group.
GroupName *string `json:"groupName,omitempty" validate:"regexp=^[a-zA-Z\\\\(\\\\) ]+$"`
Rules *map[string]MRSRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{}
}
MRSRuleGroup RuleGroup represents a collection of rules associated with a specific group.
func NewMRSRuleGroup ¶
func NewMRSRuleGroup() *MRSRuleGroup
NewMRSRuleGroup instantiates a new MRSRuleGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMRSRuleGroupWithDefaults ¶
func NewMRSRuleGroupWithDefaults() *MRSRuleGroup
NewMRSRuleGroupWithDefaults instantiates a new MRSRuleGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MRSRuleGroup) GetDescription ¶
func (o *MRSRuleGroup) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*MRSRuleGroup) GetDescriptionOk ¶
func (o *MRSRuleGroup) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MRSRuleGroup) GetGroupName ¶
func (o *MRSRuleGroup) GetGroupName() string
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*MRSRuleGroup) GetGroupNameOk ¶
func (o *MRSRuleGroup) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MRSRuleGroup) GetRules ¶
func (o *MRSRuleGroup) GetRules() map[string]MRSRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*MRSRuleGroup) GetRulesOk ¶
func (o *MRSRuleGroup) GetRulesOk() (*map[string]MRSRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MRSRuleGroup) HasDescription ¶
func (o *MRSRuleGroup) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*MRSRuleGroup) HasGroupName ¶
func (o *MRSRuleGroup) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (*MRSRuleGroup) HasRules ¶
func (o *MRSRuleGroup) HasRules() bool
HasRules returns a boolean if a field has been set.
func (MRSRuleGroup) MarshalJSON ¶
func (o MRSRuleGroup) MarshalJSON() ([]byte, error)
func (*MRSRuleGroup) SetDescription ¶
func (o *MRSRuleGroup) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*MRSRuleGroup) SetGroupName ¶
func (o *MRSRuleGroup) SetGroupName(v string)
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*MRSRuleGroup) SetRules ¶
func (o *MRSRuleGroup) SetRules(v map[string]MRSRule)
SetRules gets a reference to the given map[string]MRSRule and assigns it to the Rules field.
func (MRSRuleGroup) ToMap ¶
func (o MRSRuleGroup) ToMap() (map[string]interface{}, error)
func (*MRSRuleGroup) UnmarshalJSON ¶
func (o *MRSRuleGroup) UnmarshalJSON(data []byte) (err error)
type MRSUsage ¶
type MRSUsage struct {
// Number of WAFs using this Managed Rule Set.
Count *int32 `json:"count,omitempty"`
// List of WAFs that use this Managed Rule Set.
Items []string `json:"items,omitempty"`
AdditionalProperties map[string]interface{}
}
MRSUsage struct for MRSUsage
func NewMRSUsage ¶
func NewMRSUsage() *MRSUsage
NewMRSUsage instantiates a new MRSUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMRSUsageWithDefaults ¶
func NewMRSUsageWithDefaults() *MRSUsage
NewMRSUsageWithDefaults instantiates a new MRSUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MRSUsage) GetCountOk ¶
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) 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 (MRSUsage) MarshalJSON ¶
func (*MRSUsage) SetCount ¶
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*MRSUsage) SetItems ¶
SetItems gets a reference to the given []string and assigns it to the Items field.
func (*MRSUsage) UnmarshalJSON ¶
type MappedNullable ¶
type Mode ¶
type Mode string
Mode The current mode of the rule.
const ( MODE_MODE_ENABLED Mode = "MODE_ENABLED" MODE_MODE_DISABLED Mode = "MODE_DISABLED" MODE_MODE_LOG_ONLY Mode = "MODE_LOG_ONLY" MODE_UNKNOWN_DEFAULT_OPEN_API Mode = "unknown_default_open_api" )
List of Mode
func NewModeFromValue ¶
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) UnmarshalJSON ¶
type NullableAction ¶ added in v0.13.0
type NullableAction struct {
// contains filtered or unexported fields
}
func NewNullableAction ¶ added in v0.13.0
func NewNullableAction(val *Action) *NullableAction
func (NullableAction) Get ¶ added in v0.13.0
func (v NullableAction) Get() *Action
func (NullableAction) IsSet ¶ added in v0.13.0
func (v NullableAction) IsSet() bool
func (NullableAction) MarshalJSON ¶ added in v0.13.0
func (v NullableAction) MarshalJSON() ([]byte, error)
func (*NullableAction) Set ¶ added in v0.13.0
func (v *NullableAction) Set(val *Action)
func (*NullableAction) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableAction) UnmarshalJSON(src []byte) error
func (*NullableAction) Unset ¶ added in v0.13.0
func (v *NullableAction) Unset()
type NullableBehaviour ¶
type NullableBehaviour struct {
// contains filtered or unexported fields
}
func NewNullableBehaviour ¶
func NewNullableBehaviour(val *Behaviour) *NullableBehaviour
func (NullableBehaviour) Get ¶
func (v NullableBehaviour) Get() *Behaviour
func (NullableBehaviour) IsSet ¶
func (v NullableBehaviour) IsSet() bool
func (NullableBehaviour) MarshalJSON ¶
func (v NullableBehaviour) MarshalJSON() ([]byte, error)
func (*NullableBehaviour) Set ¶
func (v *NullableBehaviour) Set(val *Behaviour)
func (*NullableBehaviour) UnmarshalJSON ¶
func (v *NullableBehaviour) UnmarshalJSON(src []byte) error
func (*NullableBehaviour) Unset ¶
func (v *NullableBehaviour) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCRGConfigQuota ¶
type NullableCRGConfigQuota struct {
// contains filtered or unexported fields
}
func NewNullableCRGConfigQuota ¶
func NewNullableCRGConfigQuota(val *CRGConfigQuota) *NullableCRGConfigQuota
func (NullableCRGConfigQuota) Get ¶
func (v NullableCRGConfigQuota) Get() *CRGConfigQuota
func (NullableCRGConfigQuota) IsSet ¶
func (v NullableCRGConfigQuota) IsSet() bool
func (NullableCRGConfigQuota) MarshalJSON ¶
func (v NullableCRGConfigQuota) MarshalJSON() ([]byte, error)
func (*NullableCRGConfigQuota) Set ¶
func (v *NullableCRGConfigQuota) Set(val *CRGConfigQuota)
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 (v NullableConditionOperator) Get() *ConditionOperator
func (NullableConditionOperator) IsSet ¶
func (v NullableConditionOperator) IsSet() bool
func (NullableConditionOperator) MarshalJSON ¶
func (v NullableConditionOperator) MarshalJSON() ([]byte, error)
func (*NullableConditionOperator) Set ¶
func (v *NullableConditionOperator) Set(val *ConditionOperator)
func (*NullableConditionOperator) UnmarshalJSON ¶
func (v *NullableConditionOperator) UnmarshalJSON(src []byte) error
func (*NullableConditionOperator) Unset ¶
func (v *NullableConditionOperator) Unset()
type NullableConditionVariable ¶
type NullableConditionVariable struct {
// contains filtered or unexported fields
}
func NewNullableConditionVariable ¶
func NewNullableConditionVariable(val *ConditionVariable) *NullableConditionVariable
func (NullableConditionVariable) Get ¶
func (v NullableConditionVariable) Get() *ConditionVariable
func (NullableConditionVariable) IsSet ¶
func (v NullableConditionVariable) IsSet() bool
func (NullableConditionVariable) MarshalJSON ¶
func (v NullableConditionVariable) MarshalJSON() ([]byte, error)
func (*NullableConditionVariable) Set ¶
func (v *NullableConditionVariable) Set(val *ConditionVariable)
func (*NullableConditionVariable) UnmarshalJSON ¶
func (v *NullableConditionVariable) UnmarshalJSON(src []byte) error
func (*NullableConditionVariable) Unset ¶
func (v *NullableConditionVariable) Unset()
type NullableCreateCustomRule ¶
type NullableCreateCustomRule struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomRule ¶
func NewNullableCreateCustomRule(val *CreateCustomRule) *NullableCreateCustomRule
func (NullableCreateCustomRule) Get ¶
func (v NullableCreateCustomRule) Get() *CreateCustomRule
func (NullableCreateCustomRule) IsSet ¶
func (v NullableCreateCustomRule) IsSet() bool
func (NullableCreateCustomRule) MarshalJSON ¶
func (v NullableCreateCustomRule) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomRule) Set ¶
func (v *NullableCreateCustomRule) Set(val *CreateCustomRule)
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 NewNullableCreateCustomRuleGroupPayload ¶
func NewNullableCreateCustomRuleGroupPayload(val *CreateCustomRuleGroupPayload) *NullableCreateCustomRuleGroupPayload
func (NullableCreateCustomRuleGroupPayload) Get ¶
func (v NullableCreateCustomRuleGroupPayload) Get() *CreateCustomRuleGroupPayload
func (NullableCreateCustomRuleGroupPayload) IsSet ¶
func (v NullableCreateCustomRuleGroupPayload) IsSet() bool
func (NullableCreateCustomRuleGroupPayload) MarshalJSON ¶
func (v NullableCreateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomRuleGroupPayload) Set ¶
func (v *NullableCreateCustomRuleGroupPayload) Set(val *CreateCustomRuleGroupPayload)
func (*NullableCreateCustomRuleGroupPayload) UnmarshalJSON ¶
func (v *NullableCreateCustomRuleGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateCustomRuleGroupPayload) Unset ¶
func (v *NullableCreateCustomRuleGroupPayload) Unset()
type NullableCreateManagedRuleSetPayload ¶
type NullableCreateManagedRuleSetPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateManagedRuleSetPayload ¶
func NewNullableCreateManagedRuleSetPayload(val *CreateManagedRuleSetPayload) *NullableCreateManagedRuleSetPayload
func (NullableCreateManagedRuleSetPayload) Get ¶
func (v NullableCreateManagedRuleSetPayload) Get() *CreateManagedRuleSetPayload
func (NullableCreateManagedRuleSetPayload) IsSet ¶
func (v NullableCreateManagedRuleSetPayload) IsSet() bool
func (NullableCreateManagedRuleSetPayload) MarshalJSON ¶
func (v NullableCreateManagedRuleSetPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateManagedRuleSetPayload) Set ¶
func (v *NullableCreateManagedRuleSetPayload) Set(val *CreateManagedRuleSetPayload)
func (*NullableCreateManagedRuleSetPayload) UnmarshalJSON ¶
func (v *NullableCreateManagedRuleSetPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateManagedRuleSetPayload) Unset ¶
func (v *NullableCreateManagedRuleSetPayload) Unset()
type NullableCreateWAFPayload ¶
type NullableCreateWAFPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateWAFPayload ¶
func NewNullableCreateWAFPayload(val *CreateWAFPayload) *NullableCreateWAFPayload
func (NullableCreateWAFPayload) Get ¶
func (v NullableCreateWAFPayload) Get() *CreateWAFPayload
func (NullableCreateWAFPayload) IsSet ¶
func (v NullableCreateWAFPayload) IsSet() bool
func (NullableCreateWAFPayload) MarshalJSON ¶
func (v NullableCreateWAFPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateWAFPayload) Set ¶
func (v *NullableCreateWAFPayload) Set(val *CreateWAFPayload)
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 (v NullableGetBehaviour) Get() *GetBehaviour
func (NullableGetBehaviour) IsSet ¶
func (v NullableGetBehaviour) IsSet() bool
func (NullableGetBehaviour) MarshalJSON ¶
func (v NullableGetBehaviour) MarshalJSON() ([]byte, error)
func (*NullableGetBehaviour) Set ¶
func (v *NullableGetBehaviour) Set(val *GetBehaviour)
func (*NullableGetBehaviour) UnmarshalJSON ¶
func (v *NullableGetBehaviour) UnmarshalJSON(src []byte) error
func (*NullableGetBehaviour) Unset ¶
func (v *NullableGetBehaviour) Unset()
type NullableGetCustomRule ¶
type NullableGetCustomRule struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomRule ¶
func NewNullableGetCustomRule(val *GetCustomRule) *NullableGetCustomRule
func (NullableGetCustomRule) Get ¶
func (v NullableGetCustomRule) Get() *GetCustomRule
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 NewNullableGetCustomRuleGroupResponse ¶
func NewNullableGetCustomRuleGroupResponse(val *GetCustomRuleGroupResponse) *NullableGetCustomRuleGroupResponse
func (NullableGetCustomRuleGroupResponse) Get ¶
func (v NullableGetCustomRuleGroupResponse) Get() *GetCustomRuleGroupResponse
func (NullableGetCustomRuleGroupResponse) IsSet ¶
func (v NullableGetCustomRuleGroupResponse) IsSet() bool
func (NullableGetCustomRuleGroupResponse) MarshalJSON ¶
func (v NullableGetCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
func (*NullableGetCustomRuleGroupResponse) Set ¶
func (v *NullableGetCustomRuleGroupResponse) Set(val *GetCustomRuleGroupResponse)
func (*NullableGetCustomRuleGroupResponse) UnmarshalJSON ¶
func (v *NullableGetCustomRuleGroupResponse) UnmarshalJSON(src []byte) error
func (*NullableGetCustomRuleGroupResponse) Unset ¶
func (v *NullableGetCustomRuleGroupResponse) Unset()
type NullableGetLimitedManagedRuleSetResponse ¶
type NullableGetLimitedManagedRuleSetResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetLimitedManagedRuleSetResponse ¶
func NewNullableGetLimitedManagedRuleSetResponse(val *GetLimitedManagedRuleSetResponse) *NullableGetLimitedManagedRuleSetResponse
func (NullableGetLimitedManagedRuleSetResponse) IsSet ¶
func (v NullableGetLimitedManagedRuleSetResponse) IsSet() bool
func (NullableGetLimitedManagedRuleSetResponse) MarshalJSON ¶
func (v NullableGetLimitedManagedRuleSetResponse) MarshalJSON() ([]byte, error)
func (*NullableGetLimitedManagedRuleSetResponse) Set ¶
func (v *NullableGetLimitedManagedRuleSetResponse) Set(val *GetLimitedManagedRuleSetResponse)
func (*NullableGetLimitedManagedRuleSetResponse) UnmarshalJSON ¶
func (v *NullableGetLimitedManagedRuleSetResponse) UnmarshalJSON(src []byte) error
func (*NullableGetLimitedManagedRuleSetResponse) Unset ¶
func (v *NullableGetLimitedManagedRuleSetResponse) Unset()
type NullableGetManagedRuleSetResponse ¶
type NullableGetManagedRuleSetResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetManagedRuleSetResponse ¶
func NewNullableGetManagedRuleSetResponse(val *GetManagedRuleSetResponse) *NullableGetManagedRuleSetResponse
func (NullableGetManagedRuleSetResponse) Get ¶
func (v NullableGetManagedRuleSetResponse) Get() *GetManagedRuleSetResponse
func (NullableGetManagedRuleSetResponse) IsSet ¶
func (v NullableGetManagedRuleSetResponse) IsSet() bool
func (NullableGetManagedRuleSetResponse) MarshalJSON ¶
func (v NullableGetManagedRuleSetResponse) MarshalJSON() ([]byte, error)
func (*NullableGetManagedRuleSetResponse) Set ¶
func (v *NullableGetManagedRuleSetResponse) Set(val *GetManagedRuleSetResponse)
func (*NullableGetManagedRuleSetResponse) UnmarshalJSON ¶
func (v *NullableGetManagedRuleSetResponse) UnmarshalJSON(src []byte) error
func (*NullableGetManagedRuleSetResponse) Unset ¶
func (v *NullableGetManagedRuleSetResponse) Unset()
type NullableGetQuotaResponse ¶
type NullableGetQuotaResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetQuotaResponse ¶
func NewNullableGetQuotaResponse(val *GetQuotaResponse) *NullableGetQuotaResponse
func (NullableGetQuotaResponse) Get ¶
func (v NullableGetQuotaResponse) Get() *GetQuotaResponse
func (NullableGetQuotaResponse) IsSet ¶
func (v NullableGetQuotaResponse) IsSet() bool
func (NullableGetQuotaResponse) MarshalJSON ¶
func (v NullableGetQuotaResponse) MarshalJSON() ([]byte, error)
func (*NullableGetQuotaResponse) Set ¶
func (v *NullableGetQuotaResponse) Set(val *GetQuotaResponse)
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 (v NullableGetWAFResponse) Get() *GetWAFResponse
func (NullableGetWAFResponse) IsSet ¶
func (v NullableGetWAFResponse) IsSet() bool
func (NullableGetWAFResponse) MarshalJSON ¶
func (v NullableGetWAFResponse) MarshalJSON() ([]byte, error)
func (*NullableGetWAFResponse) Set ¶
func (v *NullableGetWAFResponse) Set(val *GetWAFResponse)
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 (v NullableGoogleProtobufAny) Get() *GoogleProtobufAny
func (NullableGoogleProtobufAny) IsSet ¶
func (v NullableGoogleProtobufAny) IsSet() bool
func (NullableGoogleProtobufAny) MarshalJSON ¶
func (v NullableGoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*NullableGoogleProtobufAny) Set ¶
func (v *NullableGoogleProtobufAny) Set(val *GoogleProtobufAny)
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 NewNullableListCustomRuleGroupResponse ¶
func NewNullableListCustomRuleGroupResponse(val *ListCustomRuleGroupResponse) *NullableListCustomRuleGroupResponse
func (NullableListCustomRuleGroupResponse) Get ¶
func (v NullableListCustomRuleGroupResponse) Get() *ListCustomRuleGroupResponse
func (NullableListCustomRuleGroupResponse) IsSet ¶
func (v NullableListCustomRuleGroupResponse) IsSet() bool
func (NullableListCustomRuleGroupResponse) MarshalJSON ¶
func (v NullableListCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
func (*NullableListCustomRuleGroupResponse) Set ¶
func (v *NullableListCustomRuleGroupResponse) Set(val *ListCustomRuleGroupResponse)
func (*NullableListCustomRuleGroupResponse) UnmarshalJSON ¶
func (v *NullableListCustomRuleGroupResponse) UnmarshalJSON(src []byte) error
func (*NullableListCustomRuleGroupResponse) Unset ¶
func (v *NullableListCustomRuleGroupResponse) Unset()
type NullableListManagedRuleSetResponse ¶
type NullableListManagedRuleSetResponse struct {
// contains filtered or unexported fields
}
func NewNullableListManagedRuleSetResponse ¶
func NewNullableListManagedRuleSetResponse(val *ListManagedRuleSetResponse) *NullableListManagedRuleSetResponse
func (NullableListManagedRuleSetResponse) Get ¶
func (v NullableListManagedRuleSetResponse) Get() *ListManagedRuleSetResponse
func (NullableListManagedRuleSetResponse) IsSet ¶
func (v NullableListManagedRuleSetResponse) IsSet() bool
func (NullableListManagedRuleSetResponse) MarshalJSON ¶
func (v NullableListManagedRuleSetResponse) MarshalJSON() ([]byte, error)
func (*NullableListManagedRuleSetResponse) Set ¶
func (v *NullableListManagedRuleSetResponse) Set(val *ListManagedRuleSetResponse)
func (*NullableListManagedRuleSetResponse) UnmarshalJSON ¶
func (v *NullableListManagedRuleSetResponse) UnmarshalJSON(src []byte) error
func (*NullableListManagedRuleSetResponse) Unset ¶
func (v *NullableListManagedRuleSetResponse) Unset()
type NullableListWAFResponse ¶
type NullableListWAFResponse struct {
// contains filtered or unexported fields
}
func NewNullableListWAFResponse ¶
func NewNullableListWAFResponse(val *ListWAFResponse) *NullableListWAFResponse
func (NullableListWAFResponse) Get ¶
func (v NullableListWAFResponse) Get() *ListWAFResponse
func (NullableListWAFResponse) IsSet ¶
func (v NullableListWAFResponse) IsSet() bool
func (NullableListWAFResponse) MarshalJSON ¶
func (v NullableListWAFResponse) MarshalJSON() ([]byte, error)
func (*NullableListWAFResponse) Set ¶
func (v *NullableListWAFResponse) Set(val *ListWAFResponse)
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 (v NullableMRSConfigQuota) Get() *MRSConfigQuota
func (NullableMRSConfigQuota) IsSet ¶
func (v NullableMRSConfigQuota) IsSet() bool
func (NullableMRSConfigQuota) MarshalJSON ¶
func (v NullableMRSConfigQuota) MarshalJSON() ([]byte, error)
func (*NullableMRSConfigQuota) Set ¶
func (v *NullableMRSConfigQuota) Set(val *MRSConfigQuota)
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 (v NullableMRSRuleGroup) Get() *MRSRuleGroup
func (NullableMRSRuleGroup) IsSet ¶
func (v NullableMRSRuleGroup) IsSet() bool
func (NullableMRSRuleGroup) MarshalJSON ¶
func (v NullableMRSRuleGroup) MarshalJSON() ([]byte, error)
func (*NullableMRSRuleGroup) Set ¶
func (v *NullableMRSRuleGroup) Set(val *MRSRuleGroup)
func (*NullableMRSRuleGroup) UnmarshalJSON ¶
func (v *NullableMRSRuleGroup) UnmarshalJSON(src []byte) error
func (*NullableMRSRuleGroup) Unset ¶
func (v *NullableMRSRuleGroup) Unset()
type NullableMRSUsage ¶
type NullableMRSUsage struct {
// contains filtered or unexported fields
}
func NewNullableMRSUsage ¶
func NewNullableMRSUsage(val *MRSUsage) *NullableMRSUsage
func (NullableMRSUsage) Get ¶
func (v NullableMRSUsage) Get() *MRSUsage
func (NullableMRSUsage) IsSet ¶
func (v NullableMRSUsage) IsSet() bool
func (NullableMRSUsage) MarshalJSON ¶
func (v NullableMRSUsage) MarshalJSON() ([]byte, error)
func (*NullableMRSUsage) Set ¶
func (v *NullableMRSUsage) Set(val *MRSUsage)
func (*NullableMRSUsage) UnmarshalJSON ¶
func (v *NullableMRSUsage) UnmarshalJSON(src []byte) error
func (*NullableMRSUsage) Unset ¶
func (v *NullableMRSUsage) Unset()
type NullableMode ¶
type NullableMode struct {
// contains filtered or unexported fields
}
func NewNullableMode ¶
func NewNullableMode(val *Mode) *NullableMode
func (NullableMode) Get ¶
func (v NullableMode) Get() *Mode
func (NullableMode) IsSet ¶
func (v NullableMode) IsSet() bool
func (NullableMode) MarshalJSON ¶
func (v NullableMode) MarshalJSON() ([]byte, error)
func (*NullableMode) Set ¶
func (v *NullableMode) Set(val *Mode)
func (*NullableMode) UnmarshalJSON ¶
func (v *NullableMode) UnmarshalJSON(src []byte) error
func (*NullableMode) Unset ¶
func (v *NullableMode) Unset()
type NullableOperator ¶ added in v0.13.0
type NullableOperator struct {
// contains filtered or unexported fields
}
func NewNullableOperator ¶ added in v0.13.0
func NewNullableOperator(val *Operator) *NullableOperator
func (NullableOperator) Get ¶ added in v0.13.0
func (v NullableOperator) Get() *Operator
func (NullableOperator) IsSet ¶ added in v0.13.0
func (v NullableOperator) IsSet() bool
func (NullableOperator) MarshalJSON ¶ added in v0.13.0
func (v NullableOperator) MarshalJSON() ([]byte, error)
func (*NullableOperator) Set ¶ added in v0.13.0
func (v *NullableOperator) Set(val *Operator)
func (*NullableOperator) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableOperator) UnmarshalJSON(src []byte) error
func (*NullableOperator) Unset ¶ added in v0.13.0
func (v *NullableOperator) Unset()
type NullablePatchMRSRule ¶
type NullablePatchMRSRule struct {
// contains filtered or unexported fields
}
func NewNullablePatchMRSRule ¶
func NewNullablePatchMRSRule(val *PatchMRSRule) *NullablePatchMRSRule
func (NullablePatchMRSRule) Get ¶
func (v NullablePatchMRSRule) Get() *PatchMRSRule
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 (v NullablePatchMRSRuleGroup) Get() *PatchMRSRuleGroup
func (NullablePatchMRSRuleGroup) IsSet ¶
func (v NullablePatchMRSRuleGroup) IsSet() bool
func (NullablePatchMRSRuleGroup) MarshalJSON ¶
func (v NullablePatchMRSRuleGroup) MarshalJSON() ([]byte, error)
func (*NullablePatchMRSRuleGroup) Set ¶
func (v *NullablePatchMRSRuleGroup) Set(val *PatchMRSRuleGroup)
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 NewNullablePatchManagedRuleSetPayload ¶
func NewNullablePatchManagedRuleSetPayload(val *PatchManagedRuleSetPayload) *NullablePatchManagedRuleSetPayload
func (NullablePatchManagedRuleSetPayload) Get ¶
func (v NullablePatchManagedRuleSetPayload) Get() *PatchManagedRuleSetPayload
func (NullablePatchManagedRuleSetPayload) IsSet ¶
func (v NullablePatchManagedRuleSetPayload) IsSet() bool
func (NullablePatchManagedRuleSetPayload) MarshalJSON ¶
func (v NullablePatchManagedRuleSetPayload) MarshalJSON() ([]byte, error)
func (*NullablePatchManagedRuleSetPayload) Set ¶
func (v *NullablePatchManagedRuleSetPayload) Set(val *PatchManagedRuleSetPayload)
func (*NullablePatchManagedRuleSetPayload) UnmarshalJSON ¶
func (v *NullablePatchManagedRuleSetPayload) UnmarshalJSON(src []byte) error
func (*NullablePatchManagedRuleSetPayload) Unset ¶
func (v *NullablePatchManagedRuleSetPayload) Unset()
type NullableQuotas ¶
type NullableQuotas struct {
// contains filtered or unexported fields
}
func NewNullableQuotas ¶
func NewNullableQuotas(val *Quotas) *NullableQuotas
func (NullableQuotas) Get ¶
func (v NullableQuotas) Get() *Quotas
func (NullableQuotas) IsSet ¶
func (v NullableQuotas) IsSet() bool
func (NullableQuotas) MarshalJSON ¶
func (v NullableQuotas) MarshalJSON() ([]byte, error)
func (*NullableQuotas) Set ¶
func (v *NullableQuotas) Set(val *Quotas)
func (*NullableQuotas) UnmarshalJSON ¶
func (v *NullableQuotas) UnmarshalJSON(src []byte) error
func (*NullableQuotas) Unset ¶
func (v *NullableQuotas) Unset()
type NullableSeverity ¶ added in v0.13.0
type NullableSeverity struct {
// contains filtered or unexported fields
}
func NewNullableSeverity ¶ added in v0.13.0
func NewNullableSeverity(val *Severity) *NullableSeverity
func (NullableSeverity) Get ¶ added in v0.13.0
func (v NullableSeverity) Get() *Severity
func (NullableSeverity) IsSet ¶ added in v0.13.0
func (v NullableSeverity) IsSet() bool
func (NullableSeverity) MarshalJSON ¶ added in v0.13.0
func (v NullableSeverity) MarshalJSON() ([]byte, error)
func (*NullableSeverity) Set ¶ added in v0.13.0
func (v *NullableSeverity) Set(val *Severity)
func (*NullableSeverity) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableSeverity) UnmarshalJSON(src []byte) error
func (*NullableSeverity) Unset ¶ added in v0.13.0
func (v *NullableSeverity) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransformation ¶ added in v0.13.0
type NullableTransformation struct {
// contains filtered or unexported fields
}
func NewNullableTransformation ¶ added in v0.13.0
func NewNullableTransformation(val *Transformation) *NullableTransformation
func (NullableTransformation) Get ¶ added in v0.13.0
func (v NullableTransformation) Get() *Transformation
func (NullableTransformation) IsSet ¶ added in v0.13.0
func (v NullableTransformation) IsSet() bool
func (NullableTransformation) MarshalJSON ¶ added in v0.13.0
func (v NullableTransformation) MarshalJSON() ([]byte, error)
func (*NullableTransformation) Set ¶ added in v0.13.0
func (v *NullableTransformation) Set(val *Transformation)
func (*NullableTransformation) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableTransformation) UnmarshalJSON(src []byte) error
func (*NullableTransformation) Unset ¶ added in v0.13.0
func (v *NullableTransformation) Unset()
type NullableType ¶ added in v0.13.0
type NullableType struct {
// contains filtered or unexported fields
}
func NewNullableType ¶ added in v0.13.0
func NewNullableType(val *Type) *NullableType
func (NullableType) Get ¶ added in v0.13.0
func (v NullableType) Get() *Type
func (NullableType) IsSet ¶ added in v0.13.0
func (v NullableType) IsSet() bool
func (NullableType) MarshalJSON ¶ added in v0.13.0
func (v NullableType) MarshalJSON() ([]byte, error)
func (*NullableType) Set ¶ added in v0.13.0
func (v *NullableType) Set(val *Type)
func (*NullableType) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableType) UnmarshalJSON(src []byte) error
func (*NullableType) Unset ¶ added in v0.13.0
func (v *NullableType) Unset()
type NullableUpdateCustomRuleGroupPayload ¶ added in v0.12.0
type NullableUpdateCustomRuleGroupPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomRuleGroupPayload ¶ added in v0.12.0
func NewNullableUpdateCustomRuleGroupPayload(val *UpdateCustomRuleGroupPayload) *NullableUpdateCustomRuleGroupPayload
func (NullableUpdateCustomRuleGroupPayload) Get ¶ added in v0.12.0
func (v NullableUpdateCustomRuleGroupPayload) Get() *UpdateCustomRuleGroupPayload
func (NullableUpdateCustomRuleGroupPayload) IsSet ¶ added in v0.12.0
func (v NullableUpdateCustomRuleGroupPayload) IsSet() bool
func (NullableUpdateCustomRuleGroupPayload) MarshalJSON ¶ added in v0.12.0
func (v NullableUpdateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomRuleGroupPayload) Set ¶ added in v0.12.0
func (v *NullableUpdateCustomRuleGroupPayload) Set(val *UpdateCustomRuleGroupPayload)
func (*NullableUpdateCustomRuleGroupPayload) UnmarshalJSON ¶ added in v0.12.0
func (v *NullableUpdateCustomRuleGroupPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomRuleGroupPayload) Unset ¶ added in v0.12.0
func (v *NullableUpdateCustomRuleGroupPayload) Unset()
type NullableUpdateWAFPayload ¶
type NullableUpdateWAFPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateWAFPayload ¶
func NewNullableUpdateWAFPayload(val *UpdateWAFPayload) *NullableUpdateWAFPayload
func (NullableUpdateWAFPayload) Get ¶
func (v NullableUpdateWAFPayload) Get() *UpdateWAFPayload
func (NullableUpdateWAFPayload) IsSet ¶
func (v NullableUpdateWAFPayload) IsSet() bool
func (NullableUpdateWAFPayload) MarshalJSON ¶
func (v NullableUpdateWAFPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateWAFPayload) Set ¶
func (v *NullableUpdateWAFPayload) Set(val *UpdateWAFPayload)
func (*NullableUpdateWAFPayload) UnmarshalJSON ¶
func (v *NullableUpdateWAFPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateWAFPayload) Unset ¶
func (v *NullableUpdateWAFPayload) Unset()
type NullableVariable ¶ added in v0.13.0
type NullableVariable struct {
// contains filtered or unexported fields
}
func NewNullableVariable ¶ added in v0.13.0
func NewNullableVariable(val *Variable) *NullableVariable
func (NullableVariable) Get ¶ added in v0.13.0
func (v NullableVariable) Get() *Variable
func (NullableVariable) IsSet ¶ added in v0.13.0
func (v NullableVariable) IsSet() bool
func (NullableVariable) MarshalJSON ¶ added in v0.13.0
func (v NullableVariable) MarshalJSON() ([]byte, error)
func (*NullableVariable) Set ¶ added in v0.13.0
func (v *NullableVariable) Set(val *Variable)
func (*NullableVariable) UnmarshalJSON ¶ added in v0.13.0
func (v *NullableVariable) UnmarshalJSON(src []byte) error
func (*NullableVariable) Unset ¶ added in v0.13.0
func (v *NullableVariable) Unset()
type NullableWAFConfigQuota ¶
type NullableWAFConfigQuota struct {
// contains filtered or unexported fields
}
func NewNullableWAFConfigQuota ¶
func NewNullableWAFConfigQuota(val *WAFConfigQuota) *NullableWAFConfigQuota
func (NullableWAFConfigQuota) Get ¶
func (v NullableWAFConfigQuota) Get() *WAFConfigQuota
func (NullableWAFConfigQuota) IsSet ¶
func (v NullableWAFConfigQuota) IsSet() bool
func (NullableWAFConfigQuota) MarshalJSON ¶
func (v NullableWAFConfigQuota) MarshalJSON() ([]byte, error)
func (*NullableWAFConfigQuota) Set ¶
func (v *NullableWAFConfigQuota) Set(val *WAFConfigQuota)
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 (v NullableWAFUsageItem) Get() *WAFUsageItem
func (NullableWAFUsageItem) IsSet ¶
func (v NullableWAFUsageItem) IsSet() bool
func (NullableWAFUsageItem) MarshalJSON ¶
func (v NullableWAFUsageItem) MarshalJSON() ([]byte, error)
func (*NullableWAFUsageItem) Set ¶
func (v *NullableWAFUsageItem) Set(val *WAFUsageItem)
func (*NullableWAFUsageItem) UnmarshalJSON ¶
func (v *NullableWAFUsageItem) UnmarshalJSON(src []byte) error
func (*NullableWAFUsageItem) Unset ¶
func (v *NullableWAFUsageItem) Unset()
type Operator ¶ added in v0.13.0
type Operator string
Operator The operational evaluation type definition macro.
const ( OPERATOR_OPERATOR_BEGINS_WITH Operator = "OPERATOR_BEGINS_WITH" OPERATOR_OPERATOR_CONTAINS Operator = "OPERATOR_CONTAINS" OPERATOR_OPERATOR_ENDS_WITH Operator = "OPERATOR_ENDS_WITH" OPERATOR_OPERATOR_EQ Operator = "OPERATOR_EQ" OPERATOR_OPERATOR_GE Operator = "OPERATOR_GE" OPERATOR_OPERATOR_GT Operator = "OPERATOR_GT" OPERATOR_OPERATOR_IP_MATCH Operator = "OPERATOR_IP_MATCH" OPERATOR_OPERATOR_LE Operator = "OPERATOR_LE" OPERATOR_OPERATOR_LT Operator = "OPERATOR_LT" OPERATOR_OPERATOR_RX Operator = "OPERATOR_RX" OPERATOR_OPERATOR_STREQ Operator = "OPERATOR_STREQ" OPERATOR_OPERATOR_STRMATCH Operator = "OPERATOR_STRMATCH" OPERATOR_OPERATOR_VALIDATE_SCHEMA Operator = "OPERATOR_VALIDATE_SCHEMA" OPERATOR_OPERATOR_VALIDATE_URL_ENCODING Operator = "OPERATOR_VALIDATE_URL_ENCODING" OPERATOR_OPERATOR_VALIDATE_UTF8_ENCODING Operator = "OPERATOR_VALIDATE_UTF8_ENCODING" OPERATOR_OPERATOR_WITHIN Operator = "OPERATOR_WITHIN" OPERATOR_UNKNOWN_DEFAULT_OPEN_API Operator = "unknown_default_open_api" )
List of Operator
func NewOperatorFromValue ¶ added in v0.13.0
NewOperatorFromValue returns a pointer to a valid Operator for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Operator) IsValid ¶ added in v0.13.0
IsValid return true if the value is valid for the enum, false otherwise
func (*Operator) UnmarshalJSON ¶ added in v0.13.0
type PatchMRSRule ¶
type PatchMRSRule struct {
Mode *Mode `json:"mode,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchMRSRule struct for PatchMRSRule
func NewPatchMRSRule ¶
func NewPatchMRSRule() *PatchMRSRule
NewPatchMRSRule instantiates a new PatchMRSRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchMRSRuleWithDefaults ¶
func NewPatchMRSRuleWithDefaults() *PatchMRSRule
NewPatchMRSRuleWithDefaults instantiates a new PatchMRSRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchMRSRule) GetMode ¶
func (o *PatchMRSRule) GetMode() Mode
GetMode returns the Mode field value if set, zero value otherwise.
func (*PatchMRSRule) GetModeOk ¶
func (o *PatchMRSRule) GetModeOk() (*Mode, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchMRSRule) HasMode ¶
func (o *PatchMRSRule) HasMode() bool
HasMode returns a boolean if a field has been set.
func (PatchMRSRule) MarshalJSON ¶
func (o PatchMRSRule) MarshalJSON() ([]byte, error)
func (*PatchMRSRule) SetMode ¶
func (o *PatchMRSRule) SetMode(v Mode)
SetMode gets a reference to the given Mode and assigns it to the Mode field.
func (PatchMRSRule) ToMap ¶
func (o PatchMRSRule) ToMap() (map[string]interface{}, error)
func (*PatchMRSRule) UnmarshalJSON ¶
func (o *PatchMRSRule) UnmarshalJSON(data []byte) (err error)
type PatchMRSRuleGroup ¶
type PatchMRSRuleGroup struct {
Rules *map[string]PatchMRSRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchMRSRuleGroup struct for PatchMRSRuleGroup
func NewPatchMRSRuleGroup ¶
func NewPatchMRSRuleGroup() *PatchMRSRuleGroup
NewPatchMRSRuleGroup instantiates a new PatchMRSRuleGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchMRSRuleGroupWithDefaults ¶
func NewPatchMRSRuleGroupWithDefaults() *PatchMRSRuleGroup
NewPatchMRSRuleGroupWithDefaults instantiates a new PatchMRSRuleGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchMRSRuleGroup) GetRules ¶
func (o *PatchMRSRuleGroup) GetRules() map[string]PatchMRSRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*PatchMRSRuleGroup) GetRulesOk ¶
func (o *PatchMRSRuleGroup) GetRulesOk() (*map[string]PatchMRSRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchMRSRuleGroup) HasRules ¶
func (o *PatchMRSRuleGroup) HasRules() bool
HasRules returns a boolean if a field has been set.
func (PatchMRSRuleGroup) MarshalJSON ¶
func (o PatchMRSRuleGroup) MarshalJSON() ([]byte, error)
func (*PatchMRSRuleGroup) SetRules ¶
func (o *PatchMRSRuleGroup) SetRules(v map[string]PatchMRSRule)
SetRules gets a reference to the given map[string]PatchMRSRule and assigns it to the Rules field.
func (PatchMRSRuleGroup) ToMap ¶
func (o PatchMRSRuleGroup) ToMap() (map[string]interface{}, error)
func (*PatchMRSRuleGroup) UnmarshalJSON ¶
func (o *PatchMRSRuleGroup) UnmarshalJSON(data []byte) (err error)
type PatchManagedRuleSetPayload ¶
type PatchManagedRuleSetPayload struct {
// Map of Managed Rule Set groups to be patched. The key is the Group ID (e.g., 942 for SQL Injection). Only provided rules within the group will be updated; others remain unchanged.
Groups *map[string]PatchMRSRuleGroup `json:"groups,omitempty"`
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
PatchManagedRuleSetPayload PatchManagedRuleSetRequest updates a rules configuration.
func NewPatchManagedRuleSetPayload ¶
func NewPatchManagedRuleSetPayload() *PatchManagedRuleSetPayload
NewPatchManagedRuleSetPayload instantiates a new PatchManagedRuleSetPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchManagedRuleSetPayloadWithDefaults ¶
func NewPatchManagedRuleSetPayloadWithDefaults() *PatchManagedRuleSetPayload
NewPatchManagedRuleSetPayloadWithDefaults instantiates a new PatchManagedRuleSetPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchManagedRuleSetPayload) GetGroups ¶
func (o *PatchManagedRuleSetPayload) GetGroups() map[string]PatchMRSRuleGroup
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 ¶
func (o *PatchManagedRuleSetPayload) SetGroups(v map[string]PatchMRSRuleGroup)
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 ¶
HasCustomRuleGroup returns a boolean if a field has been set.
func (*Quotas) HasManagedRuleSet ¶
HasManagedRuleSet returns a boolean if a field has been set.
func (*Quotas) HasWebApplicationFirewall ¶
HasWebApplicationFirewall returns a boolean if a field has been set.
func (Quotas) MarshalJSON ¶
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) UnmarshalJSON ¶
type Severity ¶ added in v0.13.0
type Severity string
Severity Severity classification metric used by internal analytics graphs.
const ( SEVERITY_SEVERITY_EMERGENCY Severity = "SEVERITY_EMERGENCY" SEVERITY_SEVERITY_ALERT Severity = "SEVERITY_ALERT" SEVERITY_SEVERITY_CRITICAL Severity = "SEVERITY_CRITICAL" SEVERITY_SEVERITY_ERROR Severity = "SEVERITY_ERROR" SEVERITY_SEVERITY_WARNING Severity = "SEVERITY_WARNING" SEVERITY_SEVERITY_NOTICE Severity = "SEVERITY_NOTICE" SEVERITY_SEVERITY_INFO Severity = "SEVERITY_INFO" SEVERITY_SEVERITY_DEBUG Severity = "SEVERITY_DEBUG" SEVERITY_UNKNOWN_DEFAULT_OPEN_API Severity = "unknown_default_open_api" )
List of Severity
func NewSeverityFromValue ¶ added in v0.13.0
NewSeverityFromValue returns a pointer to a valid Severity for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Severity) IsValid ¶ added in v0.13.0
IsValid return true if the value is valid for the enum, false otherwise
func (*Severity) UnmarshalJSON ¶ added in v0.13.0
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) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*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 ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Status) GetMessageOk ¶
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) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Status) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Status) MarshalJSON ¶
func (*Status) SetCode ¶
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 ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Status) UnmarshalJSON ¶
type Transformation ¶ added in v0.13.0
type Transformation string
Transformation the model 'Transformation'
const ( TRANSFORMATION_TRANSFORMATION_LENGTH Transformation = "TRANSFORMATION_LENGTH" TRANSFORMATION_TRANSFORMATION_LOWERCASE Transformation = "TRANSFORMATION_LOWERCASE" TRANSFORMATION_TRANSFORMATION_NONE Transformation = "TRANSFORMATION_NONE" TRANSFORMATION_TRANSFORMATION_TRIM Transformation = "TRANSFORMATION_TRIM" TRANSFORMATION_TRANSFORMATION_UPPERCASE Transformation = "TRANSFORMATION_UPPERCASE" TRANSFORMATION_TRANSFORMATION_UTF8_TO_UNICODE Transformation = "TRANSFORMATION_UTF8_TO_UNICODE" TRANSFORMATION_UNKNOWN_DEFAULT_OPEN_API Transformation = "unknown_default_open_api" )
List of Transformation
func NewTransformationFromValue ¶ added in v0.13.0
func NewTransformationFromValue(v string) (*Transformation, error)
NewTransformationFromValue returns a pointer to a valid Transformation for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Transformation) IsValid ¶ added in v0.13.0
func (v Transformation) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (Transformation) Ptr ¶ added in v0.13.0
func (v Transformation) Ptr() *Transformation
Ptr returns reference to Transformation value
func (*Transformation) UnmarshalJSON ¶ added in v0.13.0
func (v *Transformation) UnmarshalJSON(src []byte) error
type Type ¶ added in v0.13.0
type Type string
Type Set the managed rule set type.
const ( TYPE_TYPE_OWASP_CRS Type = "TYPE_OWASP_CRS" TYPE_UNKNOWN_DEFAULT_OPEN_API Type = "unknown_default_open_api" )
List of Type
func NewTypeFromValue ¶ added in v0.13.0
NewTypeFromValue returns a pointer to a valid Type for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Type) IsValid ¶ added in v0.13.0
IsValid return true if the value is valid for the enum, false otherwise
func (*Type) UnmarshalJSON ¶ added in v0.13.0
type UpdateCustomRuleGroupPayload ¶ added in v0.12.0
type UpdateCustomRuleGroupPayload struct {
// Custom rule group name. Immutable resource key. Provided via URL path.
Name string `json:"name" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
// The collection of custom rule group SecLang parameters forming this execution group. Replaces the existing rules atomically.
Rules []CreateCustomRule `json:"rules"`
AdditionalProperties map[string]interface{}
}
UpdateCustomRuleGroupPayload Request payload for updating an existing CRG. Replaces the rules array atomically.
func NewUpdateCustomRuleGroupPayload ¶ added in v0.12.0
func NewUpdateCustomRuleGroupPayload(name string, rules []CreateCustomRule) *UpdateCustomRuleGroupPayload
NewUpdateCustomRuleGroupPayload instantiates a new UpdateCustomRuleGroupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateCustomRuleGroupPayloadWithDefaults ¶ added in v0.12.0
func NewUpdateCustomRuleGroupPayloadWithDefaults() *UpdateCustomRuleGroupPayload
NewUpdateCustomRuleGroupPayloadWithDefaults instantiates a new UpdateCustomRuleGroupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateCustomRuleGroupPayload) GetName ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetName() string
GetName returns the Name field value
func (*UpdateCustomRuleGroupPayload) GetNameOk ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateCustomRuleGroupPayload) GetProjectId ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*UpdateCustomRuleGroupPayload) GetProjectIdOk ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomRuleGroupPayload) GetRegion ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*UpdateCustomRuleGroupPayload) GetRegionOk ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomRuleGroupPayload) GetRules ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetRules() []CreateCustomRule
GetRules returns the Rules field value
func (*UpdateCustomRuleGroupPayload) GetRulesOk ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)
GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.
func (*UpdateCustomRuleGroupPayload) HasProjectId ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*UpdateCustomRuleGroupPayload) HasRegion ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (UpdateCustomRuleGroupPayload) MarshalJSON ¶ added in v0.12.0
func (o UpdateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
func (*UpdateCustomRuleGroupPayload) SetName ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) SetName(v string)
SetName sets field value
func (*UpdateCustomRuleGroupPayload) SetProjectId ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*UpdateCustomRuleGroupPayload) SetRegion ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*UpdateCustomRuleGroupPayload) SetRules ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) SetRules(v []CreateCustomRule)
SetRules sets field value
func (UpdateCustomRuleGroupPayload) ToMap ¶ added in v0.12.0
func (o UpdateCustomRuleGroupPayload) ToMap() (map[string]interface{}, error)
func (*UpdateCustomRuleGroupPayload) UnmarshalJSON ¶ added in v0.12.0
func (o *UpdateCustomRuleGroupPayload) UnmarshalJSON(data []byte) (err error)
type UpdateWAFPayload ¶
type UpdateWAFPayload struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name string `json:"name" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
UpdateWAFPayload UpdateWAFRequest updates a WAF if rules changed.
func NewUpdateWAFPayload ¶
func NewUpdateWAFPayload(name string) *UpdateWAFPayload
NewUpdateWAFPayload instantiates a new UpdateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateWAFPayloadWithDefaults ¶
func NewUpdateWAFPayloadWithDefaults() *UpdateWAFPayload
NewUpdateWAFPayloadWithDefaults instantiates a new UpdateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateWAFPayload) GetCustomRuleGroupName ¶
func (o *UpdateWAFPayload) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetCustomRuleGroupNameOk ¶
func (o *UpdateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetLabels ¶
func (o *UpdateWAFPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetLabelsOk ¶
func (o *UpdateWAFPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetManagedRuleSetName ¶
func (o *UpdateWAFPayload) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetManagedRuleSetNameOk ¶
func (o *UpdateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetName ¶
func (o *UpdateWAFPayload) GetName() string
GetName returns the Name field value
func (*UpdateWAFPayload) GetNameOk ¶
func (o *UpdateWAFPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetProjectId ¶
func (o *UpdateWAFPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetProjectIdOk ¶
func (o *UpdateWAFPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetRegion ¶
func (o *UpdateWAFPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetRegionOk ¶
func (o *UpdateWAFPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) HasCustomRuleGroupName ¶
func (o *UpdateWAFPayload) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasLabels ¶
func (o *UpdateWAFPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasManagedRuleSetName ¶
func (o *UpdateWAFPayload) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasProjectId ¶
func (o *UpdateWAFPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasRegion ¶
func (o *UpdateWAFPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (UpdateWAFPayload) MarshalJSON ¶
func (o UpdateWAFPayload) MarshalJSON() ([]byte, error)
func (*UpdateWAFPayload) SetCustomRuleGroupName ¶
func (o *UpdateWAFPayload) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*UpdateWAFPayload) SetLabels ¶
func (o *UpdateWAFPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateWAFPayload) SetManagedRuleSetName ¶
func (o *UpdateWAFPayload) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*UpdateWAFPayload) SetName ¶
func (o *UpdateWAFPayload) SetName(v string)
SetName sets field value
func (*UpdateWAFPayload) SetProjectId ¶
func (o *UpdateWAFPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*UpdateWAFPayload) SetRegion ¶
func (o *UpdateWAFPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (UpdateWAFPayload) ToMap ¶
func (o UpdateWAFPayload) ToMap() (map[string]interface{}, error)
func (*UpdateWAFPayload) UnmarshalJSON ¶
func (o *UpdateWAFPayload) UnmarshalJSON(data []byte) (err error)
type Variable ¶ added in v0.13.0
type Variable string
Variable The targeted validation engine variable macro.
const ( VARIABLE_VARIABLE_ARGS_GET Variable = "VARIABLE_ARGS_GET" VARIABLE_VARIABLE_ARGS_POST Variable = "VARIABLE_ARGS_POST" VARIABLE_VARIABLE_FULL_REQUEST_LENGTH Variable = "VARIABLE_FULL_REQUEST_LENGTH" VARIABLE_VARIABLE_MATCHED_VAR Variable = "VARIABLE_MATCHED_VAR" VARIABLE_VARIABLE_QUERY_STRING Variable = "VARIABLE_QUERY_STRING" VARIABLE_VARIABLE_REMOTE_ADDR Variable = "VARIABLE_REMOTE_ADDR" VARIABLE_VARIABLE_REMOTE_PORT Variable = "VARIABLE_REMOTE_PORT" VARIABLE_VARIABLE_REQUEST_BASENAME Variable = "VARIABLE_REQUEST_BASENAME" VARIABLE_VARIABLE_REQUEST_BODY Variable = "VARIABLE_REQUEST_BODY" VARIABLE_VARIABLE_REQUEST_BODY_LENGTH Variable = "VARIABLE_REQUEST_BODY_LENGTH" VARIABLE_VARIABLE_REQUEST_COOKIES Variable = "VARIABLE_REQUEST_COOKIES" VARIABLE_VARIABLE_REQUEST_HEADERS Variable = "VARIABLE_REQUEST_HEADERS" VARIABLE_VARIABLE_REQUEST_HEADERS_NAMES Variable = "VARIABLE_REQUEST_HEADERS_NAMES" VARIABLE_VARIABLE_REQUEST_METHOD Variable = "VARIABLE_REQUEST_METHOD" VARIABLE_VARIABLE_REQUEST_PROTOCOL Variable = "VARIABLE_REQUEST_PROTOCOL" VARIABLE_VARIABLE_REQUEST_URI_RAW Variable = "VARIABLE_REQUEST_URI_RAW" VARIABLE_VARIABLE_RESPONSE_BODY Variable = "VARIABLE_RESPONSE_BODY" VARIABLE_VARIABLE_RESPONSE_CONTENT_LENGTH Variable = "VARIABLE_RESPONSE_CONTENT_LENGTH" VARIABLE_VARIABLE_RESPONSE_HEADERS Variable = "VARIABLE_RESPONSE_HEADERS" VARIABLE_VARIABLE_RESPONSE_HEADERS_NAMES Variable = "VARIABLE_RESPONSE_HEADERS_NAMES" VARIABLE_VARIABLE_RESPONSE_PROTOCOL Variable = "VARIABLE_RESPONSE_PROTOCOL" VARIABLE_VARIABLE_RESPONSE_STATUS Variable = "VARIABLE_RESPONSE_STATUS" VARIABLE_UNKNOWN_DEFAULT_OPEN_API Variable = "unknown_default_open_api" )
List of Variable
func NewVariableFromValue ¶ added in v0.13.0
NewVariableFromValue returns a pointer to a valid Variable for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Variable) IsValid ¶ added in v0.13.0
IsValid return true if the value is valid for the enum, false otherwise
func (*Variable) UnmarshalJSON ¶ added in v0.13.0
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) GetCountOk ¶
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) MarshalJSON ¶
func (*WAFUsage) SetCount ¶
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) UnmarshalJSON ¶
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)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_action.go
- model_behaviour.go
- model_condition.go
- model_condition_operator.go
- model_condition_variable.go
- model_create_custom_rule.go
- model_create_custom_rule_group_payload.go
- model_create_managed_rule_set_payload.go
- model_create_waf_payload.go
- model_crg_config_quota.go
- model_crg_usage.go
- model_get_behaviour.go
- model_get_custom_rule.go
- model_get_custom_rule_group_response.go
- model_get_limited_managed_rule_set_response.go
- model_get_managed_rule_set_response.go
- model_get_quota_response.go
- model_get_waf_response.go
- model_google_protobuf_any.go
- model_list_custom_rule_group_response.go
- model_list_managed_rule_set_response.go
- model_list_waf_response.go
- model_mode.go
- model_mrs_config_quota.go
- model_mrs_rule.go
- model_mrs_rule_group.go
- model_mrs_usage.go
- model_operator.go
- model_patch_managed_rule_set_payload.go
- model_patch_mrs_rule.go
- model_patch_mrs_rule_group.go
- model_quotas.go
- model_severity.go
- model_status.go
- model_transformation.go
- model_type.go
- model_update_custom_rule_group_payload.go
- model_update_waf_payload.go
- model_variable.go
- model_waf_config_quota.go
- model_waf_usage.go
- model_waf_usage_item.go
- response.go
- utils.go