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 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 ApiUpdateWAFRequest
- type Behaviour
- func (o *Behaviour) GetAction() BehaviourAction
- func (o *Behaviour) GetActionOk() (*BehaviourAction, 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) HasAction() bool
- func (o *Behaviour) HasLog() bool
- func (o *Behaviour) HasLogMsg() bool
- func (o Behaviour) MarshalJSON() ([]byte, error)
- func (o *Behaviour) SetAction(v BehaviourAction)
- 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 BehaviourAction
- 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() []ConditionTransformationsInner
- func (o *Condition) GetTransformationsOk() ([]ConditionTransformationsInner, bool)
- func (o *Condition) GetVariable() ConditionVariable
- func (o *Condition) GetVariableOk() (*ConditionVariable, bool)
- func (o *Condition) HasOperator() bool
- func (o *Condition) HasTransformations() bool
- func (o *Condition) HasVariable() bool
- func (o Condition) MarshalJSON() ([]byte, error)
- func (o *Condition) SetOperator(v ConditionOperator)
- func (o *Condition) SetTransformations(v []ConditionTransformationsInner)
- 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() ConditionOperatorType
- func (o *ConditionOperator) GetTypeOk() (*ConditionOperatorType, bool)
- func (o *ConditionOperator) GetValue() string
- func (o *ConditionOperator) GetValueOk() (*string, bool)
- func (o *ConditionOperator) HasType() bool
- func (o *ConditionOperator) HasValue() bool
- func (o ConditionOperator) MarshalJSON() ([]byte, error)
- func (o *ConditionOperator) SetType(v ConditionOperatorType)
- func (o *ConditionOperator) SetValue(v string)
- func (o ConditionOperator) ToMap() (map[string]interface{}, error)
- func (o *ConditionOperator) UnmarshalJSON(data []byte) (err error)
- type ConditionOperatorType
- type ConditionTransformationsInner
- type ConditionVariable
- func (o *ConditionVariable) GetType() ConditionVariableType
- func (o *ConditionVariable) GetTypeOk() (*ConditionVariableType, bool)
- func (o *ConditionVariable) GetValue() string
- func (o *ConditionVariable) GetValueOk() (*string, bool)
- func (o *ConditionVariable) HasType() bool
- func (o *ConditionVariable) HasValue() bool
- func (o ConditionVariable) MarshalJSON() ([]byte, error)
- func (o *ConditionVariable) SetType(v ConditionVariableType)
- func (o *ConditionVariable) SetValue(v string)
- func (o ConditionVariable) ToMap() (map[string]interface{}, error)
- func (o *ConditionVariable) UnmarshalJSON(data []byte) (err error)
- type ConditionVariableType
- 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) HasBehaviour() bool
- func (o *CreateCustomRule) HasConditions() 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) HasName() bool
- func (o *CreateCustomRuleGroupPayload) HasProjectId() bool
- func (o *CreateCustomRuleGroupPayload) HasRegion() bool
- func (o *CreateCustomRuleGroupPayload) HasRules() 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() MRSType
- func (o *CreateManagedRuleSetPayload) GetTypeOk() (*MRSType, bool)
- func (o *CreateManagedRuleSetPayload) HasName() bool
- func (o *CreateManagedRuleSetPayload) HasProjectId() bool
- func (o *CreateManagedRuleSetPayload) HasRegion() bool
- func (o *CreateManagedRuleSetPayload) HasType() 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 MRSType)
- 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) HasName() 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) 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)
- func (a DefaultAPIServiceMock) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
- func (a DefaultAPIServiceMock) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a DefaultAPIServiceMock) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
- func (a DefaultAPIServiceMock) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
- func (a DefaultAPIServiceMock) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
- func (a DefaultAPIServiceMock) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
- func (a DefaultAPIServiceMock) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
- func (a DefaultAPIServiceMock) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
- func (a DefaultAPIServiceMock) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
- func (a DefaultAPIServiceMock) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
- func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
- func (a DefaultAPIServiceMock) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
- func (a DefaultAPIServiceMock) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
- func (a DefaultAPIServiceMock) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
- func (a DefaultAPIServiceMock) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
- func (a DefaultAPIServiceMock) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
- func (a DefaultAPIServiceMock) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
- func (a DefaultAPIServiceMock) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
- func (a DefaultAPIServiceMock) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
- func (a DefaultAPIServiceMock) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
- func (a DefaultAPIServiceMock) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
- func (a DefaultAPIServiceMock) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
- func (a DefaultAPIServiceMock) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
- type GetBehaviour
- func (o *GetBehaviour) GetAction() GetBehaviourAction
- func (o *GetBehaviour) GetActionOk() (*GetBehaviourAction, 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() GetBehaviourSeverity
- func (o *GetBehaviour) GetSeverityOk() (*GetBehaviourSeverity, 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 GetBehaviourAction)
- func (o *GetBehaviour) SetLog(v bool)
- func (o *GetBehaviour) SetLogMsg(v string)
- func (o *GetBehaviour) SetSeverity(v GetBehaviourSeverity)
- func (o GetBehaviour) ToMap() (map[string]interface{}, error)
- func (o *GetBehaviour) UnmarshalJSON(data []byte) (err error)
- type GetBehaviourAction
- type GetBehaviourSeverity
- 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() MRSType1
- func (o *GetLimitedManagedRuleSetResponse) GetTypeOk() (*MRSType1, 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 MRSType1)
- 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() MRSType2
- func (o *GetManagedRuleSetResponse) GetTypeOk() (*MRSType2, 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 MRSType2)
- 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 MRSType
- type MRSType1
- type MRSType2
- 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 Mode1
- type NullableBehaviour
- type NullableBehaviourAction
- func (v NullableBehaviourAction) Get() *BehaviourAction
- func (v NullableBehaviourAction) IsSet() bool
- func (v NullableBehaviourAction) MarshalJSON() ([]byte, error)
- func (v *NullableBehaviourAction) Set(val *BehaviourAction)
- func (v *NullableBehaviourAction) UnmarshalJSON(src []byte) error
- func (v *NullableBehaviourAction) Unset()
- 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 NullableConditionOperatorType
- func (v NullableConditionOperatorType) Get() *ConditionOperatorType
- func (v NullableConditionOperatorType) IsSet() bool
- func (v NullableConditionOperatorType) MarshalJSON() ([]byte, error)
- func (v *NullableConditionOperatorType) Set(val *ConditionOperatorType)
- func (v *NullableConditionOperatorType) UnmarshalJSON(src []byte) error
- func (v *NullableConditionOperatorType) Unset()
- type NullableConditionTransformationsInner
- func (v NullableConditionTransformationsInner) Get() *ConditionTransformationsInner
- func (v NullableConditionTransformationsInner) IsSet() bool
- func (v NullableConditionTransformationsInner) MarshalJSON() ([]byte, error)
- func (v *NullableConditionTransformationsInner) Set(val *ConditionTransformationsInner)
- func (v *NullableConditionTransformationsInner) UnmarshalJSON(src []byte) error
- func (v *NullableConditionTransformationsInner) 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 NullableConditionVariableType
- func (v NullableConditionVariableType) Get() *ConditionVariableType
- func (v NullableConditionVariableType) IsSet() bool
- func (v NullableConditionVariableType) MarshalJSON() ([]byte, error)
- func (v *NullableConditionVariableType) Set(val *ConditionVariableType)
- func (v *NullableConditionVariableType) UnmarshalJSON(src []byte) error
- func (v *NullableConditionVariableType) 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 NullableGetBehaviourAction
- func (v NullableGetBehaviourAction) Get() *GetBehaviourAction
- func (v NullableGetBehaviourAction) IsSet() bool
- func (v NullableGetBehaviourAction) MarshalJSON() ([]byte, error)
- func (v *NullableGetBehaviourAction) Set(val *GetBehaviourAction)
- func (v *NullableGetBehaviourAction) UnmarshalJSON(src []byte) error
- func (v *NullableGetBehaviourAction) Unset()
- type NullableGetBehaviourSeverity
- func (v NullableGetBehaviourSeverity) Get() *GetBehaviourSeverity
- func (v NullableGetBehaviourSeverity) IsSet() bool
- func (v NullableGetBehaviourSeverity) MarshalJSON() ([]byte, error)
- func (v *NullableGetBehaviourSeverity) Set(val *GetBehaviourSeverity)
- func (v *NullableGetBehaviourSeverity) UnmarshalJSON(src []byte) error
- func (v *NullableGetBehaviourSeverity) 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 NullableMRSType
- type NullableMRSType1
- type NullableMRSType2
- type NullableMRSUsage
- type NullableMode
- type NullableMode1
- 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 NullableStatus
- type NullableString
- type NullableTime
- 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 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 PatchMRSRule
- func (o *PatchMRSRule) GetMode() Mode1
- func (o *PatchMRSRule) GetModeOk() (*Mode1, bool)
- func (o *PatchMRSRule) HasMode() bool
- func (o PatchMRSRule) MarshalJSON() ([]byte, error)
- func (o *PatchMRSRule) SetMode(v Mode1)
- 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 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 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) HasName() 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 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 AllowedBehaviourActionEnumValues = []BehaviourAction{
"ACTION_UNSPECIFIED",
"ACTION_DENY",
"ACTION_PASS",
"ACTION_ALLOW",
"unknown_default_open_api",
}
All allowed values of BehaviourAction enum
var AllowedConditionOperatorTypeEnumValues = []ConditionOperatorType{
"OPERATOR_UNSPECIFIED",
"OPERATOR_BEGINS_WITH",
"OPERATOR_CONTAINS",
"OPERATOR_ENDS_WITH",
"OPERATOR_EQ",
"OPERATOR_GE",
"OPERATOR_GT",
"OPERATOR_IP_MATCH",
"OPERATOR_LE",
"OPERATOR_LT",
"OPERATOR_RX",
"OPERATOR_STREQ",
"OPERATOR_STRMATCH",
"OPERATOR_VALIDATE_SCHEMA",
"OPERATOR_VALIDATE_URL_ENCODING",
"OPERATOR_VALIDATE_UTF8_ENCODING",
"OPERATOR_WITHIN",
"unknown_default_open_api",
}
All allowed values of ConditionOperatorType enum
var AllowedConditionTransformationsInnerEnumValues = []ConditionTransformationsInner{
"TRANSFORMATION_UNSPECIFIED",
"TRANSFORMATION_LENGTH",
"TRANSFORMATION_LOWERCASE",
"TRANSFORMATION_NONE",
"TRANSFORMATION_TRIM",
"TRANSFORMATION_UPPERCASE",
"TRANSFORMATION_UTF8_TO_UNICODE",
"unknown_default_open_api",
}
All allowed values of ConditionTransformationsInner enum
var AllowedConditionVariableTypeEnumValues = []ConditionVariableType{
"VARIABLE_UNSPECIFIED",
"VARIABLE_ARGS_GET",
"VARIABLE_ARGS_POST",
"VARIABLE_FULL_REQUEST_LENGTH",
"VARIABLE_MATCHED_VAR",
"VARIABLE_QUERY_STRING",
"VARIABLE_REMOTE_ADDR",
"VARIABLE_REMOTE_PORT",
"VARIABLE_REQUEST_BASENAME",
"VARIABLE_REQUEST_BODY",
"VARIABLE_REQUEST_BODY_LENGTH",
"VARIABLE_REQUEST_COOKIES",
"VARIABLE_REQUEST_HEADERS",
"VARIABLE_REQUEST_HEADERS_NAMES",
"VARIABLE_REQUEST_METHOD",
"VARIABLE_REQUEST_PROTOCOL",
"VARIABLE_REQUEST_URI_RAW",
"VARIABLE_RESPONSE_BODY",
"VARIABLE_RESPONSE_CONTENT_LENGTH",
"VARIABLE_RESPONSE_HEADERS",
"VARIABLE_RESPONSE_HEADERS_NAMES",
"VARIABLE_RESPONSE_PROTOCOL",
"VARIABLE_RESPONSE_STATUS",
"unknown_default_open_api",
}
All allowed values of ConditionVariableType enum
var AllowedGetBehaviourActionEnumValues = []GetBehaviourAction{
"ACTION_UNSPECIFIED",
"ACTION_DENY",
"ACTION_PASS",
"ACTION_ALLOW",
"unknown_default_open_api",
}
All allowed values of GetBehaviourAction enum
var AllowedGetBehaviourSeverityEnumValues = []GetBehaviourSeverity{
"SEVERITY_UNSPECIFIED",
"SEVERITY_EMERGENCY",
"SEVERITY_ALERT",
"SEVERITY_CRITICAL",
"SEVERITY_ERROR",
"SEVERITY_WARNING",
"SEVERITY_NOTICE",
"SEVERITY_INFO",
"SEVERITY_DEBUG",
"unknown_default_open_api",
}
All allowed values of GetBehaviourSeverity enum
var AllowedMRSType1EnumValues = []MRSType1{
"TYPE_UNSPECIFIED",
"TYPE_OWASP_CRS",
"unknown_default_open_api",
}
All allowed values of MRSType1 enum
var AllowedMRSType2EnumValues = []MRSType2{
"TYPE_UNSPECIFIED",
"TYPE_OWASP_CRS",
"unknown_default_open_api",
}
All allowed values of MRSType2 enum
var AllowedMRSTypeEnumValues = []MRSType{
"TYPE_UNSPECIFIED",
"TYPE_OWASP_CRS",
"unknown_default_open_api",
}
All allowed values of MRSType enum
var AllowedMode1EnumValues = []Mode1{
"MODE_UNSPECIFIED",
"MODE_ENABLED",
"MODE_DISABLED",
"MODE_LOG_ONLY",
"unknown_default_open_api",
}
All allowed values of Mode1 enum
var AllowedModeEnumValues = []Mode{
"MODE_UNSPECIFIED",
"MODE_ENABLED",
"MODE_DISABLED",
"MODE_LOG_ONLY",
"unknown_default_open_api",
}
All allowed values of Mode enum
Functions ¶
func CacheExpires ¶
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 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 ApiUpdateWAFRequest ¶
type ApiUpdateWAFRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateWAFRequest) Execute ¶
func (r ApiUpdateWAFRequest) Execute() (*GetWAFResponse, error)
func (ApiUpdateWAFRequest) UpdateWAFPayload ¶
func (r ApiUpdateWAFRequest) UpdateWAFPayload(updateWAFPayload UpdateWAFPayload) ApiUpdateWAFRequest
type Behaviour ¶
type Behaviour struct {
Action *BehaviourAction `json:"action,omitempty"`
// Determines whether an entry should be generated in the security ledger upon a rule hit.
Log *bool `json:"log,omitempty"`
// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
LogMsg *string `json:"logMsg,omitempty"`
AdditionalProperties map[string]interface{}
}
Behaviour struct for Behaviour
func NewBehaviour ¶
func NewBehaviour() *Behaviour
NewBehaviour instantiates a new Behaviour object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBehaviourWithDefaults ¶
func NewBehaviourWithDefaults() *Behaviour
NewBehaviourWithDefaults instantiates a new Behaviour object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Behaviour) GetAction ¶
func (o *Behaviour) GetAction() BehaviourAction
GetAction returns the Action field value if set, zero value otherwise.
func (*Behaviour) GetActionOk ¶
func (o *Behaviour) GetActionOk() (*BehaviourAction, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Behaviour) 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) SetAction ¶
func (o *Behaviour) SetAction(v BehaviourAction)
SetAction gets a reference to the given BehaviourAction and assigns it to the Action field.
func (*Behaviour) SetLog ¶
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 BehaviourAction ¶
type BehaviourAction string
BehaviourAction The protective stance action. ACTION_DENY forces a 403 status response code.
const ( BEHAVIOURACTION_ACTION_UNSPECIFIED BehaviourAction = "ACTION_UNSPECIFIED" BEHAVIOURACTION_ACTION_DENY BehaviourAction = "ACTION_DENY" BEHAVIOURACTION_ACTION_PASS BehaviourAction = "ACTION_PASS" BEHAVIOURACTION_ACTION_ALLOW BehaviourAction = "ACTION_ALLOW" BEHAVIOURACTION_UNKNOWN_DEFAULT_OPEN_API BehaviourAction = "unknown_default_open_api" )
List of Behaviour_action
func NewBehaviourActionFromValue ¶
func NewBehaviourActionFromValue(v string) (*BehaviourAction, error)
NewBehaviourActionFromValue returns a pointer to a valid BehaviourAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BehaviourAction) IsValid ¶
func (v BehaviourAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BehaviourAction) Ptr ¶
func (v BehaviourAction) Ptr() *BehaviourAction
Ptr returns reference to Behaviour_action value
func (*BehaviourAction) UnmarshalJSON ¶
func (v *BehaviourAction) UnmarshalJSON(src []byte) error
type CRGConfigQuota ¶
type CRGConfigQuota struct {
// The maximum number of custom rule groups in this project.
Limit *int32 `json:"limit,omitempty"`
// The number of custom rule groups that are currently existing in this project.
Usage *int32 `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
CRGConfigQuota CRG quotas holds the limit and usage for CRG resources
func NewCRGConfigQuota ¶
func NewCRGConfigQuota() *CRGConfigQuota
NewCRGConfigQuota instantiates a new CRGConfigQuota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCRGConfigQuotaWithDefaults ¶
func NewCRGConfigQuotaWithDefaults() *CRGConfigQuota
NewCRGConfigQuotaWithDefaults instantiates a new CRGConfigQuota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CRGConfigQuota) GetLimit ¶
func (o *CRGConfigQuota) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*CRGConfigQuota) GetLimitOk ¶
func (o *CRGConfigQuota) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CRGConfigQuota) GetUsage ¶
func (o *CRGConfigQuota) GetUsage() int32
GetUsage returns the Usage field value if set, zero value otherwise.
func (*CRGConfigQuota) GetUsageOk ¶
func (o *CRGConfigQuota) GetUsageOk() (*int32, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CRGConfigQuota) HasLimit ¶
func (o *CRGConfigQuota) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*CRGConfigQuota) HasUsage ¶
func (o *CRGConfigQuota) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (CRGConfigQuota) MarshalJSON ¶
func (o CRGConfigQuota) MarshalJSON() ([]byte, error)
func (*CRGConfigQuota) SetLimit ¶
func (o *CRGConfigQuota) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*CRGConfigQuota) SetUsage ¶
func (o *CRGConfigQuota) SetUsage(v int32)
SetUsage gets a reference to the given int32 and assigns it to the Usage field.
func (CRGConfigQuota) ToMap ¶
func (o CRGConfigQuota) ToMap() (map[string]interface{}, error)
func (*CRGConfigQuota) UnmarshalJSON ¶
func (o *CRGConfigQuota) UnmarshalJSON(data []byte) (err error)
type CRGUsage ¶
type CRGUsage struct {
// Number of WAF configurations actively using this rule group.
Count *int32 `json:"count,omitempty"`
// List of individual WAF configuration names that bind this rule group.
Items []string `json:"items,omitempty"`
AdditionalProperties map[string]interface{}
}
CRGUsage Tracking metrics for CRG resource utilization
func NewCRGUsage ¶
func NewCRGUsage() *CRGUsage
NewCRGUsage instantiates a new CRGUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCRGUsageWithDefaults ¶
func NewCRGUsageWithDefaults() *CRGUsage
NewCRGUsageWithDefaults instantiates a new CRGUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CRGUsage) 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,omitempty"`
// [HINT] Ordered processing adjustments applied to clean inputs before match checking.
Transformations []ConditionTransformationsInner `json:"transformations,omitempty"`
Variable *ConditionVariable `json:"variable,omitempty"`
AdditionalProperties map[string]interface{}
}
Condition struct for Condition
func NewCondition ¶
func NewCondition() *Condition
NewCondition instantiates a new Condition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionWithDefaults ¶
func NewConditionWithDefaults() *Condition
NewConditionWithDefaults instantiates a new Condition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Condition) GetOperator ¶
func (o *Condition) GetOperator() ConditionOperator
GetOperator returns the Operator field value if set, zero value otherwise.
func (*Condition) GetOperatorOk ¶
func (o *Condition) GetOperatorOk() (*ConditionOperator, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetTransformations ¶
func (o *Condition) GetTransformations() []ConditionTransformationsInner
GetTransformations returns the Transformations field value if set, zero value otherwise.
func (*Condition) GetTransformationsOk ¶
func (o *Condition) GetTransformationsOk() ([]ConditionTransformationsInner, bool)
GetTransformationsOk returns a tuple with the Transformations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) GetVariable ¶
func (o *Condition) GetVariable() ConditionVariable
GetVariable returns the Variable field value if set, zero value otherwise.
func (*Condition) GetVariableOk ¶
func (o *Condition) GetVariableOk() (*ConditionVariable, bool)
GetVariableOk returns a tuple with the Variable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Condition) HasOperator ¶
HasOperator returns a boolean if a field has been set.
func (*Condition) HasTransformations ¶
HasTransformations returns a boolean if a field has been set.
func (*Condition) HasVariable ¶
HasVariable returns a boolean if a field has been set.
func (Condition) MarshalJSON ¶
func (*Condition) SetOperator ¶
func (o *Condition) SetOperator(v ConditionOperator)
SetOperator gets a reference to the given ConditionOperator and assigns it to the Operator field.
func (*Condition) SetTransformations ¶
func (o *Condition) SetTransformations(v []ConditionTransformationsInner)
SetTransformations gets a reference to the given []ConditionTransformationsInner and assigns it to the Transformations field.
func (*Condition) SetVariable ¶
func (o *Condition) SetVariable(v ConditionVariable)
SetVariable gets a reference to the given ConditionVariable and assigns it to the Variable field.
func (*Condition) UnmarshalJSON ¶
type ConditionOperator ¶
type ConditionOperator struct {
Type *ConditionOperatorType `json:"type,omitempty"`
// The text or rule regex pattern arguments applied inside the operator execution loop.
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ConditionOperator struct for ConditionOperator
func NewConditionOperator ¶
func NewConditionOperator() *ConditionOperator
NewConditionOperator instantiates a new ConditionOperator object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionOperatorWithDefaults ¶
func NewConditionOperatorWithDefaults() *ConditionOperator
NewConditionOperatorWithDefaults instantiates a new ConditionOperator object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConditionOperator) GetType ¶
func (o *ConditionOperator) GetType() ConditionOperatorType
GetType returns the Type field value if set, zero value otherwise.
func (*ConditionOperator) GetTypeOk ¶
func (o *ConditionOperator) GetTypeOk() (*ConditionOperatorType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionOperator) GetValue ¶
func (o *ConditionOperator) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConditionOperator) GetValueOk ¶
func (o *ConditionOperator) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionOperator) HasType ¶
func (o *ConditionOperator) HasType() bool
HasType returns a boolean if a field has been set.
func (*ConditionOperator) HasValue ¶
func (o *ConditionOperator) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ConditionOperator) MarshalJSON ¶
func (o ConditionOperator) MarshalJSON() ([]byte, error)
func (*ConditionOperator) SetType ¶
func (o *ConditionOperator) SetType(v ConditionOperatorType)
SetType gets a reference to the given ConditionOperatorType and assigns it to the Type field.
func (*ConditionOperator) SetValue ¶
func (o *ConditionOperator) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (ConditionOperator) ToMap ¶
func (o ConditionOperator) ToMap() (map[string]interface{}, error)
func (*ConditionOperator) UnmarshalJSON ¶
func (o *ConditionOperator) UnmarshalJSON(data []byte) (err error)
type ConditionOperatorType ¶
type ConditionOperatorType string
ConditionOperatorType The operational evaluation type definition macro.
const ( CONDITIONOPERATORTYPE_OPERATOR_UNSPECIFIED ConditionOperatorType = "OPERATOR_UNSPECIFIED" CONDITIONOPERATORTYPE_OPERATOR_BEGINS_WITH ConditionOperatorType = "OPERATOR_BEGINS_WITH" CONDITIONOPERATORTYPE_OPERATOR_CONTAINS ConditionOperatorType = "OPERATOR_CONTAINS" CONDITIONOPERATORTYPE_OPERATOR_ENDS_WITH ConditionOperatorType = "OPERATOR_ENDS_WITH" CONDITIONOPERATORTYPE_OPERATOR_EQ ConditionOperatorType = "OPERATOR_EQ" CONDITIONOPERATORTYPE_OPERATOR_GE ConditionOperatorType = "OPERATOR_GE" CONDITIONOPERATORTYPE_OPERATOR_GT ConditionOperatorType = "OPERATOR_GT" CONDITIONOPERATORTYPE_OPERATOR_IP_MATCH ConditionOperatorType = "OPERATOR_IP_MATCH" CONDITIONOPERATORTYPE_OPERATOR_LE ConditionOperatorType = "OPERATOR_LE" CONDITIONOPERATORTYPE_OPERATOR_LT ConditionOperatorType = "OPERATOR_LT" CONDITIONOPERATORTYPE_OPERATOR_RX ConditionOperatorType = "OPERATOR_RX" CONDITIONOPERATORTYPE_OPERATOR_STREQ ConditionOperatorType = "OPERATOR_STREQ" CONDITIONOPERATORTYPE_OPERATOR_STRMATCH ConditionOperatorType = "OPERATOR_STRMATCH" CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_SCHEMA ConditionOperatorType = "OPERATOR_VALIDATE_SCHEMA" CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_URL_ENCODING ConditionOperatorType = "OPERATOR_VALIDATE_URL_ENCODING" CONDITIONOPERATORTYPE_OPERATOR_VALIDATE_UTF8_ENCODING ConditionOperatorType = "OPERATOR_VALIDATE_UTF8_ENCODING" CONDITIONOPERATORTYPE_OPERATOR_WITHIN ConditionOperatorType = "OPERATOR_WITHIN" CONDITIONOPERATORTYPE_UNKNOWN_DEFAULT_OPEN_API ConditionOperatorType = "unknown_default_open_api" )
List of ConditionOperator_type
func NewConditionOperatorTypeFromValue ¶
func NewConditionOperatorTypeFromValue(v string) (*ConditionOperatorType, error)
NewConditionOperatorTypeFromValue returns a pointer to a valid ConditionOperatorType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ConditionOperatorType) IsValid ¶
func (v ConditionOperatorType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ConditionOperatorType) Ptr ¶
func (v ConditionOperatorType) Ptr() *ConditionOperatorType
Ptr returns reference to ConditionOperator_type value
func (*ConditionOperatorType) UnmarshalJSON ¶
func (v *ConditionOperatorType) UnmarshalJSON(src []byte) error
type ConditionTransformationsInner ¶
type ConditionTransformationsInner string
ConditionTransformationsInner the model 'ConditionTransformationsInner'
const ( CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UNSPECIFIED ConditionTransformationsInner = "TRANSFORMATION_UNSPECIFIED" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_LENGTH ConditionTransformationsInner = "TRANSFORMATION_LENGTH" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_LOWERCASE ConditionTransformationsInner = "TRANSFORMATION_LOWERCASE" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_NONE ConditionTransformationsInner = "TRANSFORMATION_NONE" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_TRIM ConditionTransformationsInner = "TRANSFORMATION_TRIM" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UPPERCASE ConditionTransformationsInner = "TRANSFORMATION_UPPERCASE" CONDITIONTRANSFORMATIONSINNER_TRANSFORMATION_UTF8_TO_UNICODE ConditionTransformationsInner = "TRANSFORMATION_UTF8_TO_UNICODE" CONDITIONTRANSFORMATIONSINNER_UNKNOWN_DEFAULT_OPEN_API ConditionTransformationsInner = "unknown_default_open_api" )
List of Condition_transformations_inner
func NewConditionTransformationsInnerFromValue ¶
func NewConditionTransformationsInnerFromValue(v string) (*ConditionTransformationsInner, error)
NewConditionTransformationsInnerFromValue returns a pointer to a valid ConditionTransformationsInner for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ConditionTransformationsInner) IsValid ¶
func (v ConditionTransformationsInner) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ConditionTransformationsInner) Ptr ¶
func (v ConditionTransformationsInner) Ptr() *ConditionTransformationsInner
Ptr returns reference to Condition_transformations_inner value
func (*ConditionTransformationsInner) UnmarshalJSON ¶
func (v *ConditionTransformationsInner) UnmarshalJSON(src []byte) error
type ConditionVariable ¶
type ConditionVariable struct {
Type *ConditionVariableType `json:"type,omitempty"`
// Optional key element context for map variables (e.g., matching a 'Host' header key).
Value *string `json:"value,omitempty"`
AdditionalProperties map[string]interface{}
}
ConditionVariable struct for ConditionVariable
func NewConditionVariable ¶
func NewConditionVariable() *ConditionVariable
NewConditionVariable instantiates a new ConditionVariable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConditionVariableWithDefaults ¶
func NewConditionVariableWithDefaults() *ConditionVariable
NewConditionVariableWithDefaults instantiates a new ConditionVariable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConditionVariable) GetType ¶
func (o *ConditionVariable) GetType() ConditionVariableType
GetType returns the Type field value if set, zero value otherwise.
func (*ConditionVariable) GetTypeOk ¶
func (o *ConditionVariable) GetTypeOk() (*ConditionVariableType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionVariable) GetValue ¶
func (o *ConditionVariable) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ConditionVariable) GetValueOk ¶
func (o *ConditionVariable) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConditionVariable) HasType ¶
func (o *ConditionVariable) HasType() bool
HasType returns a boolean if a field has been set.
func (*ConditionVariable) HasValue ¶
func (o *ConditionVariable) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ConditionVariable) MarshalJSON ¶
func (o ConditionVariable) MarshalJSON() ([]byte, error)
func (*ConditionVariable) SetType ¶
func (o *ConditionVariable) SetType(v ConditionVariableType)
SetType gets a reference to the given ConditionVariableType and assigns it to the Type field.
func (*ConditionVariable) SetValue ¶
func (o *ConditionVariable) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (ConditionVariable) ToMap ¶
func (o ConditionVariable) ToMap() (map[string]interface{}, error)
func (*ConditionVariable) UnmarshalJSON ¶
func (o *ConditionVariable) UnmarshalJSON(data []byte) (err error)
type ConditionVariableType ¶
type ConditionVariableType string
ConditionVariableType The targeted validation engine variable macro.
const ( CONDITIONVARIABLETYPE_VARIABLE_UNSPECIFIED ConditionVariableType = "VARIABLE_UNSPECIFIED" CONDITIONVARIABLETYPE_VARIABLE_ARGS_GET ConditionVariableType = "VARIABLE_ARGS_GET" CONDITIONVARIABLETYPE_VARIABLE_ARGS_POST ConditionVariableType = "VARIABLE_ARGS_POST" CONDITIONVARIABLETYPE_VARIABLE_FULL_REQUEST_LENGTH ConditionVariableType = "VARIABLE_FULL_REQUEST_LENGTH" CONDITIONVARIABLETYPE_VARIABLE_MATCHED_VAR ConditionVariableType = "VARIABLE_MATCHED_VAR" CONDITIONVARIABLETYPE_VARIABLE_QUERY_STRING ConditionVariableType = "VARIABLE_QUERY_STRING" CONDITIONVARIABLETYPE_VARIABLE_REMOTE_ADDR ConditionVariableType = "VARIABLE_REMOTE_ADDR" CONDITIONVARIABLETYPE_VARIABLE_REMOTE_PORT ConditionVariableType = "VARIABLE_REMOTE_PORT" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BASENAME ConditionVariableType = "VARIABLE_REQUEST_BASENAME" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BODY ConditionVariableType = "VARIABLE_REQUEST_BODY" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_BODY_LENGTH ConditionVariableType = "VARIABLE_REQUEST_BODY_LENGTH" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_COOKIES ConditionVariableType = "VARIABLE_REQUEST_COOKIES" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_HEADERS ConditionVariableType = "VARIABLE_REQUEST_HEADERS" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_HEADERS_NAMES ConditionVariableType = "VARIABLE_REQUEST_HEADERS_NAMES" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_METHOD ConditionVariableType = "VARIABLE_REQUEST_METHOD" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_PROTOCOL ConditionVariableType = "VARIABLE_REQUEST_PROTOCOL" CONDITIONVARIABLETYPE_VARIABLE_REQUEST_URI_RAW ConditionVariableType = "VARIABLE_REQUEST_URI_RAW" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_BODY ConditionVariableType = "VARIABLE_RESPONSE_BODY" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_CONTENT_LENGTH ConditionVariableType = "VARIABLE_RESPONSE_CONTENT_LENGTH" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_HEADERS ConditionVariableType = "VARIABLE_RESPONSE_HEADERS" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_HEADERS_NAMES ConditionVariableType = "VARIABLE_RESPONSE_HEADERS_NAMES" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_PROTOCOL ConditionVariableType = "VARIABLE_RESPONSE_PROTOCOL" CONDITIONVARIABLETYPE_VARIABLE_RESPONSE_STATUS ConditionVariableType = "VARIABLE_RESPONSE_STATUS" CONDITIONVARIABLETYPE_UNKNOWN_DEFAULT_OPEN_API ConditionVariableType = "unknown_default_open_api" )
List of ConditionVariable_type
func NewConditionVariableTypeFromValue ¶
func NewConditionVariableTypeFromValue(v string) (*ConditionVariableType, error)
NewConditionVariableTypeFromValue returns a pointer to a valid ConditionVariableType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ConditionVariableType) IsValid ¶
func (v ConditionVariableType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ConditionVariableType) Ptr ¶
func (v ConditionVariableType) Ptr() *ConditionVariableType
Ptr returns reference to ConditionVariable_type value
func (*ConditionVariableType) UnmarshalJSON ¶
func (v *ConditionVariableType) UnmarshalJSON(src []byte) error
type CreateCustomRule ¶
type CreateCustomRule struct {
Behaviour *Behaviour `json:"behaviour,omitempty"`
// [HINT] Order matters! First condition match triggers execution.
Conditions []Condition `json:"conditions,omitempty"`
// A clear description explaining the threat vector or criteria addressed by this rule.
Description *string `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCustomRule struct for CreateCustomRule
func NewCreateCustomRule ¶
func NewCreateCustomRule() *CreateCustomRule
NewCreateCustomRule instantiates a new CreateCustomRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCustomRuleWithDefaults ¶
func NewCreateCustomRuleWithDefaults() *CreateCustomRule
NewCreateCustomRuleWithDefaults instantiates a new CreateCustomRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCustomRule) GetBehaviour ¶
func (o *CreateCustomRule) GetBehaviour() Behaviour
GetBehaviour returns the Behaviour field value if set, zero value otherwise.
func (*CreateCustomRule) GetBehaviourOk ¶
func (o *CreateCustomRule) GetBehaviourOk() (*Behaviour, bool)
GetBehaviourOk returns a tuple with the Behaviour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRule) GetConditions ¶
func (o *CreateCustomRule) GetConditions() []Condition
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*CreateCustomRule) GetConditionsOk ¶
func (o *CreateCustomRule) GetConditionsOk() ([]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRule) GetDescription ¶
func (o *CreateCustomRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateCustomRule) GetDescriptionOk ¶
func (o *CreateCustomRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRule) HasBehaviour ¶
func (o *CreateCustomRule) HasBehaviour() bool
HasBehaviour returns a boolean if a field has been set.
func (*CreateCustomRule) HasConditions ¶
func (o *CreateCustomRule) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (*CreateCustomRule) HasDescription ¶
func (o *CreateCustomRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (CreateCustomRule) MarshalJSON ¶
func (o CreateCustomRule) MarshalJSON() ([]byte, error)
func (*CreateCustomRule) SetBehaviour ¶
func (o *CreateCustomRule) SetBehaviour(v Behaviour)
SetBehaviour gets a reference to the given Behaviour and assigns it to the Behaviour field.
func (*CreateCustomRule) SetConditions ¶
func (o *CreateCustomRule) SetConditions(v []Condition)
SetConditions gets a reference to the given []Condition and assigns it to the Conditions field.
func (*CreateCustomRule) SetDescription ¶
func (o *CreateCustomRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (CreateCustomRule) ToMap ¶
func (o CreateCustomRule) ToMap() (map[string]interface{}, error)
func (*CreateCustomRule) UnmarshalJSON ¶
func (o *CreateCustomRule) UnmarshalJSON(data []byte) (err error)
type CreateCustomRuleGroupPayload ¶
type CreateCustomRuleGroupPayload struct {
// Custom rule group name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
// The collection of custom rule group SecLang parameters forming this execution group.
Rules []CreateCustomRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCustomRuleGroupPayload Request payload for creating a CRG.
func NewCreateCustomRuleGroupPayload ¶
func NewCreateCustomRuleGroupPayload() *CreateCustomRuleGroupPayload
NewCreateCustomRuleGroupPayload instantiates a new CreateCustomRuleGroupPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateCustomRuleGroupPayloadWithDefaults ¶
func NewCreateCustomRuleGroupPayloadWithDefaults() *CreateCustomRuleGroupPayload
NewCreateCustomRuleGroupPayloadWithDefaults instantiates a new CreateCustomRuleGroupPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateCustomRuleGroupPayload) GetName ¶
func (o *CreateCustomRuleGroupPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetNameOk ¶
func (o *CreateCustomRuleGroupPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetProjectId ¶
func (o *CreateCustomRuleGroupPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetProjectIdOk ¶
func (o *CreateCustomRuleGroupPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetRegion ¶
func (o *CreateCustomRuleGroupPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetRegionOk ¶
func (o *CreateCustomRuleGroupPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) GetRules ¶
func (o *CreateCustomRuleGroupPayload) GetRules() []CreateCustomRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*CreateCustomRuleGroupPayload) GetRulesOk ¶
func (o *CreateCustomRuleGroupPayload) GetRulesOk() ([]CreateCustomRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCustomRuleGroupPayload) HasName ¶
func (o *CreateCustomRuleGroupPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateCustomRuleGroupPayload) HasProjectId ¶
func (o *CreateCustomRuleGroupPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateCustomRuleGroupPayload) HasRegion ¶
func (o *CreateCustomRuleGroupPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateCustomRuleGroupPayload) HasRules ¶
func (o *CreateCustomRuleGroupPayload) HasRules() bool
HasRules returns a boolean if a field has been set.
func (CreateCustomRuleGroupPayload) MarshalJSON ¶
func (o CreateCustomRuleGroupPayload) MarshalJSON() ([]byte, error)
func (*CreateCustomRuleGroupPayload) SetName ¶
func (o *CreateCustomRuleGroupPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateCustomRuleGroupPayload) SetProjectId ¶
func (o *CreateCustomRuleGroupPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateCustomRuleGroupPayload) SetRegion ¶
func (o *CreateCustomRuleGroupPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateCustomRuleGroupPayload) SetRules ¶
func (o *CreateCustomRuleGroupPayload) SetRules(v []CreateCustomRule)
SetRules gets a reference to the given []CreateCustomRule and assigns it to the Rules field.
func (CreateCustomRuleGroupPayload) ToMap ¶
func (o CreateCustomRuleGroupPayload) ToMap() (map[string]interface{}, error)
func (*CreateCustomRuleGroupPayload) UnmarshalJSON ¶
func (o *CreateCustomRuleGroupPayload) UnmarshalJSON(data []byte) (err error)
type CreateManagedRuleSetPayload ¶
type CreateManagedRuleSetPayload struct {
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
Type *MRSType `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateManagedRuleSetPayload CreateManagedRuleSetRequest creates a rule configuration.
func NewCreateManagedRuleSetPayload ¶
func NewCreateManagedRuleSetPayload() *CreateManagedRuleSetPayload
NewCreateManagedRuleSetPayload instantiates a new CreateManagedRuleSetPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateManagedRuleSetPayloadWithDefaults ¶
func NewCreateManagedRuleSetPayloadWithDefaults() *CreateManagedRuleSetPayload
NewCreateManagedRuleSetPayloadWithDefaults instantiates a new CreateManagedRuleSetPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateManagedRuleSetPayload) GetName ¶
func (o *CreateManagedRuleSetPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetNameOk ¶
func (o *CreateManagedRuleSetPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetProjectId ¶
func (o *CreateManagedRuleSetPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetProjectIdOk ¶
func (o *CreateManagedRuleSetPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetRegion ¶
func (o *CreateManagedRuleSetPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetRegionOk ¶
func (o *CreateManagedRuleSetPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) GetType ¶
func (o *CreateManagedRuleSetPayload) GetType() MRSType
GetType returns the Type field value if set, zero value otherwise.
func (*CreateManagedRuleSetPayload) GetTypeOk ¶
func (o *CreateManagedRuleSetPayload) GetTypeOk() (*MRSType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateManagedRuleSetPayload) HasName ¶
func (o *CreateManagedRuleSetPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateManagedRuleSetPayload) HasProjectId ¶
func (o *CreateManagedRuleSetPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateManagedRuleSetPayload) HasRegion ¶
func (o *CreateManagedRuleSetPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*CreateManagedRuleSetPayload) HasType ¶
func (o *CreateManagedRuleSetPayload) HasType() bool
HasType returns a boolean if a field has been set.
func (CreateManagedRuleSetPayload) MarshalJSON ¶
func (o CreateManagedRuleSetPayload) MarshalJSON() ([]byte, error)
func (*CreateManagedRuleSetPayload) SetName ¶
func (o *CreateManagedRuleSetPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateManagedRuleSetPayload) SetProjectId ¶
func (o *CreateManagedRuleSetPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateManagedRuleSetPayload) SetRegion ¶
func (o *CreateManagedRuleSetPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*CreateManagedRuleSetPayload) SetType ¶
func (o *CreateManagedRuleSetPayload) SetType(v MRSType)
SetType gets a reference to the given MRSType and assigns it to the Type field.
func (CreateManagedRuleSetPayload) ToMap ¶
func (o CreateManagedRuleSetPayload) ToMap() (map[string]interface{}, error)
func (*CreateManagedRuleSetPayload) UnmarshalJSON ¶
func (o *CreateManagedRuleSetPayload) UnmarshalJSON(data []byte) (err error)
type CreateWAFPayload ¶
type CreateWAFPayload struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
CreateWAFPayload CreateWAFRequest creates a WAF with rules.
func NewCreateWAFPayload ¶
func NewCreateWAFPayload() *CreateWAFPayload
NewCreateWAFPayload instantiates a new CreateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateWAFPayloadWithDefaults ¶
func NewCreateWAFPayloadWithDefaults() *CreateWAFPayload
NewCreateWAFPayloadWithDefaults instantiates a new CreateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateWAFPayload) GetCustomRuleGroupName ¶
func (o *CreateWAFPayload) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*CreateWAFPayload) GetCustomRuleGroupNameOk ¶
func (o *CreateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetLabels ¶
func (o *CreateWAFPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*CreateWAFPayload) GetLabelsOk ¶
func (o *CreateWAFPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetManagedRuleSetName ¶
func (o *CreateWAFPayload) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*CreateWAFPayload) GetManagedRuleSetNameOk ¶
func (o *CreateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetName ¶
func (o *CreateWAFPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateWAFPayload) GetNameOk ¶
func (o *CreateWAFPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetProjectId ¶
func (o *CreateWAFPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*CreateWAFPayload) GetProjectIdOk ¶
func (o *CreateWAFPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) GetRegion ¶
func (o *CreateWAFPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*CreateWAFPayload) GetRegionOk ¶
func (o *CreateWAFPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWAFPayload) HasCustomRuleGroupName ¶
func (o *CreateWAFPayload) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*CreateWAFPayload) HasLabels ¶
func (o *CreateWAFPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*CreateWAFPayload) HasManagedRuleSetName ¶
func (o *CreateWAFPayload) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*CreateWAFPayload) HasName ¶
func (o *CreateWAFPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateWAFPayload) HasProjectId ¶
func (o *CreateWAFPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*CreateWAFPayload) HasRegion ¶
func (o *CreateWAFPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (CreateWAFPayload) MarshalJSON ¶
func (o CreateWAFPayload) MarshalJSON() ([]byte, error)
func (*CreateWAFPayload) SetCustomRuleGroupName ¶
func (o *CreateWAFPayload) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*CreateWAFPayload) SetLabels ¶
func (o *CreateWAFPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*CreateWAFPayload) SetManagedRuleSetName ¶
func (o *CreateWAFPayload) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*CreateWAFPayload) SetName ¶
func (o *CreateWAFPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateWAFPayload) SetProjectId ¶
func (o *CreateWAFPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*CreateWAFPayload) SetRegion ¶
func (o *CreateWAFPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (CreateWAFPayload) ToMap ¶
func (o CreateWAFPayload) ToMap() (map[string]interface{}, error)
func (*CreateWAFPayload) UnmarshalJSON ¶
func (o *CreateWAFPayload) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateCustomRuleGroup Create a CRG configuration
Creates a structured rule configuration using the abstract CRG. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateCustomRuleGroupRequest
*/
CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
// CreateCustomRuleGroupExecute executes the request
// @return GetCustomRuleGroupResponse
CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
/*
CreateManagedRuleSet Create a MRS configuration
With this endpoint a managed rule set (MRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateManagedRuleSetRequest
*/
CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
// CreateManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
CreateWAF Create a WAF configuration
This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the managed rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateWAFRequest
*/
CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
// CreateWAFExecute executes the request
// @return GetWAFResponse
CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
/*
DeleteCustomRuleGroup Delete a CRG configuration
To delete a custom rule group configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteCustomRuleGroupRequest
*/
DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
// DeleteCustomRuleGroupExecute executes the request
// @return map[string]interface{}
DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
/*
DeleteManagedRuleSet Delete a MRS configuration
To delete a managed rule set (MRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteManagedRuleSetRequest
*/
DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
// DeleteManagedRuleSetExecute executes the request
// @return map[string]interface{}
DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
/*
DeleteWAF Delete a WAF configuration
This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiDeleteWAFRequest
*/
DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
// DeleteWAFExecute executes the request
// @return map[string]interface{}
DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
/*
GetCustomRuleGroup Retrieve a CRG configuration
Retrieves the specified SecLang custom rule configuration (CRG) structure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetCustomRuleGroupRequest
*/
GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
// GetCustomRuleGroupExecute executes the request
// @return GetCustomRuleGroupResponse
GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
/*
GetManagedRuleSet Retrieve a MRS configuration
To retrieve an existing managed rule set (MRS) configuration this endpoint can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetManagedRuleSetRequest
*/
GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
// GetManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
GetQuota Get the quota for WAF resources in a project.
Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiGetQuotaRequest
*/
GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
// GetQuotaExecute executes the request
// @return GetQuotaResponse
GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
/*
GetWAF Retrieve a WAF configuration
This endpoint will return the specified WAF configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiGetWAFRequest
*/
GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
// GetWAFExecute executes the request
// @return GetWAFResponse
GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
/*
ListCustomRuleGroup List of CRG configurations
List all existing Custom Rule Groups that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListCustomRuleGroupRequest
*/
ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
// ListCustomRuleGroupExecute executes the request
// @return ListCustomRuleGroupResponse
ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
/*
ListManagedRuleSets List of MRS configurations
List all existing managed rule set (MRS) configurations that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListManagedRuleSetsRequest
*/
ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
// ListManagedRuleSetsExecute executes the request
// @return ListManagedRuleSetResponse
ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
/*
ListWAF List of WAF configurations
To list all WAF configurations stored in a project, use this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListWAFRequest
*/
ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
// ListWAFExecute executes the request
// @return ListWAFResponse
ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
/*
PatchManagedRuleSet Granularly update a MRS configuration
Accepts the same structure as the GET response. Only fields provided with values will be updated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiPatchManagedRuleSetRequest
*/
PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
// PatchManagedRuleSetExecute executes the request
// @return GetManagedRuleSetResponse
PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
/*
UpdateWAF Update a WAF configuration
The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param name
@return ApiUpdateWAFRequest
*/
UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
// UpdateWAFExecute executes the request
// @return GetWAFResponse
UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateCustomRuleGroup ¶
func (a *DefaultAPIService) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
CreateCustomRuleGroup Create a CRG configuration
Creates a structured rule configuration using the abstract CRG. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateCustomRuleGroupRequest
func (*DefaultAPIService) CreateCustomRuleGroupExecute ¶
func (a *DefaultAPIService) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Execute executes the request
@return GetCustomRuleGroupResponse
func (*DefaultAPIService) CreateManagedRuleSet ¶
func (a *DefaultAPIService) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
CreateManagedRuleSet Create a MRS configuration
With this endpoint a managed rule set (MRS) configuration is created and stored in this project. Currently it is only possible to enable it. This rule configuration is supposed to be referenced by a WAF configuration. It can be referenced by any number of WAF configurations in the same project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateManagedRuleSetRequest
func (*DefaultAPIService) CreateManagedRuleSetExecute ¶
func (a *DefaultAPIService) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
func (*DefaultAPIService) CreateWAF ¶
func (a *DefaultAPIService) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
CreateWAF Create a WAF configuration
This endpoint will create and store a WAF configuration in a project. The name of this WAF configuration is supposed to be used in the listener of an Application Load Balancer, which will activate this configuration and in addition it is possible to enable the managed rule set. This WAF configuration can be used by any number of Application Load Balancers in the same project. The configuration has a reference to a rule configuration. This rule configuration has to exist when trying to create a WAF configuration. Later other configuration references will be added to this object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiCreateWAFRequest
func (*DefaultAPIService) CreateWAFExecute ¶
func (a *DefaultAPIService) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
func (*DefaultAPIService) DeleteCustomRuleGroup ¶
func (a *DefaultAPIService) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
DeleteCustomRuleGroup Delete a CRG configuration
To delete a custom rule group configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteCustomRuleGroupRequest
func (*DefaultAPIService) DeleteCustomRuleGroupExecute ¶
func (a *DefaultAPIService) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteManagedRuleSet ¶
func (a *DefaultAPIService) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
DeleteManagedRuleSet Delete a MRS configuration
To delete a managed rule set (MRS) configuration this endpoint is used, but it is only possible to delete it if no WAF configuration is referencing it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteManagedRuleSetRequest
func (*DefaultAPIService) DeleteManagedRuleSetExecute ¶
func (a *DefaultAPIService) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) DeleteWAF ¶
func (a *DefaultAPIService) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
DeleteWAF Delete a WAF configuration
This will delete the specified WAF configuration, but only if it is not used by any Application Load Balancer in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiDeleteWAFRequest
func (*DefaultAPIService) DeleteWAFExecute ¶
func (a *DefaultAPIService) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
Execute executes the request
@return map[string]interface{}
func (*DefaultAPIService) GetCustomRuleGroup ¶
func (a *DefaultAPIService) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
GetCustomRuleGroup Retrieve a CRG configuration
Retrieves the specified SecLang custom rule configuration (CRG) structure.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetCustomRuleGroupRequest
func (*DefaultAPIService) GetCustomRuleGroupExecute ¶
func (a *DefaultAPIService) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
Execute executes the request
@return GetCustomRuleGroupResponse
func (*DefaultAPIService) GetManagedRuleSet ¶
func (a *DefaultAPIService) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
GetManagedRuleSet Retrieve a MRS configuration
To retrieve an existing managed rule set (MRS) configuration this endpoint can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetManagedRuleSetRequest
func (*DefaultAPIService) GetManagedRuleSetExecute ¶
func (a *DefaultAPIService) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
func (*DefaultAPIService) GetQuota ¶
func (a *DefaultAPIService) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
GetQuota Get the quota for WAF resources in a project.
Retrieves the configured WAF resource quotas for the project. Limit can be changed via service request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiGetQuotaRequest
func (*DefaultAPIService) GetQuotaExecute ¶
func (a *DefaultAPIService) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
Execute executes the request
@return GetQuotaResponse
func (*DefaultAPIService) GetWAF ¶
func (a *DefaultAPIService) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
GetWAF Retrieve a WAF configuration
This endpoint will return the specified WAF configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiGetWAFRequest
func (*DefaultAPIService) GetWAFExecute ¶
func (a *DefaultAPIService) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
func (*DefaultAPIService) ListCustomRuleGroup ¶
func (a *DefaultAPIService) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
ListCustomRuleGroup List of CRG configurations
List all existing Custom Rule Groups that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListCustomRuleGroupRequest
func (*DefaultAPIService) ListCustomRuleGroupExecute ¶
func (a *DefaultAPIService) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
Execute executes the request
@return ListCustomRuleGroupResponse
func (*DefaultAPIService) ListManagedRuleSets ¶
func (a *DefaultAPIService) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
ListManagedRuleSets List of MRS configurations
List all existing managed rule set (MRS) configurations that are stored in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListManagedRuleSetsRequest
func (*DefaultAPIService) ListManagedRuleSetsExecute ¶
func (a *DefaultAPIService) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
Execute executes the request
@return ListManagedRuleSetResponse
func (*DefaultAPIService) ListWAF ¶
func (a *DefaultAPIService) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
ListWAF List of WAF configurations
To list all WAF configurations stored in a project, use this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @return ApiListWAFRequest
func (*DefaultAPIService) ListWAFExecute ¶
func (a *DefaultAPIService) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
Execute executes the request
@return ListWAFResponse
func (*DefaultAPIService) PatchManagedRuleSet ¶
func (a *DefaultAPIService) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
PatchManagedRuleSet Granularly update a MRS configuration
Accepts the same structure as the GET response. Only fields provided with values will be updated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiPatchManagedRuleSetRequest
func (*DefaultAPIService) PatchManagedRuleSetExecute ¶
func (a *DefaultAPIService) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
Execute executes the request
@return GetManagedRuleSetResponse
func (*DefaultAPIService) UpdateWAF ¶
func (a *DefaultAPIService) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
UpdateWAF Update a WAF configuration
The update endpoint will update a stored WAF configuration in project and not yet but later will also update the Load Balancers that reference it.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId @param region @param name @return ApiUpdateWAFRequest
func (*DefaultAPIService) UpdateWAFExecute ¶
func (a *DefaultAPIService) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
Execute executes the request
@return GetWAFResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateCustomRuleGroupExecuteMock can be populated to implement the behavior of the CreateCustomRuleGroupExecute function of this mock
CreateCustomRuleGroupExecuteMock *func(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
// CreateManagedRuleSetExecuteMock can be populated to implement the behavior of the CreateManagedRuleSetExecute function of this mock
CreateManagedRuleSetExecuteMock *func(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// CreateWAFExecuteMock can be populated to implement the behavior of the CreateWAFExecute function of this mock
CreateWAFExecuteMock *func(r ApiCreateWAFRequest) (*GetWAFResponse, error)
// DeleteCustomRuleGroupExecuteMock can be populated to implement the behavior of the DeleteCustomRuleGroupExecute function of this mock
DeleteCustomRuleGroupExecuteMock *func(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
// DeleteManagedRuleSetExecuteMock can be populated to implement the behavior of the DeleteManagedRuleSetExecute function of this mock
DeleteManagedRuleSetExecuteMock *func(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
// DeleteWAFExecuteMock can be populated to implement the behavior of the DeleteWAFExecute function of this mock
DeleteWAFExecuteMock *func(r ApiDeleteWAFRequest) (map[string]interface{}, error)
// GetCustomRuleGroupExecuteMock can be populated to implement the behavior of the GetCustomRuleGroupExecute function of this mock
GetCustomRuleGroupExecuteMock *func(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
// GetManagedRuleSetExecuteMock can be populated to implement the behavior of the GetManagedRuleSetExecute function of this mock
GetManagedRuleSetExecuteMock *func(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// GetQuotaExecuteMock can be populated to implement the behavior of the GetQuotaExecute function of this mock
GetQuotaExecuteMock *func(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
// GetWAFExecuteMock can be populated to implement the behavior of the GetWAFExecute function of this mock
GetWAFExecuteMock *func(r ApiGetWAFRequest) (*GetWAFResponse, error)
// ListCustomRuleGroupExecuteMock can be populated to implement the behavior of the ListCustomRuleGroupExecute function of this mock
ListCustomRuleGroupExecuteMock *func(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
// ListManagedRuleSetsExecuteMock can be populated to implement the behavior of the ListManagedRuleSetsExecute function of this mock
ListManagedRuleSetsExecuteMock *func(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
// ListWAFExecuteMock can be populated to implement the behavior of the ListWAFExecute function of this mock
ListWAFExecuteMock *func(r ApiListWAFRequest) (*ListWAFResponse, error)
// PatchManagedRuleSetExecuteMock can be populated to implement the behavior of the PatchManagedRuleSetExecute function of this mock
PatchManagedRuleSetExecuteMock *func(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
// UpdateWAFExecuteMock can be populated to implement the behavior of the UpdateWAFExecute function of this mock
UpdateWAFExecuteMock *func(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateCustomRuleGroup ¶
func (a DefaultAPIServiceMock) CreateCustomRuleGroup(ctx context.Context, projectId string, region string) ApiCreateCustomRuleGroupRequest
func (DefaultAPIServiceMock) CreateCustomRuleGroupExecute ¶
func (a DefaultAPIServiceMock) CreateCustomRuleGroupExecute(r ApiCreateCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
CreateCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateManagedRuleSet ¶
func (a DefaultAPIServiceMock) CreateManagedRuleSet(ctx context.Context, projectId string, region string) ApiCreateManagedRuleSetRequest
func (DefaultAPIServiceMock) CreateManagedRuleSetExecute ¶
func (a DefaultAPIServiceMock) CreateManagedRuleSetExecute(r ApiCreateManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
CreateManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateWAF ¶
func (a DefaultAPIServiceMock) CreateWAF(ctx context.Context, projectId string, region string) ApiCreateWAFRequest
func (DefaultAPIServiceMock) CreateWAFExecute ¶
func (a DefaultAPIServiceMock) CreateWAFExecute(r ApiCreateWAFRequest) (*GetWAFResponse, error)
CreateWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteCustomRuleGroup ¶
func (a DefaultAPIServiceMock) DeleteCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiDeleteCustomRuleGroupRequest
func (DefaultAPIServiceMock) DeleteCustomRuleGroupExecute ¶
func (a DefaultAPIServiceMock) DeleteCustomRuleGroupExecute(r ApiDeleteCustomRuleGroupRequest) (map[string]interface{}, error)
DeleteCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteManagedRuleSet ¶
func (a DefaultAPIServiceMock) DeleteManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiDeleteManagedRuleSetRequest
func (DefaultAPIServiceMock) DeleteManagedRuleSetExecute ¶
func (a DefaultAPIServiceMock) DeleteManagedRuleSetExecute(r ApiDeleteManagedRuleSetRequest) (map[string]interface{}, error)
DeleteManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteWAF ¶
func (a DefaultAPIServiceMock) DeleteWAF(ctx context.Context, projectId string, region string, name string) ApiDeleteWAFRequest
func (DefaultAPIServiceMock) DeleteWAFExecute ¶
func (a DefaultAPIServiceMock) DeleteWAFExecute(r ApiDeleteWAFRequest) (map[string]interface{}, error)
DeleteWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetCustomRuleGroup ¶
func (a DefaultAPIServiceMock) GetCustomRuleGroup(ctx context.Context, projectId string, region string, name string) ApiGetCustomRuleGroupRequest
func (DefaultAPIServiceMock) GetCustomRuleGroupExecute ¶
func (a DefaultAPIServiceMock) GetCustomRuleGroupExecute(r ApiGetCustomRuleGroupRequest) (*GetCustomRuleGroupResponse, error)
GetCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetManagedRuleSet ¶
func (a DefaultAPIServiceMock) GetManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiGetManagedRuleSetRequest
func (DefaultAPIServiceMock) GetManagedRuleSetExecute ¶
func (a DefaultAPIServiceMock) GetManagedRuleSetExecute(r ApiGetManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
GetManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetQuota ¶
func (a DefaultAPIServiceMock) GetQuota(ctx context.Context, projectId string, region string) ApiGetQuotaRequest
func (DefaultAPIServiceMock) GetQuotaExecute ¶
func (a DefaultAPIServiceMock) GetQuotaExecute(r ApiGetQuotaRequest) (*GetQuotaResponse, error)
GetQuotaExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetQuotaExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetWAF ¶
func (a DefaultAPIServiceMock) GetWAF(ctx context.Context, projectId string, region string, name string) ApiGetWAFRequest
func (DefaultAPIServiceMock) GetWAFExecute ¶
func (a DefaultAPIServiceMock) GetWAFExecute(r ApiGetWAFRequest) (*GetWAFResponse, error)
GetWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListCustomRuleGroup ¶
func (a DefaultAPIServiceMock) ListCustomRuleGroup(ctx context.Context, projectId string, region string) ApiListCustomRuleGroupRequest
func (DefaultAPIServiceMock) ListCustomRuleGroupExecute ¶
func (a DefaultAPIServiceMock) ListCustomRuleGroupExecute(r ApiListCustomRuleGroupRequest) (*ListCustomRuleGroupResponse, error)
ListCustomRuleGroupExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListCustomRuleGroupExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListManagedRuleSets ¶
func (a DefaultAPIServiceMock) ListManagedRuleSets(ctx context.Context, projectId string, region string) ApiListManagedRuleSetsRequest
func (DefaultAPIServiceMock) ListManagedRuleSetsExecute ¶
func (a DefaultAPIServiceMock) ListManagedRuleSetsExecute(r ApiListManagedRuleSetsRequest) (*ListManagedRuleSetResponse, error)
ListManagedRuleSetsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListManagedRuleSetsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListWAF ¶
func (a DefaultAPIServiceMock) ListWAF(ctx context.Context, projectId string, region string) ApiListWAFRequest
func (DefaultAPIServiceMock) ListWAFExecute ¶
func (a DefaultAPIServiceMock) ListWAFExecute(r ApiListWAFRequest) (*ListWAFResponse, error)
ListWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWAFExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PatchManagedRuleSet ¶
func (a DefaultAPIServiceMock) PatchManagedRuleSet(ctx context.Context, projectId string, region string, name string) ApiPatchManagedRuleSetRequest
func (DefaultAPIServiceMock) PatchManagedRuleSetExecute ¶
func (a DefaultAPIServiceMock) PatchManagedRuleSetExecute(r ApiPatchManagedRuleSetRequest) (*GetManagedRuleSetResponse, error)
PatchManagedRuleSetExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchManagedRuleSetExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateWAF ¶
func (a DefaultAPIServiceMock) UpdateWAF(ctx context.Context, projectId string, region string, name string) ApiUpdateWAFRequest
func (DefaultAPIServiceMock) UpdateWAFExecute ¶
func (a DefaultAPIServiceMock) UpdateWAFExecute(r ApiUpdateWAFRequest) (*GetWAFResponse, error)
UpdateWAFExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateWAFExecuteMock field in the DefaultAPIServiceMock struct.
type GetBehaviour ¶
type GetBehaviour struct {
Action *GetBehaviourAction `json:"action,omitempty"`
// Determines whether an entry should be generated in the security ledger upon a rule hit.
Log *bool `json:"log,omitempty"`
// Custom notification message string mapped to underlying logdata contexts. Required if log is true.
LogMsg *string `json:"logMsg,omitempty"`
Severity *GetBehaviourSeverity `json:"severity,omitempty"`
AdditionalProperties map[string]interface{}
}
GetBehaviour struct for GetBehaviour
func NewGetBehaviour ¶
func NewGetBehaviour() *GetBehaviour
NewGetBehaviour instantiates a new GetBehaviour object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBehaviourWithDefaults ¶
func NewGetBehaviourWithDefaults() *GetBehaviour
NewGetBehaviourWithDefaults instantiates a new GetBehaviour object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBehaviour) GetAction ¶
func (o *GetBehaviour) GetAction() GetBehaviourAction
GetAction returns the Action field value if set, zero value otherwise.
func (*GetBehaviour) GetActionOk ¶
func (o *GetBehaviour) GetActionOk() (*GetBehaviourAction, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetLog ¶
func (o *GetBehaviour) GetLog() bool
GetLog returns the Log field value if set, zero value otherwise.
func (*GetBehaviour) GetLogMsg ¶
func (o *GetBehaviour) GetLogMsg() string
GetLogMsg returns the LogMsg field value if set, zero value otherwise.
func (*GetBehaviour) GetLogMsgOk ¶
func (o *GetBehaviour) GetLogMsgOk() (*string, bool)
GetLogMsgOk returns a tuple with the LogMsg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetLogOk ¶
func (o *GetBehaviour) GetLogOk() (*bool, bool)
GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) GetSeverity ¶
func (o *GetBehaviour) GetSeverity() GetBehaviourSeverity
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*GetBehaviour) GetSeverityOk ¶
func (o *GetBehaviour) GetSeverityOk() (*GetBehaviourSeverity, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBehaviour) HasAction ¶
func (o *GetBehaviour) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*GetBehaviour) HasLog ¶
func (o *GetBehaviour) HasLog() bool
HasLog returns a boolean if a field has been set.
func (*GetBehaviour) HasLogMsg ¶
func (o *GetBehaviour) HasLogMsg() bool
HasLogMsg returns a boolean if a field has been set.
func (*GetBehaviour) HasSeverity ¶
func (o *GetBehaviour) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (GetBehaviour) MarshalJSON ¶
func (o GetBehaviour) MarshalJSON() ([]byte, error)
func (*GetBehaviour) SetAction ¶
func (o *GetBehaviour) SetAction(v GetBehaviourAction)
SetAction gets a reference to the given GetBehaviourAction and assigns it to the Action field.
func (*GetBehaviour) SetLog ¶
func (o *GetBehaviour) SetLog(v bool)
SetLog gets a reference to the given bool and assigns it to the Log field.
func (*GetBehaviour) SetLogMsg ¶
func (o *GetBehaviour) SetLogMsg(v string)
SetLogMsg gets a reference to the given string and assigns it to the LogMsg field.
func (*GetBehaviour) SetSeverity ¶
func (o *GetBehaviour) SetSeverity(v GetBehaviourSeverity)
SetSeverity gets a reference to the given GetBehaviourSeverity and assigns it to the Severity field.
func (GetBehaviour) ToMap ¶
func (o GetBehaviour) ToMap() (map[string]interface{}, error)
func (*GetBehaviour) UnmarshalJSON ¶
func (o *GetBehaviour) UnmarshalJSON(data []byte) (err error)
type GetBehaviourAction ¶
type GetBehaviourAction string
GetBehaviourAction The protective stance action. ACTION_DENY forces a 403 status response code.
const ( GETBEHAVIOURACTION_ACTION_UNSPECIFIED GetBehaviourAction = "ACTION_UNSPECIFIED" GETBEHAVIOURACTION_ACTION_DENY GetBehaviourAction = "ACTION_DENY" GETBEHAVIOURACTION_ACTION_PASS GetBehaviourAction = "ACTION_PASS" GETBEHAVIOURACTION_ACTION_ALLOW GetBehaviourAction = "ACTION_ALLOW" GETBEHAVIOURACTION_UNKNOWN_DEFAULT_OPEN_API GetBehaviourAction = "unknown_default_open_api" )
List of GetBehaviour_action
func NewGetBehaviourActionFromValue ¶
func NewGetBehaviourActionFromValue(v string) (*GetBehaviourAction, error)
NewGetBehaviourActionFromValue returns a pointer to a valid GetBehaviourAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetBehaviourAction) IsValid ¶
func (v GetBehaviourAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetBehaviourAction) Ptr ¶
func (v GetBehaviourAction) Ptr() *GetBehaviourAction
Ptr returns reference to GetBehaviour_action value
func (*GetBehaviourAction) UnmarshalJSON ¶
func (v *GetBehaviourAction) UnmarshalJSON(src []byte) error
type GetBehaviourSeverity ¶
type GetBehaviourSeverity string
GetBehaviourSeverity Severity classification metric used by internal analytics graphs.
const ( GETBEHAVIOURSEVERITY_SEVERITY_UNSPECIFIED GetBehaviourSeverity = "SEVERITY_UNSPECIFIED" GETBEHAVIOURSEVERITY_SEVERITY_EMERGENCY GetBehaviourSeverity = "SEVERITY_EMERGENCY" GETBEHAVIOURSEVERITY_SEVERITY_ALERT GetBehaviourSeverity = "SEVERITY_ALERT" GETBEHAVIOURSEVERITY_SEVERITY_CRITICAL GetBehaviourSeverity = "SEVERITY_CRITICAL" GETBEHAVIOURSEVERITY_SEVERITY_ERROR GetBehaviourSeverity = "SEVERITY_ERROR" GETBEHAVIOURSEVERITY_SEVERITY_WARNING GetBehaviourSeverity = "SEVERITY_WARNING" GETBEHAVIOURSEVERITY_SEVERITY_NOTICE GetBehaviourSeverity = "SEVERITY_NOTICE" GETBEHAVIOURSEVERITY_SEVERITY_INFO GetBehaviourSeverity = "SEVERITY_INFO" GETBEHAVIOURSEVERITY_SEVERITY_DEBUG GetBehaviourSeverity = "SEVERITY_DEBUG" GETBEHAVIOURSEVERITY_UNKNOWN_DEFAULT_OPEN_API GetBehaviourSeverity = "unknown_default_open_api" )
List of GetBehaviour_severity
func NewGetBehaviourSeverityFromValue ¶
func NewGetBehaviourSeverityFromValue(v string) (*GetBehaviourSeverity, error)
NewGetBehaviourSeverityFromValue returns a pointer to a valid GetBehaviourSeverity for the value passed as argument, or an error if the value passed is not allowed by the enum
func (GetBehaviourSeverity) IsValid ¶
func (v GetBehaviourSeverity) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (GetBehaviourSeverity) Ptr ¶
func (v GetBehaviourSeverity) Ptr() *GetBehaviourSeverity
Ptr returns reference to GetBehaviour_severity value
func (*GetBehaviourSeverity) UnmarshalJSON ¶
func (v *GetBehaviourSeverity) UnmarshalJSON(src []byte) error
type GetCustomRule ¶
type GetCustomRule struct {
Behaviour *GetBehaviour `json:"behaviour,omitempty"`
// [HINT] Order matters! First condition match triggers execution.
Conditions []Condition `json:"conditions,omitempty"`
// A clear description explaining the threat vector or criteria addressed by this rule.
Description *string `json:"description,omitempty"`
// Backend auto-allocated unique rule ID within the valid 1-99999 threshold.
Id *int32 `json:"id,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCustomRule struct for GetCustomRule
func NewGetCustomRule ¶
func NewGetCustomRule() *GetCustomRule
NewGetCustomRule instantiates a new GetCustomRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetCustomRuleWithDefaults ¶
func NewGetCustomRuleWithDefaults() *GetCustomRule
NewGetCustomRuleWithDefaults instantiates a new GetCustomRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetCustomRule) GetBehaviour ¶
func (o *GetCustomRule) GetBehaviour() GetBehaviour
GetBehaviour returns the Behaviour field value if set, zero value otherwise.
func (*GetCustomRule) GetBehaviourOk ¶
func (o *GetCustomRule) GetBehaviourOk() (*GetBehaviour, bool)
GetBehaviourOk returns a tuple with the Behaviour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetConditions ¶
func (o *GetCustomRule) GetConditions() []Condition
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*GetCustomRule) GetConditionsOk ¶
func (o *GetCustomRule) GetConditionsOk() ([]Condition, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetDescription ¶
func (o *GetCustomRule) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*GetCustomRule) GetDescriptionOk ¶
func (o *GetCustomRule) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) GetId ¶
func (o *GetCustomRule) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*GetCustomRule) GetIdOk ¶
func (o *GetCustomRule) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRule) HasBehaviour ¶
func (o *GetCustomRule) HasBehaviour() bool
HasBehaviour returns a boolean if a field has been set.
func (*GetCustomRule) HasConditions ¶
func (o *GetCustomRule) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (*GetCustomRule) HasDescription ¶
func (o *GetCustomRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*GetCustomRule) HasId ¶
func (o *GetCustomRule) HasId() bool
HasId returns a boolean if a field has been set.
func (GetCustomRule) MarshalJSON ¶
func (o GetCustomRule) MarshalJSON() ([]byte, error)
func (*GetCustomRule) SetBehaviour ¶
func (o *GetCustomRule) SetBehaviour(v GetBehaviour)
SetBehaviour gets a reference to the given GetBehaviour and assigns it to the Behaviour field.
func (*GetCustomRule) SetConditions ¶
func (o *GetCustomRule) SetConditions(v []Condition)
SetConditions gets a reference to the given []Condition and assigns it to the Conditions field.
func (*GetCustomRule) SetDescription ¶
func (o *GetCustomRule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*GetCustomRule) SetId ¶
func (o *GetCustomRule) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (GetCustomRule) ToMap ¶
func (o GetCustomRule) ToMap() (map[string]interface{}, error)
func (*GetCustomRule) UnmarshalJSON ¶
func (o *GetCustomRule) UnmarshalJSON(data []byte) (err error)
type GetCustomRuleGroupResponse ¶
type GetCustomRuleGroupResponse struct {
// Custom rule group configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Enriched rules containing auto-generated IDs and computed severity values.
Rules []GetCustomRule `json:"rules,omitempty"`
Usage *CRGUsage `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
GetCustomRuleGroupResponse Response payload delivering the detailed CRG configuration name and it's rule content.
func NewGetCustomRuleGroupResponse ¶
func NewGetCustomRuleGroupResponse() *GetCustomRuleGroupResponse
NewGetCustomRuleGroupResponse instantiates a new GetCustomRuleGroupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetCustomRuleGroupResponseWithDefaults ¶
func NewGetCustomRuleGroupResponseWithDefaults() *GetCustomRuleGroupResponse
NewGetCustomRuleGroupResponseWithDefaults instantiates a new GetCustomRuleGroupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetCustomRuleGroupResponse) GetName ¶
func (o *GetCustomRuleGroupResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetNameOk ¶
func (o *GetCustomRuleGroupResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) GetRules ¶
func (o *GetCustomRuleGroupResponse) GetRules() []GetCustomRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetRulesOk ¶
func (o *GetCustomRuleGroupResponse) GetRulesOk() ([]GetCustomRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) GetUsage ¶
func (o *GetCustomRuleGroupResponse) GetUsage() CRGUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetCustomRuleGroupResponse) GetUsageOk ¶
func (o *GetCustomRuleGroupResponse) GetUsageOk() (*CRGUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetCustomRuleGroupResponse) HasName ¶
func (o *GetCustomRuleGroupResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetCustomRuleGroupResponse) HasRules ¶
func (o *GetCustomRuleGroupResponse) HasRules() bool
HasRules returns a boolean if a field has been set.
func (*GetCustomRuleGroupResponse) HasUsage ¶
func (o *GetCustomRuleGroupResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (GetCustomRuleGroupResponse) MarshalJSON ¶
func (o GetCustomRuleGroupResponse) MarshalJSON() ([]byte, error)
func (*GetCustomRuleGroupResponse) SetName ¶
func (o *GetCustomRuleGroupResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetCustomRuleGroupResponse) SetRules ¶
func (o *GetCustomRuleGroupResponse) SetRules(v []GetCustomRule)
SetRules gets a reference to the given []GetCustomRule and assigns it to the Rules field.
func (*GetCustomRuleGroupResponse) SetUsage ¶
func (o *GetCustomRuleGroupResponse) SetUsage(v CRGUsage)
SetUsage gets a reference to the given CRGUsage and assigns it to the Usage field.
func (GetCustomRuleGroupResponse) ToMap ¶
func (o GetCustomRuleGroupResponse) ToMap() (map[string]interface{}, error)
func (*GetCustomRuleGroupResponse) UnmarshalJSON ¶
func (o *GetCustomRuleGroupResponse) UnmarshalJSON(data []byte) (err error)
type GetLimitedManagedRuleSetResponse ¶
type GetLimitedManagedRuleSetResponse struct {
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
Type *MRSType1 `json:"type,omitempty"`
Usage *MRSUsage `json:"usage,omitempty"`
// Managed rule set version.
Version *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
AdditionalProperties map[string]interface{}
}
GetLimitedManagedRuleSetResponse struct for GetLimitedManagedRuleSetResponse
func NewGetLimitedManagedRuleSetResponse ¶
func NewGetLimitedManagedRuleSetResponse() *GetLimitedManagedRuleSetResponse
NewGetLimitedManagedRuleSetResponse instantiates a new GetLimitedManagedRuleSetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetLimitedManagedRuleSetResponseWithDefaults ¶
func NewGetLimitedManagedRuleSetResponseWithDefaults() *GetLimitedManagedRuleSetResponse
NewGetLimitedManagedRuleSetResponseWithDefaults instantiates a new GetLimitedManagedRuleSetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetLimitedManagedRuleSetResponse) GetName ¶
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() MRSType1
GetType returns the Type field value if set, zero value otherwise.
func (*GetLimitedManagedRuleSetResponse) GetTypeOk ¶
func (o *GetLimitedManagedRuleSetResponse) GetTypeOk() (*MRSType1, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetLimitedManagedRuleSetResponse) GetUsage ¶
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 MRSType1)
SetType gets a reference to the given MRSType1 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 *MRSType2 `json:"type,omitempty"`
Usage *MRSUsage `json:"usage,omitempty"`
// Managed rule set version.
Version *string `json:"version,omitempty" validate:"regexp=^v\\\\d+\\\\.\\\\d+\\\\.\\\\d+$"`
AdditionalProperties map[string]interface{}
}
GetManagedRuleSetResponse GetManagedRuleSetResponse returns rule configuration name and it's rules.
func NewGetManagedRuleSetResponse ¶
func NewGetManagedRuleSetResponse() *GetManagedRuleSetResponse
NewGetManagedRuleSetResponse instantiates a new GetManagedRuleSetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetManagedRuleSetResponseWithDefaults ¶
func NewGetManagedRuleSetResponseWithDefaults() *GetManagedRuleSetResponse
NewGetManagedRuleSetResponseWithDefaults instantiates a new GetManagedRuleSetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetManagedRuleSetResponse) GetGroups ¶
func (o *GetManagedRuleSetResponse) GetGroups() map[string]MRSRuleGroup
GetGroups returns the Groups field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetGroupsOk ¶
func (o *GetManagedRuleSetResponse) GetGroupsOk() (*map[string]MRSRuleGroup, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetName ¶
func (o *GetManagedRuleSetResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetNameOk ¶
func (o *GetManagedRuleSetResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetType ¶
func (o *GetManagedRuleSetResponse) GetType() MRSType2
GetType returns the Type field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetTypeOk ¶
func (o *GetManagedRuleSetResponse) GetTypeOk() (*MRSType2, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetUsage ¶
func (o *GetManagedRuleSetResponse) GetUsage() MRSUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetUsageOk ¶
func (o *GetManagedRuleSetResponse) GetUsageOk() (*MRSUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) GetVersion ¶
func (o *GetManagedRuleSetResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*GetManagedRuleSetResponse) GetVersionOk ¶
func (o *GetManagedRuleSetResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetManagedRuleSetResponse) HasGroups ¶
func (o *GetManagedRuleSetResponse) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasName ¶
func (o *GetManagedRuleSetResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasType ¶
func (o *GetManagedRuleSetResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasUsage ¶
func (o *GetManagedRuleSetResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (*GetManagedRuleSetResponse) HasVersion ¶
func (o *GetManagedRuleSetResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (GetManagedRuleSetResponse) MarshalJSON ¶
func (o GetManagedRuleSetResponse) MarshalJSON() ([]byte, error)
func (*GetManagedRuleSetResponse) SetGroups ¶
func (o *GetManagedRuleSetResponse) SetGroups(v map[string]MRSRuleGroup)
SetGroups gets a reference to the given map[string]MRSRuleGroup and assigns it to the Groups field.
func (*GetManagedRuleSetResponse) SetName ¶
func (o *GetManagedRuleSetResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetManagedRuleSetResponse) SetType ¶
func (o *GetManagedRuleSetResponse) SetType(v MRSType2)
SetType gets a reference to the given MRSType2 and assigns it to the Type field.
func (*GetManagedRuleSetResponse) SetUsage ¶
func (o *GetManagedRuleSetResponse) SetUsage(v MRSUsage)
SetUsage gets a reference to the given MRSUsage and assigns it to the Usage field.
func (*GetManagedRuleSetResponse) SetVersion ¶
func (o *GetManagedRuleSetResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (GetManagedRuleSetResponse) ToMap ¶
func (o GetManagedRuleSetResponse) ToMap() (map[string]interface{}, error)
func (*GetManagedRuleSetResponse) UnmarshalJSON ¶
func (o *GetManagedRuleSetResponse) UnmarshalJSON(data []byte) (err error)
type GetQuotaResponse ¶
type GetQuotaResponse struct {
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
Quotas *Quotas `json:"quotas,omitempty"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
GetQuotaResponse struct for GetQuotaResponse
func NewGetQuotaResponse ¶
func NewGetQuotaResponse() *GetQuotaResponse
NewGetQuotaResponse instantiates a new GetQuotaResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetQuotaResponseWithDefaults ¶
func NewGetQuotaResponseWithDefaults() *GetQuotaResponse
NewGetQuotaResponseWithDefaults instantiates a new GetQuotaResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetQuotaResponse) GetProjectId ¶
func (o *GetQuotaResponse) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*GetQuotaResponse) GetProjectIdOk ¶
func (o *GetQuotaResponse) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetQuotas ¶
func (o *GetQuotaResponse) GetQuotas() Quotas
GetQuotas returns the Quotas field value if set, zero value otherwise.
func (*GetQuotaResponse) GetQuotasOk ¶
func (o *GetQuotaResponse) GetQuotasOk() (*Quotas, bool)
GetQuotasOk returns a tuple with the Quotas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) GetRegion ¶
func (o *GetQuotaResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*GetQuotaResponse) GetRegionOk ¶
func (o *GetQuotaResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetQuotaResponse) HasProjectId ¶
func (o *GetQuotaResponse) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*GetQuotaResponse) HasQuotas ¶
func (o *GetQuotaResponse) HasQuotas() bool
HasQuotas returns a boolean if a field has been set.
func (*GetQuotaResponse) HasRegion ¶
func (o *GetQuotaResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (GetQuotaResponse) MarshalJSON ¶
func (o GetQuotaResponse) MarshalJSON() ([]byte, error)
func (*GetQuotaResponse) SetProjectId ¶
func (o *GetQuotaResponse) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*GetQuotaResponse) SetQuotas ¶
func (o *GetQuotaResponse) SetQuotas(v Quotas)
SetQuotas gets a reference to the given Quotas and assigns it to the Quotas field.
func (*GetQuotaResponse) SetRegion ¶
func (o *GetQuotaResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (GetQuotaResponse) ToMap ¶
func (o GetQuotaResponse) ToMap() (map[string]interface{}, error)
func (*GetQuotaResponse) UnmarshalJSON ¶
func (o *GetQuotaResponse) UnmarshalJSON(data []byte) (err error)
type GetWAFResponse ¶
type GetWAFResponse struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
Usage *WAFUsage `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
GetWAFResponse GetWAFResponse returns detailed information about the WAF, which includes the identifying name, references to MRS/CRG and usage.
func NewGetWAFResponse ¶
func NewGetWAFResponse() *GetWAFResponse
NewGetWAFResponse instantiates a new GetWAFResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetWAFResponseWithDefaults ¶
func NewGetWAFResponseWithDefaults() *GetWAFResponse
NewGetWAFResponseWithDefaults instantiates a new GetWAFResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetWAFResponse) GetCustomRuleGroupName ¶
func (o *GetWAFResponse) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*GetWAFResponse) GetCustomRuleGroupNameOk ¶
func (o *GetWAFResponse) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetLabels ¶
func (o *GetWAFResponse) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*GetWAFResponse) GetLabelsOk ¶
func (o *GetWAFResponse) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetManagedRuleSetName ¶
func (o *GetWAFResponse) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*GetWAFResponse) GetManagedRuleSetNameOk ¶
func (o *GetWAFResponse) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetName ¶
func (o *GetWAFResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*GetWAFResponse) GetNameOk ¶
func (o *GetWAFResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) GetUsage ¶
func (o *GetWAFResponse) GetUsage() WAFUsage
GetUsage returns the Usage field value if set, zero value otherwise.
func (*GetWAFResponse) GetUsageOk ¶
func (o *GetWAFResponse) GetUsageOk() (*WAFUsage, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetWAFResponse) HasCustomRuleGroupName ¶
func (o *GetWAFResponse) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*GetWAFResponse) HasLabels ¶
func (o *GetWAFResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*GetWAFResponse) HasManagedRuleSetName ¶
func (o *GetWAFResponse) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*GetWAFResponse) HasName ¶
func (o *GetWAFResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*GetWAFResponse) HasUsage ¶
func (o *GetWAFResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (GetWAFResponse) MarshalJSON ¶
func (o GetWAFResponse) MarshalJSON() ([]byte, error)
func (*GetWAFResponse) SetCustomRuleGroupName ¶
func (o *GetWAFResponse) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*GetWAFResponse) SetLabels ¶
func (o *GetWAFResponse) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*GetWAFResponse) SetManagedRuleSetName ¶
func (o *GetWAFResponse) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*GetWAFResponse) SetName ¶
func (o *GetWAFResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*GetWAFResponse) SetUsage ¶
func (o *GetWAFResponse) SetUsage(v WAFUsage)
SetUsage gets a reference to the given WAFUsage and assigns it to the Usage field.
func (GetWAFResponse) ToMap ¶
func (o GetWAFResponse) ToMap() (map[string]interface{}, error)
func (*GetWAFResponse) UnmarshalJSON ¶
func (o *GetWAFResponse) UnmarshalJSON(data []byte) (err error)
type GoogleProtobufAny ¶
type GoogleProtobufAny struct {
// The type of the serialized message.
Type *string `json:"@type,omitempty"`
AdditionalProperties map[string]interface{}
}
GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
func NewGoogleProtobufAny ¶
func NewGoogleProtobufAny() *GoogleProtobufAny
NewGoogleProtobufAny instantiates a new GoogleProtobufAny object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGoogleProtobufAnyWithDefaults ¶
func NewGoogleProtobufAnyWithDefaults() *GoogleProtobufAny
NewGoogleProtobufAnyWithDefaults instantiates a new GoogleProtobufAny object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GoogleProtobufAny) GetType ¶
func (o *GoogleProtobufAny) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GoogleProtobufAny) GetTypeOk ¶
func (o *GoogleProtobufAny) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GoogleProtobufAny) HasType ¶
func (o *GoogleProtobufAny) HasType() bool
HasType returns a boolean if a field has been set.
func (GoogleProtobufAny) MarshalJSON ¶
func (o GoogleProtobufAny) MarshalJSON() ([]byte, error)
func (*GoogleProtobufAny) SetType ¶
func (o *GoogleProtobufAny) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (GoogleProtobufAny) ToMap ¶
func (o GoogleProtobufAny) ToMap() (map[string]interface{}, error)
func (*GoogleProtobufAny) UnmarshalJSON ¶
func (o *GoogleProtobufAny) UnmarshalJSON(data []byte) (err error)
type ListCustomRuleGroupResponse ¶
type ListCustomRuleGroupResponse struct {
Items []GetCustomRuleGroupResponse `json:"items,omitempty"`
// Continue token from the ListCustomRuleGroupResponse with Limit option
NextPageId *string `json:"nextPageId,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
AdditionalProperties map[string]interface{}
}
ListCustomRuleGroupResponse ListCustomRuleGroupResponse returns a list of Custom Rule Group responses.
func NewListCustomRuleGroupResponse ¶
func NewListCustomRuleGroupResponse() *ListCustomRuleGroupResponse
NewListCustomRuleGroupResponse instantiates a new ListCustomRuleGroupResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListCustomRuleGroupResponseWithDefaults ¶
func NewListCustomRuleGroupResponseWithDefaults() *ListCustomRuleGroupResponse
NewListCustomRuleGroupResponseWithDefaults instantiates a new ListCustomRuleGroupResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListCustomRuleGroupResponse) GetItems ¶
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 {
// SQL Injection Attack Detected via libinjection
Description *string `json:"description,omitempty"`
Mode *Mode `json:"mode,omitempty"`
// Impact level.
Severity *string `json:"severity,omitempty" validate:"regexp=^(CRITICAL|ERROR|WARNING|INFO)$"`
AdditionalProperties map[string]interface{}
}
MRSRule Rule represents an individual security or validation rule.
func NewMRSRule ¶
func NewMRSRule() *MRSRule
NewMRSRule instantiates a new MRSRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMRSRuleWithDefaults ¶
func NewMRSRuleWithDefaults() *MRSRule
NewMRSRuleWithDefaults instantiates a new MRSRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MRSRule) GetDescription ¶
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 MRSType ¶
type MRSType string
MRSType Set the managed rule set type.
const ( MRSTYPE_TYPE_UNSPECIFIED MRSType = "TYPE_UNSPECIFIED" MRSTYPE_TYPE_OWASP_CRS MRSType = "TYPE_OWASP_CRS" MRSTYPE_UNKNOWN_DEFAULT_OPEN_API MRSType = "unknown_default_open_api" )
List of MRS_Type
func NewMRSTypeFromValue ¶
NewMRSTypeFromValue returns a pointer to a valid MRSType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*MRSType) UnmarshalJSON ¶
type MRSType1 ¶
type MRSType1 string
MRSType1 Get the managed rule set type.
const ( MRSTYPE1_TYPE_UNSPECIFIED MRSType1 = "TYPE_UNSPECIFIED" MRSTYPE1_TYPE_OWASP_CRS MRSType1 = "TYPE_OWASP_CRS" MRSTYPE1_UNKNOWN_DEFAULT_OPEN_API MRSType1 = "unknown_default_open_api" )
List of MRS_Type_1
func NewMRSType1FromValue ¶
NewMRSType1FromValue returns a pointer to a valid MRSType1 for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*MRSType1) UnmarshalJSON ¶
type MRSType2 ¶
type MRSType2 string
MRSType2 Get the managed rule set type.
const ( MRSTYPE2_TYPE_UNSPECIFIED MRSType2 = "TYPE_UNSPECIFIED" MRSTYPE2_TYPE_OWASP_CRS MRSType2 = "TYPE_OWASP_CRS" MRSTYPE2_UNKNOWN_DEFAULT_OPEN_API MRSType2 = "unknown_default_open_api" )
List of MRS_Type_2
func NewMRSType2FromValue ¶
NewMRSType2FromValue returns a pointer to a valid MRSType2 for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*MRSType2) UnmarshalJSON ¶
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_UNSPECIFIED Mode = "MODE_UNSPECIFIED" MODE_MODE_ENABLED Mode = "MODE_ENABLED" MODE_MODE_DISABLED Mode = "MODE_DISABLED" MODE_MODE_LOG_ONLY Mode = "MODE_LOG_ONLY" MODE_UNKNOWN_DEFAULT_OPEN_API Mode = "unknown_default_open_api" )
List of Mode
func NewModeFromValue ¶
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 Mode1 ¶
type Mode1 string
Mode1 The current mode of the rule.
const ( MODE1_MODE_UNSPECIFIED Mode1 = "MODE_UNSPECIFIED" MODE1_MODE_ENABLED Mode1 = "MODE_ENABLED" MODE1_MODE_DISABLED Mode1 = "MODE_DISABLED" MODE1_MODE_LOG_ONLY Mode1 = "MODE_LOG_ONLY" MODE1_UNKNOWN_DEFAULT_OPEN_API Mode1 = "unknown_default_open_api" )
List of Mode_1
func NewMode1FromValue ¶
NewMode1FromValue returns a pointer to a valid Mode1 for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Mode1) UnmarshalJSON ¶
type NullableBehaviour ¶
type NullableBehaviour struct {
// contains filtered or unexported fields
}
func NewNullableBehaviour ¶
func NewNullableBehaviour(val *Behaviour) *NullableBehaviour
func (NullableBehaviour) Get ¶
func (v NullableBehaviour) Get() *Behaviour
func (NullableBehaviour) IsSet ¶
func (v NullableBehaviour) IsSet() bool
func (NullableBehaviour) MarshalJSON ¶
func (v NullableBehaviour) MarshalJSON() ([]byte, error)
func (*NullableBehaviour) Set ¶
func (v *NullableBehaviour) Set(val *Behaviour)
func (*NullableBehaviour) UnmarshalJSON ¶
func (v *NullableBehaviour) UnmarshalJSON(src []byte) error
func (*NullableBehaviour) Unset ¶
func (v *NullableBehaviour) Unset()
type NullableBehaviourAction ¶
type NullableBehaviourAction struct {
// contains filtered or unexported fields
}
func NewNullableBehaviourAction ¶
func NewNullableBehaviourAction(val *BehaviourAction) *NullableBehaviourAction
func (NullableBehaviourAction) Get ¶
func (v NullableBehaviourAction) Get() *BehaviourAction
func (NullableBehaviourAction) IsSet ¶
func (v NullableBehaviourAction) IsSet() bool
func (NullableBehaviourAction) MarshalJSON ¶
func (v NullableBehaviourAction) MarshalJSON() ([]byte, error)
func (*NullableBehaviourAction) Set ¶
func (v *NullableBehaviourAction) Set(val *BehaviourAction)
func (*NullableBehaviourAction) UnmarshalJSON ¶
func (v *NullableBehaviourAction) UnmarshalJSON(src []byte) error
func (*NullableBehaviourAction) Unset ¶
func (v *NullableBehaviourAction) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCRGConfigQuota ¶
type NullableCRGConfigQuota struct {
// contains filtered or unexported fields
}
func NewNullableCRGConfigQuota ¶
func NewNullableCRGConfigQuota(val *CRGConfigQuota) *NullableCRGConfigQuota
func (NullableCRGConfigQuota) Get ¶
func (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 NullableConditionOperatorType ¶
type NullableConditionOperatorType struct {
// contains filtered or unexported fields
}
func NewNullableConditionOperatorType ¶
func NewNullableConditionOperatorType(val *ConditionOperatorType) *NullableConditionOperatorType
func (NullableConditionOperatorType) Get ¶
func (v NullableConditionOperatorType) Get() *ConditionOperatorType
func (NullableConditionOperatorType) IsSet ¶
func (v NullableConditionOperatorType) IsSet() bool
func (NullableConditionOperatorType) MarshalJSON ¶
func (v NullableConditionOperatorType) MarshalJSON() ([]byte, error)
func (*NullableConditionOperatorType) Set ¶
func (v *NullableConditionOperatorType) Set(val *ConditionOperatorType)
func (*NullableConditionOperatorType) UnmarshalJSON ¶
func (v *NullableConditionOperatorType) UnmarshalJSON(src []byte) error
func (*NullableConditionOperatorType) Unset ¶
func (v *NullableConditionOperatorType) Unset()
type NullableConditionTransformationsInner ¶
type NullableConditionTransformationsInner struct {
// contains filtered or unexported fields
}
func NewNullableConditionTransformationsInner ¶
func NewNullableConditionTransformationsInner(val *ConditionTransformationsInner) *NullableConditionTransformationsInner
func (NullableConditionTransformationsInner) Get ¶
func (v NullableConditionTransformationsInner) Get() *ConditionTransformationsInner
func (NullableConditionTransformationsInner) IsSet ¶
func (v NullableConditionTransformationsInner) IsSet() bool
func (NullableConditionTransformationsInner) MarshalJSON ¶
func (v NullableConditionTransformationsInner) MarshalJSON() ([]byte, error)
func (*NullableConditionTransformationsInner) Set ¶
func (v *NullableConditionTransformationsInner) Set(val *ConditionTransformationsInner)
func (*NullableConditionTransformationsInner) UnmarshalJSON ¶
func (v *NullableConditionTransformationsInner) UnmarshalJSON(src []byte) error
func (*NullableConditionTransformationsInner) Unset ¶
func (v *NullableConditionTransformationsInner) 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 NullableConditionVariableType ¶
type NullableConditionVariableType struct {
// contains filtered or unexported fields
}
func NewNullableConditionVariableType ¶
func NewNullableConditionVariableType(val *ConditionVariableType) *NullableConditionVariableType
func (NullableConditionVariableType) Get ¶
func (v NullableConditionVariableType) Get() *ConditionVariableType
func (NullableConditionVariableType) IsSet ¶
func (v NullableConditionVariableType) IsSet() bool
func (NullableConditionVariableType) MarshalJSON ¶
func (v NullableConditionVariableType) MarshalJSON() ([]byte, error)
func (*NullableConditionVariableType) Set ¶
func (v *NullableConditionVariableType) Set(val *ConditionVariableType)
func (*NullableConditionVariableType) UnmarshalJSON ¶
func (v *NullableConditionVariableType) UnmarshalJSON(src []byte) error
func (*NullableConditionVariableType) Unset ¶
func (v *NullableConditionVariableType) Unset()
type NullableCreateCustomRule ¶
type NullableCreateCustomRule struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomRule ¶
func NewNullableCreateCustomRule(val *CreateCustomRule) *NullableCreateCustomRule
func (NullableCreateCustomRule) Get ¶
func (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 NullableGetBehaviourAction ¶
type NullableGetBehaviourAction struct {
// contains filtered or unexported fields
}
func NewNullableGetBehaviourAction ¶
func NewNullableGetBehaviourAction(val *GetBehaviourAction) *NullableGetBehaviourAction
func (NullableGetBehaviourAction) Get ¶
func (v NullableGetBehaviourAction) Get() *GetBehaviourAction
func (NullableGetBehaviourAction) IsSet ¶
func (v NullableGetBehaviourAction) IsSet() bool
func (NullableGetBehaviourAction) MarshalJSON ¶
func (v NullableGetBehaviourAction) MarshalJSON() ([]byte, error)
func (*NullableGetBehaviourAction) Set ¶
func (v *NullableGetBehaviourAction) Set(val *GetBehaviourAction)
func (*NullableGetBehaviourAction) UnmarshalJSON ¶
func (v *NullableGetBehaviourAction) UnmarshalJSON(src []byte) error
func (*NullableGetBehaviourAction) Unset ¶
func (v *NullableGetBehaviourAction) Unset()
type NullableGetBehaviourSeverity ¶
type NullableGetBehaviourSeverity struct {
// contains filtered or unexported fields
}
func NewNullableGetBehaviourSeverity ¶
func NewNullableGetBehaviourSeverity(val *GetBehaviourSeverity) *NullableGetBehaviourSeverity
func (NullableGetBehaviourSeverity) Get ¶
func (v NullableGetBehaviourSeverity) Get() *GetBehaviourSeverity
func (NullableGetBehaviourSeverity) IsSet ¶
func (v NullableGetBehaviourSeverity) IsSet() bool
func (NullableGetBehaviourSeverity) MarshalJSON ¶
func (v NullableGetBehaviourSeverity) MarshalJSON() ([]byte, error)
func (*NullableGetBehaviourSeverity) Set ¶
func (v *NullableGetBehaviourSeverity) Set(val *GetBehaviourSeverity)
func (*NullableGetBehaviourSeverity) UnmarshalJSON ¶
func (v *NullableGetBehaviourSeverity) UnmarshalJSON(src []byte) error
func (*NullableGetBehaviourSeverity) Unset ¶
func (v *NullableGetBehaviourSeverity) Unset()
type NullableGetCustomRule ¶
type NullableGetCustomRule struct {
// contains filtered or unexported fields
}
func NewNullableGetCustomRule ¶
func NewNullableGetCustomRule(val *GetCustomRule) *NullableGetCustomRule
func (NullableGetCustomRule) Get ¶
func (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 NullableMRSType ¶
type NullableMRSType struct {
// contains filtered or unexported fields
}
func NewNullableMRSType ¶
func NewNullableMRSType(val *MRSType) *NullableMRSType
func (NullableMRSType) Get ¶
func (v NullableMRSType) Get() *MRSType
func (NullableMRSType) IsSet ¶
func (v NullableMRSType) IsSet() bool
func (NullableMRSType) MarshalJSON ¶
func (v NullableMRSType) MarshalJSON() ([]byte, error)
func (*NullableMRSType) Set ¶
func (v *NullableMRSType) Set(val *MRSType)
func (*NullableMRSType) UnmarshalJSON ¶
func (v *NullableMRSType) UnmarshalJSON(src []byte) error
func (*NullableMRSType) Unset ¶
func (v *NullableMRSType) Unset()
type NullableMRSType1 ¶
type NullableMRSType1 struct {
// contains filtered or unexported fields
}
func NewNullableMRSType1 ¶
func NewNullableMRSType1(val *MRSType1) *NullableMRSType1
func (NullableMRSType1) Get ¶
func (v NullableMRSType1) Get() *MRSType1
func (NullableMRSType1) IsSet ¶
func (v NullableMRSType1) IsSet() bool
func (NullableMRSType1) MarshalJSON ¶
func (v NullableMRSType1) MarshalJSON() ([]byte, error)
func (*NullableMRSType1) Set ¶
func (v *NullableMRSType1) Set(val *MRSType1)
func (*NullableMRSType1) UnmarshalJSON ¶
func (v *NullableMRSType1) UnmarshalJSON(src []byte) error
func (*NullableMRSType1) Unset ¶
func (v *NullableMRSType1) Unset()
type NullableMRSType2 ¶
type NullableMRSType2 struct {
// contains filtered or unexported fields
}
func NewNullableMRSType2 ¶
func NewNullableMRSType2(val *MRSType2) *NullableMRSType2
func (NullableMRSType2) Get ¶
func (v NullableMRSType2) Get() *MRSType2
func (NullableMRSType2) IsSet ¶
func (v NullableMRSType2) IsSet() bool
func (NullableMRSType2) MarshalJSON ¶
func (v NullableMRSType2) MarshalJSON() ([]byte, error)
func (*NullableMRSType2) Set ¶
func (v *NullableMRSType2) Set(val *MRSType2)
func (*NullableMRSType2) UnmarshalJSON ¶
func (v *NullableMRSType2) UnmarshalJSON(src []byte) error
func (*NullableMRSType2) Unset ¶
func (v *NullableMRSType2) Unset()
type NullableMRSUsage ¶
type NullableMRSUsage struct {
// contains filtered or unexported fields
}
func NewNullableMRSUsage ¶
func NewNullableMRSUsage(val *MRSUsage) *NullableMRSUsage
func (NullableMRSUsage) Get ¶
func (v NullableMRSUsage) Get() *MRSUsage
func (NullableMRSUsage) IsSet ¶
func (v NullableMRSUsage) IsSet() bool
func (NullableMRSUsage) MarshalJSON ¶
func (v NullableMRSUsage) MarshalJSON() ([]byte, error)
func (*NullableMRSUsage) Set ¶
func (v *NullableMRSUsage) Set(val *MRSUsage)
func (*NullableMRSUsage) UnmarshalJSON ¶
func (v *NullableMRSUsage) UnmarshalJSON(src []byte) error
func (*NullableMRSUsage) Unset ¶
func (v *NullableMRSUsage) Unset()
type NullableMode ¶
type NullableMode struct {
// contains filtered or unexported fields
}
func NewNullableMode ¶
func NewNullableMode(val *Mode) *NullableMode
func (NullableMode) Get ¶
func (v NullableMode) Get() *Mode
func (NullableMode) IsSet ¶
func (v NullableMode) IsSet() bool
func (NullableMode) MarshalJSON ¶
func (v NullableMode) MarshalJSON() ([]byte, error)
func (*NullableMode) Set ¶
func (v *NullableMode) Set(val *Mode)
func (*NullableMode) UnmarshalJSON ¶
func (v *NullableMode) UnmarshalJSON(src []byte) error
func (*NullableMode) Unset ¶
func (v *NullableMode) Unset()
type NullableMode1 ¶
type NullableMode1 struct {
// contains filtered or unexported fields
}
func NewNullableMode1 ¶
func NewNullableMode1(val *Mode1) *NullableMode1
func (NullableMode1) Get ¶
func (v NullableMode1) Get() *Mode1
func (NullableMode1) IsSet ¶
func (v NullableMode1) IsSet() bool
func (NullableMode1) MarshalJSON ¶
func (v NullableMode1) MarshalJSON() ([]byte, error)
func (*NullableMode1) Set ¶
func (v *NullableMode1) Set(val *Mode1)
func (*NullableMode1) UnmarshalJSON ¶
func (v *NullableMode1) UnmarshalJSON(src []byte) error
func (*NullableMode1) Unset ¶
func (v *NullableMode1) Unset()
type NullablePatchMRSRule ¶
type NullablePatchMRSRule struct {
// contains filtered or unexported fields
}
func NewNullablePatchMRSRule ¶
func NewNullablePatchMRSRule(val *PatchMRSRule) *NullablePatchMRSRule
func (NullablePatchMRSRule) Get ¶
func (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 NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateWAFPayload ¶
type NullableUpdateWAFPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateWAFPayload ¶
func NewNullableUpdateWAFPayload(val *UpdateWAFPayload) *NullableUpdateWAFPayload
func (NullableUpdateWAFPayload) Get ¶
func (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 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 PatchMRSRule ¶
type PatchMRSRule struct {
Mode *Mode1 `json:"mode,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchMRSRule struct for PatchMRSRule
func NewPatchMRSRule ¶
func NewPatchMRSRule() *PatchMRSRule
NewPatchMRSRule instantiates a new PatchMRSRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchMRSRuleWithDefaults ¶
func NewPatchMRSRuleWithDefaults() *PatchMRSRule
NewPatchMRSRuleWithDefaults instantiates a new PatchMRSRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchMRSRule) GetMode ¶
func (o *PatchMRSRule) GetMode() Mode1
GetMode returns the Mode field value if set, zero value otherwise.
func (*PatchMRSRule) GetModeOk ¶
func (o *PatchMRSRule) GetModeOk() (*Mode1, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchMRSRule) HasMode ¶
func (o *PatchMRSRule) HasMode() bool
HasMode returns a boolean if a field has been set.
func (PatchMRSRule) MarshalJSON ¶
func (o PatchMRSRule) MarshalJSON() ([]byte, error)
func (*PatchMRSRule) SetMode ¶
func (o *PatchMRSRule) SetMode(v Mode1)
SetMode gets a reference to the given Mode1 and assigns it to the Mode field.
func (PatchMRSRule) ToMap ¶
func (o PatchMRSRule) ToMap() (map[string]interface{}, error)
func (*PatchMRSRule) UnmarshalJSON ¶
func (o *PatchMRSRule) UnmarshalJSON(data []byte) (err error)
type PatchMRSRuleGroup ¶
type PatchMRSRuleGroup struct {
Rules *map[string]PatchMRSRule `json:"rules,omitempty"`
AdditionalProperties map[string]interface{}
}
PatchMRSRuleGroup struct for PatchMRSRuleGroup
func NewPatchMRSRuleGroup ¶
func NewPatchMRSRuleGroup() *PatchMRSRuleGroup
NewPatchMRSRuleGroup instantiates a new PatchMRSRuleGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchMRSRuleGroupWithDefaults ¶
func NewPatchMRSRuleGroupWithDefaults() *PatchMRSRuleGroup
NewPatchMRSRuleGroupWithDefaults instantiates a new PatchMRSRuleGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchMRSRuleGroup) GetRules ¶
func (o *PatchMRSRuleGroup) GetRules() map[string]PatchMRSRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*PatchMRSRuleGroup) GetRulesOk ¶
func (o *PatchMRSRuleGroup) GetRulesOk() (*map[string]PatchMRSRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchMRSRuleGroup) HasRules ¶
func (o *PatchMRSRuleGroup) HasRules() bool
HasRules returns a boolean if a field has been set.
func (PatchMRSRuleGroup) MarshalJSON ¶
func (o PatchMRSRuleGroup) MarshalJSON() ([]byte, error)
func (*PatchMRSRuleGroup) SetRules ¶
func (o *PatchMRSRuleGroup) SetRules(v map[string]PatchMRSRule)
SetRules gets a reference to the given map[string]PatchMRSRule and assigns it to the Rules field.
func (PatchMRSRuleGroup) ToMap ¶
func (o PatchMRSRuleGroup) ToMap() (map[string]interface{}, error)
func (*PatchMRSRuleGroup) UnmarshalJSON ¶
func (o *PatchMRSRuleGroup) UnmarshalJSON(data []byte) (err error)
type PatchManagedRuleSetPayload ¶
type PatchManagedRuleSetPayload struct {
// Map of Managed Rule Set groups to be patched. The key is the Group ID (e.g., 942 for SQL Injection). Only provided rules within the group will be updated; others remain unchanged.
Groups *map[string]PatchMRSRuleGroup `json:"groups,omitempty"`
// Managed rule set configuration name.
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
PatchManagedRuleSetPayload PatchManagedRuleSetRequest updates a rules configuration.
func NewPatchManagedRuleSetPayload ¶
func NewPatchManagedRuleSetPayload() *PatchManagedRuleSetPayload
NewPatchManagedRuleSetPayload instantiates a new PatchManagedRuleSetPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPatchManagedRuleSetPayloadWithDefaults ¶
func NewPatchManagedRuleSetPayloadWithDefaults() *PatchManagedRuleSetPayload
NewPatchManagedRuleSetPayloadWithDefaults instantiates a new PatchManagedRuleSetPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PatchManagedRuleSetPayload) GetGroups ¶
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 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 UpdateWAFPayload ¶
type UpdateWAFPayload struct {
// Name of the CRG configuration for that WAF.
CustomRuleGroupName *string `json:"customRuleGroupName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Labels represent user-defined metadata as key-value pairs. Label count should not exceed 64 per WAF. **Key Formatting Rules:** Length: 1-63 characters. Characters: Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between. Keys starting with 'stackit-' are system-reserved; users MUST NOT manage them. **Value Formatting Rules:** Length: 0-63 characters (empty string explicitly allowed). Characters (for non-empty values): Must begin and end with [a-zA-Z0-9]. May contain dashes (-), underscores (_), dots (.), and alphanumerics in between.
Labels *map[string]string `json:"labels,omitempty"`
// Name of the managed rule set configuration for that WAF.
ManagedRuleSetName *string `json:"managedRuleSetName,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// WAF name
Name *string `json:"name,omitempty" validate:"regexp=^[0-9a-z](?:(?:[0-9a-z]|-){0,61}[0-9a-z])?$"`
// Project identifier
ProjectId *string `json:"projectId,omitempty" validate:"regexp=^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"`
// Region
Region *string `json:"region,omitempty" validate:"regexp=^[a-z]{2,4}[0-9]{2}$"`
AdditionalProperties map[string]interface{}
}
UpdateWAFPayload UpdateWAFRequest updates a WAF if rules changed.
func NewUpdateWAFPayload ¶
func NewUpdateWAFPayload() *UpdateWAFPayload
NewUpdateWAFPayload instantiates a new UpdateWAFPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateWAFPayloadWithDefaults ¶
func NewUpdateWAFPayloadWithDefaults() *UpdateWAFPayload
NewUpdateWAFPayloadWithDefaults instantiates a new UpdateWAFPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateWAFPayload) GetCustomRuleGroupName ¶
func (o *UpdateWAFPayload) GetCustomRuleGroupName() string
GetCustomRuleGroupName returns the CustomRuleGroupName field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetCustomRuleGroupNameOk ¶
func (o *UpdateWAFPayload) GetCustomRuleGroupNameOk() (*string, bool)
GetCustomRuleGroupNameOk returns a tuple with the CustomRuleGroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetLabels ¶
func (o *UpdateWAFPayload) GetLabels() map[string]string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetLabelsOk ¶
func (o *UpdateWAFPayload) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetManagedRuleSetName ¶
func (o *UpdateWAFPayload) GetManagedRuleSetName() string
GetManagedRuleSetName returns the ManagedRuleSetName field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetManagedRuleSetNameOk ¶
func (o *UpdateWAFPayload) GetManagedRuleSetNameOk() (*string, bool)
GetManagedRuleSetNameOk returns a tuple with the ManagedRuleSetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetName ¶
func (o *UpdateWAFPayload) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetNameOk ¶
func (o *UpdateWAFPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetProjectId ¶
func (o *UpdateWAFPayload) GetProjectId() string
GetProjectId returns the ProjectId field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetProjectIdOk ¶
func (o *UpdateWAFPayload) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) GetRegion ¶
func (o *UpdateWAFPayload) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*UpdateWAFPayload) GetRegionOk ¶
func (o *UpdateWAFPayload) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWAFPayload) HasCustomRuleGroupName ¶
func (o *UpdateWAFPayload) HasCustomRuleGroupName() bool
HasCustomRuleGroupName returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasLabels ¶
func (o *UpdateWAFPayload) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasManagedRuleSetName ¶
func (o *UpdateWAFPayload) HasManagedRuleSetName() bool
HasManagedRuleSetName returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasName ¶
func (o *UpdateWAFPayload) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasProjectId ¶
func (o *UpdateWAFPayload) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (*UpdateWAFPayload) HasRegion ¶
func (o *UpdateWAFPayload) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (UpdateWAFPayload) MarshalJSON ¶
func (o UpdateWAFPayload) MarshalJSON() ([]byte, error)
func (*UpdateWAFPayload) SetCustomRuleGroupName ¶
func (o *UpdateWAFPayload) SetCustomRuleGroupName(v string)
SetCustomRuleGroupName gets a reference to the given string and assigns it to the CustomRuleGroupName field.
func (*UpdateWAFPayload) SetLabels ¶
func (o *UpdateWAFPayload) SetLabels(v map[string]string)
SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.
func (*UpdateWAFPayload) SetManagedRuleSetName ¶
func (o *UpdateWAFPayload) SetManagedRuleSetName(v string)
SetManagedRuleSetName gets a reference to the given string and assigns it to the ManagedRuleSetName field.
func (*UpdateWAFPayload) SetName ¶
func (o *UpdateWAFPayload) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateWAFPayload) SetProjectId ¶
func (o *UpdateWAFPayload) SetProjectId(v string)
SetProjectId gets a reference to the given string and assigns it to the ProjectId field.
func (*UpdateWAFPayload) SetRegion ¶
func (o *UpdateWAFPayload) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (UpdateWAFPayload) ToMap ¶
func (o UpdateWAFPayload) ToMap() (map[string]interface{}, error)
func (*UpdateWAFPayload) UnmarshalJSON ¶
func (o *UpdateWAFPayload) UnmarshalJSON(data []byte) (err error)
type WAFConfigQuota ¶
type WAFConfigQuota struct {
// The maximum number of Web Application Firewall configurations in this project.
Limit *int32 `json:"limit,omitempty"`
// The number of Web Application Firewall configurations that are currently existing in this project.
Usage *int32 `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
WAFConfigQuota WAF Config quota holds the limit and usage for Web Application Firewall configuration resources
func NewWAFConfigQuota ¶
func NewWAFConfigQuota() *WAFConfigQuota
NewWAFConfigQuota instantiates a new WAFConfigQuota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWAFConfigQuotaWithDefaults ¶
func NewWAFConfigQuotaWithDefaults() *WAFConfigQuota
NewWAFConfigQuotaWithDefaults instantiates a new WAFConfigQuota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WAFConfigQuota) GetLimit ¶
func (o *WAFConfigQuota) GetLimit() int32
GetLimit returns the Limit field value if set, zero value otherwise.
func (*WAFConfigQuota) GetLimitOk ¶
func (o *WAFConfigQuota) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFConfigQuota) GetUsage ¶
func (o *WAFConfigQuota) GetUsage() int32
GetUsage returns the Usage field value if set, zero value otherwise.
func (*WAFConfigQuota) GetUsageOk ¶
func (o *WAFConfigQuota) GetUsageOk() (*int32, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFConfigQuota) HasLimit ¶
func (o *WAFConfigQuota) HasLimit() bool
HasLimit returns a boolean if a field has been set.
func (*WAFConfigQuota) HasUsage ¶
func (o *WAFConfigQuota) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (WAFConfigQuota) MarshalJSON ¶
func (o WAFConfigQuota) MarshalJSON() ([]byte, error)
func (*WAFConfigQuota) SetLimit ¶
func (o *WAFConfigQuota) SetLimit(v int32)
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*WAFConfigQuota) SetUsage ¶
func (o *WAFConfigQuota) SetUsage(v int32)
SetUsage gets a reference to the given int32 and assigns it to the Usage field.
func (WAFConfigQuota) ToMap ¶
func (o WAFConfigQuota) ToMap() (map[string]interface{}, error)
func (*WAFConfigQuota) UnmarshalJSON ¶
func (o *WAFConfigQuota) UnmarshalJSON(data []byte) (err error)
type WAFUsage ¶
type WAFUsage struct {
// Number of listeners using this WAF configuration.
Count *int32 `json:"count,omitempty"`
// List of Application Load Balancers with their associated listeners that use this WAF configuration.
Items []WAFUsageItem `json:"items,omitempty"`
AdditionalProperties map[string]interface{}
}
WAFUsage struct for WAFUsage
func NewWAFUsage ¶
func NewWAFUsage() *WAFUsage
NewWAFUsage instantiates a new WAFUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWAFUsageWithDefaults ¶
func NewWAFUsageWithDefaults() *WAFUsage
NewWAFUsageWithDefaults instantiates a new WAFUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WAFUsage) 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_behaviour.go
- model_behaviour_action.go
- model_condition.go
- model_condition_operator.go
- model_condition_operator_type.go
- model_condition_transformations_inner.go
- model_condition_variable.go
- model_condition_variable_type.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_behaviour_action.go
- model_get_behaviour_severity.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_mode_1.go
- model_mrs_config_quota.go
- model_mrs_rule.go
- model_mrs_rule_group.go
- model_mrs_type.go
- model_mrs_type_1.go
- model_mrs_type_2.go
- model_mrs_usage.go
- model_patch_managed_rule_set_payload.go
- model_patch_mrs_rule.go
- model_patch_mrs_rule_group.go
- model_quotas.go
- model_status.go
- model_update_waf_payload.go
- model_waf_config_quota.go
- model_waf_usage.go
- model_waf_usage_item.go
- response.go
- utils.go