Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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 APIKey
- type APIResponse
- type ApiCreateNewWAFRulesetRequest
- type ApiDeleteWAFRulesetRequest
- type ApiGetWAFDomainsRequest
- func (r ApiGetWAFDomainsRequest) Execute() (*WAFDomains200, *http.Response, error)
- func (r ApiGetWAFDomainsRequest) Name(name string) ApiGetWAFDomainsRequest
- func (r ApiGetWAFDomainsRequest) Page(page int64) ApiGetWAFDomainsRequest
- func (r ApiGetWAFDomainsRequest) PageSize(pageSize int64) ApiGetWAFDomainsRequest
- type ApiGetWAFEventsRequest
- func (r ApiGetWAFEventsRequest) DomainsIds(domainsIds []int64) ApiGetWAFEventsRequest
- func (r ApiGetWAFEventsRequest) Execute() (*WAFEvents200, *http.Response, error)
- func (r ApiGetWAFEventsRequest) HourRange(hourRange int64) ApiGetWAFEventsRequest
- func (r ApiGetWAFEventsRequest) NetworkListId(networkListId int64) ApiGetWAFEventsRequest
- func (r ApiGetWAFEventsRequest) Sort(sort string) ApiGetWAFEventsRequest
- type ApiGetWAFRulesetRequest
- type ApiListAllWAFRequest
- type ApiListAllWAFRulesetsRequest
- func (r ApiListAllWAFRulesetsRequest) Execute() (*WAFList200, *http.Response, error)
- func (r ApiListAllWAFRulesetsRequest) OrderBy(orderBy string) ApiListAllWAFRulesetsRequest
- func (r ApiListAllWAFRulesetsRequest) Page(page int64) ApiListAllWAFRulesetsRequest
- func (r ApiListAllWAFRulesetsRequest) PageSize(pageSize int64) ApiListAllWAFRulesetsRequest
- func (r ApiListAllWAFRulesetsRequest) Sort(sort string) ApiListAllWAFRulesetsRequest
- type ApiUpdateWAFRulesetRequest
- type BasicAuth
- type Configuration
- type CreateNewWAFRulesetRequest
- func (o *CreateNewWAFRulesetRequest) GetActive() bool
- func (o *CreateNewWAFRulesetRequest) GetActiveOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetBypassAddresses() []string
- func (o *CreateNewWAFRulesetRequest) GetBypassAddressesOk() ([]string, bool)
- func (o *CreateNewWAFRulesetRequest) GetCrossSiteScripting() bool
- func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversal() bool
- func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetEvadingTricks() bool
- func (o *CreateNewWAFRulesetRequest) GetEvadingTricksOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetEvadingTricksSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetEvadingTricksSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetFileUpload() bool
- func (o *CreateNewWAFRulesetRequest) GetFileUploadOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetFileUploadSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetFileUploadSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetId() int64
- func (o *CreateNewWAFRulesetRequest) GetIdOk() (*int64, bool)
- func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttack() bool
- func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetMode() string
- func (o *CreateNewWAFRulesetRequest) GetModeOk() (*string, bool)
- func (o *CreateNewWAFRulesetRequest) GetName() string
- func (o *CreateNewWAFRulesetRequest) GetNameOk() (*string, bool)
- func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusion() bool
- func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetSqlInjection() bool
- func (o *CreateNewWAFRulesetRequest) GetSqlInjectionOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetSqlInjectionSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetSqlInjectionSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) GetUnwantedAccess() bool
- func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessOk() (*bool, bool)
- func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivity() WAFSensitivityChoices
- func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *CreateNewWAFRulesetRequest) HasId() bool
- func (o CreateNewWAFRulesetRequest) MarshalJSON() ([]byte, error)
- func (o *CreateNewWAFRulesetRequest) SetActive(v bool)
- func (o *CreateNewWAFRulesetRequest) SetBypassAddresses(v []string)
- func (o *CreateNewWAFRulesetRequest) SetCrossSiteScripting(v bool)
- func (o *CreateNewWAFRulesetRequest) SetCrossSiteScriptingSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetDirectoryTraversal(v bool)
- func (o *CreateNewWAFRulesetRequest) SetDirectoryTraversalSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetEvadingTricks(v bool)
- func (o *CreateNewWAFRulesetRequest) SetEvadingTricksSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetFileUpload(v bool)
- func (o *CreateNewWAFRulesetRequest) SetFileUploadSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetId(v int64)
- func (o *CreateNewWAFRulesetRequest) SetIdentifiedAttack(v bool)
- func (o *CreateNewWAFRulesetRequest) SetIdentifiedAttackSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetMode(v string)
- func (o *CreateNewWAFRulesetRequest) SetName(v string)
- func (o *CreateNewWAFRulesetRequest) SetRemoteFileInclusion(v bool)
- func (o *CreateNewWAFRulesetRequest) SetRemoteFileInclusionSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetSqlInjection(v bool)
- func (o *CreateNewWAFRulesetRequest) SetSqlInjectionSensitivity(v WAFSensitivityChoices)
- func (o *CreateNewWAFRulesetRequest) SetUnwantedAccess(v bool)
- func (o *CreateNewWAFRulesetRequest) SetUnwantedAccessSensitivity(v WAFSensitivityChoices)
- func (o CreateNewWAFRulesetRequest) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type Links
- func (o *Links) GetNext() string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrevious() string
- func (o *Links) GetPreviousOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrevious() bool
- func (o Links) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetNextNil()
- func (o *Links) SetPrevious(v string)
- func (o *Links) SetPreviousNil()
- func (o Links) ToMap() (map[string]interface{}, error)
- func (o *Links) UnsetNext()
- func (o *Links) UnsetPrevious()
- type MappedNullable
- type NullableBool
- type NullableCreateNewWAFRulesetRequest
- func (v NullableCreateNewWAFRulesetRequest) Get() *CreateNewWAFRulesetRequest
- func (v NullableCreateNewWAFRulesetRequest) IsSet() bool
- func (v NullableCreateNewWAFRulesetRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNewWAFRulesetRequest) Set(val *CreateNewWAFRulesetRequest)
- func (v *NullableCreateNewWAFRulesetRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNewWAFRulesetRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLinks
- type NullableSingleWAF
- type NullableString
- type NullableTime
- type NullableWAFDomainList200
- func (v NullableWAFDomainList200) Get() *WAFDomainList200
- func (v NullableWAFDomainList200) IsSet() bool
- func (v NullableWAFDomainList200) MarshalJSON() ([]byte, error)
- func (v *NullableWAFDomainList200) Set(val *WAFDomainList200)
- func (v *NullableWAFDomainList200) UnmarshalJSON(src []byte) error
- func (v *NullableWAFDomainList200) Unset()
- type NullableWAFDomains200
- func (v NullableWAFDomains200) Get() *WAFDomains200
- func (v NullableWAFDomains200) IsSet() bool
- func (v NullableWAFDomains200) MarshalJSON() ([]byte, error)
- func (v *NullableWAFDomains200) Set(val *WAFDomains200)
- func (v *NullableWAFDomains200) UnmarshalJSON(src []byte) error
- func (v *NullableWAFDomains200) Unset()
- type NullableWAFEvents200
- func (v NullableWAFEvents200) Get() *WAFEvents200
- func (v NullableWAFEvents200) IsSet() bool
- func (v NullableWAFEvents200) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents200) Set(val *WAFEvents200)
- func (v *NullableWAFEvents200) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents200) Unset()
- type NullableWAFEvents200ResultsInner
- func (v NullableWAFEvents200ResultsInner) Get() *WAFEvents200ResultsInner
- func (v NullableWAFEvents200ResultsInner) IsSet() bool
- func (v NullableWAFEvents200ResultsInner) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents200ResultsInner) Set(val *WAFEvents200ResultsInner)
- func (v *NullableWAFEvents200ResultsInner) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents200ResultsInner) Unset()
- type NullableWAFEvents200ResultsInnerTop10CountriesInner
- func (v NullableWAFEvents200ResultsInnerTop10CountriesInner) Get() *WAFEvents200ResultsInnerTop10CountriesInner
- func (v NullableWAFEvents200ResultsInnerTop10CountriesInner) IsSet() bool
- func (v NullableWAFEvents200ResultsInnerTop10CountriesInner) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents200ResultsInnerTop10CountriesInner) Set(val *WAFEvents200ResultsInnerTop10CountriesInner)
- func (v *NullableWAFEvents200ResultsInnerTop10CountriesInner) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents200ResultsInnerTop10CountriesInner) Unset()
- type NullableWAFEvents400
- func (v NullableWAFEvents400) Get() *WAFEvents400
- func (v NullableWAFEvents400) IsSet() bool
- func (v NullableWAFEvents400) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents400) Set(val *WAFEvents400)
- func (v *NullableWAFEvents400) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents400) Unset()
- type NullableWAFEvents401
- func (v NullableWAFEvents401) Get() *WAFEvents401
- func (v NullableWAFEvents401) IsSet() bool
- func (v NullableWAFEvents401) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents401) Set(val *WAFEvents401)
- func (v *NullableWAFEvents401) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents401) Unset()
- type NullableWAFEvents404
- func (v NullableWAFEvents404) Get() *WAFEvents404
- func (v NullableWAFEvents404) IsSet() bool
- func (v NullableWAFEvents404) MarshalJSON() ([]byte, error)
- func (v *NullableWAFEvents404) Set(val *WAFEvents404)
- func (v *NullableWAFEvents404) UnmarshalJSON(src []byte) error
- func (v *NullableWAFEvents404) Unset()
- type NullableWAFList200
- type NullableWAFSensitivityChoices
- func (v NullableWAFSensitivityChoices) Get() *WAFSensitivityChoices
- func (v NullableWAFSensitivityChoices) IsSet() bool
- func (v NullableWAFSensitivityChoices) MarshalJSON() ([]byte, error)
- func (v *NullableWAFSensitivityChoices) Set(val *WAFSensitivityChoices)
- func (v *NullableWAFSensitivityChoices) UnmarshalJSON(src []byte) error
- func (v *NullableWAFSensitivityChoices) Unset()
- type NullableWAFSingle200
- func (v NullableWAFSingle200) Get() *WAFSingle200
- func (v NullableWAFSingle200) IsSet() bool
- func (v NullableWAFSingle200) MarshalJSON() ([]byte, error)
- func (v *NullableWAFSingle200) Set(val *WAFSingle200)
- func (v *NullableWAFSingle200) UnmarshalJSON(src []byte) error
- func (v *NullableWAFSingle200) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SingleWAF
- func (o *SingleWAF) GetActive() bool
- func (o *SingleWAF) GetActiveOk() (*bool, bool)
- func (o *SingleWAF) GetBypassAddresses() []string
- func (o *SingleWAF) GetBypassAddressesOk() ([]string, bool)
- func (o *SingleWAF) GetCrossSiteScripting() bool
- func (o *SingleWAF) GetCrossSiteScriptingOk() (*bool, bool)
- func (o *SingleWAF) GetCrossSiteScriptingSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetCrossSiteScriptingSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetDirectoryTraversal() bool
- func (o *SingleWAF) GetDirectoryTraversalOk() (*bool, bool)
- func (o *SingleWAF) GetDirectoryTraversalSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetDirectoryTraversalSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetEvadingTricks() bool
- func (o *SingleWAF) GetEvadingTricksOk() (*bool, bool)
- func (o *SingleWAF) GetEvadingTricksSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetEvadingTricksSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetFileUpload() bool
- func (o *SingleWAF) GetFileUploadOk() (*bool, bool)
- func (o *SingleWAF) GetFileUploadSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetFileUploadSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetId() int64
- func (o *SingleWAF) GetIdOk() (*int64, bool)
- func (o *SingleWAF) GetIdentifiedAttack() bool
- func (o *SingleWAF) GetIdentifiedAttackOk() (*bool, bool)
- func (o *SingleWAF) GetIdentifiedAttackSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetIdentifiedAttackSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetMode() string
- func (o *SingleWAF) GetModeOk() (*string, bool)
- func (o *SingleWAF) GetName() string
- func (o *SingleWAF) GetNameOk() (*string, bool)
- func (o *SingleWAF) GetRemoteFileInclusion() bool
- func (o *SingleWAF) GetRemoteFileInclusionOk() (*bool, bool)
- func (o *SingleWAF) GetRemoteFileInclusionSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetRemoteFileInclusionSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetSqlInjection() bool
- func (o *SingleWAF) GetSqlInjectionOk() (*bool, bool)
- func (o *SingleWAF) GetSqlInjectionSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetSqlInjectionSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) GetUnwantedAccess() bool
- func (o *SingleWAF) GetUnwantedAccessOk() (*bool, bool)
- func (o *SingleWAF) GetUnwantedAccessSensitivity() WAFSensitivityChoices
- func (o *SingleWAF) GetUnwantedAccessSensitivityOk() (*WAFSensitivityChoices, bool)
- func (o *SingleWAF) HasActive() bool
- func (o *SingleWAF) HasBypassAddresses() bool
- func (o *SingleWAF) HasCrossSiteScripting() bool
- func (o *SingleWAF) HasCrossSiteScriptingSensitivity() bool
- func (o *SingleWAF) HasDirectoryTraversal() bool
- func (o *SingleWAF) HasDirectoryTraversalSensitivity() bool
- func (o *SingleWAF) HasEvadingTricks() bool
- func (o *SingleWAF) HasEvadingTricksSensitivity() bool
- func (o *SingleWAF) HasFileUpload() bool
- func (o *SingleWAF) HasFileUploadSensitivity() bool
- func (o *SingleWAF) HasId() bool
- func (o *SingleWAF) HasIdentifiedAttack() bool
- func (o *SingleWAF) HasIdentifiedAttackSensitivity() bool
- func (o *SingleWAF) HasMode() bool
- func (o *SingleWAF) HasName() bool
- func (o *SingleWAF) HasRemoteFileInclusion() bool
- func (o *SingleWAF) HasRemoteFileInclusionSensitivity() bool
- func (o *SingleWAF) HasSqlInjection() bool
- func (o *SingleWAF) HasSqlInjectionSensitivity() bool
- func (o *SingleWAF) HasUnwantedAccess() bool
- func (o *SingleWAF) HasUnwantedAccessSensitivity() bool
- func (o SingleWAF) MarshalJSON() ([]byte, error)
- func (o *SingleWAF) SetActive(v bool)
- func (o *SingleWAF) SetBypassAddresses(v []string)
- func (o *SingleWAF) SetCrossSiteScripting(v bool)
- func (o *SingleWAF) SetCrossSiteScriptingSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetDirectoryTraversal(v bool)
- func (o *SingleWAF) SetDirectoryTraversalSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetEvadingTricks(v bool)
- func (o *SingleWAF) SetEvadingTricksSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetFileUpload(v bool)
- func (o *SingleWAF) SetFileUploadSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetId(v int64)
- func (o *SingleWAF) SetIdentifiedAttack(v bool)
- func (o *SingleWAF) SetIdentifiedAttackSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetMode(v string)
- func (o *SingleWAF) SetName(v string)
- func (o *SingleWAF) SetRemoteFileInclusion(v bool)
- func (o *SingleWAF) SetRemoteFileInclusionSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetSqlInjection(v bool)
- func (o *SingleWAF) SetSqlInjectionSensitivity(v WAFSensitivityChoices)
- func (o *SingleWAF) SetUnwantedAccess(v bool)
- func (o *SingleWAF) SetUnwantedAccessSensitivity(v WAFSensitivityChoices)
- func (o SingleWAF) ToMap() (map[string]interface{}, error)
- type WAFAPIService
- func (a *WAFAPIService) CreateNewWAFRuleset(ctx context.Context) ApiCreateNewWAFRulesetRequest
- func (a *WAFAPIService) CreateNewWAFRulesetExecute(r ApiCreateNewWAFRulesetRequest) (*SingleWAF, *http.Response, error)
- func (a *WAFAPIService) DeleteWAFRuleset(ctx context.Context, wafRuleSetId string) ApiDeleteWAFRulesetRequest
- func (a *WAFAPIService) DeleteWAFRulesetExecute(r ApiDeleteWAFRulesetRequest) (*http.Response, error)
- func (a *WAFAPIService) GetWAFDomains(ctx context.Context, wafId int64) ApiGetWAFDomainsRequest
- func (a *WAFAPIService) GetWAFDomainsExecute(r ApiGetWAFDomainsRequest) (*WAFDomains200, *http.Response, error)
- func (a *WAFAPIService) GetWAFEvents(ctx context.Context, wafId int64) ApiGetWAFEventsRequest
- func (a *WAFAPIService) GetWAFEventsExecute(r ApiGetWAFEventsRequest) (*WAFEvents200, *http.Response, error)
- func (a *WAFAPIService) GetWAFRuleset(ctx context.Context, wafRuleSetId int64) ApiGetWAFRulesetRequest
- func (a *WAFAPIService) GetWAFRulesetExecute(r ApiGetWAFRulesetRequest) (*WAFSingle200, *http.Response, error)
- func (a *WAFAPIService) ListAllWAF(ctx context.Context) ApiListAllWAFRequest
- func (a *WAFAPIService) ListAllWAFExecute(r ApiListAllWAFRequest) (*WAFList200, *http.Response, error)
- func (a *WAFAPIService) ListAllWAFRulesets(ctx context.Context) ApiListAllWAFRulesetsRequest
- func (a *WAFAPIService) ListAllWAFRulesetsExecute(r ApiListAllWAFRulesetsRequest) (*WAFList200, *http.Response, error)
- func (a *WAFAPIService) UpdateWAFRuleset(ctx context.Context, wafRuleSetId string) ApiUpdateWAFRulesetRequest
- func (a *WAFAPIService) UpdateWAFRulesetExecute(r ApiUpdateWAFRulesetRequest) (*SingleWAF, *http.Response, error)
- type WAFDomainList200
- func (o *WAFDomainList200) GetCnames() []string
- func (o *WAFDomainList200) GetCnamesOk() ([]string, bool)
- func (o *WAFDomainList200) GetDomain() string
- func (o *WAFDomainList200) GetDomainOk() (*string, bool)
- func (o *WAFDomainList200) GetId() int64
- func (o *WAFDomainList200) GetIdOk() (*int64, bool)
- func (o *WAFDomainList200) GetName() string
- func (o *WAFDomainList200) GetNameOk() (*string, bool)
- func (o *WAFDomainList200) HasCnames() bool
- func (o *WAFDomainList200) HasDomain() bool
- func (o *WAFDomainList200) HasId() bool
- func (o *WAFDomainList200) HasName() bool
- func (o WAFDomainList200) MarshalJSON() ([]byte, error)
- func (o *WAFDomainList200) SetCnames(v []string)
- func (o *WAFDomainList200) SetDomain(v string)
- func (o *WAFDomainList200) SetId(v int64)
- func (o *WAFDomainList200) SetName(v string)
- func (o WAFDomainList200) ToMap() (map[string]interface{}, error)
- type WAFDomains200
- func (o *WAFDomains200) GetCount() int64
- func (o *WAFDomains200) GetCountOk() (*int64, bool)
- func (o *WAFDomains200) GetLinks() Links
- func (o *WAFDomains200) GetLinksOk() (*Links, bool)
- func (o *WAFDomains200) GetResults() []WAFDomainList200
- func (o *WAFDomains200) GetResultsOk() ([]WAFDomainList200, bool)
- func (o *WAFDomains200) GetSchemaVersion() int64
- func (o *WAFDomains200) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFDomains200) GetTotalPages() int64
- func (o *WAFDomains200) GetTotalPagesOk() (*int64, bool)
- func (o *WAFDomains200) HasCount() bool
- func (o *WAFDomains200) HasLinks() bool
- func (o *WAFDomains200) HasResults() bool
- func (o *WAFDomains200) HasSchemaVersion() bool
- func (o *WAFDomains200) HasTotalPages() bool
- func (o WAFDomains200) MarshalJSON() ([]byte, error)
- func (o *WAFDomains200) SetCount(v int64)
- func (o *WAFDomains200) SetLinks(v Links)
- func (o *WAFDomains200) SetResults(v []WAFDomainList200)
- func (o *WAFDomains200) SetSchemaVersion(v int64)
- func (o *WAFDomains200) SetTotalPages(v int64)
- func (o WAFDomains200) ToMap() (map[string]interface{}, error)
- type WAFEvents200
- func (o *WAFEvents200) GetResults() []WAFEvents200ResultsInner
- func (o *WAFEvents200) GetResultsOk() ([]WAFEvents200ResultsInner, bool)
- func (o *WAFEvents200) GetSchemaVersion() int64
- func (o *WAFEvents200) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFEvents200) HasResults() bool
- func (o *WAFEvents200) HasSchemaVersion() bool
- func (o WAFEvents200) MarshalJSON() ([]byte, error)
- func (o *WAFEvents200) SetResults(v []WAFEvents200ResultsInner)
- func (o *WAFEvents200) SetSchemaVersion(v int64)
- func (o WAFEvents200) ToMap() (map[string]interface{}, error)
- type WAFEvents200ResultsInner
- func (o *WAFEvents200ResultsInner) GetCountryCount() int64
- func (o *WAFEvents200ResultsInner) GetCountryCountOk() (*int64, bool)
- func (o *WAFEvents200ResultsInner) GetHitCount() int64
- func (o *WAFEvents200ResultsInner) GetHitCountOk() (*int64, bool)
- func (o *WAFEvents200ResultsInner) GetIpCount() int64
- func (o *WAFEvents200ResultsInner) GetIpCountOk() (*int64, bool)
- func (o *WAFEvents200ResultsInner) GetMatchZone() string
- func (o *WAFEvents200ResultsInner) GetMatchZoneOk() (*string, bool)
- func (o *WAFEvents200ResultsInner) GetMatchesOn() string
- func (o *WAFEvents200ResultsInner) GetMatchesOnOk() (*string, bool)
- func (o *WAFEvents200ResultsInner) GetPathCount() int64
- func (o *WAFEvents200ResultsInner) GetPathCountOk() (*int64, bool)
- func (o *WAFEvents200ResultsInner) GetRuleDescription() string
- func (o *WAFEvents200ResultsInner) GetRuleDescriptionOk() (*string, bool)
- func (o *WAFEvents200ResultsInner) GetRuleId() int64
- func (o *WAFEvents200ResultsInner) GetRuleIdOk() (*int64, bool)
- func (o *WAFEvents200ResultsInner) GetTop10Countries() []WAFEvents200ResultsInnerTop10CountriesInner
- func (o *WAFEvents200ResultsInner) GetTop10CountriesOk() ([]WAFEvents200ResultsInnerTop10CountriesInner, bool)
- func (o *WAFEvents200ResultsInner) GetTop10Ips() []WAFEvents200ResultsInnerTop10CountriesInner
- func (o *WAFEvents200ResultsInner) GetTop10IpsOk() ([]WAFEvents200ResultsInnerTop10CountriesInner, bool)
- func (o *WAFEvents200ResultsInner) HasCountryCount() bool
- func (o *WAFEvents200ResultsInner) HasHitCount() bool
- func (o *WAFEvents200ResultsInner) HasIpCount() bool
- func (o *WAFEvents200ResultsInner) HasMatchZone() bool
- func (o *WAFEvents200ResultsInner) HasMatchesOn() bool
- func (o *WAFEvents200ResultsInner) HasPathCount() bool
- func (o *WAFEvents200ResultsInner) HasRuleDescription() bool
- func (o *WAFEvents200ResultsInner) HasRuleId() bool
- func (o *WAFEvents200ResultsInner) HasTop10Countries() bool
- func (o *WAFEvents200ResultsInner) HasTop10Ips() bool
- func (o WAFEvents200ResultsInner) MarshalJSON() ([]byte, error)
- func (o *WAFEvents200ResultsInner) SetCountryCount(v int64)
- func (o *WAFEvents200ResultsInner) SetHitCount(v int64)
- func (o *WAFEvents200ResultsInner) SetIpCount(v int64)
- func (o *WAFEvents200ResultsInner) SetMatchZone(v string)
- func (o *WAFEvents200ResultsInner) SetMatchesOn(v string)
- func (o *WAFEvents200ResultsInner) SetPathCount(v int64)
- func (o *WAFEvents200ResultsInner) SetRuleDescription(v string)
- func (o *WAFEvents200ResultsInner) SetRuleId(v int64)
- func (o *WAFEvents200ResultsInner) SetTop10Countries(v []WAFEvents200ResultsInnerTop10CountriesInner)
- func (o *WAFEvents200ResultsInner) SetTop10Ips(v []WAFEvents200ResultsInnerTop10CountriesInner)
- func (o WAFEvents200ResultsInner) ToMap() (map[string]interface{}, error)
- type WAFEvents200ResultsInnerTop10CountriesInner
- type WAFEvents400
- func (o *WAFEvents400) GetErrors() []map[string]interface{}
- func (o *WAFEvents400) GetErrorsOk() ([]map[string]interface{}, bool)
- func (o *WAFEvents400) GetSchemaVersion() int64
- func (o *WAFEvents400) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFEvents400) HasErrors() bool
- func (o *WAFEvents400) HasSchemaVersion() bool
- func (o WAFEvents400) MarshalJSON() ([]byte, error)
- func (o *WAFEvents400) SetErrors(v []map[string]interface{})
- func (o *WAFEvents400) SetSchemaVersion(v int64)
- func (o WAFEvents400) ToMap() (map[string]interface{}, error)
- type WAFEvents401
- type WAFEvents404
- func (o *WAFEvents404) GetErrors() []map[string]interface{}
- func (o *WAFEvents404) GetErrorsOk() ([]map[string]interface{}, bool)
- func (o *WAFEvents404) GetSchemaVersion() int64
- func (o *WAFEvents404) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFEvents404) HasErrors() bool
- func (o *WAFEvents404) HasSchemaVersion() bool
- func (o WAFEvents404) MarshalJSON() ([]byte, error)
- func (o *WAFEvents404) SetErrors(v []map[string]interface{})
- func (o *WAFEvents404) SetSchemaVersion(v int64)
- func (o WAFEvents404) ToMap() (map[string]interface{}, error)
- type WAFList200
- func (o *WAFList200) GetCount() int64
- func (o *WAFList200) GetCountOk() (*int64, bool)
- func (o *WAFList200) GetLinks() Links
- func (o *WAFList200) GetLinksOk() (*Links, bool)
- func (o *WAFList200) GetResults() []SingleWAF
- func (o *WAFList200) GetResultsOk() ([]SingleWAF, bool)
- func (o *WAFList200) GetSchemaVersion() int64
- func (o *WAFList200) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFList200) GetTotalPages() int64
- func (o *WAFList200) GetTotalPagesOk() (*int64, bool)
- func (o *WAFList200) HasCount() bool
- func (o *WAFList200) HasLinks() bool
- func (o *WAFList200) HasResults() bool
- func (o *WAFList200) HasSchemaVersion() bool
- func (o *WAFList200) HasTotalPages() bool
- func (o WAFList200) MarshalJSON() ([]byte, error)
- func (o *WAFList200) SetCount(v int64)
- func (o *WAFList200) SetLinks(v Links)
- func (o *WAFList200) SetResults(v []SingleWAF)
- func (o *WAFList200) SetSchemaVersion(v int64)
- func (o *WAFList200) SetTotalPages(v int64)
- func (o WAFList200) ToMap() (map[string]interface{}, error)
- type WAFSensitivityChoices
- type WAFSingle200
- func (o *WAFSingle200) GetResults() SingleWAF
- func (o *WAFSingle200) GetResultsOk() (*SingleWAF, bool)
- func (o *WAFSingle200) GetSchemaVersion() int64
- func (o *WAFSingle200) GetSchemaVersionOk() (*int64, bool)
- func (o *WAFSingle200) HasResults() bool
- func (o *WAFSingle200) HasSchemaVersion() bool
- func (o WAFSingle200) MarshalJSON() ([]byte, error)
- func (o *WAFSingle200) SetResults(v SingleWAF)
- func (o *WAFSingle200) SetSchemaVersion(v int64)
- func (o WAFSingle200) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedWAFSensitivityChoicesEnumValues = []WAFSensitivityChoices{
"lowest",
"low",
"medium",
"high",
"highest",
}
All allowed values of WAFSensitivityChoices enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
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 { WAFAPI *WAFAPIService // contains filtered or unexported fields }
APIClient manages communication with the Web Application Firewall API API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
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() *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 APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
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 ApiCreateNewWAFRulesetRequest ¶ added in v0.100.0
type ApiCreateNewWAFRulesetRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiCreateNewWAFRulesetRequest) CreateNewWAFRulesetRequest ¶ added in v0.100.0
func (r ApiCreateNewWAFRulesetRequest) CreateNewWAFRulesetRequest(createNewWAFRulesetRequest CreateNewWAFRulesetRequest) ApiCreateNewWAFRulesetRequest
type ApiDeleteWAFRulesetRequest ¶ added in v0.100.0
type ApiDeleteWAFRulesetRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
type ApiGetWAFDomainsRequest ¶
type ApiGetWAFDomainsRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiGetWAFDomainsRequest) Execute ¶
func (r ApiGetWAFDomainsRequest) Execute() (*WAFDomains200, *http.Response, error)
func (ApiGetWAFDomainsRequest) Name ¶
func (r ApiGetWAFDomainsRequest) Name(name string) ApiGetWAFDomainsRequest
searches WAF for name
func (ApiGetWAFDomainsRequest) Page ¶ added in v0.108.0
func (r ApiGetWAFDomainsRequest) Page(page int64) ApiGetWAFDomainsRequest
Identifies which page should be returned, if the return is paginated.
func (ApiGetWAFDomainsRequest) PageSize ¶ added in v0.108.0
func (r ApiGetWAFDomainsRequest) PageSize(pageSize int64) ApiGetWAFDomainsRequest
Identifies how many items should be returned per page.
type ApiGetWAFEventsRequest ¶
type ApiGetWAFEventsRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiGetWAFEventsRequest) DomainsIds ¶
func (r ApiGetWAFEventsRequest) DomainsIds(domainsIds []int64) ApiGetWAFEventsRequest
Multiple domain's id (they must be separated by comma like 1233,1234)
func (ApiGetWAFEventsRequest) Execute ¶
func (r ApiGetWAFEventsRequest) Execute() (*WAFEvents200, *http.Response, error)
func (ApiGetWAFEventsRequest) HourRange ¶
func (r ApiGetWAFEventsRequest) HourRange(hourRange int64) ApiGetWAFEventsRequest
Last log hours since now (it must be a integer number ranging between 1 and 72)
func (ApiGetWAFEventsRequest) NetworkListId ¶
func (r ApiGetWAFEventsRequest) NetworkListId(networkListId int64) ApiGetWAFEventsRequest
Id of a network list
func (ApiGetWAFEventsRequest) Sort ¶ added in v0.105.0
func (r ApiGetWAFEventsRequest) Sort(sort string) ApiGetWAFEventsRequest
type ApiGetWAFRulesetRequest ¶ added in v0.100.0
type ApiGetWAFRulesetRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiGetWAFRulesetRequest) Execute ¶ added in v0.100.0
func (r ApiGetWAFRulesetRequest) Execute() (*WAFSingle200, *http.Response, error)
type ApiListAllWAFRequest ¶ added in v0.100.0
type ApiListAllWAFRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiListAllWAFRequest) Execute ¶ added in v0.100.0
func (r ApiListAllWAFRequest) Execute() (*WAFList200, *http.Response, error)
func (ApiListAllWAFRequest) Page ¶ added in v0.100.0
func (r ApiListAllWAFRequest) Page(page int64) ApiListAllWAFRequest
Identifies which page should be returned, if the return is paginated.
func (ApiListAllWAFRequest) PageSize ¶ added in v0.100.0
func (r ApiListAllWAFRequest) PageSize(pageSize int64) ApiListAllWAFRequest
Identifies how many items should be returned per page.
type ApiListAllWAFRulesetsRequest ¶ added in v0.100.0
type ApiListAllWAFRulesetsRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiListAllWAFRulesetsRequest) Execute ¶ added in v0.100.0
func (r ApiListAllWAFRulesetsRequest) Execute() (*WAFList200, *http.Response, error)
func (ApiListAllWAFRulesetsRequest) OrderBy ¶ added in v0.100.0
func (r ApiListAllWAFRulesetsRequest) OrderBy(orderBy string) ApiListAllWAFRulesetsRequest
Identifies which property the return should be sorted by.
func (ApiListAllWAFRulesetsRequest) Page ¶ added in v0.100.0
func (r ApiListAllWAFRulesetsRequest) Page(page int64) ApiListAllWAFRulesetsRequest
Identifies which page should be returned, if the return is paginated.
func (ApiListAllWAFRulesetsRequest) PageSize ¶ added in v0.100.0
func (r ApiListAllWAFRulesetsRequest) PageSize(pageSize int64) ApiListAllWAFRulesetsRequest
Identifies how many items should be returned per page.
func (ApiListAllWAFRulesetsRequest) Sort ¶ added in v0.100.0
func (r ApiListAllWAFRulesetsRequest) Sort(sort string) ApiListAllWAFRulesetsRequest
Defines whether objects are shown in ascending or descending order depending on the value set in order_by.
type ApiUpdateWAFRulesetRequest ¶ added in v0.100.0
type ApiUpdateWAFRulesetRequest struct { ApiService *WAFAPIService // contains filtered or unexported fields }
func (ApiUpdateWAFRulesetRequest) Execute ¶ added in v0.100.0
func (r ApiUpdateWAFRulesetRequest) Execute() (*SingleWAF, *http.Response, error)
func (ApiUpdateWAFRulesetRequest) SingleWAF ¶ added in v0.100.0
func (r ApiUpdateWAFRulesetRequest) SingleWAF(singleWAF SingleWAF) ApiUpdateWAFRulesetRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateNewWAFRulesetRequest ¶ added in v0.100.0
type CreateNewWAFRulesetRequest struct { Id *int64 `json:"id,omitempty"` // Identification name for WAF Rule Set. Name string `json:"name"` Mode string `json:"mode"` Active bool `json:"active"` SqlInjection bool `json:"sql_injection"` SqlInjectionSensitivity WAFSensitivityChoices `json:"sql_injection_sensitivity"` RemoteFileInclusion bool `json:"remote_file_inclusion"` RemoteFileInclusionSensitivity WAFSensitivityChoices `json:"remote_file_inclusion_sensitivity"` DirectoryTraversal bool `json:"directory_traversal"` DirectoryTraversalSensitivity WAFSensitivityChoices `json:"directory_traversal_sensitivity"` CrossSiteScripting bool `json:"cross_site_scripting"` CrossSiteScriptingSensitivity WAFSensitivityChoices `json:"cross_site_scripting_sensitivity"` EvadingTricks bool `json:"evading_tricks"` EvadingTricksSensitivity WAFSensitivityChoices `json:"evading_tricks_sensitivity"` FileUpload bool `json:"file_upload"` FileUploadSensitivity WAFSensitivityChoices `json:"file_upload_sensitivity"` UnwantedAccess bool `json:"unwanted_access"` UnwantedAccessSensitivity WAFSensitivityChoices `json:"unwanted_access_sensitivity"` IdentifiedAttack bool `json:"identified_attack"` IdentifiedAttackSensitivity WAFSensitivityChoices `json:"identified_attack_sensitivity"` BypassAddresses []string `json:"bypass_addresses"` }
CreateNewWAFRulesetRequest struct for CreateNewWAFRulesetRequest
func NewCreateNewWAFRulesetRequest ¶ added in v0.100.0
func NewCreateNewWAFRulesetRequest(name string, mode string, active bool, sqlInjection bool, sqlInjectionSensitivity WAFSensitivityChoices, remoteFileInclusion bool, remoteFileInclusionSensitivity WAFSensitivityChoices, directoryTraversal bool, directoryTraversalSensitivity WAFSensitivityChoices, crossSiteScripting bool, crossSiteScriptingSensitivity WAFSensitivityChoices, evadingTricks bool, evadingTricksSensitivity WAFSensitivityChoices, fileUpload bool, fileUploadSensitivity WAFSensitivityChoices, unwantedAccess bool, unwantedAccessSensitivity WAFSensitivityChoices, identifiedAttack bool, identifiedAttackSensitivity WAFSensitivityChoices, bypassAddresses []string) *CreateNewWAFRulesetRequest
NewCreateNewWAFRulesetRequest instantiates a new CreateNewWAFRulesetRequest 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 NewCreateNewWAFRulesetRequestWithDefaults ¶ added in v0.100.0
func NewCreateNewWAFRulesetRequestWithDefaults() *CreateNewWAFRulesetRequest
NewCreateNewWAFRulesetRequestWithDefaults instantiates a new CreateNewWAFRulesetRequest 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 (*CreateNewWAFRulesetRequest) GetActive ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetActive() bool
GetActive returns the Active field value
func (*CreateNewWAFRulesetRequest) GetActiveOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetBypassAddresses ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetBypassAddresses() []string
GetBypassAddresses returns the BypassAddresses field value
func (*CreateNewWAFRulesetRequest) GetBypassAddressesOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetBypassAddressesOk() ([]string, bool)
GetBypassAddressesOk returns a tuple with the BypassAddresses field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetCrossSiteScripting ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetCrossSiteScripting() bool
GetCrossSiteScripting returns the CrossSiteScripting field value
func (*CreateNewWAFRulesetRequest) GetCrossSiteScriptingOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingOk() (*bool, bool)
GetCrossSiteScriptingOk returns a tuple with the CrossSiteScripting field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivity() WAFSensitivityChoices
GetCrossSiteScriptingSensitivity returns the CrossSiteScriptingSensitivity field value
func (*CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetCrossSiteScriptingSensitivityOk() (*WAFSensitivityChoices, bool)
GetCrossSiteScriptingSensitivityOk returns a tuple with the CrossSiteScriptingSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetDirectoryTraversal ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversal() bool
GetDirectoryTraversal returns the DirectoryTraversal field value
func (*CreateNewWAFRulesetRequest) GetDirectoryTraversalOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalOk() (*bool, bool)
GetDirectoryTraversalOk returns a tuple with the DirectoryTraversal field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivity() WAFSensitivityChoices
GetDirectoryTraversalSensitivity returns the DirectoryTraversalSensitivity field value
func (*CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetDirectoryTraversalSensitivityOk() (*WAFSensitivityChoices, bool)
GetDirectoryTraversalSensitivityOk returns a tuple with the DirectoryTraversalSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetEvadingTricks ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetEvadingTricks() bool
GetEvadingTricks returns the EvadingTricks field value
func (*CreateNewWAFRulesetRequest) GetEvadingTricksOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetEvadingTricksOk() (*bool, bool)
GetEvadingTricksOk returns a tuple with the EvadingTricks field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetEvadingTricksSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetEvadingTricksSensitivity() WAFSensitivityChoices
GetEvadingTricksSensitivity returns the EvadingTricksSensitivity field value
func (*CreateNewWAFRulesetRequest) GetEvadingTricksSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetEvadingTricksSensitivityOk() (*WAFSensitivityChoices, bool)
GetEvadingTricksSensitivityOk returns a tuple with the EvadingTricksSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetFileUpload ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetFileUpload() bool
GetFileUpload returns the FileUpload field value
func (*CreateNewWAFRulesetRequest) GetFileUploadOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetFileUploadOk() (*bool, bool)
GetFileUploadOk returns a tuple with the FileUpload field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetFileUploadSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetFileUploadSensitivity() WAFSensitivityChoices
GetFileUploadSensitivity returns the FileUploadSensitivity field value
func (*CreateNewWAFRulesetRequest) GetFileUploadSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetFileUploadSensitivityOk() (*WAFSensitivityChoices, bool)
GetFileUploadSensitivityOk returns a tuple with the FileUploadSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetId ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*CreateNewWAFRulesetRequest) GetIdOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetIdOk() (*int64, 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 (*CreateNewWAFRulesetRequest) GetIdentifiedAttack ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttack() bool
GetIdentifiedAttack returns the IdentifiedAttack field value
func (*CreateNewWAFRulesetRequest) GetIdentifiedAttackOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackOk() (*bool, bool)
GetIdentifiedAttackOk returns a tuple with the IdentifiedAttack field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivity() WAFSensitivityChoices
GetIdentifiedAttackSensitivity returns the IdentifiedAttackSensitivity field value
func (*CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetIdentifiedAttackSensitivityOk() (*WAFSensitivityChoices, bool)
GetIdentifiedAttackSensitivityOk returns a tuple with the IdentifiedAttackSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetMode ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetMode() string
GetMode returns the Mode field value
func (*CreateNewWAFRulesetRequest) GetModeOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetName ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetName() string
GetName returns the Name field value
func (*CreateNewWAFRulesetRequest) GetNameOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetRemoteFileInclusion ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusion() bool
GetRemoteFileInclusion returns the RemoteFileInclusion field value
func (*CreateNewWAFRulesetRequest) GetRemoteFileInclusionOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionOk() (*bool, bool)
GetRemoteFileInclusionOk returns a tuple with the RemoteFileInclusion field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivity() WAFSensitivityChoices
GetRemoteFileInclusionSensitivity returns the RemoteFileInclusionSensitivity field value
func (*CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetRemoteFileInclusionSensitivityOk() (*WAFSensitivityChoices, bool)
GetRemoteFileInclusionSensitivityOk returns a tuple with the RemoteFileInclusionSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetSqlInjection ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetSqlInjection() bool
GetSqlInjection returns the SqlInjection field value
func (*CreateNewWAFRulesetRequest) GetSqlInjectionOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetSqlInjectionOk() (*bool, bool)
GetSqlInjectionOk returns a tuple with the SqlInjection field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetSqlInjectionSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetSqlInjectionSensitivity() WAFSensitivityChoices
GetSqlInjectionSensitivity returns the SqlInjectionSensitivity field value
func (*CreateNewWAFRulesetRequest) GetSqlInjectionSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetSqlInjectionSensitivityOk() (*WAFSensitivityChoices, bool)
GetSqlInjectionSensitivityOk returns a tuple with the SqlInjectionSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetUnwantedAccess ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetUnwantedAccess() bool
GetUnwantedAccess returns the UnwantedAccess field value
func (*CreateNewWAFRulesetRequest) GetUnwantedAccessOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessOk() (*bool, bool)
GetUnwantedAccessOk returns a tuple with the UnwantedAccess field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivity() WAFSensitivityChoices
GetUnwantedAccessSensitivity returns the UnwantedAccessSensitivity field value
func (*CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivityOk ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) GetUnwantedAccessSensitivityOk() (*WAFSensitivityChoices, bool)
GetUnwantedAccessSensitivityOk returns a tuple with the UnwantedAccessSensitivity field value and a boolean to check if the value has been set.
func (*CreateNewWAFRulesetRequest) HasId ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (CreateNewWAFRulesetRequest) MarshalJSON ¶ added in v0.100.0
func (o CreateNewWAFRulesetRequest) MarshalJSON() ([]byte, error)
func (*CreateNewWAFRulesetRequest) SetActive ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetActive(v bool)
SetActive sets field value
func (*CreateNewWAFRulesetRequest) SetBypassAddresses ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetBypassAddresses(v []string)
SetBypassAddresses sets field value
func (*CreateNewWAFRulesetRequest) SetCrossSiteScripting ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetCrossSiteScripting(v bool)
SetCrossSiteScripting sets field value
func (*CreateNewWAFRulesetRequest) SetCrossSiteScriptingSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetCrossSiteScriptingSensitivity(v WAFSensitivityChoices)
SetCrossSiteScriptingSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetDirectoryTraversal ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetDirectoryTraversal(v bool)
SetDirectoryTraversal sets field value
func (*CreateNewWAFRulesetRequest) SetDirectoryTraversalSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetDirectoryTraversalSensitivity(v WAFSensitivityChoices)
SetDirectoryTraversalSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetEvadingTricks ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetEvadingTricks(v bool)
SetEvadingTricks sets field value
func (*CreateNewWAFRulesetRequest) SetEvadingTricksSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetEvadingTricksSensitivity(v WAFSensitivityChoices)
SetEvadingTricksSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetFileUpload ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetFileUpload(v bool)
SetFileUpload sets field value
func (*CreateNewWAFRulesetRequest) SetFileUploadSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetFileUploadSensitivity(v WAFSensitivityChoices)
SetFileUploadSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetId ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*CreateNewWAFRulesetRequest) SetIdentifiedAttack ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetIdentifiedAttack(v bool)
SetIdentifiedAttack sets field value
func (*CreateNewWAFRulesetRequest) SetIdentifiedAttackSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetIdentifiedAttackSensitivity(v WAFSensitivityChoices)
SetIdentifiedAttackSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetMode ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetMode(v string)
SetMode sets field value
func (*CreateNewWAFRulesetRequest) SetName ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetName(v string)
SetName sets field value
func (*CreateNewWAFRulesetRequest) SetRemoteFileInclusion ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetRemoteFileInclusion(v bool)
SetRemoteFileInclusion sets field value
func (*CreateNewWAFRulesetRequest) SetRemoteFileInclusionSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetRemoteFileInclusionSensitivity(v WAFSensitivityChoices)
SetRemoteFileInclusionSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetSqlInjection ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetSqlInjection(v bool)
SetSqlInjection sets field value
func (*CreateNewWAFRulesetRequest) SetSqlInjectionSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetSqlInjectionSensitivity(v WAFSensitivityChoices)
SetSqlInjectionSensitivity sets field value
func (*CreateNewWAFRulesetRequest) SetUnwantedAccess ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetUnwantedAccess(v bool)
SetUnwantedAccess sets field value
func (*CreateNewWAFRulesetRequest) SetUnwantedAccessSensitivity ¶ added in v0.100.0
func (o *CreateNewWAFRulesetRequest) SetUnwantedAccessSensitivity(v WAFSensitivityChoices)
SetUnwantedAccessSensitivity sets field value
func (CreateNewWAFRulesetRequest) ToMap ¶ added in v0.100.0
func (o CreateNewWAFRulesetRequest) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Links ¶ added in v0.100.0
type Links struct { Previous NullableString `json:"previous,omitempty"` Next NullableString `json:"next,omitempty"` }
Links struct for Links
func NewLinks ¶ added in v0.100.0
func NewLinks() *Links
NewLinks instantiates a new Links 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 NewLinksWithDefaults ¶ added in v0.100.0
func NewLinksWithDefaults() *Links
NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext ¶ added in v0.100.0
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Links) GetNextOk ¶ added in v0.100.0
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) GetPrevious ¶ added in v0.100.0
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Links) GetPreviousOk ¶ added in v0.100.0
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Links) HasPrevious ¶ added in v0.100.0
HasPrevious returns a boolean if a field has been set.
func (Links) MarshalJSON ¶ added in v0.100.0
func (*Links) SetNext ¶ added in v0.100.0
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*Links) SetNextNil ¶ added in v0.100.0
func (o *Links) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*Links) SetPrevious ¶ added in v0.100.0
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*Links) SetPreviousNil ¶ added in v0.100.0
func (o *Links) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (*Links) UnsetNext ¶ added in v0.100.0
func (o *Links) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*Links) UnsetPrevious ¶ added in v0.100.0
func (o *Links) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
type MappedNullable ¶
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 NullableCreateNewWAFRulesetRequest ¶ added in v0.100.0
type NullableCreateNewWAFRulesetRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateNewWAFRulesetRequest ¶ added in v0.100.0
func NewNullableCreateNewWAFRulesetRequest(val *CreateNewWAFRulesetRequest) *NullableCreateNewWAFRulesetRequest
func (NullableCreateNewWAFRulesetRequest) Get ¶ added in v0.100.0
func (v NullableCreateNewWAFRulesetRequest) Get() *CreateNewWAFRulesetRequest
func (NullableCreateNewWAFRulesetRequest) IsSet ¶ added in v0.100.0
func (v NullableCreateNewWAFRulesetRequest) IsSet() bool
func (NullableCreateNewWAFRulesetRequest) MarshalJSON ¶ added in v0.100.0
func (v NullableCreateNewWAFRulesetRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateNewWAFRulesetRequest) Set ¶ added in v0.100.0
func (v *NullableCreateNewWAFRulesetRequest) Set(val *CreateNewWAFRulesetRequest)
func (*NullableCreateNewWAFRulesetRequest) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableCreateNewWAFRulesetRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateNewWAFRulesetRequest) Unset ¶ added in v0.100.0
func (v *NullableCreateNewWAFRulesetRequest) 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 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 NullableLinks ¶ added in v0.100.0
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶ added in v0.100.0
func NewNullableLinks(val *Links) *NullableLinks
func (NullableLinks) Get ¶ added in v0.100.0
func (v NullableLinks) Get() *Links
func (NullableLinks) IsSet ¶ added in v0.100.0
func (v NullableLinks) IsSet() bool
func (NullableLinks) MarshalJSON ¶ added in v0.100.0
func (v NullableLinks) MarshalJSON() ([]byte, error)
func (*NullableLinks) Set ¶ added in v0.100.0
func (v *NullableLinks) Set(val *Links)
func (*NullableLinks) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableLinks) UnmarshalJSON(src []byte) error
func (*NullableLinks) Unset ¶ added in v0.100.0
func (v *NullableLinks) Unset()
type NullableSingleWAF ¶ added in v0.100.0
type NullableSingleWAF struct {
// contains filtered or unexported fields
}
func NewNullableSingleWAF ¶ added in v0.100.0
func NewNullableSingleWAF(val *SingleWAF) *NullableSingleWAF
func (NullableSingleWAF) Get ¶ added in v0.100.0
func (v NullableSingleWAF) Get() *SingleWAF
func (NullableSingleWAF) IsSet ¶ added in v0.100.0
func (v NullableSingleWAF) IsSet() bool
func (NullableSingleWAF) MarshalJSON ¶ added in v0.100.0
func (v NullableSingleWAF) MarshalJSON() ([]byte, error)
func (*NullableSingleWAF) Set ¶ added in v0.100.0
func (v *NullableSingleWAF) Set(val *SingleWAF)
func (*NullableSingleWAF) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableSingleWAF) UnmarshalJSON(src []byte) error
func (*NullableSingleWAF) Unset ¶ added in v0.100.0
func (v *NullableSingleWAF) 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 NullableWAFDomainList200 ¶ added in v0.105.0
type NullableWAFDomainList200 struct {
// contains filtered or unexported fields
}
func NewNullableWAFDomainList200 ¶ added in v0.105.0
func NewNullableWAFDomainList200(val *WAFDomainList200) *NullableWAFDomainList200
func (NullableWAFDomainList200) Get ¶ added in v0.105.0
func (v NullableWAFDomainList200) Get() *WAFDomainList200
func (NullableWAFDomainList200) IsSet ¶ added in v0.105.0
func (v NullableWAFDomainList200) IsSet() bool
func (NullableWAFDomainList200) MarshalJSON ¶ added in v0.105.0
func (v NullableWAFDomainList200) MarshalJSON() ([]byte, error)
func (*NullableWAFDomainList200) Set ¶ added in v0.105.0
func (v *NullableWAFDomainList200) Set(val *WAFDomainList200)
func (*NullableWAFDomainList200) UnmarshalJSON ¶ added in v0.105.0
func (v *NullableWAFDomainList200) UnmarshalJSON(src []byte) error
func (*NullableWAFDomainList200) Unset ¶ added in v0.105.0
func (v *NullableWAFDomainList200) Unset()
type NullableWAFDomains200 ¶
type NullableWAFDomains200 struct {
// contains filtered or unexported fields
}
func NewNullableWAFDomains200 ¶
func NewNullableWAFDomains200(val *WAFDomains200) *NullableWAFDomains200
func (NullableWAFDomains200) Get ¶
func (v NullableWAFDomains200) Get() *WAFDomains200
func (NullableWAFDomains200) IsSet ¶
func (v NullableWAFDomains200) IsSet() bool
func (NullableWAFDomains200) MarshalJSON ¶
func (v NullableWAFDomains200) MarshalJSON() ([]byte, error)
func (*NullableWAFDomains200) Set ¶
func (v *NullableWAFDomains200) Set(val *WAFDomains200)
func (*NullableWAFDomains200) UnmarshalJSON ¶
func (v *NullableWAFDomains200) UnmarshalJSON(src []byte) error
func (*NullableWAFDomains200) Unset ¶
func (v *NullableWAFDomains200) Unset()
type NullableWAFEvents200 ¶
type NullableWAFEvents200 struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents200 ¶
func NewNullableWAFEvents200(val *WAFEvents200) *NullableWAFEvents200
func (NullableWAFEvents200) Get ¶
func (v NullableWAFEvents200) Get() *WAFEvents200
func (NullableWAFEvents200) IsSet ¶
func (v NullableWAFEvents200) IsSet() bool
func (NullableWAFEvents200) MarshalJSON ¶
func (v NullableWAFEvents200) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents200) Set ¶
func (v *NullableWAFEvents200) Set(val *WAFEvents200)
func (*NullableWAFEvents200) UnmarshalJSON ¶
func (v *NullableWAFEvents200) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents200) Unset ¶
func (v *NullableWAFEvents200) Unset()
type NullableWAFEvents200ResultsInner ¶ added in v0.105.0
type NullableWAFEvents200ResultsInner struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents200ResultsInner ¶ added in v0.105.0
func NewNullableWAFEvents200ResultsInner(val *WAFEvents200ResultsInner) *NullableWAFEvents200ResultsInner
func (NullableWAFEvents200ResultsInner) Get ¶ added in v0.105.0
func (v NullableWAFEvents200ResultsInner) Get() *WAFEvents200ResultsInner
func (NullableWAFEvents200ResultsInner) IsSet ¶ added in v0.105.0
func (v NullableWAFEvents200ResultsInner) IsSet() bool
func (NullableWAFEvents200ResultsInner) MarshalJSON ¶ added in v0.105.0
func (v NullableWAFEvents200ResultsInner) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents200ResultsInner) Set ¶ added in v0.105.0
func (v *NullableWAFEvents200ResultsInner) Set(val *WAFEvents200ResultsInner)
func (*NullableWAFEvents200ResultsInner) UnmarshalJSON ¶ added in v0.105.0
func (v *NullableWAFEvents200ResultsInner) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents200ResultsInner) Unset ¶ added in v0.105.0
func (v *NullableWAFEvents200ResultsInner) Unset()
type NullableWAFEvents200ResultsInnerTop10CountriesInner ¶ added in v0.108.0
type NullableWAFEvents200ResultsInnerTop10CountriesInner struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents200ResultsInnerTop10CountriesInner ¶ added in v0.108.0
func NewNullableWAFEvents200ResultsInnerTop10CountriesInner(val *WAFEvents200ResultsInnerTop10CountriesInner) *NullableWAFEvents200ResultsInnerTop10CountriesInner
func (NullableWAFEvents200ResultsInnerTop10CountriesInner) IsSet ¶ added in v0.108.0
func (v NullableWAFEvents200ResultsInnerTop10CountriesInner) IsSet() bool
func (NullableWAFEvents200ResultsInnerTop10CountriesInner) MarshalJSON ¶ added in v0.108.0
func (v NullableWAFEvents200ResultsInnerTop10CountriesInner) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents200ResultsInnerTop10CountriesInner) UnmarshalJSON ¶ added in v0.108.0
func (v *NullableWAFEvents200ResultsInnerTop10CountriesInner) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents200ResultsInnerTop10CountriesInner) Unset ¶ added in v0.108.0
func (v *NullableWAFEvents200ResultsInnerTop10CountriesInner) Unset()
type NullableWAFEvents400 ¶
type NullableWAFEvents400 struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents400 ¶
func NewNullableWAFEvents400(val *WAFEvents400) *NullableWAFEvents400
func (NullableWAFEvents400) Get ¶
func (v NullableWAFEvents400) Get() *WAFEvents400
func (NullableWAFEvents400) IsSet ¶
func (v NullableWAFEvents400) IsSet() bool
func (NullableWAFEvents400) MarshalJSON ¶
func (v NullableWAFEvents400) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents400) Set ¶
func (v *NullableWAFEvents400) Set(val *WAFEvents400)
func (*NullableWAFEvents400) UnmarshalJSON ¶
func (v *NullableWAFEvents400) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents400) Unset ¶
func (v *NullableWAFEvents400) Unset()
type NullableWAFEvents401 ¶
type NullableWAFEvents401 struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents401 ¶
func NewNullableWAFEvents401(val *WAFEvents401) *NullableWAFEvents401
func (NullableWAFEvents401) Get ¶
func (v NullableWAFEvents401) Get() *WAFEvents401
func (NullableWAFEvents401) IsSet ¶
func (v NullableWAFEvents401) IsSet() bool
func (NullableWAFEvents401) MarshalJSON ¶
func (v NullableWAFEvents401) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents401) Set ¶
func (v *NullableWAFEvents401) Set(val *WAFEvents401)
func (*NullableWAFEvents401) UnmarshalJSON ¶
func (v *NullableWAFEvents401) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents401) Unset ¶
func (v *NullableWAFEvents401) Unset()
type NullableWAFEvents404 ¶
type NullableWAFEvents404 struct {
// contains filtered or unexported fields
}
func NewNullableWAFEvents404 ¶
func NewNullableWAFEvents404(val *WAFEvents404) *NullableWAFEvents404
func (NullableWAFEvents404) Get ¶
func (v NullableWAFEvents404) Get() *WAFEvents404
func (NullableWAFEvents404) IsSet ¶
func (v NullableWAFEvents404) IsSet() bool
func (NullableWAFEvents404) MarshalJSON ¶
func (v NullableWAFEvents404) MarshalJSON() ([]byte, error)
func (*NullableWAFEvents404) Set ¶
func (v *NullableWAFEvents404) Set(val *WAFEvents404)
func (*NullableWAFEvents404) UnmarshalJSON ¶
func (v *NullableWAFEvents404) UnmarshalJSON(src []byte) error
func (*NullableWAFEvents404) Unset ¶
func (v *NullableWAFEvents404) Unset()
type NullableWAFList200 ¶ added in v0.100.0
type NullableWAFList200 struct {
// contains filtered or unexported fields
}
func NewNullableWAFList200 ¶ added in v0.100.0
func NewNullableWAFList200(val *WAFList200) *NullableWAFList200
func (NullableWAFList200) Get ¶ added in v0.100.0
func (v NullableWAFList200) Get() *WAFList200
func (NullableWAFList200) IsSet ¶ added in v0.100.0
func (v NullableWAFList200) IsSet() bool
func (NullableWAFList200) MarshalJSON ¶ added in v0.100.0
func (v NullableWAFList200) MarshalJSON() ([]byte, error)
func (*NullableWAFList200) Set ¶ added in v0.100.0
func (v *NullableWAFList200) Set(val *WAFList200)
func (*NullableWAFList200) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableWAFList200) UnmarshalJSON(src []byte) error
func (*NullableWAFList200) Unset ¶ added in v0.100.0
func (v *NullableWAFList200) Unset()
type NullableWAFSensitivityChoices ¶ added in v0.100.0
type NullableWAFSensitivityChoices struct {
// contains filtered or unexported fields
}
func NewNullableWAFSensitivityChoices ¶ added in v0.100.0
func NewNullableWAFSensitivityChoices(val *WAFSensitivityChoices) *NullableWAFSensitivityChoices
func (NullableWAFSensitivityChoices) Get ¶ added in v0.100.0
func (v NullableWAFSensitivityChoices) Get() *WAFSensitivityChoices
func (NullableWAFSensitivityChoices) IsSet ¶ added in v0.100.0
func (v NullableWAFSensitivityChoices) IsSet() bool
func (NullableWAFSensitivityChoices) MarshalJSON ¶ added in v0.100.0
func (v NullableWAFSensitivityChoices) MarshalJSON() ([]byte, error)
func (*NullableWAFSensitivityChoices) Set ¶ added in v0.100.0
func (v *NullableWAFSensitivityChoices) Set(val *WAFSensitivityChoices)
func (*NullableWAFSensitivityChoices) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableWAFSensitivityChoices) UnmarshalJSON(src []byte) error
func (*NullableWAFSensitivityChoices) Unset ¶ added in v0.100.0
func (v *NullableWAFSensitivityChoices) Unset()
type NullableWAFSingle200 ¶ added in v0.100.0
type NullableWAFSingle200 struct {
// contains filtered or unexported fields
}
func NewNullableWAFSingle200 ¶ added in v0.100.0
func NewNullableWAFSingle200(val *WAFSingle200) *NullableWAFSingle200
func (NullableWAFSingle200) Get ¶ added in v0.100.0
func (v NullableWAFSingle200) Get() *WAFSingle200
func (NullableWAFSingle200) IsSet ¶ added in v0.100.0
func (v NullableWAFSingle200) IsSet() bool
func (NullableWAFSingle200) MarshalJSON ¶ added in v0.100.0
func (v NullableWAFSingle200) MarshalJSON() ([]byte, error)
func (*NullableWAFSingle200) Set ¶ added in v0.100.0
func (v *NullableWAFSingle200) Set(val *WAFSingle200)
func (*NullableWAFSingle200) UnmarshalJSON ¶ added in v0.100.0
func (v *NullableWAFSingle200) UnmarshalJSON(src []byte) error
func (*NullableWAFSingle200) Unset ¶ added in v0.100.0
func (v *NullableWAFSingle200) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SingleWAF ¶ added in v0.100.0
type SingleWAF struct { Id *int64 `json:"id,omitempty"` // Identification name for WAF Rule Set. Name *string `json:"name,omitempty"` Mode *string `json:"mode,omitempty"` Active *bool `json:"active,omitempty"` SqlInjection *bool `json:"sql_injection,omitempty"` SqlInjectionSensitivity *WAFSensitivityChoices `json:"sql_injection_sensitivity,omitempty"` RemoteFileInclusion *bool `json:"remote_file_inclusion,omitempty"` RemoteFileInclusionSensitivity *WAFSensitivityChoices `json:"remote_file_inclusion_sensitivity,omitempty"` DirectoryTraversal *bool `json:"directory_traversal,omitempty"` DirectoryTraversalSensitivity *WAFSensitivityChoices `json:"directory_traversal_sensitivity,omitempty"` CrossSiteScripting *bool `json:"cross_site_scripting,omitempty"` CrossSiteScriptingSensitivity *WAFSensitivityChoices `json:"cross_site_scripting_sensitivity,omitempty"` EvadingTricks *bool `json:"evading_tricks,omitempty"` EvadingTricksSensitivity *WAFSensitivityChoices `json:"evading_tricks_sensitivity,omitempty"` FileUpload *bool `json:"file_upload,omitempty"` FileUploadSensitivity *WAFSensitivityChoices `json:"file_upload_sensitivity,omitempty"` UnwantedAccess *bool `json:"unwanted_access,omitempty"` UnwantedAccessSensitivity *WAFSensitivityChoices `json:"unwanted_access_sensitivity,omitempty"` IdentifiedAttack *bool `json:"identified_attack,omitempty"` IdentifiedAttackSensitivity *WAFSensitivityChoices `json:"identified_attack_sensitivity,omitempty"` BypassAddresses []string `json:"bypass_addresses,omitempty"` }
SingleWAF struct for SingleWAF
func NewSingleWAF ¶ added in v0.100.0
func NewSingleWAF() *SingleWAF
NewSingleWAF instantiates a new SingleWAF 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 NewSingleWAFWithDefaults ¶ added in v0.100.0
func NewSingleWAFWithDefaults() *SingleWAF
NewSingleWAFWithDefaults instantiates a new SingleWAF 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 (*SingleWAF) GetActive ¶ added in v0.100.0
GetActive returns the Active field value if set, zero value otherwise.
func (*SingleWAF) GetActiveOk ¶ added in v0.100.0
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetBypassAddresses ¶ added in v0.100.0
GetBypassAddresses returns the BypassAddresses field value if set, zero value otherwise.
func (*SingleWAF) GetBypassAddressesOk ¶ added in v0.100.0
GetBypassAddressesOk returns a tuple with the BypassAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetCrossSiteScripting ¶ added in v0.100.0
GetCrossSiteScripting returns the CrossSiteScripting field value if set, zero value otherwise.
func (*SingleWAF) GetCrossSiteScriptingOk ¶ added in v0.100.0
GetCrossSiteScriptingOk returns a tuple with the CrossSiteScripting field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetCrossSiteScriptingSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetCrossSiteScriptingSensitivity() WAFSensitivityChoices
GetCrossSiteScriptingSensitivity returns the CrossSiteScriptingSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetCrossSiteScriptingSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetCrossSiteScriptingSensitivityOk() (*WAFSensitivityChoices, bool)
GetCrossSiteScriptingSensitivityOk returns a tuple with the CrossSiteScriptingSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetDirectoryTraversal ¶ added in v0.100.0
GetDirectoryTraversal returns the DirectoryTraversal field value if set, zero value otherwise.
func (*SingleWAF) GetDirectoryTraversalOk ¶ added in v0.100.0
GetDirectoryTraversalOk returns a tuple with the DirectoryTraversal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetDirectoryTraversalSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetDirectoryTraversalSensitivity() WAFSensitivityChoices
GetDirectoryTraversalSensitivity returns the DirectoryTraversalSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetDirectoryTraversalSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetDirectoryTraversalSensitivityOk() (*WAFSensitivityChoices, bool)
GetDirectoryTraversalSensitivityOk returns a tuple with the DirectoryTraversalSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetEvadingTricks ¶ added in v0.100.0
GetEvadingTricks returns the EvadingTricks field value if set, zero value otherwise.
func (*SingleWAF) GetEvadingTricksOk ¶ added in v0.100.0
GetEvadingTricksOk returns a tuple with the EvadingTricks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetEvadingTricksSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetEvadingTricksSensitivity() WAFSensitivityChoices
GetEvadingTricksSensitivity returns the EvadingTricksSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetEvadingTricksSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetEvadingTricksSensitivityOk() (*WAFSensitivityChoices, bool)
GetEvadingTricksSensitivityOk returns a tuple with the EvadingTricksSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetFileUpload ¶ added in v0.100.0
GetFileUpload returns the FileUpload field value if set, zero value otherwise.
func (*SingleWAF) GetFileUploadOk ¶ added in v0.100.0
GetFileUploadOk returns a tuple with the FileUpload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetFileUploadSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetFileUploadSensitivity() WAFSensitivityChoices
GetFileUploadSensitivity returns the FileUploadSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetFileUploadSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetFileUploadSensitivityOk() (*WAFSensitivityChoices, bool)
GetFileUploadSensitivityOk returns a tuple with the FileUploadSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetId ¶ added in v0.100.0
GetId returns the Id field value if set, zero value otherwise.
func (*SingleWAF) GetIdOk ¶ added in v0.100.0
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 (*SingleWAF) GetIdentifiedAttack ¶ added in v0.100.0
GetIdentifiedAttack returns the IdentifiedAttack field value if set, zero value otherwise.
func (*SingleWAF) GetIdentifiedAttackOk ¶ added in v0.100.0
GetIdentifiedAttackOk returns a tuple with the IdentifiedAttack field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetIdentifiedAttackSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetIdentifiedAttackSensitivity() WAFSensitivityChoices
GetIdentifiedAttackSensitivity returns the IdentifiedAttackSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetIdentifiedAttackSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetIdentifiedAttackSensitivityOk() (*WAFSensitivityChoices, bool)
GetIdentifiedAttackSensitivityOk returns a tuple with the IdentifiedAttackSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetMode ¶ added in v0.100.0
GetMode returns the Mode field value if set, zero value otherwise.
func (*SingleWAF) GetModeOk ¶ added in v0.100.0
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 (*SingleWAF) GetName ¶ added in v0.100.0
GetName returns the Name field value if set, zero value otherwise.
func (*SingleWAF) GetNameOk ¶ added in v0.100.0
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 (*SingleWAF) GetRemoteFileInclusion ¶ added in v0.100.0
GetRemoteFileInclusion returns the RemoteFileInclusion field value if set, zero value otherwise.
func (*SingleWAF) GetRemoteFileInclusionOk ¶ added in v0.100.0
GetRemoteFileInclusionOk returns a tuple with the RemoteFileInclusion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetRemoteFileInclusionSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetRemoteFileInclusionSensitivity() WAFSensitivityChoices
GetRemoteFileInclusionSensitivity returns the RemoteFileInclusionSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetRemoteFileInclusionSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetRemoteFileInclusionSensitivityOk() (*WAFSensitivityChoices, bool)
GetRemoteFileInclusionSensitivityOk returns a tuple with the RemoteFileInclusionSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetSqlInjection ¶ added in v0.100.0
GetSqlInjection returns the SqlInjection field value if set, zero value otherwise.
func (*SingleWAF) GetSqlInjectionOk ¶ added in v0.100.0
GetSqlInjectionOk returns a tuple with the SqlInjection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetSqlInjectionSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetSqlInjectionSensitivity() WAFSensitivityChoices
GetSqlInjectionSensitivity returns the SqlInjectionSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetSqlInjectionSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetSqlInjectionSensitivityOk() (*WAFSensitivityChoices, bool)
GetSqlInjectionSensitivityOk returns a tuple with the SqlInjectionSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetUnwantedAccess ¶ added in v0.100.0
GetUnwantedAccess returns the UnwantedAccess field value if set, zero value otherwise.
func (*SingleWAF) GetUnwantedAccessOk ¶ added in v0.100.0
GetUnwantedAccessOk returns a tuple with the UnwantedAccess field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) GetUnwantedAccessSensitivity ¶ added in v0.100.0
func (o *SingleWAF) GetUnwantedAccessSensitivity() WAFSensitivityChoices
GetUnwantedAccessSensitivity returns the UnwantedAccessSensitivity field value if set, zero value otherwise.
func (*SingleWAF) GetUnwantedAccessSensitivityOk ¶ added in v0.100.0
func (o *SingleWAF) GetUnwantedAccessSensitivityOk() (*WAFSensitivityChoices, bool)
GetUnwantedAccessSensitivityOk returns a tuple with the UnwantedAccessSensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SingleWAF) HasActive ¶ added in v0.100.0
HasActive returns a boolean if a field has been set.
func (*SingleWAF) HasBypassAddresses ¶ added in v0.100.0
HasBypassAddresses returns a boolean if a field has been set.
func (*SingleWAF) HasCrossSiteScripting ¶ added in v0.100.0
HasCrossSiteScripting returns a boolean if a field has been set.
func (*SingleWAF) HasCrossSiteScriptingSensitivity ¶ added in v0.100.0
HasCrossSiteScriptingSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasDirectoryTraversal ¶ added in v0.100.0
HasDirectoryTraversal returns a boolean if a field has been set.
func (*SingleWAF) HasDirectoryTraversalSensitivity ¶ added in v0.100.0
HasDirectoryTraversalSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasEvadingTricks ¶ added in v0.100.0
HasEvadingTricks returns a boolean if a field has been set.
func (*SingleWAF) HasEvadingTricksSensitivity ¶ added in v0.100.0
HasEvadingTricksSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasFileUpload ¶ added in v0.100.0
HasFileUpload returns a boolean if a field has been set.
func (*SingleWAF) HasFileUploadSensitivity ¶ added in v0.100.0
HasFileUploadSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasIdentifiedAttack ¶ added in v0.100.0
HasIdentifiedAttack returns a boolean if a field has been set.
func (*SingleWAF) HasIdentifiedAttackSensitivity ¶ added in v0.100.0
HasIdentifiedAttackSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasRemoteFileInclusion ¶ added in v0.100.0
HasRemoteFileInclusion returns a boolean if a field has been set.
func (*SingleWAF) HasRemoteFileInclusionSensitivity ¶ added in v0.100.0
HasRemoteFileInclusionSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasSqlInjection ¶ added in v0.100.0
HasSqlInjection returns a boolean if a field has been set.
func (*SingleWAF) HasSqlInjectionSensitivity ¶ added in v0.100.0
HasSqlInjectionSensitivity returns a boolean if a field has been set.
func (*SingleWAF) HasUnwantedAccess ¶ added in v0.100.0
HasUnwantedAccess returns a boolean if a field has been set.
func (*SingleWAF) HasUnwantedAccessSensitivity ¶ added in v0.100.0
HasUnwantedAccessSensitivity returns a boolean if a field has been set.
func (SingleWAF) MarshalJSON ¶ added in v0.100.0
func (*SingleWAF) SetActive ¶ added in v0.100.0
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*SingleWAF) SetBypassAddresses ¶ added in v0.100.0
SetBypassAddresses gets a reference to the given []string and assigns it to the BypassAddresses field.
func (*SingleWAF) SetCrossSiteScripting ¶ added in v0.100.0
SetCrossSiteScripting gets a reference to the given bool and assigns it to the CrossSiteScripting field.
func (*SingleWAF) SetCrossSiteScriptingSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetCrossSiteScriptingSensitivity(v WAFSensitivityChoices)
SetCrossSiteScriptingSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the CrossSiteScriptingSensitivity field.
func (*SingleWAF) SetDirectoryTraversal ¶ added in v0.100.0
SetDirectoryTraversal gets a reference to the given bool and assigns it to the DirectoryTraversal field.
func (*SingleWAF) SetDirectoryTraversalSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetDirectoryTraversalSensitivity(v WAFSensitivityChoices)
SetDirectoryTraversalSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the DirectoryTraversalSensitivity field.
func (*SingleWAF) SetEvadingTricks ¶ added in v0.100.0
SetEvadingTricks gets a reference to the given bool and assigns it to the EvadingTricks field.
func (*SingleWAF) SetEvadingTricksSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetEvadingTricksSensitivity(v WAFSensitivityChoices)
SetEvadingTricksSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the EvadingTricksSensitivity field.
func (*SingleWAF) SetFileUpload ¶ added in v0.100.0
SetFileUpload gets a reference to the given bool and assigns it to the FileUpload field.
func (*SingleWAF) SetFileUploadSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetFileUploadSensitivity(v WAFSensitivityChoices)
SetFileUploadSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the FileUploadSensitivity field.
func (*SingleWAF) SetId ¶ added in v0.100.0
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SingleWAF) SetIdentifiedAttack ¶ added in v0.100.0
SetIdentifiedAttack gets a reference to the given bool and assigns it to the IdentifiedAttack field.
func (*SingleWAF) SetIdentifiedAttackSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetIdentifiedAttackSensitivity(v WAFSensitivityChoices)
SetIdentifiedAttackSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the IdentifiedAttackSensitivity field.
func (*SingleWAF) SetMode ¶ added in v0.100.0
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*SingleWAF) SetName ¶ added in v0.100.0
SetName gets a reference to the given string and assigns it to the Name field.
func (*SingleWAF) SetRemoteFileInclusion ¶ added in v0.100.0
SetRemoteFileInclusion gets a reference to the given bool and assigns it to the RemoteFileInclusion field.
func (*SingleWAF) SetRemoteFileInclusionSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetRemoteFileInclusionSensitivity(v WAFSensitivityChoices)
SetRemoteFileInclusionSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the RemoteFileInclusionSensitivity field.
func (*SingleWAF) SetSqlInjection ¶ added in v0.100.0
SetSqlInjection gets a reference to the given bool and assigns it to the SqlInjection field.
func (*SingleWAF) SetSqlInjectionSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetSqlInjectionSensitivity(v WAFSensitivityChoices)
SetSqlInjectionSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the SqlInjectionSensitivity field.
func (*SingleWAF) SetUnwantedAccess ¶ added in v0.100.0
SetUnwantedAccess gets a reference to the given bool and assigns it to the UnwantedAccess field.
func (*SingleWAF) SetUnwantedAccessSensitivity ¶ added in v0.100.0
func (o *SingleWAF) SetUnwantedAccessSensitivity(v WAFSensitivityChoices)
SetUnwantedAccessSensitivity gets a reference to the given WAFSensitivityChoices and assigns it to the UnwantedAccessSensitivity field.
type WAFAPIService ¶ added in v0.100.0
type WAFAPIService service
WAFAPIService WAFAPI service
func (*WAFAPIService) CreateNewWAFRuleset ¶ added in v0.100.0
func (a *WAFAPIService) CreateNewWAFRuleset(ctx context.Context) ApiCreateNewWAFRulesetRequest
CreateNewWAFRuleset Create a new WAF Rule Set in an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateNewWAFRulesetRequest
func (*WAFAPIService) CreateNewWAFRulesetExecute ¶ added in v0.100.0
func (a *WAFAPIService) CreateNewWAFRulesetExecute(r ApiCreateNewWAFRulesetRequest) (*SingleWAF, *http.Response, error)
Execute executes the request
@return SingleWAF
func (*WAFAPIService) DeleteWAFRuleset ¶ added in v0.100.0
func (a *WAFAPIService) DeleteWAFRuleset(ctx context.Context, wafRuleSetId string) ApiDeleteWAFRulesetRequest
DeleteWAFRuleset Remove an WAF Rule Set from an account. Warning: this action cannot be undone.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param wafRuleSetId @return ApiDeleteWAFRulesetRequest
func (*WAFAPIService) DeleteWAFRulesetExecute ¶ added in v0.100.0
func (a *WAFAPIService) DeleteWAFRulesetExecute(r ApiDeleteWAFRulesetRequest) (*http.Response, error)
Execute executes the request
func (*WAFAPIService) GetWAFDomains ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFDomains(ctx context.Context, wafId int64) ApiGetWAFDomainsRequest
GetWAFDomains List all domains attached to a Web Application Firewall (WAF) in an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param wafId ID of WAF to return @return ApiGetWAFDomainsRequest
func (*WAFAPIService) GetWAFDomainsExecute ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFDomainsExecute(r ApiGetWAFDomainsRequest) (*WAFDomains200, *http.Response, error)
Execute executes the request
@return WAFDomains200
func (*WAFAPIService) GetWAFEvents ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFEvents(ctx context.Context, wafId int64) ApiGetWAFEventsRequest
GetWAFEvents Find WAF log events
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param wafId ID of WAF to return @return ApiGetWAFEventsRequest
func (*WAFAPIService) GetWAFEventsExecute ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFEventsExecute(r ApiGetWAFEventsRequest) (*WAFEvents200, *http.Response, error)
Execute executes the request
@return WAFEvents200
func (*WAFAPIService) GetWAFRuleset ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFRuleset(ctx context.Context, wafRuleSetId int64) ApiGetWAFRulesetRequest
GetWAFRuleset List a specific Rule Set associated to a Web Application Firewall (WAF) in an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param wafRuleSetId ID of WAF Ruleset to return @return ApiGetWAFRulesetRequest
func (*WAFAPIService) GetWAFRulesetExecute ¶ added in v0.100.0
func (a *WAFAPIService) GetWAFRulesetExecute(r ApiGetWAFRulesetRequest) (*WAFSingle200, *http.Response, error)
Execute executes the request
@return WAFSingle200
func (*WAFAPIService) ListAllWAF ¶ added in v0.100.0
func (a *WAFAPIService) ListAllWAF(ctx context.Context) ApiListAllWAFRequest
ListAllWAF List all Web Application Firewalls (WAFs) created in an account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAllWAFRequest
func (*WAFAPIService) ListAllWAFExecute ¶ added in v0.100.0
func (a *WAFAPIService) ListAllWAFExecute(r ApiListAllWAFRequest) (*WAFList200, *http.Response, error)
Execute executes the request
@return WAFList200
func (*WAFAPIService) ListAllWAFRulesets ¶ added in v0.100.0
func (a *WAFAPIService) ListAllWAFRulesets(ctx context.Context) ApiListAllWAFRulesetsRequest
ListAllWAFRulesets list all Rule Sets associated to a Web Application Firewall (WAF) in an account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListAllWAFRulesetsRequest
func (*WAFAPIService) ListAllWAFRulesetsExecute ¶ added in v0.100.0
func (a *WAFAPIService) ListAllWAFRulesetsExecute(r ApiListAllWAFRulesetsRequest) (*WAFList200, *http.Response, error)
Execute executes the request
@return WAFList200
func (*WAFAPIService) UpdateWAFRuleset ¶ added in v0.100.0
func (a *WAFAPIService) UpdateWAFRuleset(ctx context.Context, wafRuleSetId string) ApiUpdateWAFRulesetRequest
UpdateWAFRuleset Change only select settings of a WAF Rule Set
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param wafRuleSetId @return ApiUpdateWAFRulesetRequest
func (*WAFAPIService) UpdateWAFRulesetExecute ¶ added in v0.100.0
func (a *WAFAPIService) UpdateWAFRulesetExecute(r ApiUpdateWAFRulesetRequest) (*SingleWAF, *http.Response, error)
Execute executes the request
@return SingleWAF
type WAFDomainList200 ¶ added in v0.105.0
type WAFDomainList200 struct { Id *int64 `json:"id,omitempty"` Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Cnames []string `json:"cnames,omitempty"` }
WAFDomainList200 struct for WAFDomainList200
func NewWAFDomainList200 ¶ added in v0.105.0
func NewWAFDomainList200() *WAFDomainList200
NewWAFDomainList200 instantiates a new WAFDomainList200 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 NewWAFDomainList200WithDefaults ¶ added in v0.105.0
func NewWAFDomainList200WithDefaults() *WAFDomainList200
NewWAFDomainList200WithDefaults instantiates a new WAFDomainList200 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 (*WAFDomainList200) GetCnames ¶ added in v0.105.0
func (o *WAFDomainList200) GetCnames() []string
GetCnames returns the Cnames field value if set, zero value otherwise.
func (*WAFDomainList200) GetCnamesOk ¶ added in v0.105.0
func (o *WAFDomainList200) GetCnamesOk() ([]string, bool)
GetCnamesOk returns a tuple with the Cnames field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomainList200) GetDomain ¶ added in v0.105.0
func (o *WAFDomainList200) GetDomain() string
GetDomain returns the Domain field value if set, zero value otherwise.
func (*WAFDomainList200) GetDomainOk ¶ added in v0.105.0
func (o *WAFDomainList200) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomainList200) GetId ¶ added in v0.105.0
func (o *WAFDomainList200) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*WAFDomainList200) GetIdOk ¶ added in v0.105.0
func (o *WAFDomainList200) GetIdOk() (*int64, 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 (*WAFDomainList200) GetName ¶ added in v0.105.0
func (o *WAFDomainList200) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*WAFDomainList200) GetNameOk ¶ added in v0.105.0
func (o *WAFDomainList200) 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 (*WAFDomainList200) HasCnames ¶ added in v0.105.0
func (o *WAFDomainList200) HasCnames() bool
HasCnames returns a boolean if a field has been set.
func (*WAFDomainList200) HasDomain ¶ added in v0.105.0
func (o *WAFDomainList200) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (*WAFDomainList200) HasId ¶ added in v0.105.0
func (o *WAFDomainList200) HasId() bool
HasId returns a boolean if a field has been set.
func (*WAFDomainList200) HasName ¶ added in v0.105.0
func (o *WAFDomainList200) HasName() bool
HasName returns a boolean if a field has been set.
func (WAFDomainList200) MarshalJSON ¶ added in v0.105.0
func (o WAFDomainList200) MarshalJSON() ([]byte, error)
func (*WAFDomainList200) SetCnames ¶ added in v0.105.0
func (o *WAFDomainList200) SetCnames(v []string)
SetCnames gets a reference to the given []string and assigns it to the Cnames field.
func (*WAFDomainList200) SetDomain ¶ added in v0.105.0
func (o *WAFDomainList200) SetDomain(v string)
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*WAFDomainList200) SetId ¶ added in v0.105.0
func (o *WAFDomainList200) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*WAFDomainList200) SetName ¶ added in v0.105.0
func (o *WAFDomainList200) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (WAFDomainList200) ToMap ¶ added in v0.105.0
func (o WAFDomainList200) ToMap() (map[string]interface{}, error)
type WAFDomains200 ¶
type WAFDomains200 struct { Count *int64 `json:"count,omitempty"` TotalPages *int64 `json:"total_pages,omitempty"` Links *Links `json:"links,omitempty"` Results []WAFDomainList200 `json:"results,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFDomains200 struct for WAFDomains200
func NewWAFDomains200 ¶
func NewWAFDomains200() *WAFDomains200
NewWAFDomains200 instantiates a new WAFDomains200 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 NewWAFDomains200WithDefaults ¶
func NewWAFDomains200WithDefaults() *WAFDomains200
NewWAFDomains200WithDefaults instantiates a new WAFDomains200 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 (*WAFDomains200) GetCount ¶ added in v0.105.0
func (o *WAFDomains200) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*WAFDomains200) GetCountOk ¶ added in v0.105.0
func (o *WAFDomains200) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomains200) GetLinks ¶ added in v0.105.0
func (o *WAFDomains200) GetLinks() Links
GetLinks returns the Links field value if set, zero value otherwise.
func (*WAFDomains200) GetLinksOk ¶ added in v0.105.0
func (o *WAFDomains200) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomains200) GetResults ¶
func (o *WAFDomains200) GetResults() []WAFDomainList200
GetResults returns the Results field value if set, zero value otherwise.
func (*WAFDomains200) GetResultsOk ¶
func (o *WAFDomains200) GetResultsOk() ([]WAFDomainList200, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomains200) GetSchemaVersion ¶
func (o *WAFDomains200) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFDomains200) GetSchemaVersionOk ¶
func (o *WAFDomains200) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomains200) GetTotalPages ¶ added in v0.105.0
func (o *WAFDomains200) GetTotalPages() int64
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*WAFDomains200) GetTotalPagesOk ¶ added in v0.105.0
func (o *WAFDomains200) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFDomains200) HasCount ¶ added in v0.105.0
func (o *WAFDomains200) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*WAFDomains200) HasLinks ¶ added in v0.105.0
func (o *WAFDomains200) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*WAFDomains200) HasResults ¶
func (o *WAFDomains200) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*WAFDomains200) HasSchemaVersion ¶
func (o *WAFDomains200) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*WAFDomains200) HasTotalPages ¶ added in v0.105.0
func (o *WAFDomains200) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (WAFDomains200) MarshalJSON ¶
func (o WAFDomains200) MarshalJSON() ([]byte, error)
func (*WAFDomains200) SetCount ¶ added in v0.105.0
func (o *WAFDomains200) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*WAFDomains200) SetLinks ¶ added in v0.105.0
func (o *WAFDomains200) SetLinks(v Links)
SetLinks gets a reference to the given Links and assigns it to the Links field.
func (*WAFDomains200) SetResults ¶
func (o *WAFDomains200) SetResults(v []WAFDomainList200)
SetResults gets a reference to the given []WAFDomainList200 and assigns it to the Results field.
func (*WAFDomains200) SetSchemaVersion ¶
func (o *WAFDomains200) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (*WAFDomains200) SetTotalPages ¶ added in v0.105.0
func (o *WAFDomains200) SetTotalPages(v int64)
SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.
func (WAFDomains200) ToMap ¶
func (o WAFDomains200) ToMap() (map[string]interface{}, error)
type WAFEvents200 ¶
type WAFEvents200 struct { Results []WAFEvents200ResultsInner `json:"results,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFEvents200 struct for WAFEvents200
func NewWAFEvents200 ¶
func NewWAFEvents200() *WAFEvents200
NewWAFEvents200 instantiates a new WAFEvents200 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 NewWAFEvents200WithDefaults ¶
func NewWAFEvents200WithDefaults() *WAFEvents200
NewWAFEvents200WithDefaults instantiates a new WAFEvents200 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 (*WAFEvents200) GetResults ¶
func (o *WAFEvents200) GetResults() []WAFEvents200ResultsInner
GetResults returns the Results field value if set, zero value otherwise.
func (*WAFEvents200) GetResultsOk ¶
func (o *WAFEvents200) GetResultsOk() ([]WAFEvents200ResultsInner, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200) GetSchemaVersion ¶
func (o *WAFEvents200) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFEvents200) GetSchemaVersionOk ¶
func (o *WAFEvents200) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200) HasResults ¶
func (o *WAFEvents200) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*WAFEvents200) HasSchemaVersion ¶
func (o *WAFEvents200) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (WAFEvents200) MarshalJSON ¶
func (o WAFEvents200) MarshalJSON() ([]byte, error)
func (*WAFEvents200) SetResults ¶
func (o *WAFEvents200) SetResults(v []WAFEvents200ResultsInner)
SetResults gets a reference to the given []WAFEvents200ResultsInner and assigns it to the Results field.
func (*WAFEvents200) SetSchemaVersion ¶
func (o *WAFEvents200) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (WAFEvents200) ToMap ¶
func (o WAFEvents200) ToMap() (map[string]interface{}, error)
type WAFEvents200ResultsInner ¶ added in v0.105.0
type WAFEvents200ResultsInner struct { CountryCount *int64 `json:"country_count,omitempty"` Top10Countries []WAFEvents200ResultsInnerTop10CountriesInner `json:"top_10_countries,omitempty"` Top10Ips []WAFEvents200ResultsInnerTop10CountriesInner `json:"top_10_ips,omitempty"` HitCount *int64 `json:"hit_count,omitempty"` RuleId *int64 `json:"rule_id,omitempty"` IpCount *int64 `json:"ip_count,omitempty"` MatchZone *string `json:"match_zone,omitempty"` PathCount *int64 `json:"path_count,omitempty"` MatchesOn *string `json:"matches_on,omitempty"` RuleDescription *string `json:"rule_description,omitempty"` }
WAFEvents200ResultsInner struct for WAFEvents200ResultsInner
func NewWAFEvents200ResultsInner ¶ added in v0.105.0
func NewWAFEvents200ResultsInner() *WAFEvents200ResultsInner
NewWAFEvents200ResultsInner instantiates a new WAFEvents200ResultsInner 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 NewWAFEvents200ResultsInnerWithDefaults ¶ added in v0.105.0
func NewWAFEvents200ResultsInnerWithDefaults() *WAFEvents200ResultsInner
NewWAFEvents200ResultsInnerWithDefaults instantiates a new WAFEvents200ResultsInner 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 (*WAFEvents200ResultsInner) GetCountryCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetCountryCount() int64
GetCountryCount returns the CountryCount field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetCountryCountOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetCountryCountOk() (*int64, bool)
GetCountryCountOk returns a tuple with the CountryCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetHitCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetHitCount() int64
GetHitCount returns the HitCount field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetHitCountOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetHitCountOk() (*int64, bool)
GetHitCountOk returns a tuple with the HitCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetIpCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetIpCount() int64
GetIpCount returns the IpCount field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetIpCountOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetIpCountOk() (*int64, bool)
GetIpCountOk returns a tuple with the IpCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetMatchZone ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetMatchZone() string
GetMatchZone returns the MatchZone field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetMatchZoneOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetMatchZoneOk() (*string, bool)
GetMatchZoneOk returns a tuple with the MatchZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetMatchesOn ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetMatchesOn() string
GetMatchesOn returns the MatchesOn field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetMatchesOnOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetMatchesOnOk() (*string, bool)
GetMatchesOnOk returns a tuple with the MatchesOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetPathCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetPathCount() int64
GetPathCount returns the PathCount field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetPathCountOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetPathCountOk() (*int64, bool)
GetPathCountOk returns a tuple with the PathCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetRuleDescription ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetRuleDescription() string
GetRuleDescription returns the RuleDescription field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetRuleDescriptionOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetRuleDescriptionOk() (*string, bool)
GetRuleDescriptionOk returns a tuple with the RuleDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetRuleId ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetRuleId() int64
GetRuleId returns the RuleId field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetRuleIdOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetRuleIdOk() (*int64, bool)
GetRuleIdOk returns a tuple with the RuleId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetTop10Countries ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetTop10Countries() []WAFEvents200ResultsInnerTop10CountriesInner
GetTop10Countries returns the Top10Countries field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetTop10CountriesOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetTop10CountriesOk() ([]WAFEvents200ResultsInnerTop10CountriesInner, bool)
GetTop10CountriesOk returns a tuple with the Top10Countries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) GetTop10Ips ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetTop10Ips() []WAFEvents200ResultsInnerTop10CountriesInner
GetTop10Ips returns the Top10Ips field value if set, zero value otherwise.
func (*WAFEvents200ResultsInner) GetTop10IpsOk ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) GetTop10IpsOk() ([]WAFEvents200ResultsInnerTop10CountriesInner, bool)
GetTop10IpsOk returns a tuple with the Top10Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents200ResultsInner) HasCountryCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasCountryCount() bool
HasCountryCount returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasHitCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasHitCount() bool
HasHitCount returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasIpCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasIpCount() bool
HasIpCount returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasMatchZone ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasMatchZone() bool
HasMatchZone returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasMatchesOn ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasMatchesOn() bool
HasMatchesOn returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasPathCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasPathCount() bool
HasPathCount returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasRuleDescription ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasRuleDescription() bool
HasRuleDescription returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasRuleId ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasRuleId() bool
HasRuleId returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasTop10Countries ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasTop10Countries() bool
HasTop10Countries returns a boolean if a field has been set.
func (*WAFEvents200ResultsInner) HasTop10Ips ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) HasTop10Ips() bool
HasTop10Ips returns a boolean if a field has been set.
func (WAFEvents200ResultsInner) MarshalJSON ¶ added in v0.105.0
func (o WAFEvents200ResultsInner) MarshalJSON() ([]byte, error)
func (*WAFEvents200ResultsInner) SetCountryCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetCountryCount(v int64)
SetCountryCount gets a reference to the given int64 and assigns it to the CountryCount field.
func (*WAFEvents200ResultsInner) SetHitCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetHitCount(v int64)
SetHitCount gets a reference to the given int64 and assigns it to the HitCount field.
func (*WAFEvents200ResultsInner) SetIpCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetIpCount(v int64)
SetIpCount gets a reference to the given int64 and assigns it to the IpCount field.
func (*WAFEvents200ResultsInner) SetMatchZone ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetMatchZone(v string)
SetMatchZone gets a reference to the given string and assigns it to the MatchZone field.
func (*WAFEvents200ResultsInner) SetMatchesOn ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetMatchesOn(v string)
SetMatchesOn gets a reference to the given string and assigns it to the MatchesOn field.
func (*WAFEvents200ResultsInner) SetPathCount ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetPathCount(v int64)
SetPathCount gets a reference to the given int64 and assigns it to the PathCount field.
func (*WAFEvents200ResultsInner) SetRuleDescription ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetRuleDescription(v string)
SetRuleDescription gets a reference to the given string and assigns it to the RuleDescription field.
func (*WAFEvents200ResultsInner) SetRuleId ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetRuleId(v int64)
SetRuleId gets a reference to the given int64 and assigns it to the RuleId field.
func (*WAFEvents200ResultsInner) SetTop10Countries ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetTop10Countries(v []WAFEvents200ResultsInnerTop10CountriesInner)
SetTop10Countries gets a reference to the given []WAFEvents200ResultsInnerTop10CountriesInner and assigns it to the Top10Countries field.
func (*WAFEvents200ResultsInner) SetTop10Ips ¶ added in v0.105.0
func (o *WAFEvents200ResultsInner) SetTop10Ips(v []WAFEvents200ResultsInnerTop10CountriesInner)
SetTop10Ips gets a reference to the given []WAFEvents200ResultsInnerTop10CountriesInner and assigns it to the Top10Ips field.
func (WAFEvents200ResultsInner) ToMap ¶ added in v0.105.0
func (o WAFEvents200ResultsInner) ToMap() (map[string]interface{}, error)
type WAFEvents200ResultsInnerTop10CountriesInner ¶ added in v0.108.0
WAFEvents200ResultsInnerTop10CountriesInner - struct for WAFEvents200ResultsInnerTop10CountriesInner
func Int64AsWAFEvents200ResultsInnerTop10CountriesInner ¶ added in v0.108.0
func Int64AsWAFEvents200ResultsInnerTop10CountriesInner(v *int64) WAFEvents200ResultsInnerTop10CountriesInner
int64AsWAFEvents200ResultsInnerTop10CountriesInner is a convenience function that returns int64 wrapped in WAFEvents200ResultsInnerTop10CountriesInner
func StringAsWAFEvents200ResultsInnerTop10CountriesInner ¶ added in v0.108.0
func StringAsWAFEvents200ResultsInnerTop10CountriesInner(v *string) WAFEvents200ResultsInnerTop10CountriesInner
stringAsWAFEvents200ResultsInnerTop10CountriesInner is a convenience function that returns string wrapped in WAFEvents200ResultsInnerTop10CountriesInner
func (*WAFEvents200ResultsInnerTop10CountriesInner) GetActualInstance ¶ added in v0.108.0
func (obj *WAFEvents200ResultsInnerTop10CountriesInner) GetActualInstance() interface{}
Get the actual instance
func (WAFEvents200ResultsInnerTop10CountriesInner) MarshalJSON ¶ added in v0.108.0
func (src WAFEvents200ResultsInnerTop10CountriesInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*WAFEvents200ResultsInnerTop10CountriesInner) UnmarshalJSON ¶ added in v0.108.0
func (dst *WAFEvents200ResultsInnerTop10CountriesInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type WAFEvents400 ¶
type WAFEvents400 struct { Errors []map[string]interface{} `json:"errors,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFEvents400 struct for WAFEvents400
func NewWAFEvents400 ¶
func NewWAFEvents400() *WAFEvents400
NewWAFEvents400 instantiates a new WAFEvents400 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 NewWAFEvents400WithDefaults ¶
func NewWAFEvents400WithDefaults() *WAFEvents400
NewWAFEvents400WithDefaults instantiates a new WAFEvents400 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 (*WAFEvents400) GetErrors ¶
func (o *WAFEvents400) GetErrors() []map[string]interface{}
GetErrors returns the Errors field value if set, zero value otherwise.
func (*WAFEvents400) GetErrorsOk ¶
func (o *WAFEvents400) GetErrorsOk() ([]map[string]interface{}, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents400) GetSchemaVersion ¶
func (o *WAFEvents400) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFEvents400) GetSchemaVersionOk ¶
func (o *WAFEvents400) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents400) HasErrors ¶
func (o *WAFEvents400) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*WAFEvents400) HasSchemaVersion ¶
func (o *WAFEvents400) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (WAFEvents400) MarshalJSON ¶
func (o WAFEvents400) MarshalJSON() ([]byte, error)
func (*WAFEvents400) SetErrors ¶
func (o *WAFEvents400) SetErrors(v []map[string]interface{})
SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.
func (*WAFEvents400) SetSchemaVersion ¶
func (o *WAFEvents400) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (WAFEvents400) ToMap ¶
func (o WAFEvents400) ToMap() (map[string]interface{}, error)
type WAFEvents401 ¶
type WAFEvents401 struct {
Detail *string `json:"detail,omitempty"`
}
WAFEvents401 struct for WAFEvents401
func NewWAFEvents401 ¶
func NewWAFEvents401() *WAFEvents401
NewWAFEvents401 instantiates a new WAFEvents401 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 NewWAFEvents401WithDefaults ¶
func NewWAFEvents401WithDefaults() *WAFEvents401
NewWAFEvents401WithDefaults instantiates a new WAFEvents401 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 (*WAFEvents401) GetDetail ¶
func (o *WAFEvents401) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*WAFEvents401) GetDetailOk ¶
func (o *WAFEvents401) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents401) HasDetail ¶
func (o *WAFEvents401) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (WAFEvents401) MarshalJSON ¶
func (o WAFEvents401) MarshalJSON() ([]byte, error)
func (*WAFEvents401) SetDetail ¶
func (o *WAFEvents401) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (WAFEvents401) ToMap ¶
func (o WAFEvents401) ToMap() (map[string]interface{}, error)
type WAFEvents404 ¶
type WAFEvents404 struct { Errors []map[string]interface{} `json:"errors,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFEvents404 struct for WAFEvents404
func NewWAFEvents404 ¶
func NewWAFEvents404() *WAFEvents404
NewWAFEvents404 instantiates a new WAFEvents404 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 NewWAFEvents404WithDefaults ¶
func NewWAFEvents404WithDefaults() *WAFEvents404
NewWAFEvents404WithDefaults instantiates a new WAFEvents404 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 (*WAFEvents404) GetErrors ¶
func (o *WAFEvents404) GetErrors() []map[string]interface{}
GetErrors returns the Errors field value if set, zero value otherwise.
func (*WAFEvents404) GetErrorsOk ¶
func (o *WAFEvents404) GetErrorsOk() ([]map[string]interface{}, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents404) GetSchemaVersion ¶
func (o *WAFEvents404) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFEvents404) GetSchemaVersionOk ¶
func (o *WAFEvents404) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFEvents404) HasErrors ¶
func (o *WAFEvents404) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*WAFEvents404) HasSchemaVersion ¶
func (o *WAFEvents404) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (WAFEvents404) MarshalJSON ¶
func (o WAFEvents404) MarshalJSON() ([]byte, error)
func (*WAFEvents404) SetErrors ¶
func (o *WAFEvents404) SetErrors(v []map[string]interface{})
SetErrors gets a reference to the given []map[string]interface{} and assigns it to the Errors field.
func (*WAFEvents404) SetSchemaVersion ¶
func (o *WAFEvents404) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (WAFEvents404) ToMap ¶
func (o WAFEvents404) ToMap() (map[string]interface{}, error)
type WAFList200 ¶ added in v0.100.0
type WAFList200 struct { Count *int64 `json:"count,omitempty"` TotalPages *int64 `json:"total_pages,omitempty"` Links *Links `json:"links,omitempty"` Results []SingleWAF `json:"results,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFList200 struct for WAFList200
func NewWAFList200 ¶ added in v0.100.0
func NewWAFList200() *WAFList200
NewWAFList200 instantiates a new WAFList200 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 NewWAFList200WithDefaults ¶ added in v0.100.0
func NewWAFList200WithDefaults() *WAFList200
NewWAFList200WithDefaults instantiates a new WAFList200 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 (*WAFList200) GetCount ¶ added in v0.100.0
func (o *WAFList200) GetCount() int64
GetCount returns the Count field value if set, zero value otherwise.
func (*WAFList200) GetCountOk ¶ added in v0.100.0
func (o *WAFList200) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFList200) GetLinks ¶ added in v0.100.0
func (o *WAFList200) GetLinks() Links
GetLinks returns the Links field value if set, zero value otherwise.
func (*WAFList200) GetLinksOk ¶ added in v0.100.0
func (o *WAFList200) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFList200) GetResults ¶ added in v0.100.0
func (o *WAFList200) GetResults() []SingleWAF
GetResults returns the Results field value if set, zero value otherwise.
func (*WAFList200) GetResultsOk ¶ added in v0.100.0
func (o *WAFList200) GetResultsOk() ([]SingleWAF, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFList200) GetSchemaVersion ¶ added in v0.100.0
func (o *WAFList200) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFList200) GetSchemaVersionOk ¶ added in v0.100.0
func (o *WAFList200) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFList200) GetTotalPages ¶ added in v0.100.0
func (o *WAFList200) GetTotalPages() int64
GetTotalPages returns the TotalPages field value if set, zero value otherwise.
func (*WAFList200) GetTotalPagesOk ¶ added in v0.100.0
func (o *WAFList200) GetTotalPagesOk() (*int64, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFList200) HasCount ¶ added in v0.100.0
func (o *WAFList200) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*WAFList200) HasLinks ¶ added in v0.100.0
func (o *WAFList200) HasLinks() bool
HasLinks returns a boolean if a field has been set.
func (*WAFList200) HasResults ¶ added in v0.100.0
func (o *WAFList200) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*WAFList200) HasSchemaVersion ¶ added in v0.100.0
func (o *WAFList200) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (*WAFList200) HasTotalPages ¶ added in v0.100.0
func (o *WAFList200) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.
func (WAFList200) MarshalJSON ¶ added in v0.100.0
func (o WAFList200) MarshalJSON() ([]byte, error)
func (*WAFList200) SetCount ¶ added in v0.100.0
func (o *WAFList200) SetCount(v int64)
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*WAFList200) SetLinks ¶ added in v0.100.0
func (o *WAFList200) SetLinks(v Links)
SetLinks gets a reference to the given Links and assigns it to the Links field.
func (*WAFList200) SetResults ¶ added in v0.100.0
func (o *WAFList200) SetResults(v []SingleWAF)
SetResults gets a reference to the given []SingleWAF and assigns it to the Results field.
func (*WAFList200) SetSchemaVersion ¶ added in v0.100.0
func (o *WAFList200) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (*WAFList200) SetTotalPages ¶ added in v0.100.0
func (o *WAFList200) SetTotalPages(v int64)
SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.
func (WAFList200) ToMap ¶ added in v0.100.0
func (o WAFList200) ToMap() (map[string]interface{}, error)
type WAFSensitivityChoices ¶ added in v0.100.0
type WAFSensitivityChoices string
WAFSensitivityChoices the model 'WAFSensitivityChoices'
const ( LOWEST WAFSensitivityChoices = "lowest" LOW WAFSensitivityChoices = "low" MEDIUM WAFSensitivityChoices = "medium" HIGH WAFSensitivityChoices = "high" HIGHEST WAFSensitivityChoices = "highest" )
List of WAFSensitivityChoices
func NewWAFSensitivityChoicesFromValue ¶ added in v0.100.0
func NewWAFSensitivityChoicesFromValue(v string) (*WAFSensitivityChoices, error)
NewWAFSensitivityChoicesFromValue returns a pointer to a valid WAFSensitivityChoices for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WAFSensitivityChoices) IsValid ¶ added in v0.100.0
func (v WAFSensitivityChoices) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WAFSensitivityChoices) Ptr ¶ added in v0.100.0
func (v WAFSensitivityChoices) Ptr() *WAFSensitivityChoices
Ptr returns reference to WAFSensitivityChoices value
func (*WAFSensitivityChoices) UnmarshalJSON ¶ added in v0.100.0
func (v *WAFSensitivityChoices) UnmarshalJSON(src []byte) error
type WAFSingle200 ¶ added in v0.100.0
type WAFSingle200 struct { Results *SingleWAF `json:"results,omitempty"` SchemaVersion *int64 `json:"schema_version,omitempty"` }
WAFSingle200 struct for WAFSingle200
func NewWAFSingle200 ¶ added in v0.100.0
func NewWAFSingle200() *WAFSingle200
NewWAFSingle200 instantiates a new WAFSingle200 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 NewWAFSingle200WithDefaults ¶ added in v0.100.0
func NewWAFSingle200WithDefaults() *WAFSingle200
NewWAFSingle200WithDefaults instantiates a new WAFSingle200 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 (*WAFSingle200) GetResults ¶ added in v0.100.0
func (o *WAFSingle200) GetResults() SingleWAF
GetResults returns the Results field value if set, zero value otherwise.
func (*WAFSingle200) GetResultsOk ¶ added in v0.100.0
func (o *WAFSingle200) GetResultsOk() (*SingleWAF, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFSingle200) GetSchemaVersion ¶ added in v0.100.0
func (o *WAFSingle200) GetSchemaVersion() int64
GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.
func (*WAFSingle200) GetSchemaVersionOk ¶ added in v0.100.0
func (o *WAFSingle200) GetSchemaVersionOk() (*int64, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WAFSingle200) HasResults ¶ added in v0.100.0
func (o *WAFSingle200) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*WAFSingle200) HasSchemaVersion ¶ added in v0.100.0
func (o *WAFSingle200) HasSchemaVersion() bool
HasSchemaVersion returns a boolean if a field has been set.
func (WAFSingle200) MarshalJSON ¶ added in v0.100.0
func (o WAFSingle200) MarshalJSON() ([]byte, error)
func (*WAFSingle200) SetResults ¶ added in v0.100.0
func (o *WAFSingle200) SetResults(v SingleWAF)
SetResults gets a reference to the given SingleWAF and assigns it to the Results field.
func (*WAFSingle200) SetSchemaVersion ¶ added in v0.100.0
func (o *WAFSingle200) SetSchemaVersion(v int64)
SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.
func (WAFSingle200) ToMap ¶ added in v0.100.0
func (o WAFSingle200) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_waf.go
- client.go
- configuration.go
- model_create_new_waf_ruleset_request.go
- model_links.go
- model_single_waf.go
- model_waf_domain_list200.go
- model_waf_domains200.go
- model_waf_events200.go
- model_waf_events200_results_inner.go
- model_waf_events200_results_inner_top_10_countries_inner.go
- model_waf_events400.go
- model_waf_events401.go
- model_waf_events404.go
- model_waf_list200.go
- model_waf_sensitivity_choices.go
- model_waf_single200.go
- response.go
- utils.go