waf

package
v0.0.0-...-74b3bbc Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for waf

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen For more information, please visit https://support.stackpath.com/

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./waf"

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://gateway.stackpath.com

Class Method HTTP request Description
ConfigurationApi GetSiteDnsTargets Get /waf/v1/stacks/{stack_id}/sites/{site_id}/delivery/dns/targets Get CNAME targets
EventsApi GetEvent Get /waf/v1/stacks/{stack_id}/sites/{site_id}/events/{event_id} LEGACY: Get an event
EventsApi GetEventStatistics Get /waf/v1/stacks/{stack_id}/sites/{site_id}/event_stats LEGACY: Get event statistics
EventsApi SearchEvents Get /waf/v1/stacks/{stack_id}/sites/{site_id}/events LEGACY: Get all events
InfrastructureApi GetWAFOrganizations Get /waf/v1/organizations Get WHOIS organizations
PoliciesApi DisablePolicy Post /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/policies/{policy_id}/disable Disable a policy
PoliciesApi DisablePolicyGroup Post /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/disable Disable all policies in a group
PoliciesApi EnablePolicy Post /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/policies/{policy_id}/enable Enable a policy
PoliciesApi EnablePolicyGroup Post /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/enable Enable all policies in a group
PoliciesApi GetPolicies Get /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/policies Get all policies in a group
PoliciesApi GetPolicy Get /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id}/policies/{policy_id} Get a policy
PoliciesApi GetPolicyGroup Get /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups/{policy_group_id} Get a policy group
PoliciesApi GetPolicyGroups Get /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups Get all policy groups
PoliciesApi UpdatePolicyGroups Patch /waf/v1/stacks/{stack_id}/sites/{site_id}/policy_groups Update policy groups
RequestsApi GetRequest Get /waf/v1/stacks/{stack_id}/sites/{site_id}/requests/{request_id} Get a request
RequestsApi GetRequestDetails Get /waf/v1/stacks/{stack_id}/sites/{site_id}/requests/{request_id}/details Get a request's details
RequestsApi GetRequests Get /waf/v1/stacks/{stack_id}/sites/{site_id}/requests Get all requests
RulesApi BulkDeleteRules Post /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/bulk_delete Delete multiple rules
RulesApi CreateRule Post /waf/v1/stacks/{stack_id}/sites/{site_id}/rules Create a rule
RulesApi DeleteRule Delete /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/{rule_id} Delete a rule
RulesApi DisableRule Post /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/{rule_id}/disable Disable a rule
RulesApi EnableRule Post /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/{rule_id}/enable Enable a rule
RulesApi GetRule Get /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/{rule_id} Get a rule
RulesApi GetRules Get /waf/v1/stacks/{stack_id}/sites/{site_id}/rules Get all rules
RulesApi UpdateRule Patch /waf/v1/stacks/{stack_id}/sites/{site_id}/rules/{rule_id} Update a rule
SSLApi ConnectSiteToCertificate Put /waf/v1/stacks/{stack_id}/sites/{site_id}/delivery/certificates/{certificate_id} Update SAN hosts
SSLApi CreateCertificate Post /waf/v1/stacks/{stack_id}/delivery/certificates Add a certificate
SSLApi DeleteCertificate Delete /waf/v1/stacks/{stack_id}/delivery/certificates/{certificate_id} Delete a certificate
SSLApi GetCertificate Get /waf/v1/stacks/{stack_id}/delivery/certificates/{certificate_id} Get a certificate
SSLApi GetCertificateVerificationDetails Get /waf/v1/stacks/{stack_id}/delivery/certificates/{certificate_id}/verification_details Get sites associated with a certificate
SSLApi GetCertificates Get /waf/v1/stacks/{stack_id}/delivery/certificates Get all certificates
SSLApi GetSiteCertificates Get /waf/v1/stacks/{stack_id}/sites/{site_id}/delivery/certificates Get all site certificates
SSLApi RenewCertificate Post /waf/v1/stacks/{stack_id}/delivery/certificates/{certificate_id}/renew Renew a certificate
SSLApi RequestCertificate Post /waf/v1/stacks/{stack_id}/sites/{site_id}/delivery/certificates/request Request a free certificate
SSLApi UpdateCertificate Put /waf/v1/stacks/{stack_id}/delivery/certificates/{certificate_id} Update a certificate
TrafficApi GetTraffic Get /waf/v1/stacks/{stack_id}/traffic LEGACY: Get traffic
TrafficApi GetTrafficV2 Get /waf/v2/stacks/{stack_id}/traffic Get traffic
WAFFeaturesApi GetDdosSettings Get /waf/v1/stacks/{stack_id}/sites/{site_id}/ddos Get DDOS settings
WAFFeaturesApi GetTags Get /waf/v1/tags Get all tags
WAFFeaturesApi MonitorSite Post /waf/v1/stacks/{stack_id}/sites/{site_id}/monitoring Enable monitoring mode
WAFFeaturesApi UnMonitorSite Delete /waf/v1/stacks/{stack_id}/sites/{site_id}/monitoring Disable monitoring mode
WAFFeaturesApi UpdateDdosSettings Patch /waf/v1/stacks/{stack_id}/sites/{site_id}/ddos Update DDOS settings
WAFFeaturesApi UpdateSiteApiUrls Put /waf/v1/stacks/{stack_id}/sites/{site_id}/api_urls Update API URLs

Documentation For Models

Documentation For Authorization

oauth2
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given integer value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ConfigurationApi *ConfigurationApiService

	EventsApi *EventsApiService

	InfrastructureApi *InfrastructureApiService

	PoliciesApi *PoliciesApiService

	RequestsApi *RequestsApiService

	RulesApi *RulesApiService

	SSLApi *SSLApiService

	TrafficApi *TrafficApiService

	WAFFeaturesApi *WAFFeaturesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Web Application Firewall API v1.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

type APIKey struct {
	Key    string
	Prefix string
}

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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiStatusDetail

type ApiStatusDetail struct {
	Type string `json:"@type"`
}

ApiStatusDetail struct for ApiStatusDetail

func NewApiStatusDetail

func NewApiStatusDetail(type_ string) *ApiStatusDetail

NewApiStatusDetail instantiates a new ApiStatusDetail 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 NewApiStatusDetailWithDefaults

func NewApiStatusDetailWithDefaults() *ApiStatusDetail

NewApiStatusDetailWithDefaults instantiates a new ApiStatusDetail 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 (*ApiStatusDetail) GetType

func (o *ApiStatusDetail) GetType() string

GetType returns the Type field value

func (*ApiStatusDetail) GetTypeOk

func (o *ApiStatusDetail) GetTypeOk() (*string, bool)

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

func (ApiStatusDetail) MarshalJSON

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

func (*ApiStatusDetail) SetType

func (o *ApiStatusDetail) SetType(v string)

SetType sets field value

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 ConditionContentTypeCondition

type ConditionContentTypeCondition struct {
	// The Content-Type to match against
	ContentType *string `json:"contentType,omitempty"`
}

ConditionContentTypeCondition Match the requested Content-Type

func NewConditionContentTypeCondition

func NewConditionContentTypeCondition() *ConditionContentTypeCondition

NewConditionContentTypeCondition instantiates a new ConditionContentTypeCondition 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 NewConditionContentTypeConditionWithDefaults

func NewConditionContentTypeConditionWithDefaults() *ConditionContentTypeCondition

NewConditionContentTypeConditionWithDefaults instantiates a new ConditionContentTypeCondition 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 (*ConditionContentTypeCondition) GetContentType

func (o *ConditionContentTypeCondition) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*ConditionContentTypeCondition) GetContentTypeOk

func (o *ConditionContentTypeCondition) GetContentTypeOk() (*string, bool)

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

func (*ConditionContentTypeCondition) HasContentType

func (o *ConditionContentTypeCondition) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (ConditionContentTypeCondition) MarshalJSON

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

func (*ConditionContentTypeCondition) SetContentType

func (o *ConditionContentTypeCondition) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

type ConditionCountryCondition

type ConditionCountryCondition struct {
	// An ISO 3166-1 alpha-2 formatted string
	CountryCode *string `json:"countryCode,omitempty"`
}

ConditionCountryCondition Match the country that the requested originated from

func NewConditionCountryCondition

func NewConditionCountryCondition() *ConditionCountryCondition

NewConditionCountryCondition instantiates a new ConditionCountryCondition 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 NewConditionCountryConditionWithDefaults

func NewConditionCountryConditionWithDefaults() *ConditionCountryCondition

NewConditionCountryConditionWithDefaults instantiates a new ConditionCountryCondition 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 (*ConditionCountryCondition) GetCountryCode

func (o *ConditionCountryCondition) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*ConditionCountryCondition) GetCountryCodeOk

func (o *ConditionCountryCondition) GetCountryCodeOk() (*string, bool)

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

func (*ConditionCountryCondition) HasCountryCode

func (o *ConditionCountryCondition) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (ConditionCountryCondition) MarshalJSON

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

func (*ConditionCountryCondition) SetCountryCode

func (o *ConditionCountryCondition) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

type ConditionFileExtensionCondition

type ConditionFileExtensionCondition struct {
	// The file extension, with or without a period character, to match against
	FileExtension *string `json:"fileExtension,omitempty"`
}

ConditionFileExtensionCondition Match the incoming file extension

func NewConditionFileExtensionCondition

func NewConditionFileExtensionCondition() *ConditionFileExtensionCondition

NewConditionFileExtensionCondition instantiates a new ConditionFileExtensionCondition 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 NewConditionFileExtensionConditionWithDefaults

func NewConditionFileExtensionConditionWithDefaults() *ConditionFileExtensionCondition

NewConditionFileExtensionConditionWithDefaults instantiates a new ConditionFileExtensionCondition 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 (*ConditionFileExtensionCondition) GetFileExtension

func (o *ConditionFileExtensionCondition) GetFileExtension() string

GetFileExtension returns the FileExtension field value if set, zero value otherwise.

func (*ConditionFileExtensionCondition) GetFileExtensionOk

func (o *ConditionFileExtensionCondition) GetFileExtensionOk() (*string, bool)

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

func (*ConditionFileExtensionCondition) HasFileExtension

func (o *ConditionFileExtensionCondition) HasFileExtension() bool

HasFileExtension returns a boolean if a field has been set.

func (ConditionFileExtensionCondition) MarshalJSON

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

func (*ConditionFileExtensionCondition) SetFileExtension

func (o *ConditionFileExtensionCondition) SetFileExtension(v string)

SetFileExtension gets a reference to the given string and assigns it to the FileExtension field.

type ConditionHeaderCondition

type ConditionHeaderCondition struct {
	// The request header name
	Header *string `json:"header,omitempty"`
	// The request header value
	Value *string `json:"value,omitempty"`
	// Whether or not to perform an exact match of the request header and value
	ExactMatch *bool `json:"exactMatch,omitempty"`
}

ConditionHeaderCondition Match an incoming request header

func NewConditionHeaderCondition

func NewConditionHeaderCondition() *ConditionHeaderCondition

NewConditionHeaderCondition instantiates a new ConditionHeaderCondition 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 NewConditionHeaderConditionWithDefaults

func NewConditionHeaderConditionWithDefaults() *ConditionHeaderCondition

NewConditionHeaderConditionWithDefaults instantiates a new ConditionHeaderCondition 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 (*ConditionHeaderCondition) GetExactMatch

func (o *ConditionHeaderCondition) GetExactMatch() bool

GetExactMatch returns the ExactMatch field value if set, zero value otherwise.

func (*ConditionHeaderCondition) GetExactMatchOk

func (o *ConditionHeaderCondition) GetExactMatchOk() (*bool, bool)

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

func (*ConditionHeaderCondition) GetHeader

func (o *ConditionHeaderCondition) GetHeader() string

GetHeader returns the Header field value if set, zero value otherwise.

func (*ConditionHeaderCondition) GetHeaderOk

func (o *ConditionHeaderCondition) GetHeaderOk() (*string, bool)

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

func (*ConditionHeaderCondition) GetValue

func (o *ConditionHeaderCondition) GetValue() string

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

func (*ConditionHeaderCondition) GetValueOk

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

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

func (*ConditionHeaderCondition) HasExactMatch

func (o *ConditionHeaderCondition) HasExactMatch() bool

HasExactMatch returns a boolean if a field has been set.

func (*ConditionHeaderCondition) HasHeader

func (o *ConditionHeaderCondition) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*ConditionHeaderCondition) HasValue

func (o *ConditionHeaderCondition) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ConditionHeaderCondition) MarshalJSON

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

func (*ConditionHeaderCondition) SetExactMatch

func (o *ConditionHeaderCondition) SetExactMatch(v bool)

SetExactMatch gets a reference to the given bool and assigns it to the ExactMatch field.

func (*ConditionHeaderCondition) SetHeader

func (o *ConditionHeaderCondition) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*ConditionHeaderCondition) SetValue

func (o *ConditionHeaderCondition) SetValue(v string)

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

type ConditionHeaderExistsCondition

type ConditionHeaderExistsCondition struct {
	// The request header name
	Header *string `json:"header,omitempty"`
}

ConditionHeaderExistsCondition Match when an incoming request header is present

func NewConditionHeaderExistsCondition

func NewConditionHeaderExistsCondition() *ConditionHeaderExistsCondition

NewConditionHeaderExistsCondition instantiates a new ConditionHeaderExistsCondition 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 NewConditionHeaderExistsConditionWithDefaults

func NewConditionHeaderExistsConditionWithDefaults() *ConditionHeaderExistsCondition

NewConditionHeaderExistsConditionWithDefaults instantiates a new ConditionHeaderExistsCondition 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 (*ConditionHeaderExistsCondition) GetHeader

func (o *ConditionHeaderExistsCondition) GetHeader() string

GetHeader returns the Header field value if set, zero value otherwise.

func (*ConditionHeaderExistsCondition) GetHeaderOk

func (o *ConditionHeaderExistsCondition) GetHeaderOk() (*string, bool)

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

func (*ConditionHeaderExistsCondition) HasHeader

func (o *ConditionHeaderExistsCondition) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (ConditionHeaderExistsCondition) MarshalJSON

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

func (*ConditionHeaderExistsCondition) SetHeader

func (o *ConditionHeaderExistsCondition) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

type ConditionHttpMethodCondition

type ConditionHttpMethodCondition struct {
	HttpMethod *WafHttpMethod `json:"httpMethod,omitempty"`
}

ConditionHttpMethodCondition Match the incoming HTTP method

func NewConditionHttpMethodCondition

func NewConditionHttpMethodCondition() *ConditionHttpMethodCondition

NewConditionHttpMethodCondition instantiates a new ConditionHttpMethodCondition 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 NewConditionHttpMethodConditionWithDefaults

func NewConditionHttpMethodConditionWithDefaults() *ConditionHttpMethodCondition

NewConditionHttpMethodConditionWithDefaults instantiates a new ConditionHttpMethodCondition 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 (*ConditionHttpMethodCondition) GetHttpMethod

func (o *ConditionHttpMethodCondition) GetHttpMethod() WafHttpMethod

GetHttpMethod returns the HttpMethod field value if set, zero value otherwise.

func (*ConditionHttpMethodCondition) GetHttpMethodOk

func (o *ConditionHttpMethodCondition) GetHttpMethodOk() (*WafHttpMethod, bool)

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

func (*ConditionHttpMethodCondition) HasHttpMethod

func (o *ConditionHttpMethodCondition) HasHttpMethod() bool

HasHttpMethod returns a boolean if a field has been set.

func (ConditionHttpMethodCondition) MarshalJSON

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

func (*ConditionHttpMethodCondition) SetHttpMethod

func (o *ConditionHttpMethodCondition) SetHttpMethod(v WafHttpMethod)

SetHttpMethod gets a reference to the given WafHttpMethod and assigns it to the HttpMethod field.

type ConditionIpCondition

type ConditionIpCondition struct {
	// A single IPv4 address
	IpAddress *string `json:"ipAddress,omitempty"`
}

ConditionIpCondition Match the incoming request against a single IP address

func NewConditionIpCondition

func NewConditionIpCondition() *ConditionIpCondition

NewConditionIpCondition instantiates a new ConditionIpCondition 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 NewConditionIpConditionWithDefaults

func NewConditionIpConditionWithDefaults() *ConditionIpCondition

NewConditionIpConditionWithDefaults instantiates a new ConditionIpCondition 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 (*ConditionIpCondition) GetIpAddress

func (o *ConditionIpCondition) GetIpAddress() string

GetIpAddress returns the IpAddress field value if set, zero value otherwise.

func (*ConditionIpCondition) GetIpAddressOk

func (o *ConditionIpCondition) GetIpAddressOk() (*string, bool)

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

func (*ConditionIpCondition) HasIpAddress

func (o *ConditionIpCondition) HasIpAddress() bool

HasIpAddress returns a boolean if a field has been set.

func (ConditionIpCondition) MarshalJSON

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

func (*ConditionIpCondition) SetIpAddress

func (o *ConditionIpCondition) SetIpAddress(v string)

SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.

type ConditionIpRangeCondition

type ConditionIpRangeCondition struct {
	// The lower bound IPv4 address to match against
	LowerBound *string `json:"lowerBound,omitempty"`
	// The upper bound IPv4 address to match against
	UpperBound *string `json:"upperBound,omitempty"`
}

ConditionIpRangeCondition Match the incoming request against a range of IPv4 addresses

func NewConditionIpRangeCondition

func NewConditionIpRangeCondition() *ConditionIpRangeCondition

NewConditionIpRangeCondition instantiates a new ConditionIpRangeCondition 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 NewConditionIpRangeConditionWithDefaults

func NewConditionIpRangeConditionWithDefaults() *ConditionIpRangeCondition

NewConditionIpRangeConditionWithDefaults instantiates a new ConditionIpRangeCondition 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 (*ConditionIpRangeCondition) GetLowerBound

func (o *ConditionIpRangeCondition) GetLowerBound() string

GetLowerBound returns the LowerBound field value if set, zero value otherwise.

func (*ConditionIpRangeCondition) GetLowerBoundOk

func (o *ConditionIpRangeCondition) GetLowerBoundOk() (*string, bool)

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

func (*ConditionIpRangeCondition) GetUpperBound

func (o *ConditionIpRangeCondition) GetUpperBound() string

GetUpperBound returns the UpperBound field value if set, zero value otherwise.

func (*ConditionIpRangeCondition) GetUpperBoundOk

func (o *ConditionIpRangeCondition) GetUpperBoundOk() (*string, bool)

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

func (*ConditionIpRangeCondition) HasLowerBound

func (o *ConditionIpRangeCondition) HasLowerBound() bool

HasLowerBound returns a boolean if a field has been set.

func (*ConditionIpRangeCondition) HasUpperBound

func (o *ConditionIpRangeCondition) HasUpperBound() bool

HasUpperBound returns a boolean if a field has been set.

func (ConditionIpRangeCondition) MarshalJSON

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

func (*ConditionIpRangeCondition) SetLowerBound

func (o *ConditionIpRangeCondition) SetLowerBound(v string)

SetLowerBound gets a reference to the given string and assigns it to the LowerBound field.

func (*ConditionIpRangeCondition) SetUpperBound

func (o *ConditionIpRangeCondition) SetUpperBound(v string)

SetUpperBound gets a reference to the given string and assigns it to the UpperBound field.

type ConditionOrganizationCondition

type ConditionOrganizationCondition struct {
	// The organization to match against
	Organization *string `json:"organization,omitempty"`
}

ConditionOrganizationCondition Match the organization the request originated from, as determined by a WHOIS lookup of the requesting IP

func NewConditionOrganizationCondition

func NewConditionOrganizationCondition() *ConditionOrganizationCondition

NewConditionOrganizationCondition instantiates a new ConditionOrganizationCondition 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 NewConditionOrganizationConditionWithDefaults

func NewConditionOrganizationConditionWithDefaults() *ConditionOrganizationCondition

NewConditionOrganizationConditionWithDefaults instantiates a new ConditionOrganizationCondition 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 (*ConditionOrganizationCondition) GetOrganization

func (o *ConditionOrganizationCondition) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*ConditionOrganizationCondition) GetOrganizationOk

func (o *ConditionOrganizationCondition) GetOrganizationOk() (*string, bool)

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

func (*ConditionOrganizationCondition) HasOrganization

func (o *ConditionOrganizationCondition) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (ConditionOrganizationCondition) MarshalJSON

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

func (*ConditionOrganizationCondition) SetOrganization

func (o *ConditionOrganizationCondition) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

type ConditionOwnerTypeCondition

type ConditionOwnerTypeCondition struct {
	// The owner value to match against
	OwnerTypes *[]OwnerTypeConditionOwnerType `json:"ownerTypes,omitempty"`
}

ConditionOwnerTypeCondition Match the type of organization that owns the IP address making an incoming request

func NewConditionOwnerTypeCondition

func NewConditionOwnerTypeCondition() *ConditionOwnerTypeCondition

NewConditionOwnerTypeCondition instantiates a new ConditionOwnerTypeCondition 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 NewConditionOwnerTypeConditionWithDefaults

func NewConditionOwnerTypeConditionWithDefaults() *ConditionOwnerTypeCondition

NewConditionOwnerTypeConditionWithDefaults instantiates a new ConditionOwnerTypeCondition 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 (*ConditionOwnerTypeCondition) GetOwnerTypes

GetOwnerTypes returns the OwnerTypes field value if set, zero value otherwise.

func (*ConditionOwnerTypeCondition) GetOwnerTypesOk

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

func (*ConditionOwnerTypeCondition) HasOwnerTypes

func (o *ConditionOwnerTypeCondition) HasOwnerTypes() bool

HasOwnerTypes returns a boolean if a field has been set.

func (ConditionOwnerTypeCondition) MarshalJSON

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

func (*ConditionOwnerTypeCondition) SetOwnerTypes

SetOwnerTypes gets a reference to the given []OwnerTypeConditionOwnerType and assigns it to the OwnerTypes field.

type ConditionRequestRateCondition

type ConditionRequestRateCondition struct {
	// A list of source IPs that can trigger a request rate condition
	Ips *[]string `json:"ips,omitempty"`
	// Possible HTTP request methods that can trigger a request rate condition
	HttpMethods *[]WafHttpMethod `json:"httpMethods,omitempty"`
	// A regular expression matching the URL path of the incoming request
	PathPattern *string `json:"pathPattern,omitempty"`
	// The number of incoming requests over the given time that can trigger a request rate condition
	Requests *string `json:"requests,omitempty"`
	// The number of seconds that the WAF measures incoming requests over before triggering a request rate condition
	Time *string `json:"time,omitempty"`
}

ConditionRequestRateCondition Match the rate at which requests come in that match certain conditions

func NewConditionRequestRateCondition

func NewConditionRequestRateCondition() *ConditionRequestRateCondition

NewConditionRequestRateCondition instantiates a new ConditionRequestRateCondition 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 NewConditionRequestRateConditionWithDefaults

func NewConditionRequestRateConditionWithDefaults() *ConditionRequestRateCondition

NewConditionRequestRateConditionWithDefaults instantiates a new ConditionRequestRateCondition 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 (*ConditionRequestRateCondition) GetHttpMethods

func (o *ConditionRequestRateCondition) GetHttpMethods() []WafHttpMethod

GetHttpMethods returns the HttpMethods field value if set, zero value otherwise.

func (*ConditionRequestRateCondition) GetHttpMethodsOk

func (o *ConditionRequestRateCondition) GetHttpMethodsOk() (*[]WafHttpMethod, bool)

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

func (*ConditionRequestRateCondition) GetIps

func (o *ConditionRequestRateCondition) GetIps() []string

GetIps returns the Ips field value if set, zero value otherwise.

func (*ConditionRequestRateCondition) GetIpsOk

func (o *ConditionRequestRateCondition) GetIpsOk() (*[]string, bool)

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

func (*ConditionRequestRateCondition) GetPathPattern

func (o *ConditionRequestRateCondition) GetPathPattern() string

GetPathPattern returns the PathPattern field value if set, zero value otherwise.

func (*ConditionRequestRateCondition) GetPathPatternOk

func (o *ConditionRequestRateCondition) GetPathPatternOk() (*string, bool)

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

func (*ConditionRequestRateCondition) GetRequests

func (o *ConditionRequestRateCondition) GetRequests() string

GetRequests returns the Requests field value if set, zero value otherwise.

func (*ConditionRequestRateCondition) GetRequestsOk

func (o *ConditionRequestRateCondition) GetRequestsOk() (*string, bool)

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

func (*ConditionRequestRateCondition) GetTime

GetTime returns the Time field value if set, zero value otherwise.

func (*ConditionRequestRateCondition) GetTimeOk

func (o *ConditionRequestRateCondition) GetTimeOk() (*string, bool)

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

func (*ConditionRequestRateCondition) HasHttpMethods

func (o *ConditionRequestRateCondition) HasHttpMethods() bool

HasHttpMethods returns a boolean if a field has been set.

func (*ConditionRequestRateCondition) HasIps

func (o *ConditionRequestRateCondition) HasIps() bool

HasIps returns a boolean if a field has been set.

func (*ConditionRequestRateCondition) HasPathPattern

func (o *ConditionRequestRateCondition) HasPathPattern() bool

HasPathPattern returns a boolean if a field has been set.

func (*ConditionRequestRateCondition) HasRequests

func (o *ConditionRequestRateCondition) HasRequests() bool

HasRequests returns a boolean if a field has been set.

func (*ConditionRequestRateCondition) HasTime

func (o *ConditionRequestRateCondition) HasTime() bool

HasTime returns a boolean if a field has been set.

func (ConditionRequestRateCondition) MarshalJSON

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

func (*ConditionRequestRateCondition) SetHttpMethods

func (o *ConditionRequestRateCondition) SetHttpMethods(v []WafHttpMethod)

SetHttpMethods gets a reference to the given []WafHttpMethod and assigns it to the HttpMethods field.

func (*ConditionRequestRateCondition) SetIps

func (o *ConditionRequestRateCondition) SetIps(v []string)

SetIps gets a reference to the given []string and assigns it to the Ips field.

func (*ConditionRequestRateCondition) SetPathPattern

func (o *ConditionRequestRateCondition) SetPathPattern(v string)

SetPathPattern gets a reference to the given string and assigns it to the PathPattern field.

func (*ConditionRequestRateCondition) SetRequests

func (o *ConditionRequestRateCondition) SetRequests(v string)

SetRequests gets a reference to the given string and assigns it to the Requests field.

func (*ConditionRequestRateCondition) SetTime

func (o *ConditionRequestRateCondition) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

type ConditionResponseHeaderCondition

type ConditionResponseHeaderCondition struct {
	// The response header name
	Header *string `json:"header,omitempty"`
	// The response header value
	Value *string `json:"value,omitempty"`
	// Whether to perform an exact match of the response header and value
	ExactMatch *bool `json:"exactMatch,omitempty"`
}

ConditionResponseHeaderCondition Match a response header

func NewConditionResponseHeaderCondition

func NewConditionResponseHeaderCondition() *ConditionResponseHeaderCondition

NewConditionResponseHeaderCondition instantiates a new ConditionResponseHeaderCondition 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 NewConditionResponseHeaderConditionWithDefaults

func NewConditionResponseHeaderConditionWithDefaults() *ConditionResponseHeaderCondition

NewConditionResponseHeaderConditionWithDefaults instantiates a new ConditionResponseHeaderCondition 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 (*ConditionResponseHeaderCondition) GetExactMatch

func (o *ConditionResponseHeaderCondition) GetExactMatch() bool

GetExactMatch returns the ExactMatch field value if set, zero value otherwise.

func (*ConditionResponseHeaderCondition) GetExactMatchOk

func (o *ConditionResponseHeaderCondition) GetExactMatchOk() (*bool, bool)

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

func (*ConditionResponseHeaderCondition) GetHeader

GetHeader returns the Header field value if set, zero value otherwise.

func (*ConditionResponseHeaderCondition) GetHeaderOk

func (o *ConditionResponseHeaderCondition) GetHeaderOk() (*string, bool)

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

func (*ConditionResponseHeaderCondition) GetValue

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

func (*ConditionResponseHeaderCondition) GetValueOk

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

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

func (*ConditionResponseHeaderCondition) HasExactMatch

func (o *ConditionResponseHeaderCondition) HasExactMatch() bool

HasExactMatch returns a boolean if a field has been set.

func (*ConditionResponseHeaderCondition) HasHeader

func (o *ConditionResponseHeaderCondition) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*ConditionResponseHeaderCondition) HasValue

func (o *ConditionResponseHeaderCondition) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ConditionResponseHeaderCondition) MarshalJSON

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

func (*ConditionResponseHeaderCondition) SetExactMatch

func (o *ConditionResponseHeaderCondition) SetExactMatch(v bool)

SetExactMatch gets a reference to the given bool and assigns it to the ExactMatch field.

func (*ConditionResponseHeaderCondition) SetHeader

func (o *ConditionResponseHeaderCondition) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*ConditionResponseHeaderCondition) SetValue

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

type ConditionResponseHeaderExistsCondition

type ConditionResponseHeaderExistsCondition struct {
	// The response header name
	Header *string `json:"header,omitempty"`
}

ConditionResponseHeaderExistsCondition Match when a response header is present

func NewConditionResponseHeaderExistsCondition

func NewConditionResponseHeaderExistsCondition() *ConditionResponseHeaderExistsCondition

NewConditionResponseHeaderExistsCondition instantiates a new ConditionResponseHeaderExistsCondition 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 NewConditionResponseHeaderExistsConditionWithDefaults

func NewConditionResponseHeaderExistsConditionWithDefaults() *ConditionResponseHeaderExistsCondition

NewConditionResponseHeaderExistsConditionWithDefaults instantiates a new ConditionResponseHeaderExistsCondition 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 (*ConditionResponseHeaderExistsCondition) GetHeader

GetHeader returns the Header field value if set, zero value otherwise.

func (*ConditionResponseHeaderExistsCondition) GetHeaderOk

func (o *ConditionResponseHeaderExistsCondition) GetHeaderOk() (*string, bool)

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

func (*ConditionResponseHeaderExistsCondition) HasHeader

HasHeader returns a boolean if a field has been set.

func (ConditionResponseHeaderExistsCondition) MarshalJSON

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

func (*ConditionResponseHeaderExistsCondition) SetHeader

SetHeader gets a reference to the given string and assigns it to the Header field.

type ConditionSessionRequestCountCondition

type ConditionSessionRequestCountCondition struct {
	// The number of dynamic requests in the session
	RequestCount *string `json:"requestCount,omitempty"`
}

ConditionSessionRequestCountCondition Match the number of dynamic page requests made in a WAF session The WAF injects a session cookie into protected pages to track multi-request security issues. This condition matches against the number of dynamic page requests made during that session's lifetime.

func NewConditionSessionRequestCountCondition

func NewConditionSessionRequestCountCondition() *ConditionSessionRequestCountCondition

NewConditionSessionRequestCountCondition instantiates a new ConditionSessionRequestCountCondition 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 NewConditionSessionRequestCountConditionWithDefaults

func NewConditionSessionRequestCountConditionWithDefaults() *ConditionSessionRequestCountCondition

NewConditionSessionRequestCountConditionWithDefaults instantiates a new ConditionSessionRequestCountCondition 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 (*ConditionSessionRequestCountCondition) GetRequestCount

func (o *ConditionSessionRequestCountCondition) GetRequestCount() string

GetRequestCount returns the RequestCount field value if set, zero value otherwise.

func (*ConditionSessionRequestCountCondition) GetRequestCountOk

func (o *ConditionSessionRequestCountCondition) GetRequestCountOk() (*string, bool)

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

func (*ConditionSessionRequestCountCondition) HasRequestCount

func (o *ConditionSessionRequestCountCondition) HasRequestCount() bool

HasRequestCount returns a boolean if a field has been set.

func (ConditionSessionRequestCountCondition) MarshalJSON

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

func (*ConditionSessionRequestCountCondition) SetRequestCount

func (o *ConditionSessionRequestCountCondition) SetRequestCount(v string)

SetRequestCount gets a reference to the given string and assigns it to the RequestCount field.

type ConditionTagCondition

type ConditionTagCondition struct {
	// A facet of the incoming request to match against
	Tags *[]string `json:"tags,omitempty"`
}

ConditionTagCondition Match aspects of an incoming request

func NewConditionTagCondition

func NewConditionTagCondition() *ConditionTagCondition

NewConditionTagCondition instantiates a new ConditionTagCondition 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 NewConditionTagConditionWithDefaults

func NewConditionTagConditionWithDefaults() *ConditionTagCondition

NewConditionTagConditionWithDefaults instantiates a new ConditionTagCondition 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 (*ConditionTagCondition) GetTags

func (o *ConditionTagCondition) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ConditionTagCondition) GetTagsOk

func (o *ConditionTagCondition) GetTagsOk() (*[]string, bool)

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

func (*ConditionTagCondition) HasTags

func (o *ConditionTagCondition) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ConditionTagCondition) MarshalJSON

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

func (*ConditionTagCondition) SetTags

func (o *ConditionTagCondition) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type ConditionUrlCondition

type ConditionUrlCondition struct {
	// The URL to match
	Url *string `json:"url,omitempty"`
	// Whether to perform an exact match or a string contains match of the URL
	ExactMatch *bool `json:"exactMatch,omitempty"`
}

ConditionUrlCondition Match the incoming request URL

func NewConditionUrlCondition

func NewConditionUrlCondition() *ConditionUrlCondition

NewConditionUrlCondition instantiates a new ConditionUrlCondition 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 NewConditionUrlConditionWithDefaults

func NewConditionUrlConditionWithDefaults() *ConditionUrlCondition

NewConditionUrlConditionWithDefaults instantiates a new ConditionUrlCondition 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 (*ConditionUrlCondition) GetExactMatch

func (o *ConditionUrlCondition) GetExactMatch() bool

GetExactMatch returns the ExactMatch field value if set, zero value otherwise.

func (*ConditionUrlCondition) GetExactMatchOk

func (o *ConditionUrlCondition) GetExactMatchOk() (*bool, bool)

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

func (*ConditionUrlCondition) GetUrl

func (o *ConditionUrlCondition) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*ConditionUrlCondition) GetUrlOk

func (o *ConditionUrlCondition) GetUrlOk() (*string, bool)

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

func (*ConditionUrlCondition) HasExactMatch

func (o *ConditionUrlCondition) HasExactMatch() bool

HasExactMatch returns a boolean if a field has been set.

func (*ConditionUrlCondition) HasUrl

func (o *ConditionUrlCondition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (ConditionUrlCondition) MarshalJSON

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

func (*ConditionUrlCondition) SetExactMatch

func (o *ConditionUrlCondition) SetExactMatch(v bool)

SetExactMatch gets a reference to the given bool and assigns it to the ExactMatch field.

func (*ConditionUrlCondition) SetUrl

func (o *ConditionUrlCondition) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type ConditionUserAgentCondition

type ConditionUserAgentCondition struct {
	// The user agent value to match
	UserAgent *string `json:"userAgent,omitempty"`
	// Whether to perform an exact match or a string contains match of the user agent
	ExactMatch *bool `json:"exactMatch,omitempty"`
}

ConditionUserAgentCondition Match the user agent making the request

func NewConditionUserAgentCondition

func NewConditionUserAgentCondition() *ConditionUserAgentCondition

NewConditionUserAgentCondition instantiates a new ConditionUserAgentCondition 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 NewConditionUserAgentConditionWithDefaults

func NewConditionUserAgentConditionWithDefaults() *ConditionUserAgentCondition

NewConditionUserAgentConditionWithDefaults instantiates a new ConditionUserAgentCondition 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 (*ConditionUserAgentCondition) GetExactMatch

func (o *ConditionUserAgentCondition) GetExactMatch() bool

GetExactMatch returns the ExactMatch field value if set, zero value otherwise.

func (*ConditionUserAgentCondition) GetExactMatchOk

func (o *ConditionUserAgentCondition) GetExactMatchOk() (*bool, bool)

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

func (*ConditionUserAgentCondition) GetUserAgent

func (o *ConditionUserAgentCondition) GetUserAgent() string

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*ConditionUserAgentCondition) GetUserAgentOk

func (o *ConditionUserAgentCondition) GetUserAgentOk() (*string, bool)

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

func (*ConditionUserAgentCondition) HasExactMatch

func (o *ConditionUserAgentCondition) HasExactMatch() bool

HasExactMatch returns a boolean if a field has been set.

func (*ConditionUserAgentCondition) HasUserAgent

func (o *ConditionUserAgentCondition) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (ConditionUserAgentCondition) MarshalJSON

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

func (*ConditionUserAgentCondition) SetExactMatch

func (o *ConditionUserAgentCondition) SetExactMatch(v bool)

SetExactMatch gets a reference to the given bool and assigns it to the ExactMatch field.

func (*ConditionUserAgentCondition) SetUserAgent

func (o *ConditionUserAgentCondition) SetUserAgent(v string)

SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.

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

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConfigurationApiService

type ConfigurationApiService service

ConfigurationApiService ConfigurationApi service

func (*ConfigurationApiService) GetSiteDnsTargets

func (a *ConfigurationApiService) GetSiteDnsTargets(ctx _context.Context, stackId string, siteId string) apiGetSiteDnsTargetsRequest

GetSiteDnsTargets Get CNAME targets A site's hostname should point to these CNAME targets in order for traffic to be sent through StackPath's edge nodes.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetSiteDnsTargetsRequest

type EventRequestUserAgent

type EventRequestUserAgent struct {
	// The name of the requesting client, typically the name of the requesting web browser
	ClientName *string `json:"clientName,omitempty"`
	// The requesting client's type, such as \"major browser\" or \"mobile app\"
	ClientType *string `json:"clientType,omitempty"`
	// The brand name of the device making the request, such as \"iphone\" or \"playstation\"
	Device *string `json:"device,omitempty"`
	// The operating system of the device making the request
	Os *string `json:"os,omitempty"`
	// The full user agent string
	Raw *string `json:"raw,omitempty"`
}

EventRequestUserAgent Parsed user agent information Incoming user agents are parsed by StackPath into categories to help describe the type of device and HTTP client or browser that made a request that triggered a WAF event. Parsed user agent properties have the value \"NA\" if StackPath is unable to parse the incoming user agent.

func NewEventRequestUserAgent

func NewEventRequestUserAgent() *EventRequestUserAgent

NewEventRequestUserAgent instantiates a new EventRequestUserAgent 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 NewEventRequestUserAgentWithDefaults

func NewEventRequestUserAgentWithDefaults() *EventRequestUserAgent

NewEventRequestUserAgentWithDefaults instantiates a new EventRequestUserAgent 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 (*EventRequestUserAgent) GetClientName

func (o *EventRequestUserAgent) GetClientName() string

GetClientName returns the ClientName field value if set, zero value otherwise.

func (*EventRequestUserAgent) GetClientNameOk

func (o *EventRequestUserAgent) GetClientNameOk() (*string, bool)

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

func (*EventRequestUserAgent) GetClientType

func (o *EventRequestUserAgent) GetClientType() string

GetClientType returns the ClientType field value if set, zero value otherwise.

func (*EventRequestUserAgent) GetClientTypeOk

func (o *EventRequestUserAgent) GetClientTypeOk() (*string, bool)

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

func (*EventRequestUserAgent) GetDevice

func (o *EventRequestUserAgent) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*EventRequestUserAgent) GetDeviceOk

func (o *EventRequestUserAgent) GetDeviceOk() (*string, bool)

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

func (*EventRequestUserAgent) GetOs

func (o *EventRequestUserAgent) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*EventRequestUserAgent) GetOsOk

func (o *EventRequestUserAgent) GetOsOk() (*string, bool)

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

func (*EventRequestUserAgent) GetRaw

func (o *EventRequestUserAgent) GetRaw() string

GetRaw returns the Raw field value if set, zero value otherwise.

func (*EventRequestUserAgent) GetRawOk

func (o *EventRequestUserAgent) GetRawOk() (*string, bool)

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

func (*EventRequestUserAgent) HasClientName

func (o *EventRequestUserAgent) HasClientName() bool

HasClientName returns a boolean if a field has been set.

func (*EventRequestUserAgent) HasClientType

func (o *EventRequestUserAgent) HasClientType() bool

HasClientType returns a boolean if a field has been set.

func (*EventRequestUserAgent) HasDevice

func (o *EventRequestUserAgent) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*EventRequestUserAgent) HasOs

func (o *EventRequestUserAgent) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*EventRequestUserAgent) HasRaw

func (o *EventRequestUserAgent) HasRaw() bool

HasRaw returns a boolean if a field has been set.

func (EventRequestUserAgent) MarshalJSON

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

func (*EventRequestUserAgent) SetClientName

func (o *EventRequestUserAgent) SetClientName(v string)

SetClientName gets a reference to the given string and assigns it to the ClientName field.

func (*EventRequestUserAgent) SetClientType

func (o *EventRequestUserAgent) SetClientType(v string)

SetClientType gets a reference to the given string and assigns it to the ClientType field.

func (*EventRequestUserAgent) SetDevice

func (o *EventRequestUserAgent) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*EventRequestUserAgent) SetOs

func (o *EventRequestUserAgent) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*EventRequestUserAgent) SetRaw

func (o *EventRequestUserAgent) SetRaw(v string)

SetRaw gets a reference to the given string and assigns it to the Raw field.

type EventRuleAction

type EventRuleAction struct {
	// The name of the rule that triggered the event action
	RuleName *string `json:"ruleName,omitempty"`
	// The unique ID of the rule that triggered the event action
	RuleId      *string        `json:"ruleId,omitempty"`
	ActionTaken *WafRuleAction `json:"actionTaken,omitempty"`
	// Whether the requesting client was blocked or not
	Blocked *bool `json:"blocked,omitempty"`
	// The name of the internal WAF engine powering the rule
	Engine      *string               `json:"engine,omitempty"`
	RequestType *EventWafRequestType  `json:"requestType,omitempty"`
	Result      *RuleActionResultType `json:"result,omitempty"`
}

EventRuleAction Aspects of the rule that triggered a WAF event

func NewEventRuleAction

func NewEventRuleAction() *EventRuleAction

NewEventRuleAction instantiates a new EventRuleAction 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 NewEventRuleActionWithDefaults

func NewEventRuleActionWithDefaults() *EventRuleAction

NewEventRuleActionWithDefaults instantiates a new EventRuleAction 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 (*EventRuleAction) GetActionTaken

func (o *EventRuleAction) GetActionTaken() WafRuleAction

GetActionTaken returns the ActionTaken field value if set, zero value otherwise.

func (*EventRuleAction) GetActionTakenOk

func (o *EventRuleAction) GetActionTakenOk() (*WafRuleAction, bool)

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

func (*EventRuleAction) GetBlocked

func (o *EventRuleAction) GetBlocked() bool

GetBlocked returns the Blocked field value if set, zero value otherwise.

func (*EventRuleAction) GetBlockedOk

func (o *EventRuleAction) GetBlockedOk() (*bool, bool)

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

func (*EventRuleAction) GetEngine

func (o *EventRuleAction) GetEngine() string

GetEngine returns the Engine field value if set, zero value otherwise.

func (*EventRuleAction) GetEngineOk

func (o *EventRuleAction) GetEngineOk() (*string, bool)

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

func (*EventRuleAction) GetRequestType

func (o *EventRuleAction) GetRequestType() EventWafRequestType

GetRequestType returns the RequestType field value if set, zero value otherwise.

func (*EventRuleAction) GetRequestTypeOk

func (o *EventRuleAction) GetRequestTypeOk() (*EventWafRequestType, bool)

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

func (*EventRuleAction) GetResult

func (o *EventRuleAction) GetResult() RuleActionResultType

GetResult returns the Result field value if set, zero value otherwise.

func (*EventRuleAction) GetResultOk

func (o *EventRuleAction) GetResultOk() (*RuleActionResultType, bool)

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

func (*EventRuleAction) GetRuleId

func (o *EventRuleAction) GetRuleId() string

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*EventRuleAction) GetRuleIdOk

func (o *EventRuleAction) GetRuleIdOk() (*string, 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 (*EventRuleAction) GetRuleName

func (o *EventRuleAction) GetRuleName() string

GetRuleName returns the RuleName field value if set, zero value otherwise.

func (*EventRuleAction) GetRuleNameOk

func (o *EventRuleAction) GetRuleNameOk() (*string, bool)

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

func (*EventRuleAction) HasActionTaken

func (o *EventRuleAction) HasActionTaken() bool

HasActionTaken returns a boolean if a field has been set.

func (*EventRuleAction) HasBlocked

func (o *EventRuleAction) HasBlocked() bool

HasBlocked returns a boolean if a field has been set.

func (*EventRuleAction) HasEngine

func (o *EventRuleAction) HasEngine() bool

HasEngine returns a boolean if a field has been set.

func (*EventRuleAction) HasRequestType

func (o *EventRuleAction) HasRequestType() bool

HasRequestType returns a boolean if a field has been set.

func (*EventRuleAction) HasResult

func (o *EventRuleAction) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*EventRuleAction) HasRuleId

func (o *EventRuleAction) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*EventRuleAction) HasRuleName

func (o *EventRuleAction) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

func (EventRuleAction) MarshalJSON

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

func (*EventRuleAction) SetActionTaken

func (o *EventRuleAction) SetActionTaken(v WafRuleAction)

SetActionTaken gets a reference to the given WafRuleAction and assigns it to the ActionTaken field.

func (*EventRuleAction) SetBlocked

func (o *EventRuleAction) SetBlocked(v bool)

SetBlocked gets a reference to the given bool and assigns it to the Blocked field.

func (*EventRuleAction) SetEngine

func (o *EventRuleAction) SetEngine(v string)

SetEngine gets a reference to the given string and assigns it to the Engine field.

func (*EventRuleAction) SetRequestType

func (o *EventRuleAction) SetRequestType(v EventWafRequestType)

SetRequestType gets a reference to the given EventWafRequestType and assigns it to the RequestType field.

func (*EventRuleAction) SetResult

func (o *EventRuleAction) SetResult(v RuleActionResultType)

SetResult gets a reference to the given RuleActionResultType and assigns it to the Result field.

func (*EventRuleAction) SetRuleId

func (o *EventRuleAction) SetRuleId(v string)

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*EventRuleAction) SetRuleName

func (o *EventRuleAction) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

type EventStatistics

type EventStatistics struct {
	Count   *StatisticsMetrics `json:"count,omitempty"`
	Blocked *StatisticsMetrics `json:"blocked,omitempty"`
}

EventStatistics A collection of common event metrics

func NewEventStatistics

func NewEventStatistics() *EventStatistics

NewEventStatistics instantiates a new EventStatistics 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 NewEventStatisticsWithDefaults

func NewEventStatisticsWithDefaults() *EventStatistics

NewEventStatisticsWithDefaults instantiates a new EventStatistics 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 (*EventStatistics) GetBlocked

func (o *EventStatistics) GetBlocked() StatisticsMetrics

GetBlocked returns the Blocked field value if set, zero value otherwise.

func (*EventStatistics) GetBlockedOk

func (o *EventStatistics) GetBlockedOk() (*StatisticsMetrics, bool)

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

func (*EventStatistics) GetCount

func (o *EventStatistics) GetCount() StatisticsMetrics

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

func (*EventStatistics) GetCountOk

func (o *EventStatistics) GetCountOk() (*StatisticsMetrics, 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 (*EventStatistics) HasBlocked

func (o *EventStatistics) HasBlocked() bool

HasBlocked returns a boolean if a field has been set.

func (*EventStatistics) HasCount

func (o *EventStatistics) HasCount() bool

HasCount returns a boolean if a field has been set.

func (EventStatistics) MarshalJSON

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

func (*EventStatistics) SetBlocked

func (o *EventStatistics) SetBlocked(v StatisticsMetrics)

SetBlocked gets a reference to the given StatisticsMetrics and assigns it to the Blocked field.

func (*EventStatistics) SetCount

func (o *EventStatistics) SetCount(v StatisticsMetrics)

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

type EventWafRequestType

type EventWafRequestType string

EventWafRequestType the model 'EventWafRequestType'

const (
	EVENTWAFREQUESTTYPE_CHALLENGE EventWafRequestType = "CHALLENGE"
	EVENTWAFREQUESTTYPE_BLOCK     EventWafRequestType = "BLOCK"
)

List of EventWafRequestType

func (EventWafRequestType) Ptr

Ptr returns reference to EventWafRequestType value

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) GetEvent

func (a *EventsApiService) GetEvent(ctx _context.Context, stackId string, siteId string, eventId string) apiGetEventRequest

GetEvent LEGACY: Get an event **Note:** This endpoint is deprecated and will be removed in the future. WAF events will be replaced with requests, which provide more functionality. Please use the [get request](ref:getrequest) and [get request details](ref:getrequestdetails) calls to retrieve WAF requests.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param eventId A WAF event ID

@return apiGetEventRequest

func (*EventsApiService) GetEventStatistics

func (a *EventsApiService) GetEventStatistics(ctx _context.Context, stackId string, siteId string) apiGetEventStatisticsRequest

GetEventStatistics LEGACY: Get event statistics Event statistics collect the total number of and number of blocked events for a site over a given time frame. Statistics are collected per country of origin, the rules that triggered events, the requesting organization as determined by WHOIS lookup against the client IP address, and by actions taken by the WAF as a result of the event.

**Note:** This endpoint is deprecated and will be removed in the future. WAF events will be replaced with requests, which provide more functionality. A replacement for this call is in development.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetEventStatisticsRequest

func (*EventsApiService) SearchEvents

func (a *EventsApiService) SearchEvents(ctx _context.Context, stackId string, siteId string) apiSearchEventsRequest

SearchEvents LEGACY: Get all events **Note:** This endpoint is deprecated and will be removed in the future. WAF events will be replaced with requests, which provide more functionality. Please use the [get all requests](ref:getrequests) call to search for WAF requests.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiSearchEventsRequest

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 InfrastructureApiService

type InfrastructureApiService service

InfrastructureApiService InfrastructureApi service

func (*InfrastructureApiService) GetWAFOrganizations

func (a *InfrastructureApiService) GetWAFOrganizations(ctx _context.Context) apiGetWAFOrganizationsRequest

GetWAFOrganizations Get WHOIS organizations StackPath regularly searches IP address space for organizations to allow or block in custom rules.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiGetWAFOrganizationsRequest

type MetricsActions

type MetricsActions struct {
	Action *WafRuleAction `json:"action,omitempty"`
	// The number of requests that resulted in that action
	Count *string `json:"count,omitempty"`
}

MetricsActions The number of events per action taken by the WAF

func NewMetricsActions

func NewMetricsActions() *MetricsActions

NewMetricsActions instantiates a new MetricsActions 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 NewMetricsActionsWithDefaults

func NewMetricsActionsWithDefaults() *MetricsActions

NewMetricsActionsWithDefaults instantiates a new MetricsActions 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 (*MetricsActions) GetAction

func (o *MetricsActions) GetAction() WafRuleAction

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

func (*MetricsActions) GetActionOk

func (o *MetricsActions) GetActionOk() (*WafRuleAction, bool)

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

func (*MetricsActions) GetCount

func (o *MetricsActions) GetCount() string

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

func (*MetricsActions) GetCountOk

func (o *MetricsActions) GetCountOk() (*string, 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 (*MetricsActions) HasAction

func (o *MetricsActions) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*MetricsActions) HasCount

func (o *MetricsActions) HasCount() bool

HasCount returns a boolean if a field has been set.

func (MetricsActions) MarshalJSON

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

func (*MetricsActions) SetAction

func (o *MetricsActions) SetAction(v WafRuleAction)

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

func (*MetricsActions) SetCount

func (o *MetricsActions) SetCount(v string)

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

type MetricsCountries

type MetricsCountries struct {
	// A country's long name
	Country *string `json:"country,omitempty"`
	// A country's ISO 3166-1 alpha-2 code
	CountryCode *string `json:"countryCode,omitempty"`
	// The number of requests from the country
	Count *string `json:"count,omitempty"`
}

MetricsCountries The number of events per country of origin

func NewMetricsCountries

func NewMetricsCountries() *MetricsCountries

NewMetricsCountries instantiates a new MetricsCountries 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 NewMetricsCountriesWithDefaults

func NewMetricsCountriesWithDefaults() *MetricsCountries

NewMetricsCountriesWithDefaults instantiates a new MetricsCountries 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 (*MetricsCountries) GetCount

func (o *MetricsCountries) GetCount() string

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

func (*MetricsCountries) GetCountOk

func (o *MetricsCountries) GetCountOk() (*string, 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 (*MetricsCountries) GetCountry

func (o *MetricsCountries) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*MetricsCountries) GetCountryCode

func (o *MetricsCountries) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*MetricsCountries) GetCountryCodeOk

func (o *MetricsCountries) GetCountryCodeOk() (*string, bool)

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

func (*MetricsCountries) GetCountryOk

func (o *MetricsCountries) GetCountryOk() (*string, bool)

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

func (*MetricsCountries) HasCount

func (o *MetricsCountries) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MetricsCountries) HasCountry

func (o *MetricsCountries) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*MetricsCountries) HasCountryCode

func (o *MetricsCountries) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (MetricsCountries) MarshalJSON

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

func (*MetricsCountries) SetCount

func (o *MetricsCountries) SetCount(v string)

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

func (*MetricsCountries) SetCountry

func (o *MetricsCountries) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*MetricsCountries) SetCountryCode

func (o *MetricsCountries) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

type MetricsOrganizations

type MetricsOrganizations struct {
	// An organization's name
	Organization *string `json:"organization,omitempty"`
	// The number of requests from the organization
	Count *string `json:"count,omitempty"`
}

MetricsOrganizations The number of events per requesting organization, as determined by WHOIS lookup on the requesting IP

func NewMetricsOrganizations

func NewMetricsOrganizations() *MetricsOrganizations

NewMetricsOrganizations instantiates a new MetricsOrganizations 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 NewMetricsOrganizationsWithDefaults

func NewMetricsOrganizationsWithDefaults() *MetricsOrganizations

NewMetricsOrganizationsWithDefaults instantiates a new MetricsOrganizations 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 (*MetricsOrganizations) GetCount

func (o *MetricsOrganizations) GetCount() string

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

func (*MetricsOrganizations) GetCountOk

func (o *MetricsOrganizations) GetCountOk() (*string, 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 (*MetricsOrganizations) GetOrganization

func (o *MetricsOrganizations) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*MetricsOrganizations) GetOrganizationOk

func (o *MetricsOrganizations) GetOrganizationOk() (*string, bool)

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

func (*MetricsOrganizations) HasCount

func (o *MetricsOrganizations) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MetricsOrganizations) HasOrganization

func (o *MetricsOrganizations) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (MetricsOrganizations) MarshalJSON

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

func (*MetricsOrganizations) SetCount

func (o *MetricsOrganizations) SetCount(v string)

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

func (*MetricsOrganizations) SetOrganization

func (o *MetricsOrganizations) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

type MetricsRules

type MetricsRules struct {
	// The name of the rule
	RuleName *string `json:"ruleName,omitempty"`
	// The number of requests the rule analyzed
	Count *string `json:"count,omitempty"`
}

MetricsRules The \"top threats\" metric, the number of events encountered per rule

func NewMetricsRules

func NewMetricsRules() *MetricsRules

NewMetricsRules instantiates a new MetricsRules 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 NewMetricsRulesWithDefaults

func NewMetricsRulesWithDefaults() *MetricsRules

NewMetricsRulesWithDefaults instantiates a new MetricsRules 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 (*MetricsRules) GetCount

func (o *MetricsRules) GetCount() string

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

func (*MetricsRules) GetCountOk

func (o *MetricsRules) GetCountOk() (*string, 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 (*MetricsRules) GetRuleName

func (o *MetricsRules) GetRuleName() string

GetRuleName returns the RuleName field value if set, zero value otherwise.

func (*MetricsRules) GetRuleNameOk

func (o *MetricsRules) GetRuleNameOk() (*string, bool)

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

func (*MetricsRules) HasCount

func (o *MetricsRules) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MetricsRules) HasRuleName

func (o *MetricsRules) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

func (MetricsRules) MarshalJSON

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

func (*MetricsRules) SetCount

func (o *MetricsRules) SetCount(v string)

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

func (*MetricsRules) SetRuleName

func (o *MetricsRules) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

type NetworkOrganization

type NetworkOrganization struct {
	// The name of organization
	Name *string `json:"name,omitempty"`
	// The IP bock of the organization
	Subnet *string `json:"subnet,omitempty"`
}

NetworkOrganization The organization that owns the WAF request's originating IP address according to a WHOIS lookup

func NewNetworkOrganization

func NewNetworkOrganization() *NetworkOrganization

NewNetworkOrganization instantiates a new NetworkOrganization 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 NewNetworkOrganizationWithDefaults

func NewNetworkOrganizationWithDefaults() *NetworkOrganization

NewNetworkOrganizationWithDefaults instantiates a new NetworkOrganization 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 (*NetworkOrganization) GetName

func (o *NetworkOrganization) GetName() string

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

func (*NetworkOrganization) GetNameOk

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

func (o *NetworkOrganization) GetSubnet() string

GetSubnet returns the Subnet field value if set, zero value otherwise.

func (*NetworkOrganization) GetSubnetOk

func (o *NetworkOrganization) GetSubnetOk() (*string, bool)

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

func (*NetworkOrganization) HasName

func (o *NetworkOrganization) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkOrganization) HasSubnet

func (o *NetworkOrganization) HasSubnet() bool

HasSubnet returns a boolean if a field has been set.

func (NetworkOrganization) MarshalJSON

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

func (*NetworkOrganization) SetName

func (o *NetworkOrganization) SetName(v string)

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

func (*NetworkOrganization) SetSubnet

func (o *NetworkOrganization) SetSubnet(v string)

SetSubnet gets a reference to the given string and assigns it to the Subnet field.

type NullableApiStatusDetail

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

func NewNullableApiStatusDetail

func NewNullableApiStatusDetail(val *ApiStatusDetail) *NullableApiStatusDetail

func (NullableApiStatusDetail) Get

func (NullableApiStatusDetail) IsSet

func (v NullableApiStatusDetail) IsSet() bool

func (NullableApiStatusDetail) MarshalJSON

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

func (*NullableApiStatusDetail) Set

func (*NullableApiStatusDetail) UnmarshalJSON

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

func (*NullableApiStatusDetail) Unset

func (v *NullableApiStatusDetail) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableConditionContentTypeCondition

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

func (NullableConditionContentTypeCondition) Get

func (NullableConditionContentTypeCondition) IsSet

func (NullableConditionContentTypeCondition) MarshalJSON

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

func (*NullableConditionContentTypeCondition) Set

func (*NullableConditionContentTypeCondition) UnmarshalJSON

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

func (*NullableConditionContentTypeCondition) Unset

type NullableConditionCountryCondition

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

func (NullableConditionCountryCondition) Get

func (NullableConditionCountryCondition) IsSet

func (NullableConditionCountryCondition) MarshalJSON

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

func (*NullableConditionCountryCondition) Set

func (*NullableConditionCountryCondition) UnmarshalJSON

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

func (*NullableConditionCountryCondition) Unset

type NullableConditionFileExtensionCondition

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

func (NullableConditionFileExtensionCondition) Get

func (NullableConditionFileExtensionCondition) IsSet

func (NullableConditionFileExtensionCondition) MarshalJSON

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

func (*NullableConditionFileExtensionCondition) Set

func (*NullableConditionFileExtensionCondition) UnmarshalJSON

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

func (*NullableConditionFileExtensionCondition) Unset

type NullableConditionHeaderCondition

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

func (NullableConditionHeaderCondition) Get

func (NullableConditionHeaderCondition) IsSet

func (NullableConditionHeaderCondition) MarshalJSON

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

func (*NullableConditionHeaderCondition) Set

func (*NullableConditionHeaderCondition) UnmarshalJSON

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

func (*NullableConditionHeaderCondition) Unset

type NullableConditionHeaderExistsCondition

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

func (NullableConditionHeaderExistsCondition) Get

func (NullableConditionHeaderExistsCondition) IsSet

func (NullableConditionHeaderExistsCondition) MarshalJSON

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

func (*NullableConditionHeaderExistsCondition) Set

func (*NullableConditionHeaderExistsCondition) UnmarshalJSON

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

func (*NullableConditionHeaderExistsCondition) Unset

type NullableConditionHttpMethodCondition

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

func (NullableConditionHttpMethodCondition) Get

func (NullableConditionHttpMethodCondition) IsSet

func (NullableConditionHttpMethodCondition) MarshalJSON

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

func (*NullableConditionHttpMethodCondition) Set

func (*NullableConditionHttpMethodCondition) UnmarshalJSON

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

func (*NullableConditionHttpMethodCondition) Unset

type NullableConditionIpCondition

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

func NewNullableConditionIpCondition

func NewNullableConditionIpCondition(val *ConditionIpCondition) *NullableConditionIpCondition

func (NullableConditionIpCondition) Get

func (NullableConditionIpCondition) IsSet

func (NullableConditionIpCondition) MarshalJSON

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

func (*NullableConditionIpCondition) Set

func (*NullableConditionIpCondition) UnmarshalJSON

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

func (*NullableConditionIpCondition) Unset

func (v *NullableConditionIpCondition) Unset()

type NullableConditionIpRangeCondition

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

func (NullableConditionIpRangeCondition) Get

func (NullableConditionIpRangeCondition) IsSet

func (NullableConditionIpRangeCondition) MarshalJSON

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

func (*NullableConditionIpRangeCondition) Set

func (*NullableConditionIpRangeCondition) UnmarshalJSON

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

func (*NullableConditionIpRangeCondition) Unset

type NullableConditionOrganizationCondition

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

func (NullableConditionOrganizationCondition) Get

func (NullableConditionOrganizationCondition) IsSet

func (NullableConditionOrganizationCondition) MarshalJSON

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

func (*NullableConditionOrganizationCondition) Set

func (*NullableConditionOrganizationCondition) UnmarshalJSON

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

func (*NullableConditionOrganizationCondition) Unset

type NullableConditionOwnerTypeCondition

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

func (NullableConditionOwnerTypeCondition) Get

func (NullableConditionOwnerTypeCondition) IsSet

func (NullableConditionOwnerTypeCondition) MarshalJSON

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

func (*NullableConditionOwnerTypeCondition) Set

func (*NullableConditionOwnerTypeCondition) UnmarshalJSON

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

func (*NullableConditionOwnerTypeCondition) Unset

type NullableConditionRequestRateCondition

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

func (NullableConditionRequestRateCondition) Get

func (NullableConditionRequestRateCondition) IsSet

func (NullableConditionRequestRateCondition) MarshalJSON

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

func (*NullableConditionRequestRateCondition) Set

func (*NullableConditionRequestRateCondition) UnmarshalJSON

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

func (*NullableConditionRequestRateCondition) Unset

type NullableConditionResponseHeaderCondition

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

func (NullableConditionResponseHeaderCondition) Get

func (NullableConditionResponseHeaderCondition) IsSet

func (NullableConditionResponseHeaderCondition) MarshalJSON

func (*NullableConditionResponseHeaderCondition) Set

func (*NullableConditionResponseHeaderCondition) UnmarshalJSON

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

func (*NullableConditionResponseHeaderCondition) Unset

type NullableConditionResponseHeaderExistsCondition

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

func (NullableConditionResponseHeaderExistsCondition) Get

func (NullableConditionResponseHeaderExistsCondition) IsSet

func (NullableConditionResponseHeaderExistsCondition) MarshalJSON

func (*NullableConditionResponseHeaderExistsCondition) Set

func (*NullableConditionResponseHeaderExistsCondition) UnmarshalJSON

func (*NullableConditionResponseHeaderExistsCondition) Unset

type NullableConditionSessionRequestCountCondition

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

func (NullableConditionSessionRequestCountCondition) Get

func (NullableConditionSessionRequestCountCondition) IsSet

func (NullableConditionSessionRequestCountCondition) MarshalJSON

func (*NullableConditionSessionRequestCountCondition) Set

func (*NullableConditionSessionRequestCountCondition) UnmarshalJSON

func (*NullableConditionSessionRequestCountCondition) Unset

type NullableConditionTagCondition

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

func (NullableConditionTagCondition) Get

func (NullableConditionTagCondition) IsSet

func (NullableConditionTagCondition) MarshalJSON

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

func (*NullableConditionTagCondition) Set

func (*NullableConditionTagCondition) UnmarshalJSON

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

func (*NullableConditionTagCondition) Unset

func (v *NullableConditionTagCondition) Unset()

type NullableConditionUrlCondition

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

func (NullableConditionUrlCondition) Get

func (NullableConditionUrlCondition) IsSet

func (NullableConditionUrlCondition) MarshalJSON

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

func (*NullableConditionUrlCondition) Set

func (*NullableConditionUrlCondition) UnmarshalJSON

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

func (*NullableConditionUrlCondition) Unset

func (v *NullableConditionUrlCondition) Unset()

type NullableConditionUserAgentCondition

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

func (NullableConditionUserAgentCondition) Get

func (NullableConditionUserAgentCondition) IsSet

func (NullableConditionUserAgentCondition) MarshalJSON

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

func (*NullableConditionUserAgentCondition) Set

func (*NullableConditionUserAgentCondition) UnmarshalJSON

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

func (*NullableConditionUserAgentCondition) Unset

type NullableEventRequestUserAgent

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

func (NullableEventRequestUserAgent) Get

func (NullableEventRequestUserAgent) IsSet

func (NullableEventRequestUserAgent) MarshalJSON

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

func (*NullableEventRequestUserAgent) Set

func (*NullableEventRequestUserAgent) UnmarshalJSON

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

func (*NullableEventRequestUserAgent) Unset

func (v *NullableEventRequestUserAgent) Unset()

type NullableEventRuleAction

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

func NewNullableEventRuleAction

func NewNullableEventRuleAction(val *EventRuleAction) *NullableEventRuleAction

func (NullableEventRuleAction) Get

func (NullableEventRuleAction) IsSet

func (v NullableEventRuleAction) IsSet() bool

func (NullableEventRuleAction) MarshalJSON

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

func (*NullableEventRuleAction) Set

func (*NullableEventRuleAction) UnmarshalJSON

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

func (*NullableEventRuleAction) Unset

func (v *NullableEventRuleAction) Unset()

type NullableEventStatistics

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

func NewNullableEventStatistics

func NewNullableEventStatistics(val *EventStatistics) *NullableEventStatistics

func (NullableEventStatistics) Get

func (NullableEventStatistics) IsSet

func (v NullableEventStatistics) IsSet() bool

func (NullableEventStatistics) MarshalJSON

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

func (*NullableEventStatistics) Set

func (*NullableEventStatistics) UnmarshalJSON

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

func (*NullableEventStatistics) Unset

func (v *NullableEventStatistics) Unset()

type NullableEventWafRequestType

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

func NewNullableEventWafRequestType

func NewNullableEventWafRequestType(val *EventWafRequestType) *NullableEventWafRequestType

func (NullableEventWafRequestType) Get

func (NullableEventWafRequestType) IsSet

func (NullableEventWafRequestType) MarshalJSON

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

func (*NullableEventWafRequestType) Set

func (*NullableEventWafRequestType) UnmarshalJSON

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

func (*NullableEventWafRequestType) Unset

func (v *NullableEventWafRequestType) 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 NullableMetricsActions

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

func NewNullableMetricsActions

func NewNullableMetricsActions(val *MetricsActions) *NullableMetricsActions

func (NullableMetricsActions) Get

func (NullableMetricsActions) IsSet

func (v NullableMetricsActions) IsSet() bool

func (NullableMetricsActions) MarshalJSON

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

func (*NullableMetricsActions) Set

func (*NullableMetricsActions) UnmarshalJSON

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

func (*NullableMetricsActions) Unset

func (v *NullableMetricsActions) Unset()

type NullableMetricsCountries

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

func NewNullableMetricsCountries

func NewNullableMetricsCountries(val *MetricsCountries) *NullableMetricsCountries

func (NullableMetricsCountries) Get

func (NullableMetricsCountries) IsSet

func (v NullableMetricsCountries) IsSet() bool

func (NullableMetricsCountries) MarshalJSON

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

func (*NullableMetricsCountries) Set

func (*NullableMetricsCountries) UnmarshalJSON

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

func (*NullableMetricsCountries) Unset

func (v *NullableMetricsCountries) Unset()

type NullableMetricsOrganizations

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

func NewNullableMetricsOrganizations

func NewNullableMetricsOrganizations(val *MetricsOrganizations) *NullableMetricsOrganizations

func (NullableMetricsOrganizations) Get

func (NullableMetricsOrganizations) IsSet

func (NullableMetricsOrganizations) MarshalJSON

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

func (*NullableMetricsOrganizations) Set

func (*NullableMetricsOrganizations) UnmarshalJSON

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

func (*NullableMetricsOrganizations) Unset

func (v *NullableMetricsOrganizations) Unset()

type NullableMetricsRules

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

func NewNullableMetricsRules

func NewNullableMetricsRules(val *MetricsRules) *NullableMetricsRules

func (NullableMetricsRules) Get

func (NullableMetricsRules) IsSet

func (v NullableMetricsRules) IsSet() bool

func (NullableMetricsRules) MarshalJSON

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

func (*NullableMetricsRules) Set

func (v *NullableMetricsRules) Set(val *MetricsRules)

func (*NullableMetricsRules) UnmarshalJSON

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

func (*NullableMetricsRules) Unset

func (v *NullableMetricsRules) Unset()

type NullableNetworkOrganization

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

func NewNullableNetworkOrganization

func NewNullableNetworkOrganization(val *NetworkOrganization) *NullableNetworkOrganization

func (NullableNetworkOrganization) Get

func (NullableNetworkOrganization) IsSet

func (NullableNetworkOrganization) MarshalJSON

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

func (*NullableNetworkOrganization) Set

func (*NullableNetworkOrganization) UnmarshalJSON

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

func (*NullableNetworkOrganization) Unset

func (v *NullableNetworkOrganization) Unset()

type NullableOwnerTypeConditionOwnerType

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

func (NullableOwnerTypeConditionOwnerType) Get

func (NullableOwnerTypeConditionOwnerType) IsSet

func (NullableOwnerTypeConditionOwnerType) MarshalJSON

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

func (*NullableOwnerTypeConditionOwnerType) Set

func (*NullableOwnerTypeConditionOwnerType) UnmarshalJSON

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

func (*NullableOwnerTypeConditionOwnerType) Unset

type NullablePaginationPageInfo

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

func NewNullablePaginationPageInfo

func NewNullablePaginationPageInfo(val *PaginationPageInfo) *NullablePaginationPageInfo

func (NullablePaginationPageInfo) Get

func (NullablePaginationPageInfo) IsSet

func (v NullablePaginationPageInfo) IsSet() bool

func (NullablePaginationPageInfo) MarshalJSON

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

func (*NullablePaginationPageInfo) Set

func (*NullablePaginationPageInfo) UnmarshalJSON

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

func (*NullablePaginationPageInfo) Unset

func (v *NullablePaginationPageInfo) Unset()

type NullableRequestDetailsRequestType

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

func (NullableRequestDetailsRequestType) Get

func (NullableRequestDetailsRequestType) IsSet

func (NullableRequestDetailsRequestType) MarshalJSON

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

func (*NullableRequestDetailsRequestType) Set

func (*NullableRequestDetailsRequestType) UnmarshalJSON

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

func (*NullableRequestDetailsRequestType) Unset

type NullableRequestDetailsTags

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

func NewNullableRequestDetailsTags

func NewNullableRequestDetailsTags(val *RequestDetailsTags) *NullableRequestDetailsTags

func (NullableRequestDetailsTags) Get

func (NullableRequestDetailsTags) IsSet

func (v NullableRequestDetailsTags) IsSet() bool

func (NullableRequestDetailsTags) MarshalJSON

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

func (*NullableRequestDetailsTags) Set

func (*NullableRequestDetailsTags) UnmarshalJSON

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

func (*NullableRequestDetailsTags) Unset

func (v *NullableRequestDetailsTags) Unset()

type NullableRuleActionResultType

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

func NewNullableRuleActionResultType

func NewNullableRuleActionResultType(val *RuleActionResultType) *NullableRuleActionResultType

func (NullableRuleActionResultType) Get

func (NullableRuleActionResultType) IsSet

func (NullableRuleActionResultType) MarshalJSON

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

func (*NullableRuleActionResultType) Set

func (*NullableRuleActionResultType) UnmarshalJSON

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

func (*NullableRuleActionResultType) Unset

func (v *NullableRuleActionResultType) Unset()

type NullableRuleCondition

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

func NewNullableRuleCondition

func NewNullableRuleCondition(val *RuleCondition) *NullableRuleCondition

func (NullableRuleCondition) Get

func (NullableRuleCondition) IsSet

func (v NullableRuleCondition) IsSet() bool

func (NullableRuleCondition) MarshalJSON

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

func (*NullableRuleCondition) Set

func (v *NullableRuleCondition) Set(val *RuleCondition)

func (*NullableRuleCondition) UnmarshalJSON

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

func (*NullableRuleCondition) Unset

func (v *NullableRuleCondition) Unset()

type NullableRuleStatusCode

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

func NewNullableRuleStatusCode

func NewNullableRuleStatusCode(val *RuleStatusCode) *NullableRuleStatusCode

func (NullableRuleStatusCode) Get

func (NullableRuleStatusCode) IsSet

func (v NullableRuleStatusCode) IsSet() bool

func (NullableRuleStatusCode) MarshalJSON

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

func (*NullableRuleStatusCode) Set

func (*NullableRuleStatusCode) UnmarshalJSON

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

func (*NullableRuleStatusCode) Unset

func (v *NullableRuleStatusCode) Unset()

type NullableSchemawafOrigin

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

func NewNullableSchemawafOrigin

func NewNullableSchemawafOrigin(val *SchemawafOrigin) *NullableSchemawafOrigin

func (NullableSchemawafOrigin) Get

func (NullableSchemawafOrigin) IsSet

func (v NullableSchemawafOrigin) IsSet() bool

func (NullableSchemawafOrigin) MarshalJSON

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

func (*NullableSchemawafOrigin) Set

func (*NullableSchemawafOrigin) UnmarshalJSON

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

func (*NullableSchemawafOrigin) Unset

func (v *NullableSchemawafOrigin) Unset()

type NullableSchemawafPolicy

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

func NewNullableSchemawafPolicy

func NewNullableSchemawafPolicy(val *SchemawafPolicy) *NullableSchemawafPolicy

func (NullableSchemawafPolicy) Get

func (NullableSchemawafPolicy) IsSet

func (v NullableSchemawafPolicy) IsSet() bool

func (NullableSchemawafPolicy) MarshalJSON

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

func (*NullableSchemawafPolicy) Set

func (*NullableSchemawafPolicy) UnmarshalJSON

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

func (*NullableSchemawafPolicy) Unset

func (v *NullableSchemawafPolicy) Unset()

type NullableSchemawafRequest

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

func NewNullableSchemawafRequest

func NewNullableSchemawafRequest(val *SchemawafRequest) *NullableSchemawafRequest

func (NullableSchemawafRequest) Get

func (NullableSchemawafRequest) IsSet

func (v NullableSchemawafRequest) IsSet() bool

func (NullableSchemawafRequest) MarshalJSON

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

func (*NullableSchemawafRequest) Set

func (*NullableSchemawafRequest) UnmarshalJSON

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

func (*NullableSchemawafRequest) Unset

func (v *NullableSchemawafRequest) Unset()

type NullableSearchFilterActionFilter

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

func (NullableSearchFilterActionFilter) Get

func (NullableSearchFilterActionFilter) IsSet

func (NullableSearchFilterActionFilter) MarshalJSON

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

func (*NullableSearchFilterActionFilter) Set

func (*NullableSearchFilterActionFilter) UnmarshalJSON

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

func (*NullableSearchFilterActionFilter) Unset

type NullableSearchFilterResultFilter

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

func (NullableSearchFilterResultFilter) Get

func (NullableSearchFilterResultFilter) IsSet

func (NullableSearchFilterResultFilter) MarshalJSON

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

func (*NullableSearchFilterResultFilter) Set

func (*NullableSearchFilterResultFilter) UnmarshalJSON

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

func (*NullableSearchFilterResultFilter) Unset

type NullableSiteAttachMode

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

func NewNullableSiteAttachMode

func NewNullableSiteAttachMode(val *SiteAttachMode) *NullableSiteAttachMode

func (NullableSiteAttachMode) Get

func (NullableSiteAttachMode) IsSet

func (v NullableSiteAttachMode) IsSet() bool

func (NullableSiteAttachMode) MarshalJSON

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

func (*NullableSiteAttachMode) Set

func (*NullableSiteAttachMode) UnmarshalJSON

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

func (*NullableSiteAttachMode) Unset

func (v *NullableSiteAttachMode) Unset()

type NullableStackpathRpcBadRequest

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

func (NullableStackpathRpcBadRequest) Get

func (NullableStackpathRpcBadRequest) IsSet

func (NullableStackpathRpcBadRequest) MarshalJSON

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

func (*NullableStackpathRpcBadRequest) Set

func (*NullableStackpathRpcBadRequest) UnmarshalJSON

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

func (*NullableStackpathRpcBadRequest) Unset

func (v *NullableStackpathRpcBadRequest) Unset()

type NullableStackpathRpcBadRequestAllOf

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

func (NullableStackpathRpcBadRequestAllOf) Get

func (NullableStackpathRpcBadRequestAllOf) IsSet

func (NullableStackpathRpcBadRequestAllOf) MarshalJSON

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

func (*NullableStackpathRpcBadRequestAllOf) Set

func (*NullableStackpathRpcBadRequestAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcBadRequestAllOf) Unset

type NullableStackpathRpcBadRequestFieldViolation

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

func (NullableStackpathRpcBadRequestFieldViolation) Get

func (NullableStackpathRpcBadRequestFieldViolation) IsSet

func (NullableStackpathRpcBadRequestFieldViolation) MarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Set

func (*NullableStackpathRpcBadRequestFieldViolation) UnmarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Unset

type NullableStackpathRpcHelp

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

func NewNullableStackpathRpcHelp

func NewNullableStackpathRpcHelp(val *StackpathRpcHelp) *NullableStackpathRpcHelp

func (NullableStackpathRpcHelp) Get

func (NullableStackpathRpcHelp) IsSet

func (v NullableStackpathRpcHelp) IsSet() bool

func (NullableStackpathRpcHelp) MarshalJSON

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

func (*NullableStackpathRpcHelp) Set

func (*NullableStackpathRpcHelp) UnmarshalJSON

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

func (*NullableStackpathRpcHelp) Unset

func (v *NullableStackpathRpcHelp) Unset()

type NullableStackpathRpcHelpAllOf

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

func (NullableStackpathRpcHelpAllOf) Get

func (NullableStackpathRpcHelpAllOf) IsSet

func (NullableStackpathRpcHelpAllOf) MarshalJSON

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

func (*NullableStackpathRpcHelpAllOf) Set

func (*NullableStackpathRpcHelpAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcHelpAllOf) Unset

func (v *NullableStackpathRpcHelpAllOf) Unset()
type NullableStackpathRpcHelpLink struct {
	// contains filtered or unexported fields
}
func NewNullableStackpathRpcHelpLink(val *StackpathRpcHelpLink) *NullableStackpathRpcHelpLink

func (NullableStackpathRpcHelpLink) Get

func (NullableStackpathRpcHelpLink) IsSet

func (NullableStackpathRpcHelpLink) MarshalJSON

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

func (*NullableStackpathRpcHelpLink) Set

func (*NullableStackpathRpcHelpLink) UnmarshalJSON

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

func (*NullableStackpathRpcHelpLink) Unset

func (v *NullableStackpathRpcHelpLink) Unset()

type NullableStackpathRpcLocalizedMessage

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

func (NullableStackpathRpcLocalizedMessage) Get

func (NullableStackpathRpcLocalizedMessage) IsSet

func (NullableStackpathRpcLocalizedMessage) MarshalJSON

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

func (*NullableStackpathRpcLocalizedMessage) Set

func (*NullableStackpathRpcLocalizedMessage) UnmarshalJSON

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

func (*NullableStackpathRpcLocalizedMessage) Unset

type NullableStackpathRpcLocalizedMessageAllOf

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

func (NullableStackpathRpcLocalizedMessageAllOf) Get

func (NullableStackpathRpcLocalizedMessageAllOf) IsSet

func (NullableStackpathRpcLocalizedMessageAllOf) MarshalJSON

func (*NullableStackpathRpcLocalizedMessageAllOf) Set

func (*NullableStackpathRpcLocalizedMessageAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcLocalizedMessageAllOf) Unset

type NullableStackpathRpcPreconditionFailure

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

func (NullableStackpathRpcPreconditionFailure) Get

func (NullableStackpathRpcPreconditionFailure) IsSet

func (NullableStackpathRpcPreconditionFailure) MarshalJSON

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

func (*NullableStackpathRpcPreconditionFailure) Set

func (*NullableStackpathRpcPreconditionFailure) UnmarshalJSON

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

func (*NullableStackpathRpcPreconditionFailure) Unset

type NullableStackpathRpcPreconditionFailureAllOf

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

func (NullableStackpathRpcPreconditionFailureAllOf) Get

func (NullableStackpathRpcPreconditionFailureAllOf) IsSet

func (NullableStackpathRpcPreconditionFailureAllOf) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Set

func (*NullableStackpathRpcPreconditionFailureAllOf) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Unset

type NullableStackpathRpcPreconditionFailureViolation

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

func (NullableStackpathRpcPreconditionFailureViolation) Get

func (NullableStackpathRpcPreconditionFailureViolation) IsSet

func (NullableStackpathRpcPreconditionFailureViolation) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Set

func (*NullableStackpathRpcPreconditionFailureViolation) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Unset

type NullableStackpathRpcQuotaFailure

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

func (NullableStackpathRpcQuotaFailure) Get

func (NullableStackpathRpcQuotaFailure) IsSet

func (NullableStackpathRpcQuotaFailure) MarshalJSON

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

func (*NullableStackpathRpcQuotaFailure) Set

func (*NullableStackpathRpcQuotaFailure) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailure) Unset

type NullableStackpathRpcQuotaFailureAllOf

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

func (NullableStackpathRpcQuotaFailureAllOf) Get

func (NullableStackpathRpcQuotaFailureAllOf) IsSet

func (NullableStackpathRpcQuotaFailureAllOf) MarshalJSON

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

func (*NullableStackpathRpcQuotaFailureAllOf) Set

func (*NullableStackpathRpcQuotaFailureAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailureAllOf) Unset

type NullableStackpathRpcQuotaFailureViolation

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

func (NullableStackpathRpcQuotaFailureViolation) Get

func (NullableStackpathRpcQuotaFailureViolation) IsSet

func (NullableStackpathRpcQuotaFailureViolation) MarshalJSON

func (*NullableStackpathRpcQuotaFailureViolation) Set

func (*NullableStackpathRpcQuotaFailureViolation) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailureViolation) Unset

type NullableStackpathRpcRequestInfo

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

func (NullableStackpathRpcRequestInfo) Get

func (NullableStackpathRpcRequestInfo) IsSet

func (NullableStackpathRpcRequestInfo) MarshalJSON

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

func (*NullableStackpathRpcRequestInfo) Set

func (*NullableStackpathRpcRequestInfo) UnmarshalJSON

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

func (*NullableStackpathRpcRequestInfo) Unset

type NullableStackpathRpcRequestInfoAllOf

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

func (NullableStackpathRpcRequestInfoAllOf) Get

func (NullableStackpathRpcRequestInfoAllOf) IsSet

func (NullableStackpathRpcRequestInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcRequestInfoAllOf) Set

func (*NullableStackpathRpcRequestInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcRequestInfoAllOf) Unset

type NullableStackpathRpcResourceInfo

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

func (NullableStackpathRpcResourceInfo) Get

func (NullableStackpathRpcResourceInfo) IsSet

func (NullableStackpathRpcResourceInfo) MarshalJSON

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

func (*NullableStackpathRpcResourceInfo) Set

func (*NullableStackpathRpcResourceInfo) UnmarshalJSON

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

func (*NullableStackpathRpcResourceInfo) Unset

type NullableStackpathRpcResourceInfoAllOf

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

func (NullableStackpathRpcResourceInfoAllOf) Get

func (NullableStackpathRpcResourceInfoAllOf) IsSet

func (NullableStackpathRpcResourceInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcResourceInfoAllOf) Set

func (*NullableStackpathRpcResourceInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcResourceInfoAllOf) Unset

type NullableStackpathRpcRetryInfo

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

func (NullableStackpathRpcRetryInfo) Get

func (NullableStackpathRpcRetryInfo) IsSet

func (NullableStackpathRpcRetryInfo) MarshalJSON

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

func (*NullableStackpathRpcRetryInfo) Set

func (*NullableStackpathRpcRetryInfo) UnmarshalJSON

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

func (*NullableStackpathRpcRetryInfo) Unset

func (v *NullableStackpathRpcRetryInfo) Unset()

type NullableStackpathRpcRetryInfoAllOf

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

func (NullableStackpathRpcRetryInfoAllOf) Get

func (NullableStackpathRpcRetryInfoAllOf) IsSet

func (NullableStackpathRpcRetryInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcRetryInfoAllOf) Set

func (*NullableStackpathRpcRetryInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcRetryInfoAllOf) Unset

type NullableStackpathapiStatus

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

func NewNullableStackpathapiStatus

func NewNullableStackpathapiStatus(val *StackpathapiStatus) *NullableStackpathapiStatus

func (NullableStackpathapiStatus) Get

func (NullableStackpathapiStatus) IsSet

func (v NullableStackpathapiStatus) IsSet() bool

func (NullableStackpathapiStatus) MarshalJSON

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

func (*NullableStackpathapiStatus) Set

func (*NullableStackpathapiStatus) UnmarshalJSON

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

func (*NullableStackpathapiStatus) Unset

func (v *NullableStackpathapiStatus) Unset()

type NullableStatisticsMetrics

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

func NewNullableStatisticsMetrics

func NewNullableStatisticsMetrics(val *StatisticsMetrics) *NullableStatisticsMetrics

func (NullableStatisticsMetrics) Get

func (NullableStatisticsMetrics) IsSet

func (v NullableStatisticsMetrics) IsSet() bool

func (NullableStatisticsMetrics) MarshalJSON

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

func (*NullableStatisticsMetrics) Set

func (*NullableStatisticsMetrics) UnmarshalJSON

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

func (*NullableStatisticsMetrics) Unset

func (v *NullableStatisticsMetrics) 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 NullableTrafficPassedToOrigin

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

func (NullableTrafficPassedToOrigin) Get

func (NullableTrafficPassedToOrigin) IsSet

func (NullableTrafficPassedToOrigin) MarshalJSON

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

func (*NullableTrafficPassedToOrigin) Set

func (*NullableTrafficPassedToOrigin) UnmarshalJSON

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

func (*NullableTrafficPassedToOrigin) Unset

func (v *NullableTrafficPassedToOrigin) Unset()

type NullableWafBulkDeleteRulesRequest

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

func (NullableWafBulkDeleteRulesRequest) Get

func (NullableWafBulkDeleteRulesRequest) IsSet

func (NullableWafBulkDeleteRulesRequest) MarshalJSON

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

func (*NullableWafBulkDeleteRulesRequest) Set

func (*NullableWafBulkDeleteRulesRequest) UnmarshalJSON

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

func (*NullableWafBulkDeleteRulesRequest) Unset

type NullableWafCertificate

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

func NewNullableWafCertificate

func NewNullableWafCertificate(val *WafCertificate) *NullableWafCertificate

func (NullableWafCertificate) Get

func (NullableWafCertificate) IsSet

func (v NullableWafCertificate) IsSet() bool

func (NullableWafCertificate) MarshalJSON

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

func (*NullableWafCertificate) Set

func (*NullableWafCertificate) UnmarshalJSON

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

func (*NullableWafCertificate) Unset

func (v *NullableWafCertificate) Unset()

type NullableWafCertificateStatus

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

func NewNullableWafCertificateStatus

func NewNullableWafCertificateStatus(val *WafCertificateStatus) *NullableWafCertificateStatus

func (NullableWafCertificateStatus) Get

func (NullableWafCertificateStatus) IsSet

func (NullableWafCertificateStatus) MarshalJSON

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

func (*NullableWafCertificateStatus) Set

func (*NullableWafCertificateStatus) UnmarshalJSON

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

func (*NullableWafCertificateStatus) Unset

func (v *NullableWafCertificateStatus) Unset()

type NullableWafCertificateVerificationMethod

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

func (NullableWafCertificateVerificationMethod) Get

func (NullableWafCertificateVerificationMethod) IsSet

func (NullableWafCertificateVerificationMethod) MarshalJSON

func (*NullableWafCertificateVerificationMethod) Set

func (*NullableWafCertificateVerificationMethod) UnmarshalJSON

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

func (*NullableWafCertificateVerificationMethod) Unset

type NullableWafConnectSiteToCertificateResponse

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

func (NullableWafConnectSiteToCertificateResponse) Get

func (NullableWafConnectSiteToCertificateResponse) IsSet

func (NullableWafConnectSiteToCertificateResponse) MarshalJSON

func (*NullableWafConnectSiteToCertificateResponse) Set

func (*NullableWafConnectSiteToCertificateResponse) UnmarshalJSON

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

func (*NullableWafConnectSiteToCertificateResponse) Unset

type NullableWafCreateCertificateRequest

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

func (NullableWafCreateCertificateRequest) Get

func (NullableWafCreateCertificateRequest) IsSet

func (NullableWafCreateCertificateRequest) MarshalJSON

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

func (*NullableWafCreateCertificateRequest) Set

func (*NullableWafCreateCertificateRequest) UnmarshalJSON

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

func (*NullableWafCreateCertificateRequest) Unset

type NullableWafCreateCertificateResponse

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

func (NullableWafCreateCertificateResponse) Get

func (NullableWafCreateCertificateResponse) IsSet

func (NullableWafCreateCertificateResponse) MarshalJSON

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

func (*NullableWafCreateCertificateResponse) Set

func (*NullableWafCreateCertificateResponse) UnmarshalJSON

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

func (*NullableWafCreateCertificateResponse) Unset

type NullableWafCreateRuleRequest

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

func NewNullableWafCreateRuleRequest

func NewNullableWafCreateRuleRequest(val *WafCreateRuleRequest) *NullableWafCreateRuleRequest

func (NullableWafCreateRuleRequest) Get

func (NullableWafCreateRuleRequest) IsSet

func (NullableWafCreateRuleRequest) MarshalJSON

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

func (*NullableWafCreateRuleRequest) Set

func (*NullableWafCreateRuleRequest) UnmarshalJSON

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

func (*NullableWafCreateRuleRequest) Unset

func (v *NullableWafCreateRuleRequest) Unset()

type NullableWafCreateRuleResponse

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

func (NullableWafCreateRuleResponse) Get

func (NullableWafCreateRuleResponse) IsSet

func (NullableWafCreateRuleResponse) MarshalJSON

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

func (*NullableWafCreateRuleResponse) Set

func (*NullableWafCreateRuleResponse) UnmarshalJSON

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

func (*NullableWafCreateRuleResponse) Unset

func (v *NullableWafCreateRuleResponse) Unset()

type NullableWafCreateSiteRequestOrigin

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

func (NullableWafCreateSiteRequestOrigin) Get

func (NullableWafCreateSiteRequestOrigin) IsSet

func (NullableWafCreateSiteRequestOrigin) MarshalJSON

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

func (*NullableWafCreateSiteRequestOrigin) Set

func (*NullableWafCreateSiteRequestOrigin) UnmarshalJSON

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

func (*NullableWafCreateSiteRequestOrigin) Unset

type NullableWafCreateSiteRequestType

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

func (NullableWafCreateSiteRequestType) Get

func (NullableWafCreateSiteRequestType) IsSet

func (NullableWafCreateSiteRequestType) MarshalJSON

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

func (*NullableWafCreateSiteRequestType) Set

func (*NullableWafCreateSiteRequestType) UnmarshalJSON

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

func (*NullableWafCreateSiteRequestType) Unset

type NullableWafDdosSettings

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

func NewNullableWafDdosSettings

func NewNullableWafDdosSettings(val *WafDdosSettings) *NullableWafDdosSettings

func (NullableWafDdosSettings) Get

func (NullableWafDdosSettings) IsSet

func (v NullableWafDdosSettings) IsSet() bool

func (NullableWafDdosSettings) MarshalJSON

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

func (*NullableWafDdosSettings) Set

func (*NullableWafDdosSettings) UnmarshalJSON

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

func (*NullableWafDdosSettings) Unset

func (v *NullableWafDdosSettings) Unset()

type NullableWafDnsRecord

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

func NewNullableWafDnsRecord

func NewNullableWafDnsRecord(val *WafDnsRecord) *NullableWafDnsRecord

func (NullableWafDnsRecord) Get

func (NullableWafDnsRecord) IsSet

func (v NullableWafDnsRecord) IsSet() bool

func (NullableWafDnsRecord) MarshalJSON

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

func (*NullableWafDnsRecord) Set

func (v *NullableWafDnsRecord) Set(val *WafDnsRecord)

func (*NullableWafDnsRecord) UnmarshalJSON

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

func (*NullableWafDnsRecord) Unset

func (v *NullableWafDnsRecord) Unset()

type NullableWafDnsVerificationDetails

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

func (NullableWafDnsVerificationDetails) Get

func (NullableWafDnsVerificationDetails) IsSet

func (NullableWafDnsVerificationDetails) MarshalJSON

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

func (*NullableWafDnsVerificationDetails) Set

func (*NullableWafDnsVerificationDetails) UnmarshalJSON

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

func (*NullableWafDnsVerificationDetails) Unset

type NullableWafEvent

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

func NewNullableWafEvent

func NewNullableWafEvent(val *WafEvent) *NullableWafEvent

func (NullableWafEvent) Get

func (v NullableWafEvent) Get() *WafEvent

func (NullableWafEvent) IsSet

func (v NullableWafEvent) IsSet() bool

func (NullableWafEvent) MarshalJSON

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

func (*NullableWafEvent) Set

func (v *NullableWafEvent) Set(val *WafEvent)

func (*NullableWafEvent) UnmarshalJSON

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

func (*NullableWafEvent) Unset

func (v *NullableWafEvent) Unset()

type NullableWafEventNetwork

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

func NewNullableWafEventNetwork

func NewNullableWafEventNetwork(val *WafEventNetwork) *NullableWafEventNetwork

func (NullableWafEventNetwork) Get

func (NullableWafEventNetwork) IsSet

func (v NullableWafEventNetwork) IsSet() bool

func (NullableWafEventNetwork) MarshalJSON

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

func (*NullableWafEventNetwork) Set

func (*NullableWafEventNetwork) UnmarshalJSON

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

func (*NullableWafEventNetwork) Unset

func (v *NullableWafEventNetwork) Unset()

type NullableWafEventRequest

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

func NewNullableWafEventRequest

func NewNullableWafEventRequest(val *WafEventRequest) *NullableWafEventRequest

func (NullableWafEventRequest) Get

func (NullableWafEventRequest) IsSet

func (v NullableWafEventRequest) IsSet() bool

func (NullableWafEventRequest) MarshalJSON

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

func (*NullableWafEventRequest) Set

func (*NullableWafEventRequest) UnmarshalJSON

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

func (*NullableWafEventRequest) Unset

func (v *NullableWafEventRequest) Unset()

type NullableWafGetCertificateResponse

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

func (NullableWafGetCertificateResponse) Get

func (NullableWafGetCertificateResponse) IsSet

func (NullableWafGetCertificateResponse) MarshalJSON

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

func (*NullableWafGetCertificateResponse) Set

func (*NullableWafGetCertificateResponse) UnmarshalJSON

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

func (*NullableWafGetCertificateResponse) Unset

type NullableWafGetCertificateVerificationDetailsResponse

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

func (NullableWafGetCertificateVerificationDetailsResponse) Get

func (NullableWafGetCertificateVerificationDetailsResponse) IsSet

func (NullableWafGetCertificateVerificationDetailsResponse) MarshalJSON

func (*NullableWafGetCertificateVerificationDetailsResponse) Set

func (*NullableWafGetCertificateVerificationDetailsResponse) UnmarshalJSON

func (*NullableWafGetCertificateVerificationDetailsResponse) Unset

type NullableWafGetCertificatesResponse

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

func (NullableWafGetCertificatesResponse) Get

func (NullableWafGetCertificatesResponse) IsSet

func (NullableWafGetCertificatesResponse) MarshalJSON

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

func (*NullableWafGetCertificatesResponse) Set

func (*NullableWafGetCertificatesResponse) UnmarshalJSON

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

func (*NullableWafGetCertificatesResponse) Unset

type NullableWafGetDdosSettingsResponse

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

func (NullableWafGetDdosSettingsResponse) Get

func (NullableWafGetDdosSettingsResponse) IsSet

func (NullableWafGetDdosSettingsResponse) MarshalJSON

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

func (*NullableWafGetDdosSettingsResponse) Set

func (*NullableWafGetDdosSettingsResponse) UnmarshalJSON

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

func (*NullableWafGetDdosSettingsResponse) Unset

type NullableWafGetEventResponse

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

func NewNullableWafGetEventResponse

func NewNullableWafGetEventResponse(val *WafGetEventResponse) *NullableWafGetEventResponse

func (NullableWafGetEventResponse) Get

func (NullableWafGetEventResponse) IsSet

func (NullableWafGetEventResponse) MarshalJSON

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

func (*NullableWafGetEventResponse) Set

func (*NullableWafGetEventResponse) UnmarshalJSON

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

func (*NullableWafGetEventResponse) Unset

func (v *NullableWafGetEventResponse) Unset()

type NullableWafGetEventStatisticsResponse

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

func (NullableWafGetEventStatisticsResponse) Get

func (NullableWafGetEventStatisticsResponse) IsSet

func (NullableWafGetEventStatisticsResponse) MarshalJSON

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

func (*NullableWafGetEventStatisticsResponse) Set

func (*NullableWafGetEventStatisticsResponse) UnmarshalJSON

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

func (*NullableWafGetEventStatisticsResponse) Unset

type NullableWafGetPoliciesResponse

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

func (NullableWafGetPoliciesResponse) Get

func (NullableWafGetPoliciesResponse) IsSet

func (NullableWafGetPoliciesResponse) MarshalJSON

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

func (*NullableWafGetPoliciesResponse) Set

func (*NullableWafGetPoliciesResponse) UnmarshalJSON

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

func (*NullableWafGetPoliciesResponse) Unset

func (v *NullableWafGetPoliciesResponse) Unset()

type NullableWafGetPolicyGroupResponse

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

func (NullableWafGetPolicyGroupResponse) Get

func (NullableWafGetPolicyGroupResponse) IsSet

func (NullableWafGetPolicyGroupResponse) MarshalJSON

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

func (*NullableWafGetPolicyGroupResponse) Set

func (*NullableWafGetPolicyGroupResponse) UnmarshalJSON

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

func (*NullableWafGetPolicyGroupResponse) Unset

type NullableWafGetPolicyGroupsResponse

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

func (NullableWafGetPolicyGroupsResponse) Get

func (NullableWafGetPolicyGroupsResponse) IsSet

func (NullableWafGetPolicyGroupsResponse) MarshalJSON

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

func (*NullableWafGetPolicyGroupsResponse) Set

func (*NullableWafGetPolicyGroupsResponse) UnmarshalJSON

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

func (*NullableWafGetPolicyGroupsResponse) Unset

type NullableWafGetPolicyResponse

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

func NewNullableWafGetPolicyResponse

func NewNullableWafGetPolicyResponse(val *WafGetPolicyResponse) *NullableWafGetPolicyResponse

func (NullableWafGetPolicyResponse) Get

func (NullableWafGetPolicyResponse) IsSet

func (NullableWafGetPolicyResponse) MarshalJSON

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

func (*NullableWafGetPolicyResponse) Set

func (*NullableWafGetPolicyResponse) UnmarshalJSON

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

func (*NullableWafGetPolicyResponse) Unset

func (v *NullableWafGetPolicyResponse) Unset()

type NullableWafGetRequestDetailsResponse

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

func (NullableWafGetRequestDetailsResponse) Get

func (NullableWafGetRequestDetailsResponse) IsSet

func (NullableWafGetRequestDetailsResponse) MarshalJSON

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

func (*NullableWafGetRequestDetailsResponse) Set

func (*NullableWafGetRequestDetailsResponse) UnmarshalJSON

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

func (*NullableWafGetRequestDetailsResponse) Unset

type NullableWafGetRequestResponse

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

func (NullableWafGetRequestResponse) Get

func (NullableWafGetRequestResponse) IsSet

func (NullableWafGetRequestResponse) MarshalJSON

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

func (*NullableWafGetRequestResponse) Set

func (*NullableWafGetRequestResponse) UnmarshalJSON

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

func (*NullableWafGetRequestResponse) Unset

func (v *NullableWafGetRequestResponse) Unset()

type NullableWafGetRequestsResponse

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

func (NullableWafGetRequestsResponse) Get

func (NullableWafGetRequestsResponse) IsSet

func (NullableWafGetRequestsResponse) MarshalJSON

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

func (*NullableWafGetRequestsResponse) Set

func (*NullableWafGetRequestsResponse) UnmarshalJSON

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

func (*NullableWafGetRequestsResponse) Unset

func (v *NullableWafGetRequestsResponse) Unset()

type NullableWafGetRuleResponse

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

func NewNullableWafGetRuleResponse

func NewNullableWafGetRuleResponse(val *WafGetRuleResponse) *NullableWafGetRuleResponse

func (NullableWafGetRuleResponse) Get

func (NullableWafGetRuleResponse) IsSet

func (v NullableWafGetRuleResponse) IsSet() bool

func (NullableWafGetRuleResponse) MarshalJSON

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

func (*NullableWafGetRuleResponse) Set

func (*NullableWafGetRuleResponse) UnmarshalJSON

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

func (*NullableWafGetRuleResponse) Unset

func (v *NullableWafGetRuleResponse) Unset()

type NullableWafGetRulesResponse

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

func NewNullableWafGetRulesResponse

func NewNullableWafGetRulesResponse(val *WafGetRulesResponse) *NullableWafGetRulesResponse

func (NullableWafGetRulesResponse) Get

func (NullableWafGetRulesResponse) IsSet

func (NullableWafGetRulesResponse) MarshalJSON

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

func (*NullableWafGetRulesResponse) Set

func (*NullableWafGetRulesResponse) UnmarshalJSON

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

func (*NullableWafGetRulesResponse) Unset

func (v *NullableWafGetRulesResponse) Unset()

type NullableWafGetSiteCertificatesResponse

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

func (NullableWafGetSiteCertificatesResponse) Get

func (NullableWafGetSiteCertificatesResponse) IsSet

func (NullableWafGetSiteCertificatesResponse) MarshalJSON

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

func (*NullableWafGetSiteCertificatesResponse) Set

func (*NullableWafGetSiteCertificatesResponse) UnmarshalJSON

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

func (*NullableWafGetSiteCertificatesResponse) Unset

type NullableWafGetSiteDnsTargetsResponse

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

func (NullableWafGetSiteDnsTargetsResponse) Get

func (NullableWafGetSiteDnsTargetsResponse) IsSet

func (NullableWafGetSiteDnsTargetsResponse) MarshalJSON

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

func (*NullableWafGetSiteDnsTargetsResponse) Set

func (*NullableWafGetSiteDnsTargetsResponse) UnmarshalJSON

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

func (*NullableWafGetSiteDnsTargetsResponse) Unset

type NullableWafGetTagsResponse

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

func NewNullableWafGetTagsResponse

func NewNullableWafGetTagsResponse(val *WafGetTagsResponse) *NullableWafGetTagsResponse

func (NullableWafGetTagsResponse) Get

func (NullableWafGetTagsResponse) IsSet

func (v NullableWafGetTagsResponse) IsSet() bool

func (NullableWafGetTagsResponse) MarshalJSON

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

func (*NullableWafGetTagsResponse) Set

func (*NullableWafGetTagsResponse) UnmarshalJSON

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

func (*NullableWafGetTagsResponse) Unset

func (v *NullableWafGetTagsResponse) Unset()

type NullableWafGetTrafficResponse

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

func (NullableWafGetTrafficResponse) Get

func (NullableWafGetTrafficResponse) IsSet

func (NullableWafGetTrafficResponse) MarshalJSON

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

func (*NullableWafGetTrafficResponse) Set

func (*NullableWafGetTrafficResponse) UnmarshalJSON

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

func (*NullableWafGetTrafficResponse) Unset

func (v *NullableWafGetTrafficResponse) Unset()

type NullableWafGetTrafficV2Response

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

func (NullableWafGetTrafficV2Response) Get

func (NullableWafGetTrafficV2Response) IsSet

func (NullableWafGetTrafficV2Response) MarshalJSON

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

func (*NullableWafGetTrafficV2Response) Set

func (*NullableWafGetTrafficV2Response) UnmarshalJSON

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

func (*NullableWafGetTrafficV2Response) Unset

type NullableWafGetWAFOrganizationsResponse

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

func (NullableWafGetWAFOrganizationsResponse) Get

func (NullableWafGetWAFOrganizationsResponse) IsSet

func (NullableWafGetWAFOrganizationsResponse) MarshalJSON

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

func (*NullableWafGetWAFOrganizationsResponse) Set

func (*NullableWafGetWAFOrganizationsResponse) UnmarshalJSON

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

func (*NullableWafGetWAFOrganizationsResponse) Unset

type NullableWafHttpMethod

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

func NewNullableWafHttpMethod

func NewNullableWafHttpMethod(val *WafHttpMethod) *NullableWafHttpMethod

func (NullableWafHttpMethod) Get

func (NullableWafHttpMethod) IsSet

func (v NullableWafHttpMethod) IsSet() bool

func (NullableWafHttpMethod) MarshalJSON

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

func (*NullableWafHttpMethod) Set

func (v *NullableWafHttpMethod) Set(val *WafHttpMethod)

func (*NullableWafHttpMethod) UnmarshalJSON

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

func (*NullableWafHttpMethod) Unset

func (v *NullableWafHttpMethod) Unset()

type NullableWafHttpVerificationDetails

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

func (NullableWafHttpVerificationDetails) Get

func (NullableWafHttpVerificationDetails) IsSet

func (NullableWafHttpVerificationDetails) MarshalJSON

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

func (*NullableWafHttpVerificationDetails) Set

func (*NullableWafHttpVerificationDetails) UnmarshalJSON

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

func (*NullableWafHttpVerificationDetails) Unset

type NullableWafPolicyAction

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

func NewNullableWafPolicyAction

func NewNullableWafPolicyAction(val *WafPolicyAction) *NullableWafPolicyAction

func (NullableWafPolicyAction) Get

func (NullableWafPolicyAction) IsSet

func (v NullableWafPolicyAction) IsSet() bool

func (NullableWafPolicyAction) MarshalJSON

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

func (*NullableWafPolicyAction) Set

func (*NullableWafPolicyAction) UnmarshalJSON

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

func (*NullableWafPolicyAction) Unset

func (v *NullableWafPolicyAction) Unset()

type NullableWafPolicyGroup

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

func NewNullableWafPolicyGroup

func NewNullableWafPolicyGroup(val *WafPolicyGroup) *NullableWafPolicyGroup

func (NullableWafPolicyGroup) Get

func (NullableWafPolicyGroup) IsSet

func (v NullableWafPolicyGroup) IsSet() bool

func (NullableWafPolicyGroup) MarshalJSON

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

func (*NullableWafPolicyGroup) Set

func (*NullableWafPolicyGroup) UnmarshalJSON

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

func (*NullableWafPolicyGroup) Unset

func (v *NullableWafPolicyGroup) Unset()

type NullableWafRequestAction

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

func NewNullableWafRequestAction

func NewNullableWafRequestAction(val *WafRequestAction) *NullableWafRequestAction

func (NullableWafRequestAction) Get

func (NullableWafRequestAction) IsSet

func (v NullableWafRequestAction) IsSet() bool

func (NullableWafRequestAction) MarshalJSON

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

func (*NullableWafRequestAction) Set

func (*NullableWafRequestAction) UnmarshalJSON

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

func (*NullableWafRequestAction) Unset

func (v *NullableWafRequestAction) Unset()

type NullableWafRequestCertificateRequest

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

func (NullableWafRequestCertificateRequest) Get

func (NullableWafRequestCertificateRequest) IsSet

func (NullableWafRequestCertificateRequest) MarshalJSON

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

func (*NullableWafRequestCertificateRequest) Set

func (*NullableWafRequestCertificateRequest) UnmarshalJSON

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

func (*NullableWafRequestCertificateRequest) Unset

type NullableWafRequestCertificateResponse

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

func (NullableWafRequestCertificateResponse) Get

func (NullableWafRequestCertificateResponse) IsSet

func (NullableWafRequestCertificateResponse) MarshalJSON

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

func (*NullableWafRequestCertificateResponse) Set

func (*NullableWafRequestCertificateResponse) UnmarshalJSON

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

func (*NullableWafRequestCertificateResponse) Unset

type NullableWafRequestDetails

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

func NewNullableWafRequestDetails

func NewNullableWafRequestDetails(val *WafRequestDetails) *NullableWafRequestDetails

func (NullableWafRequestDetails) Get

func (NullableWafRequestDetails) IsSet

func (v NullableWafRequestDetails) IsSet() bool

func (NullableWafRequestDetails) MarshalJSON

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

func (*NullableWafRequestDetails) Set

func (*NullableWafRequestDetails) UnmarshalJSON

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

func (*NullableWafRequestDetails) Unset

func (v *NullableWafRequestDetails) Unset()

type NullableWafRequestDetailsNetwork

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

func (NullableWafRequestDetailsNetwork) Get

func (NullableWafRequestDetailsNetwork) IsSet

func (NullableWafRequestDetailsNetwork) MarshalJSON

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

func (*NullableWafRequestDetailsNetwork) Set

func (*NullableWafRequestDetailsNetwork) UnmarshalJSON

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

func (*NullableWafRequestDetailsNetwork) Unset

type NullableWafRequestDetailsUserAgent

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

func (NullableWafRequestDetailsUserAgent) Get

func (NullableWafRequestDetailsUserAgent) IsSet

func (NullableWafRequestDetailsUserAgent) MarshalJSON

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

func (*NullableWafRequestDetailsUserAgent) Set

func (*NullableWafRequestDetailsUserAgent) UnmarshalJSON

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

func (*NullableWafRequestDetailsUserAgent) Unset

type NullableWafRule

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

func NewNullableWafRule

func NewNullableWafRule(val *WafRule) *NullableWafRule

func (NullableWafRule) Get

func (v NullableWafRule) Get() *WafRule

func (NullableWafRule) IsSet

func (v NullableWafRule) IsSet() bool

func (NullableWafRule) MarshalJSON

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

func (*NullableWafRule) Set

func (v *NullableWafRule) Set(val *WafRule)

func (*NullableWafRule) UnmarshalJSON

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

func (*NullableWafRule) Unset

func (v *NullableWafRule) Unset()

type NullableWafRuleAction

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

func NewNullableWafRuleAction

func NewNullableWafRuleAction(val *WafRuleAction) *NullableWafRuleAction

func (NullableWafRuleAction) Get

func (NullableWafRuleAction) IsSet

func (v NullableWafRuleAction) IsSet() bool

func (NullableWafRuleAction) MarshalJSON

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

func (*NullableWafRuleAction) Set

func (v *NullableWafRuleAction) Set(val *WafRuleAction)

func (*NullableWafRuleAction) UnmarshalJSON

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

func (*NullableWafRuleAction) Unset

func (v *NullableWafRuleAction) Unset()

type NullableWafSearchEventsResponse

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

func (NullableWafSearchEventsResponse) Get

func (NullableWafSearchEventsResponse) IsSet

func (NullableWafSearchEventsResponse) MarshalJSON

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

func (*NullableWafSearchEventsResponse) Set

func (*NullableWafSearchEventsResponse) UnmarshalJSON

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

func (*NullableWafSearchEventsResponse) Unset

type NullableWafSite

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

func NewNullableWafSite

func NewNullableWafSite(val *WafSite) *NullableWafSite

func (NullableWafSite) Get

func (v NullableWafSite) Get() *WafSite

func (NullableWafSite) IsSet

func (v NullableWafSite) IsSet() bool

func (NullableWafSite) MarshalJSON

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

func (*NullableWafSite) Set

func (v *NullableWafSite) Set(val *WafSite)

func (*NullableWafSite) UnmarshalJSON

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

func (*NullableWafSite) Unset

func (v *NullableWafSite) Unset()

type NullableWafSiteCertificate

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

func NewNullableWafSiteCertificate

func NewNullableWafSiteCertificate(val *WafSiteCertificate) *NullableWafSiteCertificate

func (NullableWafSiteCertificate) Get

func (NullableWafSiteCertificate) IsSet

func (v NullableWafSiteCertificate) IsSet() bool

func (NullableWafSiteCertificate) MarshalJSON

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

func (*NullableWafSiteCertificate) Set

func (*NullableWafSiteCertificate) UnmarshalJSON

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

func (*NullableWafSiteCertificate) Unset

func (v *NullableWafSiteCertificate) Unset()

type NullableWafSiteStatus

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

func NewNullableWafSiteStatus

func NewNullableWafSiteStatus(val *WafSiteStatus) *NullableWafSiteStatus

func (NullableWafSiteStatus) Get

func (NullableWafSiteStatus) IsSet

func (v NullableWafSiteStatus) IsSet() bool

func (NullableWafSiteStatus) MarshalJSON

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

func (*NullableWafSiteStatus) Set

func (v *NullableWafSiteStatus) Set(val *WafSiteStatus)

func (*NullableWafSiteStatus) UnmarshalJSON

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

func (*NullableWafSiteStatus) Unset

func (v *NullableWafSiteStatus) Unset()

type NullableWafSiteType

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

func NewNullableWafSiteType

func NewNullableWafSiteType(val *WafSiteType) *NullableWafSiteType

func (NullableWafSiteType) Get

func (NullableWafSiteType) IsSet

func (v NullableWafSiteType) IsSet() bool

func (NullableWafSiteType) MarshalJSON

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

func (*NullableWafSiteType) Set

func (v *NullableWafSiteType) Set(val *WafSiteType)

func (*NullableWafSiteType) UnmarshalJSON

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

func (*NullableWafSiteType) Unset

func (v *NullableWafSiteType) Unset()

type NullableWafTag

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

func NewNullableWafTag

func NewNullableWafTag(val *WafTag) *NullableWafTag

func (NullableWafTag) Get

func (v NullableWafTag) Get() *WafTag

func (NullableWafTag) IsSet

func (v NullableWafTag) IsSet() bool

func (NullableWafTag) MarshalJSON

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

func (*NullableWafTag) Set

func (v *NullableWafTag) Set(val *WafTag)

func (*NullableWafTag) UnmarshalJSON

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

func (*NullableWafTag) Unset

func (v *NullableWafTag) Unset()

type NullableWafTraffic

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

func NewNullableWafTraffic

func NewNullableWafTraffic(val *WafTraffic) *NullableWafTraffic

func (NullableWafTraffic) Get

func (v NullableWafTraffic) Get() *WafTraffic

func (NullableWafTraffic) IsSet

func (v NullableWafTraffic) IsSet() bool

func (NullableWafTraffic) MarshalJSON

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

func (*NullableWafTraffic) Set

func (v *NullableWafTraffic) Set(val *WafTraffic)

func (*NullableWafTraffic) UnmarshalJSON

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

func (*NullableWafTraffic) Unset

func (v *NullableWafTraffic) Unset()

type NullableWafTrafficPolicy

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

func NewNullableWafTrafficPolicy

func NewNullableWafTrafficPolicy(val *WafTrafficPolicy) *NullableWafTrafficPolicy

func (NullableWafTrafficPolicy) Get

func (NullableWafTrafficPolicy) IsSet

func (v NullableWafTrafficPolicy) IsSet() bool

func (NullableWafTrafficPolicy) MarshalJSON

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

func (*NullableWafTrafficPolicy) Set

func (*NullableWafTrafficPolicy) UnmarshalJSON

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

func (*NullableWafTrafficPolicy) Unset

func (v *NullableWafTrafficPolicy) Unset()

type NullableWafTrafficV2

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

func NewNullableWafTrafficV2

func NewNullableWafTrafficV2(val *WafTrafficV2) *NullableWafTrafficV2

func (NullableWafTrafficV2) Get

func (NullableWafTrafficV2) IsSet

func (v NullableWafTrafficV2) IsSet() bool

func (NullableWafTrafficV2) MarshalJSON

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

func (*NullableWafTrafficV2) Set

func (v *NullableWafTrafficV2) Set(val *WafTrafficV2)

func (*NullableWafTrafficV2) UnmarshalJSON

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

func (*NullableWafTrafficV2) Unset

func (v *NullableWafTrafficV2) Unset()

type NullableWafUpdateCertificateRequest

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

func (NullableWafUpdateCertificateRequest) Get

func (NullableWafUpdateCertificateRequest) IsSet

func (NullableWafUpdateCertificateRequest) MarshalJSON

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

func (*NullableWafUpdateCertificateRequest) Set

func (*NullableWafUpdateCertificateRequest) UnmarshalJSON

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

func (*NullableWafUpdateCertificateRequest) Unset

type NullableWafUpdateCertificateResponse

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

func (NullableWafUpdateCertificateResponse) Get

func (NullableWafUpdateCertificateResponse) IsSet

func (NullableWafUpdateCertificateResponse) MarshalJSON

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

func (*NullableWafUpdateCertificateResponse) Set

func (*NullableWafUpdateCertificateResponse) UnmarshalJSON

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

func (*NullableWafUpdateCertificateResponse) Unset

type NullableWafUpdateDdosSettingsRequest

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

func (NullableWafUpdateDdosSettingsRequest) Get

func (NullableWafUpdateDdosSettingsRequest) IsSet

func (NullableWafUpdateDdosSettingsRequest) MarshalJSON

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

func (*NullableWafUpdateDdosSettingsRequest) Set

func (*NullableWafUpdateDdosSettingsRequest) UnmarshalJSON

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

func (*NullableWafUpdateDdosSettingsRequest) Unset

type NullableWafUpdateDdosSettingsResponse

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

func (NullableWafUpdateDdosSettingsResponse) Get

func (NullableWafUpdateDdosSettingsResponse) IsSet

func (NullableWafUpdateDdosSettingsResponse) MarshalJSON

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

func (*NullableWafUpdateDdosSettingsResponse) Set

func (*NullableWafUpdateDdosSettingsResponse) UnmarshalJSON

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

func (*NullableWafUpdateDdosSettingsResponse) Unset

type NullableWafUpdatePolicyGroupsRequest

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

func (NullableWafUpdatePolicyGroupsRequest) Get

func (NullableWafUpdatePolicyGroupsRequest) IsSet

func (NullableWafUpdatePolicyGroupsRequest) MarshalJSON

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

func (*NullableWafUpdatePolicyGroupsRequest) Set

func (*NullableWafUpdatePolicyGroupsRequest) UnmarshalJSON

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

func (*NullableWafUpdatePolicyGroupsRequest) Unset

type NullableWafUpdateRuleRequest

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

func NewNullableWafUpdateRuleRequest

func NewNullableWafUpdateRuleRequest(val *WafUpdateRuleRequest) *NullableWafUpdateRuleRequest

func (NullableWafUpdateRuleRequest) Get

func (NullableWafUpdateRuleRequest) IsSet

func (NullableWafUpdateRuleRequest) MarshalJSON

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

func (*NullableWafUpdateRuleRequest) Set

func (*NullableWafUpdateRuleRequest) UnmarshalJSON

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

func (*NullableWafUpdateRuleRequest) Unset

func (v *NullableWafUpdateRuleRequest) Unset()

type NullableWafUpdateRuleResponse

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

func (NullableWafUpdateRuleResponse) Get

func (NullableWafUpdateRuleResponse) IsSet

func (NullableWafUpdateRuleResponse) MarshalJSON

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

func (*NullableWafUpdateRuleResponse) Set

func (*NullableWafUpdateRuleResponse) UnmarshalJSON

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

func (*NullableWafUpdateRuleResponse) Unset

func (v *NullableWafUpdateRuleResponse) Unset()

type NullableWafUpdateSiteApiUrlsRequest

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

func (NullableWafUpdateSiteApiUrlsRequest) Get

func (NullableWafUpdateSiteApiUrlsRequest) IsSet

func (NullableWafUpdateSiteApiUrlsRequest) MarshalJSON

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

func (*NullableWafUpdateSiteApiUrlsRequest) Set

func (*NullableWafUpdateSiteApiUrlsRequest) UnmarshalJSON

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

func (*NullableWafUpdateSiteApiUrlsRequest) Unset

type NullableWafUpdateSiteApiUrlsResponse

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

func (NullableWafUpdateSiteApiUrlsResponse) Get

func (NullableWafUpdateSiteApiUrlsResponse) IsSet

func (NullableWafUpdateSiteApiUrlsResponse) MarshalJSON

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

func (*NullableWafUpdateSiteApiUrlsResponse) Set

func (*NullableWafUpdateSiteApiUrlsResponse) UnmarshalJSON

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

func (*NullableWafUpdateSiteApiUrlsResponse) Unset

type NullableWafVerificationRequirements

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

func (NullableWafVerificationRequirements) Get

func (NullableWafVerificationRequirements) IsSet

func (NullableWafVerificationRequirements) MarshalJSON

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

func (*NullableWafVerificationRequirements) Set

func (*NullableWafVerificationRequirements) UnmarshalJSON

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

func (*NullableWafVerificationRequirements) Unset

type NullableWafWAFOrganization

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

func NewNullableWafWAFOrganization

func NewNullableWafWAFOrganization(val *WafWAFOrganization) *NullableWafWAFOrganization

func (NullableWafWAFOrganization) Get

func (NullableWafWAFOrganization) IsSet

func (v NullableWafWAFOrganization) IsSet() bool

func (NullableWafWAFOrganization) MarshalJSON

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

func (*NullableWafWAFOrganization) Set

func (*NullableWafWAFOrganization) UnmarshalJSON

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

func (*NullableWafWAFOrganization) Unset

func (v *NullableWafWAFOrganization) Unset()

type OwnerTypeConditionOwnerType

type OwnerTypeConditionOwnerType string

OwnerTypeConditionOwnerType Potential owner type values to match against

const (
	OWNERTYPECONDITIONOWNERTYPE_COMMERCIAL       OwnerTypeConditionOwnerType = "COMMERCIAL"
	OWNERTYPECONDITIONOWNERTYPE_EDUCATIONAL      OwnerTypeConditionOwnerType = "EDUCATIONAL"
	OWNERTYPECONDITIONOWNERTYPE_GOVERNMENT       OwnerTypeConditionOwnerType = "GOVERNMENT"
	OWNERTYPECONDITIONOWNERTYPE_HOSTING_SERVICES OwnerTypeConditionOwnerType = "HOSTING_SERVICES"
	OWNERTYPECONDITIONOWNERTYPE_ISP              OwnerTypeConditionOwnerType = "ISP"
	OWNERTYPECONDITIONOWNERTYPE_MOBILE_NETWORK   OwnerTypeConditionOwnerType = "MOBILE_NETWORK"
	OWNERTYPECONDITIONOWNERTYPE_NETWORK          OwnerTypeConditionOwnerType = "NETWORK"
	OWNERTYPECONDITIONOWNERTYPE_RESERVED         OwnerTypeConditionOwnerType = "RESERVED"
)

List of OwnerTypeConditionOwnerType

func (OwnerTypeConditionOwnerType) Ptr

Ptr returns reference to OwnerTypeConditionOwnerType value

type PaginationPageInfo

type PaginationPageInfo struct {
	// The total number of items in the dataset
	TotalCount *string `json:"totalCount,omitempty"`
	// Whether or not a previous page of data exists
	HasPreviousPage *bool `json:"hasPreviousPage,omitempty"`
	// Whether or not another page of data is available
	HasNextPage *bool `json:"hasNextPage,omitempty"`
	// The cursor for the first item in the set of data returned
	StartCursor *string `json:"startCursor,omitempty"`
	// The cursor for the last item in the set of data returned
	EndCursor *string `json:"endCursor,omitempty"`
}

PaginationPageInfo Information about a paginated response This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.

func NewPaginationPageInfo

func NewPaginationPageInfo() *PaginationPageInfo

NewPaginationPageInfo instantiates a new PaginationPageInfo 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 NewPaginationPageInfoWithDefaults

func NewPaginationPageInfoWithDefaults() *PaginationPageInfo

NewPaginationPageInfoWithDefaults instantiates a new PaginationPageInfo 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 (*PaginationPageInfo) GetEndCursor

func (o *PaginationPageInfo) GetEndCursor() string

GetEndCursor returns the EndCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetEndCursorOk

func (o *PaginationPageInfo) GetEndCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetHasNextPage

func (o *PaginationPageInfo) GetHasNextPage() bool

GetHasNextPage returns the HasNextPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasNextPageOk

func (o *PaginationPageInfo) GetHasNextPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetHasPreviousPage

func (o *PaginationPageInfo) GetHasPreviousPage() bool

GetHasPreviousPage returns the HasPreviousPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasPreviousPageOk

func (o *PaginationPageInfo) GetHasPreviousPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetStartCursor

func (o *PaginationPageInfo) GetStartCursor() string

GetStartCursor returns the StartCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetStartCursorOk

func (o *PaginationPageInfo) GetStartCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetTotalCount

func (o *PaginationPageInfo) GetTotalCount() string

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*PaginationPageInfo) GetTotalCountOk

func (o *PaginationPageInfo) GetTotalCountOk() (*string, bool)

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

func (*PaginationPageInfo) HasEndCursor

func (o *PaginationPageInfo) HasEndCursor() bool

HasEndCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasNextPage

func (o *PaginationPageInfo) HasHasNextPage() bool

HasHasNextPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasPreviousPage

func (o *PaginationPageInfo) HasHasPreviousPage() bool

HasHasPreviousPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasStartCursor

func (o *PaginationPageInfo) HasStartCursor() bool

HasStartCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasTotalCount

func (o *PaginationPageInfo) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (PaginationPageInfo) MarshalJSON

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

func (*PaginationPageInfo) SetEndCursor

func (o *PaginationPageInfo) SetEndCursor(v string)

SetEndCursor gets a reference to the given string and assigns it to the EndCursor field.

func (*PaginationPageInfo) SetHasNextPage

func (o *PaginationPageInfo) SetHasNextPage(v bool)

SetHasNextPage gets a reference to the given bool and assigns it to the HasNextPage field.

func (*PaginationPageInfo) SetHasPreviousPage

func (o *PaginationPageInfo) SetHasPreviousPage(v bool)

SetHasPreviousPage gets a reference to the given bool and assigns it to the HasPreviousPage field.

func (*PaginationPageInfo) SetStartCursor

func (o *PaginationPageInfo) SetStartCursor(v string)

SetStartCursor gets a reference to the given string and assigns it to the StartCursor field.

func (*PaginationPageInfo) SetTotalCount

func (o *PaginationPageInfo) SetTotalCount(v string)

SetTotalCount gets a reference to the given string and assigns it to the TotalCount field.

type PoliciesApiService

type PoliciesApiService service

PoliciesApiService PoliciesApi service

func (*PoliciesApiService) DisablePolicy

func (a *PoliciesApiService) DisablePolicy(ctx _context.Context, stackId string, siteId string, policyGroupId string, policyId string) apiDisablePolicyRequest

DisablePolicy Disable a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID
  • @param policyId A WAF policy ID

@return apiDisablePolicyRequest

func (*PoliciesApiService) DisablePolicyGroup

func (a *PoliciesApiService) DisablePolicyGroup(ctx _context.Context, stackId string, siteId string, policyGroupId string) apiDisablePolicyGroupRequest

DisablePolicyGroup Disable all policies in a group

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID

@return apiDisablePolicyGroupRequest

func (*PoliciesApiService) EnablePolicy

func (a *PoliciesApiService) EnablePolicy(ctx _context.Context, stackId string, siteId string, policyGroupId string, policyId string) apiEnablePolicyRequest

EnablePolicy Enable a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID
  • @param policyId A WAF policy ID

@return apiEnablePolicyRequest

func (*PoliciesApiService) EnablePolicyGroup

func (a *PoliciesApiService) EnablePolicyGroup(ctx _context.Context, stackId string, siteId string, policyGroupId string) apiEnablePolicyGroupRequest

EnablePolicyGroup Enable all policies in a group

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID

@return apiEnablePolicyGroupRequest

func (*PoliciesApiService) GetPolicies

func (a *PoliciesApiService) GetPolicies(ctx _context.Context, stackId string, siteId string, policyGroupId string) apiGetPoliciesRequest

GetPolicies Get all policies in a group

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID

@return apiGetPoliciesRequest

func (*PoliciesApiService) GetPolicy

func (a *PoliciesApiService) GetPolicy(ctx _context.Context, stackId string, siteId string, policyGroupId string, policyId string) apiGetPolicyRequest

GetPolicy Get a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID
  • @param policyId A WAF policy ID

@return apiGetPolicyRequest

func (*PoliciesApiService) GetPolicyGroup

func (a *PoliciesApiService) GetPolicyGroup(ctx _context.Context, stackId string, siteId string, policyGroupId string) apiGetPolicyGroupRequest

GetPolicyGroup Get a policy group

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param policyGroupId A WAF policy group ID

@return apiGetPolicyGroupRequest

func (*PoliciesApiService) GetPolicyGroups

func (a *PoliciesApiService) GetPolicyGroups(ctx _context.Context, stackId string, siteId string) apiGetPolicyGroupsRequest

GetPolicyGroups Get all policy groups

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetPolicyGroupsRequest

func (*PoliciesApiService) UpdatePolicyGroups

func (a *PoliciesApiService) UpdatePolicyGroups(ctx _context.Context, stackId string, siteId string) apiUpdatePolicyGroupsRequest

UpdatePolicyGroups Update policy groups Provide the IDs and enabled states of the policies in their policy groups that should change

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiUpdatePolicyGroupsRequest

type RequestDetailsRequestType

type RequestDetailsRequestType string

RequestDetailsRequestType The types of a WAF request - API: A WAF request to a URL designated by WAF as an API URL - AJAX: An AJAX WAF request - STATIC: A WAF request to a static resource

const (
	REQUESTDETAILSREQUESTTYPE_API    RequestDetailsRequestType = "API"
	REQUESTDETAILSREQUESTTYPE_AJAX   RequestDetailsRequestType = "AJAX"
	REQUESTDETAILSREQUESTTYPE_STATIC RequestDetailsRequestType = "STATIC"
)

List of RequestDetailsRequestType

func (RequestDetailsRequestType) Ptr

Ptr returns reference to RequestDetailsRequestType value

type RequestDetailsTags

type RequestDetailsTags struct {
	// The tags associated with the request
	Tags *[]string `json:"tags,omitempty"`
	// The tag's hash
	Hash *string `json:"hash,omitempty"`
	// Whether or not the tag was cached
	Cached *bool `json:"cached,omitempty"`
}

RequestDetailsTags Aspects of a WAF request Tags describe aspects of an incoming web request and can be used to create complex application-level custom rules

func NewRequestDetailsTags

func NewRequestDetailsTags() *RequestDetailsTags

NewRequestDetailsTags instantiates a new RequestDetailsTags 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 NewRequestDetailsTagsWithDefaults

func NewRequestDetailsTagsWithDefaults() *RequestDetailsTags

NewRequestDetailsTagsWithDefaults instantiates a new RequestDetailsTags 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 (*RequestDetailsTags) GetCached

func (o *RequestDetailsTags) GetCached() bool

GetCached returns the Cached field value if set, zero value otherwise.

func (*RequestDetailsTags) GetCachedOk

func (o *RequestDetailsTags) GetCachedOk() (*bool, bool)

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

func (*RequestDetailsTags) GetHash

func (o *RequestDetailsTags) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*RequestDetailsTags) GetHashOk

func (o *RequestDetailsTags) GetHashOk() (*string, bool)

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

func (*RequestDetailsTags) GetTags

func (o *RequestDetailsTags) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*RequestDetailsTags) GetTagsOk

func (o *RequestDetailsTags) GetTagsOk() (*[]string, bool)

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

func (*RequestDetailsTags) HasCached

func (o *RequestDetailsTags) HasCached() bool

HasCached returns a boolean if a field has been set.

func (*RequestDetailsTags) HasHash

func (o *RequestDetailsTags) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*RequestDetailsTags) HasTags

func (o *RequestDetailsTags) HasTags() bool

HasTags returns a boolean if a field has been set.

func (RequestDetailsTags) MarshalJSON

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

func (*RequestDetailsTags) SetCached

func (o *RequestDetailsTags) SetCached(v bool)

SetCached gets a reference to the given bool and assigns it to the Cached field.

func (*RequestDetailsTags) SetHash

func (o *RequestDetailsTags) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*RequestDetailsTags) SetTags

func (o *RequestDetailsTags) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type RequestsApiService

type RequestsApiService service

RequestsApiService RequestsApi service

func (*RequestsApiService) GetRequest

func (a *RequestsApiService) GetRequest(ctx _context.Context, stackId string, siteId string, requestId string) apiGetRequestRequest

GetRequest Get a request

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param requestId A WAF request ID

@return apiGetRequestRequest

func (*RequestsApiService) GetRequestDetails

func (a *RequestsApiService) GetRequestDetails(ctx _context.Context, stackId string, siteId string, requestId string) apiGetRequestDetailsRequest

GetRequestDetails Get a request's details Retrieve more detailed information about a WAF request

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param requestId A WAF request ID

@return apiGetRequestDetailsRequest

func (*RequestsApiService) GetRequests

func (a *RequestsApiService) GetRequests(ctx _context.Context, stackId string, siteId string) apiGetRequestsRequest

GetRequests Get all requests

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetRequestsRequest

type RuleActionResultType

type RuleActionResultType string

RuleActionResultType Results from a WAF event - RESULT_TYPE_UNSPECIFIED: The event resulted in an unknown action - BLOCKED: The event was blocked by the WAF - ALLOWED: The event was allowed by the WAF - MONITORED: The event was monitored by the WAF but no action was taken

const (
	RULEACTIONRESULTTYPE_RESULT_TYPE_UNSPECIFIED RuleActionResultType = "RESULT_TYPE_UNSPECIFIED"
	RULEACTIONRESULTTYPE_BLOCKED                 RuleActionResultType = "BLOCKED"
	RULEACTIONRESULTTYPE_ALLOWED                 RuleActionResultType = "ALLOWED"
	RULEACTIONRESULTTYPE_MONITORED               RuleActionResultType = "MONITORED"
)

List of RuleActionResultType

func (RuleActionResultType) Ptr

Ptr returns reference to RuleActionResultType value

type RuleCondition

type RuleCondition struct {
	Ip                   *ConditionIpCondition                   `json:"ip,omitempty"`
	IpRange              *ConditionIpRangeCondition              `json:"ipRange,omitempty"`
	Url                  *ConditionUrlCondition                  `json:"url,omitempty"`
	UserAgent            *ConditionUserAgentCondition            `json:"userAgent,omitempty"`
	Header               *ConditionHeaderCondition               `json:"header,omitempty"`
	HeaderExists         *ConditionHeaderExistsCondition         `json:"headerExists,omitempty"`
	ResponseHeader       *ConditionResponseHeaderCondition       `json:"responseHeader,omitempty"`
	ResponseHeaderExists *ConditionResponseHeaderExistsCondition `json:"responseHeaderExists,omitempty"`
	HttpMethod           *ConditionHttpMethodCondition           `json:"httpMethod,omitempty"`
	FileExtension        *ConditionFileExtensionCondition        `json:"fileExtension,omitempty"`
	ContentType          *ConditionContentTypeCondition          `json:"contentType,omitempty"`
	Country              *ConditionCountryCondition              `json:"country,omitempty"`
	Organization         *ConditionOrganizationCondition         `json:"organization,omitempty"`
	RequestRate          *ConditionRequestRateCondition          `json:"requestRate,omitempty"`
	OwnerTypes           *ConditionOwnerTypeCondition            `json:"ownerTypes,omitempty"`
	Tags                 *ConditionTagCondition                  `json:"tags,omitempty"`
	SessionRequestCount  *ConditionSessionRequestCountCondition  `json:"sessionRequestCount,omitempty"`
	// Whether or not to apply a boolean NOT operation to the rule's condition
	Negation *bool `json:"negation,omitempty"`
}

RuleCondition The criteria of an incoming web request and the models of the various values those criteria can take

func NewRuleCondition

func NewRuleCondition() *RuleCondition

NewRuleCondition instantiates a new RuleCondition 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 NewRuleConditionWithDefaults

func NewRuleConditionWithDefaults() *RuleCondition

NewRuleConditionWithDefaults instantiates a new RuleCondition 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 (*RuleCondition) GetContentType

func (o *RuleCondition) GetContentType() ConditionContentTypeCondition

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*RuleCondition) GetContentTypeOk

func (o *RuleCondition) GetContentTypeOk() (*ConditionContentTypeCondition, bool)

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

func (*RuleCondition) GetCountry

func (o *RuleCondition) GetCountry() ConditionCountryCondition

GetCountry returns the Country field value if set, zero value otherwise.

func (*RuleCondition) GetCountryOk

func (o *RuleCondition) GetCountryOk() (*ConditionCountryCondition, bool)

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

func (*RuleCondition) GetFileExtension

func (o *RuleCondition) GetFileExtension() ConditionFileExtensionCondition

GetFileExtension returns the FileExtension field value if set, zero value otherwise.

func (*RuleCondition) GetFileExtensionOk

func (o *RuleCondition) GetFileExtensionOk() (*ConditionFileExtensionCondition, bool)

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

func (*RuleCondition) GetHeader

func (o *RuleCondition) GetHeader() ConditionHeaderCondition

GetHeader returns the Header field value if set, zero value otherwise.

func (*RuleCondition) GetHeaderExists

func (o *RuleCondition) GetHeaderExists() ConditionHeaderExistsCondition

GetHeaderExists returns the HeaderExists field value if set, zero value otherwise.

func (*RuleCondition) GetHeaderExistsOk

func (o *RuleCondition) GetHeaderExistsOk() (*ConditionHeaderExistsCondition, bool)

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

func (*RuleCondition) GetHeaderOk

func (o *RuleCondition) GetHeaderOk() (*ConditionHeaderCondition, bool)

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

func (*RuleCondition) GetHttpMethod

func (o *RuleCondition) GetHttpMethod() ConditionHttpMethodCondition

GetHttpMethod returns the HttpMethod field value if set, zero value otherwise.

func (*RuleCondition) GetHttpMethodOk

func (o *RuleCondition) GetHttpMethodOk() (*ConditionHttpMethodCondition, bool)

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

func (*RuleCondition) GetIp

GetIp returns the Ip field value if set, zero value otherwise.

func (*RuleCondition) GetIpOk

func (o *RuleCondition) GetIpOk() (*ConditionIpCondition, bool)

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

func (*RuleCondition) GetIpRange

func (o *RuleCondition) GetIpRange() ConditionIpRangeCondition

GetIpRange returns the IpRange field value if set, zero value otherwise.

func (*RuleCondition) GetIpRangeOk

func (o *RuleCondition) GetIpRangeOk() (*ConditionIpRangeCondition, bool)

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

func (*RuleCondition) GetNegation

func (o *RuleCondition) GetNegation() bool

GetNegation returns the Negation field value if set, zero value otherwise.

func (*RuleCondition) GetNegationOk

func (o *RuleCondition) GetNegationOk() (*bool, bool)

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

func (*RuleCondition) GetOrganization

func (o *RuleCondition) GetOrganization() ConditionOrganizationCondition

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*RuleCondition) GetOrganizationOk

func (o *RuleCondition) GetOrganizationOk() (*ConditionOrganizationCondition, bool)

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

func (*RuleCondition) GetOwnerTypes

func (o *RuleCondition) GetOwnerTypes() ConditionOwnerTypeCondition

GetOwnerTypes returns the OwnerTypes field value if set, zero value otherwise.

func (*RuleCondition) GetOwnerTypesOk

func (o *RuleCondition) GetOwnerTypesOk() (*ConditionOwnerTypeCondition, bool)

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

func (*RuleCondition) GetRequestRate

func (o *RuleCondition) GetRequestRate() ConditionRequestRateCondition

GetRequestRate returns the RequestRate field value if set, zero value otherwise.

func (*RuleCondition) GetRequestRateOk

func (o *RuleCondition) GetRequestRateOk() (*ConditionRequestRateCondition, bool)

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

func (*RuleCondition) GetResponseHeader

func (o *RuleCondition) GetResponseHeader() ConditionResponseHeaderCondition

GetResponseHeader returns the ResponseHeader field value if set, zero value otherwise.

func (*RuleCondition) GetResponseHeaderExists

func (o *RuleCondition) GetResponseHeaderExists() ConditionResponseHeaderExistsCondition

GetResponseHeaderExists returns the ResponseHeaderExists field value if set, zero value otherwise.

func (*RuleCondition) GetResponseHeaderExistsOk

func (o *RuleCondition) GetResponseHeaderExistsOk() (*ConditionResponseHeaderExistsCondition, bool)

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

func (*RuleCondition) GetResponseHeaderOk

func (o *RuleCondition) GetResponseHeaderOk() (*ConditionResponseHeaderCondition, bool)

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

func (*RuleCondition) GetSessionRequestCount

func (o *RuleCondition) GetSessionRequestCount() ConditionSessionRequestCountCondition

GetSessionRequestCount returns the SessionRequestCount field value if set, zero value otherwise.

func (*RuleCondition) GetSessionRequestCountOk

func (o *RuleCondition) GetSessionRequestCountOk() (*ConditionSessionRequestCountCondition, bool)

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

func (*RuleCondition) GetTags

func (o *RuleCondition) GetTags() ConditionTagCondition

GetTags returns the Tags field value if set, zero value otherwise.

func (*RuleCondition) GetTagsOk

func (o *RuleCondition) GetTagsOk() (*ConditionTagCondition, bool)

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

func (*RuleCondition) GetUrl

GetUrl returns the Url field value if set, zero value otherwise.

func (*RuleCondition) GetUrlOk

func (o *RuleCondition) GetUrlOk() (*ConditionUrlCondition, bool)

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

func (*RuleCondition) GetUserAgent

func (o *RuleCondition) GetUserAgent() ConditionUserAgentCondition

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*RuleCondition) GetUserAgentOk

func (o *RuleCondition) GetUserAgentOk() (*ConditionUserAgentCondition, bool)

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

func (*RuleCondition) HasContentType

func (o *RuleCondition) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*RuleCondition) HasCountry

func (o *RuleCondition) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*RuleCondition) HasFileExtension

func (o *RuleCondition) HasFileExtension() bool

HasFileExtension returns a boolean if a field has been set.

func (*RuleCondition) HasHeader

func (o *RuleCondition) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*RuleCondition) HasHeaderExists

func (o *RuleCondition) HasHeaderExists() bool

HasHeaderExists returns a boolean if a field has been set.

func (*RuleCondition) HasHttpMethod

func (o *RuleCondition) HasHttpMethod() bool

HasHttpMethod returns a boolean if a field has been set.

func (*RuleCondition) HasIp

func (o *RuleCondition) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*RuleCondition) HasIpRange

func (o *RuleCondition) HasIpRange() bool

HasIpRange returns a boolean if a field has been set.

func (*RuleCondition) HasNegation

func (o *RuleCondition) HasNegation() bool

HasNegation returns a boolean if a field has been set.

func (*RuleCondition) HasOrganization

func (o *RuleCondition) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*RuleCondition) HasOwnerTypes

func (o *RuleCondition) HasOwnerTypes() bool

HasOwnerTypes returns a boolean if a field has been set.

func (*RuleCondition) HasRequestRate

func (o *RuleCondition) HasRequestRate() bool

HasRequestRate returns a boolean if a field has been set.

func (*RuleCondition) HasResponseHeader

func (o *RuleCondition) HasResponseHeader() bool

HasResponseHeader returns a boolean if a field has been set.

func (*RuleCondition) HasResponseHeaderExists

func (o *RuleCondition) HasResponseHeaderExists() bool

HasResponseHeaderExists returns a boolean if a field has been set.

func (*RuleCondition) HasSessionRequestCount

func (o *RuleCondition) HasSessionRequestCount() bool

HasSessionRequestCount returns a boolean if a field has been set.

func (*RuleCondition) HasTags

func (o *RuleCondition) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*RuleCondition) HasUrl

func (o *RuleCondition) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*RuleCondition) HasUserAgent

func (o *RuleCondition) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (RuleCondition) MarshalJSON

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

func (*RuleCondition) SetContentType

func (o *RuleCondition) SetContentType(v ConditionContentTypeCondition)

SetContentType gets a reference to the given ConditionContentTypeCondition and assigns it to the ContentType field.

func (*RuleCondition) SetCountry

func (o *RuleCondition) SetCountry(v ConditionCountryCondition)

SetCountry gets a reference to the given ConditionCountryCondition and assigns it to the Country field.

func (*RuleCondition) SetFileExtension

func (o *RuleCondition) SetFileExtension(v ConditionFileExtensionCondition)

SetFileExtension gets a reference to the given ConditionFileExtensionCondition and assigns it to the FileExtension field.

func (*RuleCondition) SetHeader

func (o *RuleCondition) SetHeader(v ConditionHeaderCondition)

SetHeader gets a reference to the given ConditionHeaderCondition and assigns it to the Header field.

func (*RuleCondition) SetHeaderExists

func (o *RuleCondition) SetHeaderExists(v ConditionHeaderExistsCondition)

SetHeaderExists gets a reference to the given ConditionHeaderExistsCondition and assigns it to the HeaderExists field.

func (*RuleCondition) SetHttpMethod

func (o *RuleCondition) SetHttpMethod(v ConditionHttpMethodCondition)

SetHttpMethod gets a reference to the given ConditionHttpMethodCondition and assigns it to the HttpMethod field.

func (*RuleCondition) SetIp

func (o *RuleCondition) SetIp(v ConditionIpCondition)

SetIp gets a reference to the given ConditionIpCondition and assigns it to the Ip field.

func (*RuleCondition) SetIpRange

func (o *RuleCondition) SetIpRange(v ConditionIpRangeCondition)

SetIpRange gets a reference to the given ConditionIpRangeCondition and assigns it to the IpRange field.

func (*RuleCondition) SetNegation

func (o *RuleCondition) SetNegation(v bool)

SetNegation gets a reference to the given bool and assigns it to the Negation field.

func (*RuleCondition) SetOrganization

func (o *RuleCondition) SetOrganization(v ConditionOrganizationCondition)

SetOrganization gets a reference to the given ConditionOrganizationCondition and assigns it to the Organization field.

func (*RuleCondition) SetOwnerTypes

func (o *RuleCondition) SetOwnerTypes(v ConditionOwnerTypeCondition)

SetOwnerTypes gets a reference to the given ConditionOwnerTypeCondition and assigns it to the OwnerTypes field.

func (*RuleCondition) SetRequestRate

func (o *RuleCondition) SetRequestRate(v ConditionRequestRateCondition)

SetRequestRate gets a reference to the given ConditionRequestRateCondition and assigns it to the RequestRate field.

func (*RuleCondition) SetResponseHeader

func (o *RuleCondition) SetResponseHeader(v ConditionResponseHeaderCondition)

SetResponseHeader gets a reference to the given ConditionResponseHeaderCondition and assigns it to the ResponseHeader field.

func (*RuleCondition) SetResponseHeaderExists

func (o *RuleCondition) SetResponseHeaderExists(v ConditionResponseHeaderExistsCondition)

SetResponseHeaderExists gets a reference to the given ConditionResponseHeaderExistsCondition and assigns it to the ResponseHeaderExists field.

func (*RuleCondition) SetSessionRequestCount

func (o *RuleCondition) SetSessionRequestCount(v ConditionSessionRequestCountCondition)

SetSessionRequestCount gets a reference to the given ConditionSessionRequestCountCondition and assigns it to the SessionRequestCount field.

func (*RuleCondition) SetTags

func (o *RuleCondition) SetTags(v ConditionTagCondition)

SetTags gets a reference to the given ConditionTagCondition and assigns it to the Tags field.

func (*RuleCondition) SetUrl

func (o *RuleCondition) SetUrl(v ConditionUrlCondition)

SetUrl gets a reference to the given ConditionUrlCondition and assigns it to the Url field.

func (*RuleCondition) SetUserAgent

func (o *RuleCondition) SetUserAgent(v ConditionUserAgentCondition)

SetUserAgent gets a reference to the given ConditionUserAgentCondition and assigns it to the UserAgent field.

type RuleStatusCode

type RuleStatusCode string

RuleStatusCode A custom HTTP status code that the WAF returns if a rule blocks a request

const (
	RULESTATUSCODE_FORBIDDEN_403         RuleStatusCode = "FORBIDDEN_403"
	RULESTATUSCODE_TOO_MANY_REQUESTS_429 RuleStatusCode = "TOO_MANY_REQUESTS_429"
)

List of RuleStatusCode

func (RuleStatusCode) Ptr

func (v RuleStatusCode) Ptr() *RuleStatusCode

Ptr returns reference to RuleStatusCode value

type RulesApiService

type RulesApiService service

RulesApiService RulesApi service

func (*RulesApiService) BulkDeleteRules

func (a *RulesApiService) BulkDeleteRules(ctx _context.Context, stackId string, siteId string) apiBulkDeleteRulesRequest

BulkDeleteRules Delete multiple rules

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiBulkDeleteRulesRequest

func (*RulesApiService) CreateRule

func (a *RulesApiService) CreateRule(ctx _context.Context, stackId string, siteId string) apiCreateRuleRequest

CreateRule Create a rule

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiCreateRuleRequest

func (*RulesApiService) DeleteRule

func (a *RulesApiService) DeleteRule(ctx _context.Context, stackId string, siteId string, ruleId string) apiDeleteRuleRequest

DeleteRule Delete a rule

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param ruleId A WAF rule ID

@return apiDeleteRuleRequest

func (*RulesApiService) DisableRule

func (a *RulesApiService) DisableRule(ctx _context.Context, stackId string, siteId string, ruleId string) apiDisableRuleRequest

DisableRule Disable a rule

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param ruleId A WAF rule ID

@return apiDisableRuleRequest

func (*RulesApiService) EnableRule

func (a *RulesApiService) EnableRule(ctx _context.Context, stackId string, siteId string, ruleId string) apiEnableRuleRequest

EnableRule Enable a rule

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param ruleId A WAF rule ID

@return apiEnableRuleRequest

func (*RulesApiService) GetRule

func (a *RulesApiService) GetRule(ctx _context.Context, stackId string, siteId string, ruleId string) apiGetRuleRequest

GetRule Get a rule

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param ruleId A WAF rule ID

@return apiGetRuleRequest

func (*RulesApiService) GetRules

func (a *RulesApiService) GetRules(ctx _context.Context, stackId string, siteId string) apiGetRulesRequest

GetRules Get all rules

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetRulesRequest

func (*RulesApiService) UpdateRule

func (a *RulesApiService) UpdateRule(ctx _context.Context, stackId string, siteId string, ruleId string) apiUpdateRuleRequest

UpdateRule Update a rule Only properties present in the request will be updated.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param ruleId A WAF rule ID

@return apiUpdateRuleRequest

type SSLApiService

type SSLApiService service

SSLApiService SSLApi service

func (*SSLApiService) ConnectSiteToCertificate

func (a *SSLApiService) ConnectSiteToCertificate(ctx _context.Context, stackId string, siteId string, certificateId string) apiConnectSiteToCertificateRequest

ConnectSiteToCertificate Update SAN hosts Association is performed without validating if the site has a hostname covered by the certificate. This is useful for preparation work required for getting a site ready for traffic.

If a certificate is uploaded which contains hostnames for sites, it will automatically be connected to those sites. If a hostname is added to a site which is covered by an SSL certificate, it will automatically be connected to the certificate.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID
  • @param certificateId A certificate ID

@return apiConnectSiteToCertificateRequest

func (*SSLApiService) CreateCertificate

func (a *SSLApiService) CreateCertificate(ctx _context.Context, stackId string) apiCreateCertificateRequest

CreateCertificate Add a certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiCreateCertificateRequest

func (*SSLApiService) DeleteCertificate

func (a *SSLApiService) DeleteCertificate(ctx _context.Context, stackId string, certificateId string) apiDeleteCertificateRequest

DeleteCertificate Delete a certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param certificateId A certificate ID

@return apiDeleteCertificateRequest

func (*SSLApiService) GetCertificate

func (a *SSLApiService) GetCertificate(ctx _context.Context, stackId string, certificateId string) apiGetCertificateRequest

GetCertificate Get a certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param certificateId A certificate ID

@return apiGetCertificateRequest

func (*SSLApiService) GetCertificateVerificationDetails

func (a *SSLApiService) GetCertificateVerificationDetails(ctx _context.Context, stackId string, certificateId string) apiGetCertificateVerificationDetailsRequest

GetCertificateVerificationDetails Get sites associated with a certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param certificateId A certificate ID

@return apiGetCertificateVerificationDetailsRequest

func (*SSLApiService) GetCertificates

func (a *SSLApiService) GetCertificates(ctx _context.Context, stackId string) apiGetCertificatesRequest

GetCertificates Get all certificates

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetCertificatesRequest

func (*SSLApiService) GetSiteCertificates

func (a *SSLApiService) GetSiteCertificates(ctx _context.Context, stackId string, siteId string) apiGetSiteCertificatesRequest

GetSiteCertificates Get all site certificates

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetSiteCertificatesRequest

func (*SSLApiService) RenewCertificate

func (a *SSLApiService) RenewCertificate(ctx _context.Context, stackId string, certificateId string) apiRenewCertificateRequest

RenewCertificate Renew a certificate StackPath automatically renews certificates that are 30 days from expiration. Call this to retry a renewal that previously failed.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param certificateId A certificate ID

@return apiRenewCertificateRequest

func (*SSLApiService) RequestCertificate

func (a *SSLApiService) RequestCertificate(ctx _context.Context, stackId string, siteId string) apiRequestCertificateRequest

RequestCertificate Request a free certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiRequestCertificateRequest

func (*SSLApiService) UpdateCertificate

func (a *SSLApiService) UpdateCertificate(ctx _context.Context, stackId string, certificateId string) apiUpdateCertificateRequest

UpdateCertificate Update a certificate

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param certificateId A certificate ID

@return apiUpdateCertificateRequest

type SchemawafOrigin

type SchemawafOrigin struct {
	// An origin's path
	Path *string `json:"path,omitempty"`
	// An origin's fully-qualified domain name
	Hostname *string `json:"hostname,omitempty"`
	// The http port to connect to the origin
	Port *int32 `json:"port,omitempty"`
	// The https port to connect to the origin
	SecurePort *int32 `json:"securePort,omitempty"`
}

SchemawafOrigin A WAF site's origin

func NewSchemawafOrigin

func NewSchemawafOrigin() *SchemawafOrigin

NewSchemawafOrigin instantiates a new SchemawafOrigin 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 NewSchemawafOriginWithDefaults

func NewSchemawafOriginWithDefaults() *SchemawafOrigin

NewSchemawafOriginWithDefaults instantiates a new SchemawafOrigin 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 (*SchemawafOrigin) GetHostname

func (o *SchemawafOrigin) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SchemawafOrigin) GetHostnameOk

func (o *SchemawafOrigin) GetHostnameOk() (*string, bool)

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

func (*SchemawafOrigin) GetPath

func (o *SchemawafOrigin) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*SchemawafOrigin) GetPathOk

func (o *SchemawafOrigin) GetPathOk() (*string, bool)

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

func (*SchemawafOrigin) GetPort

func (o *SchemawafOrigin) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*SchemawafOrigin) GetPortOk

func (o *SchemawafOrigin) GetPortOk() (*int32, bool)

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

func (*SchemawafOrigin) GetSecurePort

func (o *SchemawafOrigin) GetSecurePort() int32

GetSecurePort returns the SecurePort field value if set, zero value otherwise.

func (*SchemawafOrigin) GetSecurePortOk

func (o *SchemawafOrigin) GetSecurePortOk() (*int32, bool)

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

func (*SchemawafOrigin) HasHostname

func (o *SchemawafOrigin) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*SchemawafOrigin) HasPath

func (o *SchemawafOrigin) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*SchemawafOrigin) HasPort

func (o *SchemawafOrigin) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*SchemawafOrigin) HasSecurePort

func (o *SchemawafOrigin) HasSecurePort() bool

HasSecurePort returns a boolean if a field has been set.

func (SchemawafOrigin) MarshalJSON

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

func (*SchemawafOrigin) SetHostname

func (o *SchemawafOrigin) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SchemawafOrigin) SetPath

func (o *SchemawafOrigin) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*SchemawafOrigin) SetPort

func (o *SchemawafOrigin) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*SchemawafOrigin) SetSecurePort

func (o *SchemawafOrigin) SetSecurePort(v int32)

SetSecurePort gets a reference to the given int32 and assigns it to the SecurePort field.

type SchemawafPolicy

type SchemawafPolicy struct {
	// A WAF policy's unique identifier
	Id *string `json:"id,omitempty"`
	// A WAF policy's name
	Name *string `json:"name,omitempty"`
	// A WAF policy's description
	Description *string          `json:"description,omitempty"`
	Action      *WafPolicyAction `json:"action,omitempty"`
	// Whether or not a WAF policy is enabled
	Enabled *bool `json:"enabled,omitempty"`
}

SchemawafPolicy An individually toggleable WAF policy Policies are pre-defined WAF rules created by StackPath for common firewall functionality.

func NewSchemawafPolicy

func NewSchemawafPolicy() *SchemawafPolicy

NewSchemawafPolicy instantiates a new SchemawafPolicy 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 NewSchemawafPolicyWithDefaults

func NewSchemawafPolicyWithDefaults() *SchemawafPolicy

NewSchemawafPolicyWithDefaults instantiates a new SchemawafPolicy 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 (*SchemawafPolicy) GetAction

func (o *SchemawafPolicy) GetAction() WafPolicyAction

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

func (*SchemawafPolicy) GetActionOk

func (o *SchemawafPolicy) GetActionOk() (*WafPolicyAction, bool)

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

func (*SchemawafPolicy) GetDescription

func (o *SchemawafPolicy) GetDescription() string

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

func (*SchemawafPolicy) GetDescriptionOk

func (o *SchemawafPolicy) GetDescriptionOk() (*string, bool)

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

func (*SchemawafPolicy) GetEnabled

func (o *SchemawafPolicy) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*SchemawafPolicy) GetEnabledOk

func (o *SchemawafPolicy) GetEnabledOk() (*bool, bool)

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

func (*SchemawafPolicy) GetId

func (o *SchemawafPolicy) GetId() string

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

func (*SchemawafPolicy) GetIdOk

func (o *SchemawafPolicy) GetIdOk() (*string, 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 (*SchemawafPolicy) GetName

func (o *SchemawafPolicy) GetName() string

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

func (*SchemawafPolicy) GetNameOk

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

func (o *SchemawafPolicy) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SchemawafPolicy) HasDescription

func (o *SchemawafPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SchemawafPolicy) HasEnabled

func (o *SchemawafPolicy) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*SchemawafPolicy) HasId

func (o *SchemawafPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*SchemawafPolicy) HasName

func (o *SchemawafPolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (SchemawafPolicy) MarshalJSON

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

func (*SchemawafPolicy) SetAction

func (o *SchemawafPolicy) SetAction(v WafPolicyAction)

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

func (*SchemawafPolicy) SetDescription

func (o *SchemawafPolicy) SetDescription(v string)

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

func (*SchemawafPolicy) SetEnabled

func (o *SchemawafPolicy) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*SchemawafPolicy) SetId

func (o *SchemawafPolicy) SetId(v string)

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

func (*SchemawafPolicy) SetName

func (o *SchemawafPolicy) SetName(v string)

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

type SchemawafRequest

type SchemawafRequest struct {
	// A request's unique identifier
	Id *string `json:"id,omitempty"`
	// The path of the requested URL
	Path *string `json:"path,omitempty"`
	// The originating IP address
	ClientIp *string        `json:"clientIp,omitempty"`
	Method   *WafHttpMethod `json:"method,omitempty"`
	// The name of the WAF rule triggered by the request
	RuleName *string `json:"ruleName,omitempty"`
	// The ISO 3166-1 alpha-2 code of the country where the request originated from
	Country *string           `json:"country,omitempty"`
	Action  *WafRequestAction `json:"action,omitempty"`
	// The unique ID of the WAF rule that triggered the action against the request
	RuleId *string `json:"ruleId,omitempty"`
	// The full user agent string for the request
	UserAgent *string `json:"userAgent,omitempty"`
	// The name of the requesting client, typically the name of the requesting web browser
	UserAgentClient *string `json:"userAgentClient,omitempty"`
	// The organization that owns the request's originating IP address according to a WHOIS lookup
	Organization *string `json:"organization,omitempty"`
	// When the request occurred
	RequestTime *time.Time `json:"requestTime,omitempty"`
	// The request's user-facing identifier  Reference IDs are displayed to the end user when the WAF blocks a request to a site. Please note that a request's ID and reference ID are different.
	ReferenceId *string `json:"referenceId,omitempty"`
}

SchemawafRequest struct for SchemawafRequest

func NewSchemawafRequest

func NewSchemawafRequest() *SchemawafRequest

NewSchemawafRequest instantiates a new SchemawafRequest 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 NewSchemawafRequestWithDefaults

func NewSchemawafRequestWithDefaults() *SchemawafRequest

NewSchemawafRequestWithDefaults instantiates a new SchemawafRequest 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 (*SchemawafRequest) GetAction

func (o *SchemawafRequest) GetAction() WafRequestAction

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

func (*SchemawafRequest) GetActionOk

func (o *SchemawafRequest) GetActionOk() (*WafRequestAction, bool)

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

func (*SchemawafRequest) GetClientIp

func (o *SchemawafRequest) GetClientIp() string

GetClientIp returns the ClientIp field value if set, zero value otherwise.

func (*SchemawafRequest) GetClientIpOk

func (o *SchemawafRequest) GetClientIpOk() (*string, bool)

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

func (*SchemawafRequest) GetCountry

func (o *SchemawafRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*SchemawafRequest) GetCountryOk

func (o *SchemawafRequest) GetCountryOk() (*string, bool)

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

func (*SchemawafRequest) GetId

func (o *SchemawafRequest) GetId() string

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

func (*SchemawafRequest) GetIdOk

func (o *SchemawafRequest) GetIdOk() (*string, 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 (*SchemawafRequest) GetMethod

func (o *SchemawafRequest) GetMethod() WafHttpMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SchemawafRequest) GetMethodOk

func (o *SchemawafRequest) GetMethodOk() (*WafHttpMethod, bool)

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

func (*SchemawafRequest) GetOrganization

func (o *SchemawafRequest) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*SchemawafRequest) GetOrganizationOk

func (o *SchemawafRequest) GetOrganizationOk() (*string, bool)

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

func (*SchemawafRequest) GetPath

func (o *SchemawafRequest) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*SchemawafRequest) GetPathOk

func (o *SchemawafRequest) GetPathOk() (*string, bool)

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

func (*SchemawafRequest) GetReferenceId

func (o *SchemawafRequest) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*SchemawafRequest) GetReferenceIdOk

func (o *SchemawafRequest) GetReferenceIdOk() (*string, bool)

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

func (*SchemawafRequest) GetRequestTime

func (o *SchemawafRequest) GetRequestTime() time.Time

GetRequestTime returns the RequestTime field value if set, zero value otherwise.

func (*SchemawafRequest) GetRequestTimeOk

func (o *SchemawafRequest) GetRequestTimeOk() (*time.Time, bool)

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

func (*SchemawafRequest) GetRuleId

func (o *SchemawafRequest) GetRuleId() string

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*SchemawafRequest) GetRuleIdOk

func (o *SchemawafRequest) GetRuleIdOk() (*string, 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 (*SchemawafRequest) GetRuleName

func (o *SchemawafRequest) GetRuleName() string

GetRuleName returns the RuleName field value if set, zero value otherwise.

func (*SchemawafRequest) GetRuleNameOk

func (o *SchemawafRequest) GetRuleNameOk() (*string, bool)

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

func (*SchemawafRequest) GetUserAgent

func (o *SchemawafRequest) GetUserAgent() string

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SchemawafRequest) GetUserAgentClient

func (o *SchemawafRequest) GetUserAgentClient() string

GetUserAgentClient returns the UserAgentClient field value if set, zero value otherwise.

func (*SchemawafRequest) GetUserAgentClientOk

func (o *SchemawafRequest) GetUserAgentClientOk() (*string, bool)

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

func (*SchemawafRequest) GetUserAgentOk

func (o *SchemawafRequest) GetUserAgentOk() (*string, bool)

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

func (*SchemawafRequest) HasAction

func (o *SchemawafRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*SchemawafRequest) HasClientIp

func (o *SchemawafRequest) HasClientIp() bool

HasClientIp returns a boolean if a field has been set.

func (*SchemawafRequest) HasCountry

func (o *SchemawafRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*SchemawafRequest) HasId

func (o *SchemawafRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*SchemawafRequest) HasMethod

func (o *SchemawafRequest) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*SchemawafRequest) HasOrganization

func (o *SchemawafRequest) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*SchemawafRequest) HasPath

func (o *SchemawafRequest) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*SchemawafRequest) HasReferenceId

func (o *SchemawafRequest) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*SchemawafRequest) HasRequestTime

func (o *SchemawafRequest) HasRequestTime() bool

HasRequestTime returns a boolean if a field has been set.

func (*SchemawafRequest) HasRuleId

func (o *SchemawafRequest) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*SchemawafRequest) HasRuleName

func (o *SchemawafRequest) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

func (*SchemawafRequest) HasUserAgent

func (o *SchemawafRequest) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (*SchemawafRequest) HasUserAgentClient

func (o *SchemawafRequest) HasUserAgentClient() bool

HasUserAgentClient returns a boolean if a field has been set.

func (SchemawafRequest) MarshalJSON

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

func (*SchemawafRequest) SetAction

func (o *SchemawafRequest) SetAction(v WafRequestAction)

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

func (*SchemawafRequest) SetClientIp

func (o *SchemawafRequest) SetClientIp(v string)

SetClientIp gets a reference to the given string and assigns it to the ClientIp field.

func (*SchemawafRequest) SetCountry

func (o *SchemawafRequest) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*SchemawafRequest) SetId

func (o *SchemawafRequest) SetId(v string)

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

func (*SchemawafRequest) SetMethod

func (o *SchemawafRequest) SetMethod(v WafHttpMethod)

SetMethod gets a reference to the given WafHttpMethod and assigns it to the Method field.

func (*SchemawafRequest) SetOrganization

func (o *SchemawafRequest) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*SchemawafRequest) SetPath

func (o *SchemawafRequest) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*SchemawafRequest) SetReferenceId

func (o *SchemawafRequest) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*SchemawafRequest) SetRequestTime

func (o *SchemawafRequest) SetRequestTime(v time.Time)

SetRequestTime gets a reference to the given time.Time and assigns it to the RequestTime field.

func (*SchemawafRequest) SetRuleId

func (o *SchemawafRequest) SetRuleId(v string)

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*SchemawafRequest) SetRuleName

func (o *SchemawafRequest) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

func (*SchemawafRequest) SetUserAgent

func (o *SchemawafRequest) SetUserAgent(v string)

SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.

func (*SchemawafRequest) SetUserAgentClient

func (o *SchemawafRequest) SetUserAgentClient(v string)

SetUserAgentClient gets a reference to the given string and assigns it to the UserAgentClient field.

type SearchFilterActionFilter

type SearchFilterActionFilter string

SearchFilterActionFilter Potential actions the WAF took on an event

const (
	SEARCHFILTERACTIONFILTER_ANY_ACTION       SearchFilterActionFilter = "ANY_ACTION"
	SEARCHFILTERACTIONFILTER_BLOCK_ACTION     SearchFilterActionFilter = "BLOCK_ACTION"
	SEARCHFILTERACTIONFILTER_ALLOW_ACTION     SearchFilterActionFilter = "ALLOW_ACTION"
	SEARCHFILTERACTIONFILTER_CAPTCHA_ACTION   SearchFilterActionFilter = "CAPTCHA_ACTION"
	SEARCHFILTERACTIONFILTER_HANDSHAKE_ACTION SearchFilterActionFilter = "HANDSHAKE_ACTION"
	SEARCHFILTERACTIONFILTER_MONITOR_ACTION   SearchFilterActionFilter = "MONITOR_ACTION"
)

List of SearchFilterActionFilter

func (SearchFilterActionFilter) Ptr

Ptr returns reference to SearchFilterActionFilter value

type SearchFilterResultFilter

type SearchFilterResultFilter string

SearchFilterResultFilter Potential final results the WAF took on the event A result reflects the end result of an event. For instance, if a user was first challenged with a captcha and then passed or failed the captcha.

const (
	SEARCHFILTERRESULTFILTER_ANY_RESULT       SearchFilterResultFilter = "ANY_RESULT"
	SEARCHFILTERRESULTFILTER_BLOCKED_RESULT   SearchFilterResultFilter = "BLOCKED_RESULT"
	SEARCHFILTERRESULTFILTER_ALLOWED_RESULT   SearchFilterResultFilter = "ALLOWED_RESULT"
	SEARCHFILTERRESULTFILTER_MONITORED_RESULT SearchFilterResultFilter = "MONITORED_RESULT"
)

List of SearchFilterResultFilter

func (SearchFilterResultFilter) Ptr

Ptr returns reference to SearchFilterResultFilter value

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SiteAttachMode

type SiteAttachMode string

SiteAttachMode How a WAF site relates to other StackPath site features - STANDALONE: This WAF site does not have a corresponding caching CDN site - ATTACHED: This WAF site represents the protection capabilities of a CDN site

const (
	SITEATTACHMODE_STANDALONE SiteAttachMode = "STANDALONE"
	SITEATTACHMODE_ATTACHED   SiteAttachMode = "ATTACHED"
)

List of SiteAttachMode

func (SiteAttachMode) Ptr

func (v SiteAttachMode) Ptr() *SiteAttachMode

Ptr returns reference to SiteAttachMode value

type StackpathRpcBadRequest

type StackpathRpcBadRequest struct {
	ApiStatusDetail
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequest struct for StackpathRpcBadRequest

func NewStackpathRpcBadRequest

func NewStackpathRpcBadRequest() *StackpathRpcBadRequest

NewStackpathRpcBadRequest instantiates a new StackpathRpcBadRequest 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 NewStackpathRpcBadRequestWithDefaults

func NewStackpathRpcBadRequestWithDefaults() *StackpathRpcBadRequest

NewStackpathRpcBadRequestWithDefaults instantiates a new StackpathRpcBadRequest 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 (*StackpathRpcBadRequest) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequest) GetFieldViolationsOk

func (o *StackpathRpcBadRequest) GetFieldViolationsOk() (*[]StackpathRpcBadRequestFieldViolation, bool)

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

func (*StackpathRpcBadRequest) HasFieldViolations

func (o *StackpathRpcBadRequest) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequest) MarshalJSON

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

func (*StackpathRpcBadRequest) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestAllOf

type StackpathRpcBadRequestAllOf struct {
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequestAllOf struct for StackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf() *StackpathRpcBadRequestAllOf

NewStackpathRpcBadRequestAllOf instantiates a new StackpathRpcBadRequestAllOf 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 NewStackpathRpcBadRequestAllOfWithDefaults

func NewStackpathRpcBadRequestAllOfWithDefaults() *StackpathRpcBadRequestAllOf

NewStackpathRpcBadRequestAllOfWithDefaults instantiates a new StackpathRpcBadRequestAllOf 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 (*StackpathRpcBadRequestAllOf) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequestAllOf) GetFieldViolationsOk

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

func (*StackpathRpcBadRequestAllOf) HasFieldViolations

func (o *StackpathRpcBadRequestAllOf) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequestAllOf) MarshalJSON

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

func (*StackpathRpcBadRequestAllOf) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestFieldViolation

type StackpathRpcBadRequestFieldViolation struct {
	Field       *string `json:"field,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcBadRequestFieldViolation struct for StackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation() *StackpathRpcBadRequestFieldViolation

NewStackpathRpcBadRequestFieldViolation instantiates a new StackpathRpcBadRequestFieldViolation 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 NewStackpathRpcBadRequestFieldViolationWithDefaults

func NewStackpathRpcBadRequestFieldViolationWithDefaults() *StackpathRpcBadRequestFieldViolation

NewStackpathRpcBadRequestFieldViolationWithDefaults instantiates a new StackpathRpcBadRequestFieldViolation 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 (*StackpathRpcBadRequestFieldViolation) GetDescription

func (o *StackpathRpcBadRequestFieldViolation) GetDescription() string

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

func (*StackpathRpcBadRequestFieldViolation) GetDescriptionOk

func (o *StackpathRpcBadRequestFieldViolation) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcBadRequestFieldViolation) GetField

GetField returns the Field field value if set, zero value otherwise.

func (*StackpathRpcBadRequestFieldViolation) GetFieldOk

func (o *StackpathRpcBadRequestFieldViolation) GetFieldOk() (*string, bool)

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

func (*StackpathRpcBadRequestFieldViolation) HasDescription

func (o *StackpathRpcBadRequestFieldViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcBadRequestFieldViolation) HasField

HasField returns a boolean if a field has been set.

func (StackpathRpcBadRequestFieldViolation) MarshalJSON

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

func (*StackpathRpcBadRequestFieldViolation) SetDescription

func (o *StackpathRpcBadRequestFieldViolation) SetDescription(v string)

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

func (*StackpathRpcBadRequestFieldViolation) SetField

SetField gets a reference to the given string and assigns it to the Field field.

type StackpathRpcHelp

type StackpathRpcHelp struct {
	ApiStatusDetail
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelp struct for StackpathRpcHelp

func NewStackpathRpcHelp

func NewStackpathRpcHelp() *StackpathRpcHelp

NewStackpathRpcHelp instantiates a new StackpathRpcHelp 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 NewStackpathRpcHelpWithDefaults

func NewStackpathRpcHelpWithDefaults() *StackpathRpcHelp

NewStackpathRpcHelpWithDefaults instantiates a new StackpathRpcHelp 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 (o *StackpathRpcHelp) GetLinks() []StackpathRpcHelpLink

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelp) GetLinksOk

func (o *StackpathRpcHelp) GetLinksOk() (*[]StackpathRpcHelpLink, 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 (o *StackpathRpcHelp) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelp) MarshalJSON

func (o StackpathRpcHelp) MarshalJSON() ([]byte, error)
func (o *StackpathRpcHelp) SetLinks(v []StackpathRpcHelpLink)

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpAllOf

type StackpathRpcHelpAllOf struct {
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelpAllOf struct for StackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf() *StackpathRpcHelpAllOf

NewStackpathRpcHelpAllOf instantiates a new StackpathRpcHelpAllOf 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 NewStackpathRpcHelpAllOfWithDefaults

func NewStackpathRpcHelpAllOfWithDefaults() *StackpathRpcHelpAllOf

NewStackpathRpcHelpAllOfWithDefaults instantiates a new StackpathRpcHelpAllOf 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

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelpAllOf) GetLinksOk

func (o *StackpathRpcHelpAllOf) GetLinksOk() (*[]StackpathRpcHelpLink, 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 (o *StackpathRpcHelpAllOf) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelpAllOf) MarshalJSON

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

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpLink struct {
	Description *string `json:"description,omitempty"`
	Url         *string `json:"url,omitempty"`
}

StackpathRpcHelpLink struct for StackpathRpcHelpLink

func NewStackpathRpcHelpLink() *StackpathRpcHelpLink

NewStackpathRpcHelpLink instantiates a new StackpathRpcHelpLink 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 NewStackpathRpcHelpLinkWithDefaults

func NewStackpathRpcHelpLinkWithDefaults() *StackpathRpcHelpLink

NewStackpathRpcHelpLinkWithDefaults instantiates a new StackpathRpcHelpLink 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 (*StackpathRpcHelpLink) GetDescription

func (o *StackpathRpcHelpLink) GetDescription() string

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

func (*StackpathRpcHelpLink) GetDescriptionOk

func (o *StackpathRpcHelpLink) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcHelpLink) GetUrl

func (o *StackpathRpcHelpLink) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*StackpathRpcHelpLink) GetUrlOk

func (o *StackpathRpcHelpLink) GetUrlOk() (*string, bool)

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

func (*StackpathRpcHelpLink) HasDescription

func (o *StackpathRpcHelpLink) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcHelpLink) HasUrl

func (o *StackpathRpcHelpLink) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (StackpathRpcHelpLink) MarshalJSON

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

func (*StackpathRpcHelpLink) SetDescription

func (o *StackpathRpcHelpLink) SetDescription(v string)

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

func (*StackpathRpcHelpLink) SetUrl

func (o *StackpathRpcHelpLink) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type StackpathRpcLocalizedMessage

type StackpathRpcLocalizedMessage struct {
	ApiStatusDetail
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessage struct for StackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage() *StackpathRpcLocalizedMessage

NewStackpathRpcLocalizedMessage instantiates a new StackpathRpcLocalizedMessage 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 NewStackpathRpcLocalizedMessageWithDefaults

func NewStackpathRpcLocalizedMessageWithDefaults() *StackpathRpcLocalizedMessage

NewStackpathRpcLocalizedMessageWithDefaults instantiates a new StackpathRpcLocalizedMessage 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 (*StackpathRpcLocalizedMessage) GetLocale

func (o *StackpathRpcLocalizedMessage) GetLocale() string

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetLocaleOk

func (o *StackpathRpcLocalizedMessage) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessage) GetMessage

func (o *StackpathRpcLocalizedMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetMessageOk

func (o *StackpathRpcLocalizedMessage) GetMessageOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessage) HasLocale

func (o *StackpathRpcLocalizedMessage) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessage) HasMessage

func (o *StackpathRpcLocalizedMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessage) MarshalJSON

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

func (*StackpathRpcLocalizedMessage) SetLocale

func (o *StackpathRpcLocalizedMessage) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessage) SetMessage

func (o *StackpathRpcLocalizedMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcLocalizedMessageAllOf

type StackpathRpcLocalizedMessageAllOf struct {
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessageAllOf struct for StackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf() *StackpathRpcLocalizedMessageAllOf

NewStackpathRpcLocalizedMessageAllOf instantiates a new StackpathRpcLocalizedMessageAllOf 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 NewStackpathRpcLocalizedMessageAllOfWithDefaults

func NewStackpathRpcLocalizedMessageAllOfWithDefaults() *StackpathRpcLocalizedMessageAllOf

NewStackpathRpcLocalizedMessageAllOfWithDefaults instantiates a new StackpathRpcLocalizedMessageAllOf 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 (*StackpathRpcLocalizedMessageAllOf) GetLocale

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetLocaleOk

func (o *StackpathRpcLocalizedMessageAllOf) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessageAllOf) GetMessage

func (o *StackpathRpcLocalizedMessageAllOf) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetMessageOk

func (o *StackpathRpcLocalizedMessageAllOf) GetMessageOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessageAllOf) HasLocale

func (o *StackpathRpcLocalizedMessageAllOf) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessageAllOf) HasMessage

func (o *StackpathRpcLocalizedMessageAllOf) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessageAllOf) MarshalJSON

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

func (*StackpathRpcLocalizedMessageAllOf) SetLocale

func (o *StackpathRpcLocalizedMessageAllOf) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessageAllOf) SetMessage

func (o *StackpathRpcLocalizedMessageAllOf) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcPreconditionFailure

type StackpathRpcPreconditionFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailure struct for StackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure() *StackpathRpcPreconditionFailure

NewStackpathRpcPreconditionFailure instantiates a new StackpathRpcPreconditionFailure 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 NewStackpathRpcPreconditionFailureWithDefaults

func NewStackpathRpcPreconditionFailureWithDefaults() *StackpathRpcPreconditionFailure

NewStackpathRpcPreconditionFailureWithDefaults instantiates a new StackpathRpcPreconditionFailure 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 (*StackpathRpcPreconditionFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailure) GetViolationsOk

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

func (*StackpathRpcPreconditionFailure) HasViolations

func (o *StackpathRpcPreconditionFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailure) MarshalJSON

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

func (*StackpathRpcPreconditionFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureAllOf

type StackpathRpcPreconditionFailureAllOf struct {
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailureAllOf struct for StackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf() *StackpathRpcPreconditionFailureAllOf

NewStackpathRpcPreconditionFailureAllOf instantiates a new StackpathRpcPreconditionFailureAllOf 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 NewStackpathRpcPreconditionFailureAllOfWithDefaults

func NewStackpathRpcPreconditionFailureAllOfWithDefaults() *StackpathRpcPreconditionFailureAllOf

NewStackpathRpcPreconditionFailureAllOfWithDefaults instantiates a new StackpathRpcPreconditionFailureAllOf 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 (*StackpathRpcPreconditionFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureAllOf) GetViolationsOk

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

func (*StackpathRpcPreconditionFailureAllOf) HasViolations

func (o *StackpathRpcPreconditionFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureAllOf) MarshalJSON

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

func (*StackpathRpcPreconditionFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureViolation

type StackpathRpcPreconditionFailureViolation struct {
	Type        *string `json:"type,omitempty"`
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcPreconditionFailureViolation struct for StackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation() *StackpathRpcPreconditionFailureViolation

NewStackpathRpcPreconditionFailureViolation instantiates a new StackpathRpcPreconditionFailureViolation 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 NewStackpathRpcPreconditionFailureViolationWithDefaults

func NewStackpathRpcPreconditionFailureViolationWithDefaults() *StackpathRpcPreconditionFailureViolation

NewStackpathRpcPreconditionFailureViolationWithDefaults instantiates a new StackpathRpcPreconditionFailureViolation 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 (*StackpathRpcPreconditionFailureViolation) GetDescription

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

func (*StackpathRpcPreconditionFailureViolation) GetDescriptionOk

func (o *StackpathRpcPreconditionFailureViolation) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcPreconditionFailureViolation) GetSubject

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureViolation) GetSubjectOk

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

func (*StackpathRpcPreconditionFailureViolation) GetType

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

func (*StackpathRpcPreconditionFailureViolation) GetTypeOk

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

func (*StackpathRpcPreconditionFailureViolation) HasDescription

func (o *StackpathRpcPreconditionFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasSubject

HasSubject returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasType

HasType returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureViolation) MarshalJSON

func (*StackpathRpcPreconditionFailureViolation) SetDescription

func (o *StackpathRpcPreconditionFailureViolation) SetDescription(v string)

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

func (*StackpathRpcPreconditionFailureViolation) SetSubject

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*StackpathRpcPreconditionFailureViolation) SetType

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

type StackpathRpcQuotaFailure

type StackpathRpcQuotaFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailure struct for StackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure() *StackpathRpcQuotaFailure

NewStackpathRpcQuotaFailure instantiates a new StackpathRpcQuotaFailure 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 NewStackpathRpcQuotaFailureWithDefaults

func NewStackpathRpcQuotaFailureWithDefaults() *StackpathRpcQuotaFailure

NewStackpathRpcQuotaFailureWithDefaults instantiates a new StackpathRpcQuotaFailure 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 (*StackpathRpcQuotaFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailure) GetViolationsOk

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

func (*StackpathRpcQuotaFailure) HasViolations

func (o *StackpathRpcQuotaFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailure) MarshalJSON

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

func (*StackpathRpcQuotaFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureAllOf

type StackpathRpcQuotaFailureAllOf struct {
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailureAllOf struct for StackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf() *StackpathRpcQuotaFailureAllOf

NewStackpathRpcQuotaFailureAllOf instantiates a new StackpathRpcQuotaFailureAllOf 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 NewStackpathRpcQuotaFailureAllOfWithDefaults

func NewStackpathRpcQuotaFailureAllOfWithDefaults() *StackpathRpcQuotaFailureAllOf

NewStackpathRpcQuotaFailureAllOfWithDefaults instantiates a new StackpathRpcQuotaFailureAllOf 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 (*StackpathRpcQuotaFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureAllOf) GetViolationsOk

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

func (*StackpathRpcQuotaFailureAllOf) HasViolations

func (o *StackpathRpcQuotaFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureAllOf) MarshalJSON

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

func (*StackpathRpcQuotaFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureViolation

type StackpathRpcQuotaFailureViolation struct {
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcQuotaFailureViolation struct for StackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation() *StackpathRpcQuotaFailureViolation

NewStackpathRpcQuotaFailureViolation instantiates a new StackpathRpcQuotaFailureViolation 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 NewStackpathRpcQuotaFailureViolationWithDefaults

func NewStackpathRpcQuotaFailureViolationWithDefaults() *StackpathRpcQuotaFailureViolation

NewStackpathRpcQuotaFailureViolationWithDefaults instantiates a new StackpathRpcQuotaFailureViolation 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 (*StackpathRpcQuotaFailureViolation) GetDescription

func (o *StackpathRpcQuotaFailureViolation) GetDescription() string

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

func (*StackpathRpcQuotaFailureViolation) GetDescriptionOk

func (o *StackpathRpcQuotaFailureViolation) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcQuotaFailureViolation) GetSubject

func (o *StackpathRpcQuotaFailureViolation) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureViolation) GetSubjectOk

func (o *StackpathRpcQuotaFailureViolation) GetSubjectOk() (*string, bool)

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

func (*StackpathRpcQuotaFailureViolation) HasDescription

func (o *StackpathRpcQuotaFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcQuotaFailureViolation) HasSubject

func (o *StackpathRpcQuotaFailureViolation) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureViolation) MarshalJSON

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

func (*StackpathRpcQuotaFailureViolation) SetDescription

func (o *StackpathRpcQuotaFailureViolation) SetDescription(v string)

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

func (*StackpathRpcQuotaFailureViolation) SetSubject

func (o *StackpathRpcQuotaFailureViolation) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type StackpathRpcRequestInfo

type StackpathRpcRequestInfo struct {
	ApiStatusDetail
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfo struct for StackpathRpcRequestInfo

func NewStackpathRpcRequestInfo

func NewStackpathRpcRequestInfo() *StackpathRpcRequestInfo

NewStackpathRpcRequestInfo instantiates a new StackpathRpcRequestInfo 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 NewStackpathRpcRequestInfoWithDefaults

func NewStackpathRpcRequestInfoWithDefaults() *StackpathRpcRequestInfo

NewStackpathRpcRequestInfoWithDefaults instantiates a new StackpathRpcRequestInfo 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 (*StackpathRpcRequestInfo) GetRequestId

func (o *StackpathRpcRequestInfo) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetRequestIdOk

func (o *StackpathRpcRequestInfo) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) GetServingData

func (o *StackpathRpcRequestInfo) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetServingDataOk

func (o *StackpathRpcRequestInfo) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) HasRequestId

func (o *StackpathRpcRequestInfo) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfo) HasServingData

func (o *StackpathRpcRequestInfo) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfo) MarshalJSON

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

func (*StackpathRpcRequestInfo) SetRequestId

func (o *StackpathRpcRequestInfo) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfo) SetServingData

func (o *StackpathRpcRequestInfo) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcRequestInfoAllOf

type StackpathRpcRequestInfoAllOf struct {
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfoAllOf struct for StackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf() *StackpathRpcRequestInfoAllOf

NewStackpathRpcRequestInfoAllOf instantiates a new StackpathRpcRequestInfoAllOf 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 NewStackpathRpcRequestInfoAllOfWithDefaults

func NewStackpathRpcRequestInfoAllOfWithDefaults() *StackpathRpcRequestInfoAllOf

NewStackpathRpcRequestInfoAllOfWithDefaults instantiates a new StackpathRpcRequestInfoAllOf 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 (*StackpathRpcRequestInfoAllOf) GetRequestId

func (o *StackpathRpcRequestInfoAllOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetRequestIdOk

func (o *StackpathRpcRequestInfoAllOf) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) GetServingData

func (o *StackpathRpcRequestInfoAllOf) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetServingDataOk

func (o *StackpathRpcRequestInfoAllOf) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) HasRequestId

func (o *StackpathRpcRequestInfoAllOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfoAllOf) HasServingData

func (o *StackpathRpcRequestInfoAllOf) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfoAllOf) MarshalJSON

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

func (*StackpathRpcRequestInfoAllOf) SetRequestId

func (o *StackpathRpcRequestInfoAllOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfoAllOf) SetServingData

func (o *StackpathRpcRequestInfoAllOf) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcResourceInfo

type StackpathRpcResourceInfo struct {
	ApiStatusDetail
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfo struct for StackpathRpcResourceInfo

func NewStackpathRpcResourceInfo

func NewStackpathRpcResourceInfo() *StackpathRpcResourceInfo

NewStackpathRpcResourceInfo instantiates a new StackpathRpcResourceInfo 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 NewStackpathRpcResourceInfoWithDefaults

func NewStackpathRpcResourceInfoWithDefaults() *StackpathRpcResourceInfo

NewStackpathRpcResourceInfoWithDefaults instantiates a new StackpathRpcResourceInfo 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 (*StackpathRpcResourceInfo) GetDescription

func (o *StackpathRpcResourceInfo) GetDescription() string

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

func (*StackpathRpcResourceInfo) GetDescriptionOk

func (o *StackpathRpcResourceInfo) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetOwner

func (o *StackpathRpcResourceInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetOwnerOk

func (o *StackpathRpcResourceInfo) GetOwnerOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetResourceName

func (o *StackpathRpcResourceInfo) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceNameOk

func (o *StackpathRpcResourceInfo) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetResourceType

func (o *StackpathRpcResourceInfo) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceTypeOk

func (o *StackpathRpcResourceInfo) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) HasDescription

func (o *StackpathRpcResourceInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasOwner

func (o *StackpathRpcResourceInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceName

func (o *StackpathRpcResourceInfo) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceType

func (o *StackpathRpcResourceInfo) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfo) MarshalJSON

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

func (*StackpathRpcResourceInfo) SetDescription

func (o *StackpathRpcResourceInfo) SetDescription(v string)

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

func (*StackpathRpcResourceInfo) SetOwner

func (o *StackpathRpcResourceInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*StackpathRpcResourceInfo) SetResourceName

func (o *StackpathRpcResourceInfo) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfo) SetResourceType

func (o *StackpathRpcResourceInfo) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcResourceInfoAllOf

type StackpathRpcResourceInfoAllOf struct {
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfoAllOf struct for StackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf() *StackpathRpcResourceInfoAllOf

NewStackpathRpcResourceInfoAllOf instantiates a new StackpathRpcResourceInfoAllOf 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 NewStackpathRpcResourceInfoAllOfWithDefaults

func NewStackpathRpcResourceInfoAllOfWithDefaults() *StackpathRpcResourceInfoAllOf

NewStackpathRpcResourceInfoAllOfWithDefaults instantiates a new StackpathRpcResourceInfoAllOf 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 (*StackpathRpcResourceInfoAllOf) GetDescription

func (o *StackpathRpcResourceInfoAllOf) GetDescription() string

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

func (*StackpathRpcResourceInfoAllOf) GetDescriptionOk

func (o *StackpathRpcResourceInfoAllOf) GetDescriptionOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetOwner

func (o *StackpathRpcResourceInfoAllOf) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetOwnerOk

func (o *StackpathRpcResourceInfoAllOf) GetOwnerOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetResourceName

func (o *StackpathRpcResourceInfoAllOf) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceNameOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetResourceType

func (o *StackpathRpcResourceInfoAllOf) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceTypeOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) HasDescription

func (o *StackpathRpcResourceInfoAllOf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasOwner

func (o *StackpathRpcResourceInfoAllOf) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceName

func (o *StackpathRpcResourceInfoAllOf) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceType

func (o *StackpathRpcResourceInfoAllOf) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfoAllOf) MarshalJSON

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

func (*StackpathRpcResourceInfoAllOf) SetDescription

func (o *StackpathRpcResourceInfoAllOf) SetDescription(v string)

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

func (*StackpathRpcResourceInfoAllOf) SetOwner

func (o *StackpathRpcResourceInfoAllOf) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*StackpathRpcResourceInfoAllOf) SetResourceName

func (o *StackpathRpcResourceInfoAllOf) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfoAllOf) SetResourceType

func (o *StackpathRpcResourceInfoAllOf) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcRetryInfo

type StackpathRpcRetryInfo struct {
	ApiStatusDetail
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfo struct for StackpathRpcRetryInfo

func NewStackpathRpcRetryInfo

func NewStackpathRpcRetryInfo() *StackpathRpcRetryInfo

NewStackpathRpcRetryInfo instantiates a new StackpathRpcRetryInfo 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 NewStackpathRpcRetryInfoWithDefaults

func NewStackpathRpcRetryInfoWithDefaults() *StackpathRpcRetryInfo

NewStackpathRpcRetryInfoWithDefaults instantiates a new StackpathRpcRetryInfo 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 (*StackpathRpcRetryInfo) GetRetryDelay

func (o *StackpathRpcRetryInfo) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfo) GetRetryDelayOk

func (o *StackpathRpcRetryInfo) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfo) HasRetryDelay

func (o *StackpathRpcRetryInfo) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfo) MarshalJSON

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

func (*StackpathRpcRetryInfo) SetRetryDelay

func (o *StackpathRpcRetryInfo) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type StackpathRpcRetryInfoAllOf

type StackpathRpcRetryInfoAllOf struct {
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfoAllOf struct for StackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf() *StackpathRpcRetryInfoAllOf

NewStackpathRpcRetryInfoAllOf instantiates a new StackpathRpcRetryInfoAllOf 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 NewStackpathRpcRetryInfoAllOfWithDefaults

func NewStackpathRpcRetryInfoAllOfWithDefaults() *StackpathRpcRetryInfoAllOf

NewStackpathRpcRetryInfoAllOfWithDefaults instantiates a new StackpathRpcRetryInfoAllOf 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 (*StackpathRpcRetryInfoAllOf) GetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfoAllOf) GetRetryDelayOk

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfoAllOf) HasRetryDelay

func (o *StackpathRpcRetryInfoAllOf) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfoAllOf) MarshalJSON

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

func (*StackpathRpcRetryInfoAllOf) SetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type StackpathapiStatus

type StackpathapiStatus struct {
	Code    *int32             `json:"code,omitempty"`
	Message *string            `json:"message,omitempty"`
	Details *[]ApiStatusDetail `json:"details,omitempty"`
}

StackpathapiStatus struct for StackpathapiStatus

func NewStackpathapiStatus

func NewStackpathapiStatus() *StackpathapiStatus

NewStackpathapiStatus instantiates a new StackpathapiStatus 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 NewStackpathapiStatusWithDefaults

func NewStackpathapiStatusWithDefaults() *StackpathapiStatus

NewStackpathapiStatusWithDefaults instantiates a new StackpathapiStatus 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 (*StackpathapiStatus) GetCode

func (o *StackpathapiStatus) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*StackpathapiStatus) GetCodeOk

func (o *StackpathapiStatus) GetCodeOk() (*int32, bool)

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

func (*StackpathapiStatus) GetDetails

func (o *StackpathapiStatus) GetDetails() []ApiStatusDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*StackpathapiStatus) GetDetailsOk

func (o *StackpathapiStatus) GetDetailsOk() (*[]ApiStatusDetail, bool)

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

func (*StackpathapiStatus) GetMessage

func (o *StackpathapiStatus) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathapiStatus) GetMessageOk

func (o *StackpathapiStatus) GetMessageOk() (*string, bool)

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

func (*StackpathapiStatus) HasCode

func (o *StackpathapiStatus) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*StackpathapiStatus) HasDetails

func (o *StackpathapiStatus) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*StackpathapiStatus) HasMessage

func (o *StackpathapiStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathapiStatus) MarshalJSON

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

func (*StackpathapiStatus) SetCode

func (o *StackpathapiStatus) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*StackpathapiStatus) SetDetails

func (o *StackpathapiStatus) SetDetails(v []ApiStatusDetail)

SetDetails gets a reference to the given []ApiStatusDetail and assigns it to the Details field.

func (*StackpathapiStatus) SetMessage

func (o *StackpathapiStatus) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StatisticsMetrics

type StatisticsMetrics struct {
	// The \"top threats\" metric, the number of events encountered per rule
	Rules *[]MetricsRules `json:"rules,omitempty"`
	// The number of events per country of origin
	Countries *[]MetricsCountries `json:"countries,omitempty"`
	// The number of events per requesting organization, as determined by WHOIS lookup on the requesting IP
	Organizations *[]MetricsOrganizations `json:"organizations,omitempty"`
	// The number of events per action taken by the WAF
	Actions *[]MetricsActions `json:"actions,omitempty"`
}

StatisticsMetrics A collection of common event metrics for a single WAF action

func NewStatisticsMetrics

func NewStatisticsMetrics() *StatisticsMetrics

NewStatisticsMetrics instantiates a new StatisticsMetrics 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 NewStatisticsMetricsWithDefaults

func NewStatisticsMetricsWithDefaults() *StatisticsMetrics

NewStatisticsMetricsWithDefaults instantiates a new StatisticsMetrics 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 (*StatisticsMetrics) GetActions

func (o *StatisticsMetrics) GetActions() []MetricsActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*StatisticsMetrics) GetActionsOk

func (o *StatisticsMetrics) GetActionsOk() (*[]MetricsActions, bool)

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

func (*StatisticsMetrics) GetCountries

func (o *StatisticsMetrics) GetCountries() []MetricsCountries

GetCountries returns the Countries field value if set, zero value otherwise.

func (*StatisticsMetrics) GetCountriesOk

func (o *StatisticsMetrics) GetCountriesOk() (*[]MetricsCountries, bool)

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

func (*StatisticsMetrics) GetOrganizations

func (o *StatisticsMetrics) GetOrganizations() []MetricsOrganizations

GetOrganizations returns the Organizations field value if set, zero value otherwise.

func (*StatisticsMetrics) GetOrganizationsOk

func (o *StatisticsMetrics) GetOrganizationsOk() (*[]MetricsOrganizations, bool)

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

func (*StatisticsMetrics) GetRules

func (o *StatisticsMetrics) GetRules() []MetricsRules

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

func (*StatisticsMetrics) GetRulesOk

func (o *StatisticsMetrics) GetRulesOk() (*[]MetricsRules, bool)

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

func (*StatisticsMetrics) HasActions

func (o *StatisticsMetrics) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*StatisticsMetrics) HasCountries

func (o *StatisticsMetrics) HasCountries() bool

HasCountries returns a boolean if a field has been set.

func (*StatisticsMetrics) HasOrganizations

func (o *StatisticsMetrics) HasOrganizations() bool

HasOrganizations returns a boolean if a field has been set.

func (*StatisticsMetrics) HasRules

func (o *StatisticsMetrics) HasRules() bool

HasRules returns a boolean if a field has been set.

func (StatisticsMetrics) MarshalJSON

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

func (*StatisticsMetrics) SetActions

func (o *StatisticsMetrics) SetActions(v []MetricsActions)

SetActions gets a reference to the given []MetricsActions and assigns it to the Actions field.

func (*StatisticsMetrics) SetCountries

func (o *StatisticsMetrics) SetCountries(v []MetricsCountries)

SetCountries gets a reference to the given []MetricsCountries and assigns it to the Countries field.

func (*StatisticsMetrics) SetOrganizations

func (o *StatisticsMetrics) SetOrganizations(v []MetricsOrganizations)

SetOrganizations gets a reference to the given []MetricsOrganizations and assigns it to the Organizations field.

func (*StatisticsMetrics) SetRules

func (o *StatisticsMetrics) SetRules(v []MetricsRules)

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

type TrafficApiService

type TrafficApiService service

TrafficApiService TrafficApi service

func (*TrafficApiService) GetTraffic

func (a *TrafficApiService) GetTraffic(ctx _context.Context, stackId string) apiGetTrafficRequest

GetTraffic LEGACY: Get traffic Retrieve a report of a stack or site's WAF traffic.

**Note:** This endpoint is deprecated and will be removed in the future. Please use the [v2 get traffic call](ref:gettrafficv2) to retrieve WAF site traffic.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetTrafficRequest

func (*TrafficApiService) GetTrafficV2

func (a *TrafficApiService) GetTrafficV2(ctx _context.Context, stackId string) apiGetTrafficV2Request

GetTrafficV2 Get traffic Retreive a report of a stack or site's WAF traffic

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetTrafficV2Request

type TrafficPassedToOrigin

type TrafficPassedToOrigin struct {
	// The number of requests that passed all policies and rules and were sent to the origin
	LegitimateRequest *string `json:"legitimateRequest,omitempty"`
	// The number of requests allowed by whitelist
	Whitelisted *string `json:"whitelisted,omitempty"`
	// The number of requests allowed by allow search bot policies
	AllowedSearchEngine *string `json:"allowedSearchEngine,omitempty"`
	// The number of requests for static content that was not analyzed by the WAF
	StaticContent *string `json:"staticContent,omitempty"`
	// All uncategorized requests that the WAF passed to the origin
	Uncategorized *string `json:"uncategorized,omitempty"`
}

TrafficPassedToOrigin Aspects of legitimate WAF traffic

func NewTrafficPassedToOrigin

func NewTrafficPassedToOrigin() *TrafficPassedToOrigin

NewTrafficPassedToOrigin instantiates a new TrafficPassedToOrigin 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 NewTrafficPassedToOriginWithDefaults

func NewTrafficPassedToOriginWithDefaults() *TrafficPassedToOrigin

NewTrafficPassedToOriginWithDefaults instantiates a new TrafficPassedToOrigin 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 (*TrafficPassedToOrigin) GetAllowedSearchEngine

func (o *TrafficPassedToOrigin) GetAllowedSearchEngine() string

GetAllowedSearchEngine returns the AllowedSearchEngine field value if set, zero value otherwise.

func (*TrafficPassedToOrigin) GetAllowedSearchEngineOk

func (o *TrafficPassedToOrigin) GetAllowedSearchEngineOk() (*string, bool)

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

func (*TrafficPassedToOrigin) GetLegitimateRequest

func (o *TrafficPassedToOrigin) GetLegitimateRequest() string

GetLegitimateRequest returns the LegitimateRequest field value if set, zero value otherwise.

func (*TrafficPassedToOrigin) GetLegitimateRequestOk

func (o *TrafficPassedToOrigin) GetLegitimateRequestOk() (*string, bool)

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

func (*TrafficPassedToOrigin) GetStaticContent

func (o *TrafficPassedToOrigin) GetStaticContent() string

GetStaticContent returns the StaticContent field value if set, zero value otherwise.

func (*TrafficPassedToOrigin) GetStaticContentOk

func (o *TrafficPassedToOrigin) GetStaticContentOk() (*string, bool)

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

func (*TrafficPassedToOrigin) GetUncategorized

func (o *TrafficPassedToOrigin) GetUncategorized() string

GetUncategorized returns the Uncategorized field value if set, zero value otherwise.

func (*TrafficPassedToOrigin) GetUncategorizedOk

func (o *TrafficPassedToOrigin) GetUncategorizedOk() (*string, bool)

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

func (*TrafficPassedToOrigin) GetWhitelisted

func (o *TrafficPassedToOrigin) GetWhitelisted() string

GetWhitelisted returns the Whitelisted field value if set, zero value otherwise.

func (*TrafficPassedToOrigin) GetWhitelistedOk

func (o *TrafficPassedToOrigin) GetWhitelistedOk() (*string, bool)

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

func (*TrafficPassedToOrigin) HasAllowedSearchEngine

func (o *TrafficPassedToOrigin) HasAllowedSearchEngine() bool

HasAllowedSearchEngine returns a boolean if a field has been set.

func (*TrafficPassedToOrigin) HasLegitimateRequest

func (o *TrafficPassedToOrigin) HasLegitimateRequest() bool

HasLegitimateRequest returns a boolean if a field has been set.

func (*TrafficPassedToOrigin) HasStaticContent

func (o *TrafficPassedToOrigin) HasStaticContent() bool

HasStaticContent returns a boolean if a field has been set.

func (*TrafficPassedToOrigin) HasUncategorized

func (o *TrafficPassedToOrigin) HasUncategorized() bool

HasUncategorized returns a boolean if a field has been set.

func (*TrafficPassedToOrigin) HasWhitelisted

func (o *TrafficPassedToOrigin) HasWhitelisted() bool

HasWhitelisted returns a boolean if a field has been set.

func (TrafficPassedToOrigin) MarshalJSON

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

func (*TrafficPassedToOrigin) SetAllowedSearchEngine

func (o *TrafficPassedToOrigin) SetAllowedSearchEngine(v string)

SetAllowedSearchEngine gets a reference to the given string and assigns it to the AllowedSearchEngine field.

func (*TrafficPassedToOrigin) SetLegitimateRequest

func (o *TrafficPassedToOrigin) SetLegitimateRequest(v string)

SetLegitimateRequest gets a reference to the given string and assigns it to the LegitimateRequest field.

func (*TrafficPassedToOrigin) SetStaticContent

func (o *TrafficPassedToOrigin) SetStaticContent(v string)

SetStaticContent gets a reference to the given string and assigns it to the StaticContent field.

func (*TrafficPassedToOrigin) SetUncategorized

func (o *TrafficPassedToOrigin) SetUncategorized(v string)

SetUncategorized gets a reference to the given string and assigns it to the Uncategorized field.

func (*TrafficPassedToOrigin) SetWhitelisted

func (o *TrafficPassedToOrigin) SetWhitelisted(v string)

SetWhitelisted gets a reference to the given string and assigns it to the Whitelisted field.

type WAFFeaturesApiService

type WAFFeaturesApiService service

WAFFeaturesApiService WAFFeaturesApi service

func (*WAFFeaturesApiService) GetDdosSettings

func (a *WAFFeaturesApiService) GetDdosSettings(ctx _context.Context, stackId string, siteId string) apiGetDdosSettingsRequest

GetDdosSettings Get DDOS settings

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiGetDdosSettingsRequest

func (*WAFFeaturesApiService) GetTags

func (a *WAFFeaturesApiService) GetTags(ctx _context.Context) apiGetTagsRequest

GetTags Get all tags Get tags available for use in WAF rule conditons. Tags describe aspects of an incoming web request and acn be used to create complex application-level custom rules.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return apiGetTagsRequest

func (*WAFFeaturesApiService) MonitorSite

func (a *WAFFeaturesApiService) MonitorSite(ctx _context.Context, stackId string, siteId string) apiMonitorSiteRequest

MonitorSite Enable monitoring mode Sites in monitoring mode accept incoming requests and log but take no action on policy and rule violations. A sitge's WAF feature must be enabled for monitoring mode to apply. Otherwise, monitoring mode will take effect the next time the WAF feature is enabled.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiMonitorSiteRequest

func (*WAFFeaturesApiService) UnMonitorSite

func (a *WAFFeaturesApiService) UnMonitorSite(ctx _context.Context, stackId string, siteId string) apiUnMonitorSiteRequest

UnMonitorSite Disable monitoring mode Restore the WAF feature's original enabled or disabled state.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiUnMonitorSiteRequest

func (*WAFFeaturesApiService) UpdateDdosSettings

func (a *WAFFeaturesApiService) UpdateDdosSettings(ctx _context.Context, stackId string, siteId string) apiUpdateDdosSettingsRequest

UpdateDdosSettings Update DDOS settings

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiUpdateDdosSettingsRequest

func (*WAFFeaturesApiService) UpdateSiteApiUrls

func (a *WAFFeaturesApiService) UpdateSiteApiUrls(ctx _context.Context, stackId string, siteId string) apiUpdateSiteApiUrlsRequest

UpdateSiteApiUrls Update API URLs

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param siteId A site ID

@return apiUpdateSiteApiUrlsRequest

type WafBulkDeleteRulesRequest

type WafBulkDeleteRulesRequest struct {
	// The IDs of the rules to delete
	RuleIds *[]string `json:"ruleIds,omitempty"`
}

WafBulkDeleteRulesRequest struct for WafBulkDeleteRulesRequest

func NewWafBulkDeleteRulesRequest

func NewWafBulkDeleteRulesRequest() *WafBulkDeleteRulesRequest

NewWafBulkDeleteRulesRequest instantiates a new WafBulkDeleteRulesRequest 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 NewWafBulkDeleteRulesRequestWithDefaults

func NewWafBulkDeleteRulesRequestWithDefaults() *WafBulkDeleteRulesRequest

NewWafBulkDeleteRulesRequestWithDefaults instantiates a new WafBulkDeleteRulesRequest 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 (*WafBulkDeleteRulesRequest) GetRuleIds

func (o *WafBulkDeleteRulesRequest) GetRuleIds() []string

GetRuleIds returns the RuleIds field value if set, zero value otherwise.

func (*WafBulkDeleteRulesRequest) GetRuleIdsOk

func (o *WafBulkDeleteRulesRequest) GetRuleIdsOk() (*[]string, bool)

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

func (*WafBulkDeleteRulesRequest) HasRuleIds

func (o *WafBulkDeleteRulesRequest) HasRuleIds() bool

HasRuleIds returns a boolean if a field has been set.

func (WafBulkDeleteRulesRequest) MarshalJSON

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

func (*WafBulkDeleteRulesRequest) SetRuleIds

func (o *WafBulkDeleteRulesRequest) SetRuleIds(v []string)

SetRuleIds gets a reference to the given []string and assigns it to the RuleIds field.

type WafCertificate

type WafCertificate struct {
	// A certificate's unique ID
	Id *string `json:"id,omitempty"`
	// A unique hash of a certificate's contents
	Fingerprint *string `json:"fingerprint,omitempty"`
	// A certificate's common name, or the primary domain name the certificate is used for
	CommonName *string `json:"commonName,omitempty"`
	// The name of the certificate's issuing certificate authority
	Issuer *string `json:"issuer,omitempty"`
	// A PEM PKCS #7 formatted certificate authority bundle
	CaBundle *string `json:"caBundle,omitempty"`
	// Whether or not the certificate's authority is trusted by a web browser
	Trusted *bool `json:"trusted,omitempty"`
	// The date an SSL certificate will expire
	ExpirationDate *time.Time `json:"expirationDate,omitempty"`
	// The date an SSL certificate was created
	CreateDate *time.Time `json:"createDate,omitempty"`
	// The date an SSL certificate was last updated
	UpdateDate *time.Time `json:"updateDate,omitempty"`
	// A list of Subject Alternative Names in the certificate  Certificates for multiple domains define their domains in certificate's SAN list.
	SubjectAlternativeNames *[]string             `json:"subjectAlternativeNames,omitempty"`
	Status                  *WafCertificateStatus `json:"status,omitempty"`
	// Whether a certificate is managed by StackPath or the end user
	ProviderManaged *bool `json:"providerManaged,omitempty"`
}

WafCertificate An SSL certificate

func NewWafCertificate

func NewWafCertificate() *WafCertificate

NewWafCertificate instantiates a new WafCertificate 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 NewWafCertificateWithDefaults

func NewWafCertificateWithDefaults() *WafCertificate

NewWafCertificateWithDefaults instantiates a new WafCertificate 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 (*WafCertificate) GetCaBundle

func (o *WafCertificate) GetCaBundle() string

GetCaBundle returns the CaBundle field value if set, zero value otherwise.

func (*WafCertificate) GetCaBundleOk

func (o *WafCertificate) GetCaBundleOk() (*string, bool)

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

func (*WafCertificate) GetCommonName

func (o *WafCertificate) GetCommonName() string

GetCommonName returns the CommonName field value if set, zero value otherwise.

func (*WafCertificate) GetCommonNameOk

func (o *WafCertificate) GetCommonNameOk() (*string, bool)

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

func (*WafCertificate) GetCreateDate

func (o *WafCertificate) GetCreateDate() time.Time

GetCreateDate returns the CreateDate field value if set, zero value otherwise.

func (*WafCertificate) GetCreateDateOk

func (o *WafCertificate) GetCreateDateOk() (*time.Time, bool)

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

func (*WafCertificate) GetExpirationDate

func (o *WafCertificate) GetExpirationDate() time.Time

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*WafCertificate) GetExpirationDateOk

func (o *WafCertificate) GetExpirationDateOk() (*time.Time, bool)

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

func (*WafCertificate) GetFingerprint

func (o *WafCertificate) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*WafCertificate) GetFingerprintOk

func (o *WafCertificate) GetFingerprintOk() (*string, bool)

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

func (*WafCertificate) GetId

func (o *WafCertificate) GetId() string

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

func (*WafCertificate) GetIdOk

func (o *WafCertificate) GetIdOk() (*string, 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 (*WafCertificate) GetIssuer

func (o *WafCertificate) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*WafCertificate) GetIssuerOk

func (o *WafCertificate) GetIssuerOk() (*string, bool)

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

func (*WafCertificate) GetProviderManaged

func (o *WafCertificate) GetProviderManaged() bool

GetProviderManaged returns the ProviderManaged field value if set, zero value otherwise.

func (*WafCertificate) GetProviderManagedOk

func (o *WafCertificate) GetProviderManagedOk() (*bool, bool)

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

func (*WafCertificate) GetStatus

func (o *WafCertificate) GetStatus() WafCertificateStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*WafCertificate) GetStatusOk

func (o *WafCertificate) GetStatusOk() (*WafCertificateStatus, bool)

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

func (*WafCertificate) GetSubjectAlternativeNames

func (o *WafCertificate) GetSubjectAlternativeNames() []string

GetSubjectAlternativeNames returns the SubjectAlternativeNames field value if set, zero value otherwise.

func (*WafCertificate) GetSubjectAlternativeNamesOk

func (o *WafCertificate) GetSubjectAlternativeNamesOk() (*[]string, bool)

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

func (*WafCertificate) GetTrusted

func (o *WafCertificate) GetTrusted() bool

GetTrusted returns the Trusted field value if set, zero value otherwise.

func (*WafCertificate) GetTrustedOk

func (o *WafCertificate) GetTrustedOk() (*bool, bool)

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

func (*WafCertificate) GetUpdateDate

func (o *WafCertificate) GetUpdateDate() time.Time

GetUpdateDate returns the UpdateDate field value if set, zero value otherwise.

func (*WafCertificate) GetUpdateDateOk

func (o *WafCertificate) GetUpdateDateOk() (*time.Time, bool)

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

func (*WafCertificate) HasCaBundle

func (o *WafCertificate) HasCaBundle() bool

HasCaBundle returns a boolean if a field has been set.

func (*WafCertificate) HasCommonName

func (o *WafCertificate) HasCommonName() bool

HasCommonName returns a boolean if a field has been set.

func (*WafCertificate) HasCreateDate

func (o *WafCertificate) HasCreateDate() bool

HasCreateDate returns a boolean if a field has been set.

func (*WafCertificate) HasExpirationDate

func (o *WafCertificate) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*WafCertificate) HasFingerprint

func (o *WafCertificate) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*WafCertificate) HasId

func (o *WafCertificate) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafCertificate) HasIssuer

func (o *WafCertificate) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*WafCertificate) HasProviderManaged

func (o *WafCertificate) HasProviderManaged() bool

HasProviderManaged returns a boolean if a field has been set.

func (*WafCertificate) HasStatus

func (o *WafCertificate) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*WafCertificate) HasSubjectAlternativeNames

func (o *WafCertificate) HasSubjectAlternativeNames() bool

HasSubjectAlternativeNames returns a boolean if a field has been set.

func (*WafCertificate) HasTrusted

func (o *WafCertificate) HasTrusted() bool

HasTrusted returns a boolean if a field has been set.

func (*WafCertificate) HasUpdateDate

func (o *WafCertificate) HasUpdateDate() bool

HasUpdateDate returns a boolean if a field has been set.

func (WafCertificate) MarshalJSON

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

func (*WafCertificate) SetCaBundle

func (o *WafCertificate) SetCaBundle(v string)

SetCaBundle gets a reference to the given string and assigns it to the CaBundle field.

func (*WafCertificate) SetCommonName

func (o *WafCertificate) SetCommonName(v string)

SetCommonName gets a reference to the given string and assigns it to the CommonName field.

func (*WafCertificate) SetCreateDate

func (o *WafCertificate) SetCreateDate(v time.Time)

SetCreateDate gets a reference to the given time.Time and assigns it to the CreateDate field.

func (*WafCertificate) SetExpirationDate

func (o *WafCertificate) SetExpirationDate(v time.Time)

SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.

func (*WafCertificate) SetFingerprint

func (o *WafCertificate) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*WafCertificate) SetId

func (o *WafCertificate) SetId(v string)

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

func (*WafCertificate) SetIssuer

func (o *WafCertificate) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*WafCertificate) SetProviderManaged

func (o *WafCertificate) SetProviderManaged(v bool)

SetProviderManaged gets a reference to the given bool and assigns it to the ProviderManaged field.

func (*WafCertificate) SetStatus

func (o *WafCertificate) SetStatus(v WafCertificateStatus)

SetStatus gets a reference to the given WafCertificateStatus and assigns it to the Status field.

func (*WafCertificate) SetSubjectAlternativeNames

func (o *WafCertificate) SetSubjectAlternativeNames(v []string)

SetSubjectAlternativeNames gets a reference to the given []string and assigns it to the SubjectAlternativeNames field.

func (*WafCertificate) SetTrusted

func (o *WafCertificate) SetTrusted(v bool)

SetTrusted gets a reference to the given bool and assigns it to the Trusted field.

func (*WafCertificate) SetUpdateDate

func (o *WafCertificate) SetUpdateDate(v time.Time)

SetUpdateDate gets a reference to the given time.Time and assigns it to the UpdateDate field.

type WafCertificateStatus

type WafCertificateStatus string

WafCertificateStatus A StackPath-provided certificate's status - UNKNOWN: StackPath is unable to determine the certificate's status. This is the default status for end-user provided certificates. - PENDING: The certificate is provisioning - EXPIRED: The certificate has expired - FAILED: The certificate failed to provision - PENDING_VERIFICATION: The certificate is pending domain verification by the end user - ACTIVE: The certificate is valid and is in use by one or more hosts - INACTIVE: The certificate is valid but is not in use by any hosts

const (
	WAFCERTIFICATESTATUS_UNKNOWN              WafCertificateStatus = "UNKNOWN"
	WAFCERTIFICATESTATUS_PENDING              WafCertificateStatus = "PENDING"
	WAFCERTIFICATESTATUS_EXPIRED              WafCertificateStatus = "EXPIRED"
	WAFCERTIFICATESTATUS_FAILED               WafCertificateStatus = "FAILED"
	WAFCERTIFICATESTATUS_PENDING_VERIFICATION WafCertificateStatus = "PENDING_VERIFICATION"
	WAFCERTIFICATESTATUS_ACTIVE               WafCertificateStatus = "ACTIVE"
	WAFCERTIFICATESTATUS_INACTIVE             WafCertificateStatus = "INACTIVE"
)

List of wafCertificateStatus

func (WafCertificateStatus) Ptr

Ptr returns reference to wafCertificateStatus value

type WafCertificateVerificationMethod

type WafCertificateVerificationMethod string

WafCertificateVerificationMethod The Certificate Verification Method Verification method used to validate a requested certificate on a site - DNS: Verify a certificate using DNS records - HTTP: Verify a certificate by using HTTP validation. This will require that all hosts on the certificate point to the site hash or IP

const (
	WAFCERTIFICATEVERIFICATIONMETHOD_DNS  WafCertificateVerificationMethod = "DNS"
	WAFCERTIFICATEVERIFICATIONMETHOD_HTTP WafCertificateVerificationMethod = "HTTP"
)

List of wafCertificateVerificationMethod

func (WafCertificateVerificationMethod) Ptr

Ptr returns reference to wafCertificateVerificationMethod value

type WafConnectSiteToCertificateResponse

type WafConnectSiteToCertificateResponse struct {
	SiteCertificate *WafSiteCertificate `json:"siteCertificate,omitempty"`
}

WafConnectSiteToCertificateResponse A response to a request to associate an SSL certificate with a WAF site

func NewWafConnectSiteToCertificateResponse

func NewWafConnectSiteToCertificateResponse() *WafConnectSiteToCertificateResponse

NewWafConnectSiteToCertificateResponse instantiates a new WafConnectSiteToCertificateResponse 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 NewWafConnectSiteToCertificateResponseWithDefaults

func NewWafConnectSiteToCertificateResponseWithDefaults() *WafConnectSiteToCertificateResponse

NewWafConnectSiteToCertificateResponseWithDefaults instantiates a new WafConnectSiteToCertificateResponse 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 (*WafConnectSiteToCertificateResponse) GetSiteCertificate

GetSiteCertificate returns the SiteCertificate field value if set, zero value otherwise.

func (*WafConnectSiteToCertificateResponse) GetSiteCertificateOk

func (o *WafConnectSiteToCertificateResponse) GetSiteCertificateOk() (*WafSiteCertificate, bool)

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

func (*WafConnectSiteToCertificateResponse) HasSiteCertificate

func (o *WafConnectSiteToCertificateResponse) HasSiteCertificate() bool

HasSiteCertificate returns a boolean if a field has been set.

func (WafConnectSiteToCertificateResponse) MarshalJSON

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

func (*WafConnectSiteToCertificateResponse) SetSiteCertificate

SetSiteCertificate gets a reference to the given WafSiteCertificate and assigns it to the SiteCertificate field.

type WafCreateCertificateRequest

type WafCreateCertificateRequest struct {
	// A PEM PKCS #7 formatted SSL certificate
	Certificate *string `json:"certificate,omitempty"`
	// A PEM PKCS #7 formatted private key  Private keys are sent directly to the edge nodes and are not stored elsewhere on StackPath's systems.
	Key *string `json:"key,omitempty"`
	// A PEM PKCS #7 formatted certificate authority bundle
	CaBundle *string `json:"caBundle,omitempty"`
}

WafCreateCertificateRequest struct for WafCreateCertificateRequest

func NewWafCreateCertificateRequest

func NewWafCreateCertificateRequest() *WafCreateCertificateRequest

NewWafCreateCertificateRequest instantiates a new WafCreateCertificateRequest 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 NewWafCreateCertificateRequestWithDefaults

func NewWafCreateCertificateRequestWithDefaults() *WafCreateCertificateRequest

NewWafCreateCertificateRequestWithDefaults instantiates a new WafCreateCertificateRequest 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 (*WafCreateCertificateRequest) GetCaBundle

func (o *WafCreateCertificateRequest) GetCaBundle() string

GetCaBundle returns the CaBundle field value if set, zero value otherwise.

func (*WafCreateCertificateRequest) GetCaBundleOk

func (o *WafCreateCertificateRequest) GetCaBundleOk() (*string, bool)

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

func (*WafCreateCertificateRequest) GetCertificate

func (o *WafCreateCertificateRequest) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafCreateCertificateRequest) GetCertificateOk

func (o *WafCreateCertificateRequest) GetCertificateOk() (*string, bool)

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

func (*WafCreateCertificateRequest) GetKey

func (o *WafCreateCertificateRequest) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*WafCreateCertificateRequest) GetKeyOk

func (o *WafCreateCertificateRequest) GetKeyOk() (*string, bool)

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

func (*WafCreateCertificateRequest) HasCaBundle

func (o *WafCreateCertificateRequest) HasCaBundle() bool

HasCaBundle returns a boolean if a field has been set.

func (*WafCreateCertificateRequest) HasCertificate

func (o *WafCreateCertificateRequest) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*WafCreateCertificateRequest) HasKey

func (o *WafCreateCertificateRequest) HasKey() bool

HasKey returns a boolean if a field has been set.

func (WafCreateCertificateRequest) MarshalJSON

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

func (*WafCreateCertificateRequest) SetCaBundle

func (o *WafCreateCertificateRequest) SetCaBundle(v string)

SetCaBundle gets a reference to the given string and assigns it to the CaBundle field.

func (*WafCreateCertificateRequest) SetCertificate

func (o *WafCreateCertificateRequest) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*WafCreateCertificateRequest) SetKey

func (o *WafCreateCertificateRequest) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

type WafCreateCertificateResponse

type WafCreateCertificateResponse struct {
	Certificate *WafCertificate `json:"certificate,omitempty"`
}

WafCreateCertificateResponse A response from a request to add an SSL certificate to a stack

func NewWafCreateCertificateResponse

func NewWafCreateCertificateResponse() *WafCreateCertificateResponse

NewWafCreateCertificateResponse instantiates a new WafCreateCertificateResponse 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 NewWafCreateCertificateResponseWithDefaults

func NewWafCreateCertificateResponseWithDefaults() *WafCreateCertificateResponse

NewWafCreateCertificateResponseWithDefaults instantiates a new WafCreateCertificateResponse 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 (*WafCreateCertificateResponse) GetCertificate

func (o *WafCreateCertificateResponse) GetCertificate() WafCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafCreateCertificateResponse) GetCertificateOk

func (o *WafCreateCertificateResponse) GetCertificateOk() (*WafCertificate, bool)

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

func (*WafCreateCertificateResponse) HasCertificate

func (o *WafCreateCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (WafCreateCertificateResponse) MarshalJSON

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

func (*WafCreateCertificateResponse) SetCertificate

func (o *WafCreateCertificateResponse) SetCertificate(v WafCertificate)

SetCertificate gets a reference to the given WafCertificate and assigns it to the Certificate field.

type WafCreateRuleRequest

type WafCreateRuleRequest struct {
	// The WAF rule's name
	Name *string `json:"name,omitempty"`
	// A rule's description
	Description *string `json:"description,omitempty"`
	// The conditions required for a WAF rule to trigger
	Conditions *[]RuleCondition `json:"conditions,omitempty"`
	Action     *WafRuleAction   `json:"action,omitempty"`
	// Whether or not the rule should be enabled on creation
	Enabled    *bool           `json:"enabled,omitempty"`
	StatusCode *RuleStatusCode `json:"statusCode,omitempty"`
	// How long a rule's block action will apply to subsequent requests  Durations only apply to rules with block actions.
	ActionDuration *string `json:"actionDuration,omitempty"`
}

WafCreateRuleRequest struct for WafCreateRuleRequest

func NewWafCreateRuleRequest

func NewWafCreateRuleRequest() *WafCreateRuleRequest

NewWafCreateRuleRequest instantiates a new WafCreateRuleRequest 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 NewWafCreateRuleRequestWithDefaults

func NewWafCreateRuleRequestWithDefaults() *WafCreateRuleRequest

NewWafCreateRuleRequestWithDefaults instantiates a new WafCreateRuleRequest 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 (*WafCreateRuleRequest) GetAction

func (o *WafCreateRuleRequest) GetAction() WafRuleAction

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

func (*WafCreateRuleRequest) GetActionDuration

func (o *WafCreateRuleRequest) GetActionDuration() string

GetActionDuration returns the ActionDuration field value if set, zero value otherwise.

func (*WafCreateRuleRequest) GetActionDurationOk

func (o *WafCreateRuleRequest) GetActionDurationOk() (*string, bool)

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

func (*WafCreateRuleRequest) GetActionOk

func (o *WafCreateRuleRequest) GetActionOk() (*WafRuleAction, bool)

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

func (*WafCreateRuleRequest) GetConditions

func (o *WafCreateRuleRequest) GetConditions() []RuleCondition

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

func (*WafCreateRuleRequest) GetConditionsOk

func (o *WafCreateRuleRequest) GetConditionsOk() (*[]RuleCondition, bool)

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

func (*WafCreateRuleRequest) GetDescription

func (o *WafCreateRuleRequest) GetDescription() string

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

func (*WafCreateRuleRequest) GetDescriptionOk

func (o *WafCreateRuleRequest) GetDescriptionOk() (*string, bool)

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

func (*WafCreateRuleRequest) GetEnabled

func (o *WafCreateRuleRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*WafCreateRuleRequest) GetEnabledOk

func (o *WafCreateRuleRequest) GetEnabledOk() (*bool, bool)

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

func (*WafCreateRuleRequest) GetName

func (o *WafCreateRuleRequest) GetName() string

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

func (*WafCreateRuleRequest) GetNameOk

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

func (o *WafCreateRuleRequest) GetStatusCode() RuleStatusCode

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*WafCreateRuleRequest) GetStatusCodeOk

func (o *WafCreateRuleRequest) GetStatusCodeOk() (*RuleStatusCode, bool)

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

func (*WafCreateRuleRequest) HasAction

func (o *WafCreateRuleRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasActionDuration

func (o *WafCreateRuleRequest) HasActionDuration() bool

HasActionDuration returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasConditions

func (o *WafCreateRuleRequest) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasDescription

func (o *WafCreateRuleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasEnabled

func (o *WafCreateRuleRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasName

func (o *WafCreateRuleRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafCreateRuleRequest) HasStatusCode

func (o *WafCreateRuleRequest) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (WafCreateRuleRequest) MarshalJSON

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

func (*WafCreateRuleRequest) SetAction

func (o *WafCreateRuleRequest) SetAction(v WafRuleAction)

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

func (*WafCreateRuleRequest) SetActionDuration

func (o *WafCreateRuleRequest) SetActionDuration(v string)

SetActionDuration gets a reference to the given string and assigns it to the ActionDuration field.

func (*WafCreateRuleRequest) SetConditions

func (o *WafCreateRuleRequest) SetConditions(v []RuleCondition)

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

func (*WafCreateRuleRequest) SetDescription

func (o *WafCreateRuleRequest) SetDescription(v string)

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

func (*WafCreateRuleRequest) SetEnabled

func (o *WafCreateRuleRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*WafCreateRuleRequest) SetName

func (o *WafCreateRuleRequest) SetName(v string)

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

func (*WafCreateRuleRequest) SetStatusCode

func (o *WafCreateRuleRequest) SetStatusCode(v RuleStatusCode)

SetStatusCode gets a reference to the given RuleStatusCode and assigns it to the StatusCode field.

type WafCreateRuleResponse

type WafCreateRuleResponse struct {
	Rule *WafRule `json:"rule,omitempty"`
}

WafCreateRuleResponse The results from a request to create a WAF rule

func NewWafCreateRuleResponse

func NewWafCreateRuleResponse() *WafCreateRuleResponse

NewWafCreateRuleResponse instantiates a new WafCreateRuleResponse 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 NewWafCreateRuleResponseWithDefaults

func NewWafCreateRuleResponseWithDefaults() *WafCreateRuleResponse

NewWafCreateRuleResponseWithDefaults instantiates a new WafCreateRuleResponse 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 (*WafCreateRuleResponse) GetRule

func (o *WafCreateRuleResponse) GetRule() WafRule

GetRule returns the Rule field value if set, zero value otherwise.

func (*WafCreateRuleResponse) GetRuleOk

func (o *WafCreateRuleResponse) GetRuleOk() (*WafRule, bool)

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

func (*WafCreateRuleResponse) HasRule

func (o *WafCreateRuleResponse) HasRule() bool

HasRule returns a boolean if a field has been set.

func (WafCreateRuleResponse) MarshalJSON

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

func (*WafCreateRuleResponse) SetRule

func (o *WafCreateRuleResponse) SetRule(v WafRule)

SetRule gets a reference to the given WafRule and assigns it to the Rule field.

type WafCreateSiteRequestOrigin

type WafCreateSiteRequestOrigin struct {
	// The path the WAF should request from the origin
	Path *string `json:"path,omitempty"`
	// The origin's fully-qualified domain name
	Hostname *string `json:"hostname,omitempty"`
	// The TCP port the WAF should connect to for http requests
	Port *int32 `json:"port,omitempty"`
	// The TCP port the WAF should connect to for https requests
	SecurePort *int32 `json:"securePort,omitempty"`
	// The value of the Host header that the WAF should set when requesting from the origin. This field is deprecated and should not be used.
	HostHeader *string `json:"hostHeader,omitempty"`
}

WafCreateSiteRequestOrigin A WAF site's origin

func NewWafCreateSiteRequestOrigin

func NewWafCreateSiteRequestOrigin() *WafCreateSiteRequestOrigin

NewWafCreateSiteRequestOrigin instantiates a new WafCreateSiteRequestOrigin 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 NewWafCreateSiteRequestOriginWithDefaults

func NewWafCreateSiteRequestOriginWithDefaults() *WafCreateSiteRequestOrigin

NewWafCreateSiteRequestOriginWithDefaults instantiates a new WafCreateSiteRequestOrigin 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 (*WafCreateSiteRequestOrigin) GetHostHeader

func (o *WafCreateSiteRequestOrigin) GetHostHeader() string

GetHostHeader returns the HostHeader field value if set, zero value otherwise.

func (*WafCreateSiteRequestOrigin) GetHostHeaderOk

func (o *WafCreateSiteRequestOrigin) GetHostHeaderOk() (*string, bool)

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

func (*WafCreateSiteRequestOrigin) GetHostname

func (o *WafCreateSiteRequestOrigin) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*WafCreateSiteRequestOrigin) GetHostnameOk

func (o *WafCreateSiteRequestOrigin) GetHostnameOk() (*string, bool)

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

func (*WafCreateSiteRequestOrigin) GetPath

func (o *WafCreateSiteRequestOrigin) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*WafCreateSiteRequestOrigin) GetPathOk

func (o *WafCreateSiteRequestOrigin) GetPathOk() (*string, bool)

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

func (*WafCreateSiteRequestOrigin) GetPort

func (o *WafCreateSiteRequestOrigin) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*WafCreateSiteRequestOrigin) GetPortOk

func (o *WafCreateSiteRequestOrigin) GetPortOk() (*int32, bool)

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

func (*WafCreateSiteRequestOrigin) GetSecurePort

func (o *WafCreateSiteRequestOrigin) GetSecurePort() int32

GetSecurePort returns the SecurePort field value if set, zero value otherwise.

func (*WafCreateSiteRequestOrigin) GetSecurePortOk

func (o *WafCreateSiteRequestOrigin) GetSecurePortOk() (*int32, bool)

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

func (*WafCreateSiteRequestOrigin) HasHostHeader

func (o *WafCreateSiteRequestOrigin) HasHostHeader() bool

HasHostHeader returns a boolean if a field has been set.

func (*WafCreateSiteRequestOrigin) HasHostname

func (o *WafCreateSiteRequestOrigin) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*WafCreateSiteRequestOrigin) HasPath

func (o *WafCreateSiteRequestOrigin) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*WafCreateSiteRequestOrigin) HasPort

func (o *WafCreateSiteRequestOrigin) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*WafCreateSiteRequestOrigin) HasSecurePort

func (o *WafCreateSiteRequestOrigin) HasSecurePort() bool

HasSecurePort returns a boolean if a field has been set.

func (WafCreateSiteRequestOrigin) MarshalJSON

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

func (*WafCreateSiteRequestOrigin) SetHostHeader

func (o *WafCreateSiteRequestOrigin) SetHostHeader(v string)

SetHostHeader gets a reference to the given string and assigns it to the HostHeader field.

func (*WafCreateSiteRequestOrigin) SetHostname

func (o *WafCreateSiteRequestOrigin) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*WafCreateSiteRequestOrigin) SetPath

func (o *WafCreateSiteRequestOrigin) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*WafCreateSiteRequestOrigin) SetPort

func (o *WafCreateSiteRequestOrigin) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*WafCreateSiteRequestOrigin) SetSecurePort

func (o *WafCreateSiteRequestOrigin) SetSecurePort(v int32)

SetSecurePort gets a reference to the given int32 and assigns it to the SecurePort field.

type WafCreateSiteRequestType

type WafCreateSiteRequestType string

WafCreateSiteRequestType A WAF site's type A site's type determines how StackPath delivers content to incoming HTTP requests. - WAF: The site is either a standalone WAF site or a WAF site with attached CDN service - API: The site is an API delivery site. API delivery sites are powered by both the WAF and CDN and have custom rulesets for each.

const (
	WAFCREATESITEREQUESTTYPE_WAF WafCreateSiteRequestType = "WAF"
	WAFCREATESITEREQUESTTYPE_API WafCreateSiteRequestType = "API"
)

List of wafCreateSiteRequestType

func (WafCreateSiteRequestType) Ptr

Ptr returns reference to wafCreateSiteRequestType value

type WafDdosSettings

type WafDdosSettings struct {
	// The number of overall requests per ten seconds that can trigger DDOS protection
	GlobalThreshold *string `json:"globalThreshold,omitempty"`
	// The number of requests per two seconds that can trigger DDOS protection
	BurstThreshold *string `json:"burstThreshold,omitempty"`
	// The number of requests per 0.1 seconds that can trigger DDOS protection
	SubSecondBurstThreshold *string `json:"subSecondBurstThreshold,omitempty"`
}

WafDdosSettings A WAF site's DDOS protection settings DDOS protection is activated if at least one of these conditions is met.

func NewWafDdosSettings

func NewWafDdosSettings() *WafDdosSettings

NewWafDdosSettings instantiates a new WafDdosSettings 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 NewWafDdosSettingsWithDefaults

func NewWafDdosSettingsWithDefaults() *WafDdosSettings

NewWafDdosSettingsWithDefaults instantiates a new WafDdosSettings 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 (*WafDdosSettings) GetBurstThreshold

func (o *WafDdosSettings) GetBurstThreshold() string

GetBurstThreshold returns the BurstThreshold field value if set, zero value otherwise.

func (*WafDdosSettings) GetBurstThresholdOk

func (o *WafDdosSettings) GetBurstThresholdOk() (*string, bool)

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

func (*WafDdosSettings) GetGlobalThreshold

func (o *WafDdosSettings) GetGlobalThreshold() string

GetGlobalThreshold returns the GlobalThreshold field value if set, zero value otherwise.

func (*WafDdosSettings) GetGlobalThresholdOk

func (o *WafDdosSettings) GetGlobalThresholdOk() (*string, bool)

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

func (*WafDdosSettings) GetSubSecondBurstThreshold

func (o *WafDdosSettings) GetSubSecondBurstThreshold() string

GetSubSecondBurstThreshold returns the SubSecondBurstThreshold field value if set, zero value otherwise.

func (*WafDdosSettings) GetSubSecondBurstThresholdOk

func (o *WafDdosSettings) GetSubSecondBurstThresholdOk() (*string, bool)

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

func (*WafDdosSettings) HasBurstThreshold

func (o *WafDdosSettings) HasBurstThreshold() bool

HasBurstThreshold returns a boolean if a field has been set.

func (*WafDdosSettings) HasGlobalThreshold

func (o *WafDdosSettings) HasGlobalThreshold() bool

HasGlobalThreshold returns a boolean if a field has been set.

func (*WafDdosSettings) HasSubSecondBurstThreshold

func (o *WafDdosSettings) HasSubSecondBurstThreshold() bool

HasSubSecondBurstThreshold returns a boolean if a field has been set.

func (WafDdosSettings) MarshalJSON

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

func (*WafDdosSettings) SetBurstThreshold

func (o *WafDdosSettings) SetBurstThreshold(v string)

SetBurstThreshold gets a reference to the given string and assigns it to the BurstThreshold field.

func (*WafDdosSettings) SetGlobalThreshold

func (o *WafDdosSettings) SetGlobalThreshold(v string)

SetGlobalThreshold gets a reference to the given string and assigns it to the GlobalThreshold field.

func (*WafDdosSettings) SetSubSecondBurstThreshold

func (o *WafDdosSettings) SetSubSecondBurstThreshold(v string)

SetSubSecondBurstThreshold gets a reference to the given string and assigns it to the SubSecondBurstThreshold field.

type WafDnsRecord

type WafDnsRecord struct {
	// The name of the network node to which a zone resource record pertains  Use the value \"@\" to denote current root domain name.
	Name *string `json:"name,omitempty"`
	// A zone record's type  Zone record types describe the zone record's behavior. For instance, a zone record's type can say that the record is a name to IP address value, a name alias, or which mail exchanger is responsible for the domain. See https://support.stackpath.com/hc/en-us/articles/360001085563-What-DNS-record-types-does-StackPath-support for more information.
	Type *string `json:"type,omitempty"`
	// A zone record's class code  This is typically \"IN\" for Internet related resource records.
	Class *string `json:"class,omitempty"`
	// A zone record's time to live  A record's TTL is the number of seconds that the record should be cached by DNS resolvers. Use lower TTL values if you expect zone records to change often. Use higher TTL values for records that won't change to prevent extra DNS lookups by clients.
	Ttl *int32 `json:"ttl,omitempty"`
	// A zone record's value  Expected data formats can vary depending on the zone record's type.
	Data *string `json:"data,omitempty"`
}

WafDnsRecord A DNS record A dns record describes an individual piece of DNS functionality in a DNS zone.

func NewWafDnsRecord

func NewWafDnsRecord() *WafDnsRecord

NewWafDnsRecord instantiates a new WafDnsRecord 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 NewWafDnsRecordWithDefaults

func NewWafDnsRecordWithDefaults() *WafDnsRecord

NewWafDnsRecordWithDefaults instantiates a new WafDnsRecord 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 (*WafDnsRecord) GetClass

func (o *WafDnsRecord) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*WafDnsRecord) GetClassOk

func (o *WafDnsRecord) GetClassOk() (*string, bool)

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

func (*WafDnsRecord) GetData

func (o *WafDnsRecord) GetData() string

GetData returns the Data field value if set, zero value otherwise.

func (*WafDnsRecord) GetDataOk

func (o *WafDnsRecord) GetDataOk() (*string, bool)

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

func (*WafDnsRecord) GetName

func (o *WafDnsRecord) GetName() string

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

func (*WafDnsRecord) GetNameOk

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

func (o *WafDnsRecord) GetTtl() int32

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*WafDnsRecord) GetTtlOk

func (o *WafDnsRecord) GetTtlOk() (*int32, bool)

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

func (*WafDnsRecord) GetType

func (o *WafDnsRecord) GetType() string

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

func (*WafDnsRecord) GetTypeOk

func (o *WafDnsRecord) GetTypeOk() (*string, bool)

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

func (*WafDnsRecord) HasClass

func (o *WafDnsRecord) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*WafDnsRecord) HasData

func (o *WafDnsRecord) HasData() bool

HasData returns a boolean if a field has been set.

func (*WafDnsRecord) HasName

func (o *WafDnsRecord) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafDnsRecord) HasTtl

func (o *WafDnsRecord) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (*WafDnsRecord) HasType

func (o *WafDnsRecord) HasType() bool

HasType returns a boolean if a field has been set.

func (WafDnsRecord) MarshalJSON

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

func (*WafDnsRecord) SetClass

func (o *WafDnsRecord) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*WafDnsRecord) SetData

func (o *WafDnsRecord) SetData(v string)

SetData gets a reference to the given string and assigns it to the Data field.

func (*WafDnsRecord) SetName

func (o *WafDnsRecord) SetName(v string)

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

func (*WafDnsRecord) SetTtl

func (o *WafDnsRecord) SetTtl(v int32)

SetTtl gets a reference to the given int32 and assigns it to the Ttl field.

func (*WafDnsRecord) SetType

func (o *WafDnsRecord) SetType(v string)

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

type WafDnsVerificationDetails

type WafDnsVerificationDetails struct {
	// A list of DNS records that will validate domain ownership
	DnsRecords *[]string `json:"dnsRecords,omitempty"`
	// A list of parsed dns records required for SSL verification
	Records *[]WafDnsRecord `json:"records,omitempty"`
}

WafDnsVerificationDetails DNS-based domain ownership verification details

func NewWafDnsVerificationDetails

func NewWafDnsVerificationDetails() *WafDnsVerificationDetails

NewWafDnsVerificationDetails instantiates a new WafDnsVerificationDetails 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 NewWafDnsVerificationDetailsWithDefaults

func NewWafDnsVerificationDetailsWithDefaults() *WafDnsVerificationDetails

NewWafDnsVerificationDetailsWithDefaults instantiates a new WafDnsVerificationDetails 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 (*WafDnsVerificationDetails) GetDnsRecords

func (o *WafDnsVerificationDetails) GetDnsRecords() []string

GetDnsRecords returns the DnsRecords field value if set, zero value otherwise.

func (*WafDnsVerificationDetails) GetDnsRecordsOk

func (o *WafDnsVerificationDetails) GetDnsRecordsOk() (*[]string, bool)

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

func (*WafDnsVerificationDetails) GetRecords

func (o *WafDnsVerificationDetails) GetRecords() []WafDnsRecord

GetRecords returns the Records field value if set, zero value otherwise.

func (*WafDnsVerificationDetails) GetRecordsOk

func (o *WafDnsVerificationDetails) GetRecordsOk() (*[]WafDnsRecord, bool)

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

func (*WafDnsVerificationDetails) HasDnsRecords

func (o *WafDnsVerificationDetails) HasDnsRecords() bool

HasDnsRecords returns a boolean if a field has been set.

func (*WafDnsVerificationDetails) HasRecords

func (o *WafDnsVerificationDetails) HasRecords() bool

HasRecords returns a boolean if a field has been set.

func (WafDnsVerificationDetails) MarshalJSON

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

func (*WafDnsVerificationDetails) SetDnsRecords

func (o *WafDnsVerificationDetails) SetDnsRecords(v []string)

SetDnsRecords gets a reference to the given []string and assigns it to the DnsRecords field.

func (*WafDnsVerificationDetails) SetRecords

func (o *WafDnsVerificationDetails) SetRecords(v []WafDnsRecord)

SetRecords gets a reference to the given []WafDnsRecord and assigns it to the Records field.

type WafEvent

type WafEvent struct {
	// A WAF event's unique identifier
	Id *string `json:"id,omitempty"`
	// An event's user-facing identifier  Reference IDs are displayed to the end user when the WAF blocks a request to a site. Please note that an event's ID and reference ID are different.
	ReferenceId *string `json:"referenceId,omitempty"`
	// When a WAF event occurred
	EventDate *time.Time       `json:"eventDate,omitempty"`
	Request   *WafEventRequest `json:"request,omitempty"`
	Action    *EventRuleAction `json:"action,omitempty"`
	Client    *WafEventNetwork `json:"client,omitempty"`
	// Number of events which matched this
	Count *string `json:"count,omitempty"`
}

WafEvent A record of an action taken by the WAF Events are generated by the WAF when an incoming request to a WAF-enabled site triggers a policy or custom rule. Events contain information about the request, the rule that was triggered, and the action taken by the WAF as a result (block the request, allow the request, present the user a captcha, etc).

func NewWafEvent

func NewWafEvent() *WafEvent

NewWafEvent instantiates a new WafEvent 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 NewWafEventWithDefaults

func NewWafEventWithDefaults() *WafEvent

NewWafEventWithDefaults instantiates a new WafEvent 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 (*WafEvent) GetAction

func (o *WafEvent) GetAction() EventRuleAction

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

func (*WafEvent) GetActionOk

func (o *WafEvent) GetActionOk() (*EventRuleAction, bool)

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

func (*WafEvent) GetClient

func (o *WafEvent) GetClient() WafEventNetwork

GetClient returns the Client field value if set, zero value otherwise.

func (*WafEvent) GetClientOk

func (o *WafEvent) GetClientOk() (*WafEventNetwork, bool)

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

func (*WafEvent) GetCount

func (o *WafEvent) GetCount() string

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

func (*WafEvent) GetCountOk

func (o *WafEvent) GetCountOk() (*string, 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 (*WafEvent) GetEventDate

func (o *WafEvent) GetEventDate() time.Time

GetEventDate returns the EventDate field value if set, zero value otherwise.

func (*WafEvent) GetEventDateOk

func (o *WafEvent) GetEventDateOk() (*time.Time, bool)

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

func (*WafEvent) GetId

func (o *WafEvent) GetId() string

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

func (*WafEvent) GetIdOk

func (o *WafEvent) GetIdOk() (*string, 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 (*WafEvent) GetReferenceId

func (o *WafEvent) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*WafEvent) GetReferenceIdOk

func (o *WafEvent) GetReferenceIdOk() (*string, bool)

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

func (*WafEvent) GetRequest

func (o *WafEvent) GetRequest() WafEventRequest

GetRequest returns the Request field value if set, zero value otherwise.

func (*WafEvent) GetRequestOk

func (o *WafEvent) GetRequestOk() (*WafEventRequest, bool)

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

func (*WafEvent) HasAction

func (o *WafEvent) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*WafEvent) HasClient

func (o *WafEvent) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*WafEvent) HasCount

func (o *WafEvent) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*WafEvent) HasEventDate

func (o *WafEvent) HasEventDate() bool

HasEventDate returns a boolean if a field has been set.

func (*WafEvent) HasId

func (o *WafEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafEvent) HasReferenceId

func (o *WafEvent) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*WafEvent) HasRequest

func (o *WafEvent) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (WafEvent) MarshalJSON

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

func (*WafEvent) SetAction

func (o *WafEvent) SetAction(v EventRuleAction)

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

func (*WafEvent) SetClient

func (o *WafEvent) SetClient(v WafEventNetwork)

SetClient gets a reference to the given WafEventNetwork and assigns it to the Client field.

func (*WafEvent) SetCount

func (o *WafEvent) SetCount(v string)

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

func (*WafEvent) SetEventDate

func (o *WafEvent) SetEventDate(v time.Time)

SetEventDate gets a reference to the given time.Time and assigns it to the EventDate field.

func (*WafEvent) SetId

func (o *WafEvent) SetId(v string)

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

func (*WafEvent) SetReferenceId

func (o *WafEvent) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*WafEvent) SetRequest

func (o *WafEvent) SetRequest(v WafEventRequest)

SetRequest gets a reference to the given WafEventRequest and assigns it to the Request field.

type WafEventNetwork

type WafEventNetwork struct {
	// The originating IP address
	Ip *string `json:"ip,omitempty"`
	// The long name of the country where the request originated from
	Country *string `json:"country,omitempty"`
	// The ISO 3166-1 alpha-2 code of the country where the request originated from
	CountryCode *string `json:"countryCode,omitempty"`
	// The organization that owns the originating IP address according to a WHOIS lookup
	Organization *string `json:"organization,omitempty"`
}

WafEventNetwork A WAF event's network related aspects

func NewWafEventNetwork

func NewWafEventNetwork() *WafEventNetwork

NewWafEventNetwork instantiates a new WafEventNetwork 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 NewWafEventNetworkWithDefaults

func NewWafEventNetworkWithDefaults() *WafEventNetwork

NewWafEventNetworkWithDefaults instantiates a new WafEventNetwork 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 (*WafEventNetwork) GetCountry

func (o *WafEventNetwork) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*WafEventNetwork) GetCountryCode

func (o *WafEventNetwork) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*WafEventNetwork) GetCountryCodeOk

func (o *WafEventNetwork) GetCountryCodeOk() (*string, bool)

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

func (*WafEventNetwork) GetCountryOk

func (o *WafEventNetwork) GetCountryOk() (*string, bool)

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

func (*WafEventNetwork) GetIp

func (o *WafEventNetwork) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*WafEventNetwork) GetIpOk

func (o *WafEventNetwork) GetIpOk() (*string, bool)

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

func (*WafEventNetwork) GetOrganization

func (o *WafEventNetwork) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*WafEventNetwork) GetOrganizationOk

func (o *WafEventNetwork) GetOrganizationOk() (*string, bool)

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

func (*WafEventNetwork) HasCountry

func (o *WafEventNetwork) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*WafEventNetwork) HasCountryCode

func (o *WafEventNetwork) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*WafEventNetwork) HasIp

func (o *WafEventNetwork) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*WafEventNetwork) HasOrganization

func (o *WafEventNetwork) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (WafEventNetwork) MarshalJSON

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

func (*WafEventNetwork) SetCountry

func (o *WafEventNetwork) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*WafEventNetwork) SetCountryCode

func (o *WafEventNetwork) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*WafEventNetwork) SetIp

func (o *WafEventNetwork) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*WafEventNetwork) SetOrganization

func (o *WafEventNetwork) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

type WafEventRequest

type WafEventRequest struct {
	// The requested domain name
	Domain *string `json:"domain,omitempty"`
	// The HTTP method that triggered a WAF event
	Method *string `json:"method,omitempty"`
	// The URL scheme that triggered a WAF event
	Scheme *string `json:"scheme,omitempty"`
	// The full URL that triggered a WAF event
	Uri *string `json:"uri,omitempty"`
	// The query string portion of a URL that triggered a WAF event
	QueryString *string `json:"queryString,omitempty"`
	// A key/value pair of the event's request headers
	Headers   *map[string]string     `json:"headers,omitempty"`
	UserAgent *EventRequestUserAgent `json:"userAgent,omitempty"`
}

WafEventRequest struct for WafEventRequest

func NewWafEventRequest

func NewWafEventRequest() *WafEventRequest

NewWafEventRequest instantiates a new WafEventRequest 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 NewWafEventRequestWithDefaults

func NewWafEventRequestWithDefaults() *WafEventRequest

NewWafEventRequestWithDefaults instantiates a new WafEventRequest 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 (*WafEventRequest) GetDomain

func (o *WafEventRequest) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*WafEventRequest) GetDomainOk

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

func (o *WafEventRequest) GetHeaders() map[string]string

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*WafEventRequest) GetHeadersOk

func (o *WafEventRequest) GetHeadersOk() (*map[string]string, bool)

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

func (*WafEventRequest) GetMethod

func (o *WafEventRequest) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*WafEventRequest) GetMethodOk

func (o *WafEventRequest) GetMethodOk() (*string, bool)

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

func (*WafEventRequest) GetQueryString

func (o *WafEventRequest) GetQueryString() string

GetQueryString returns the QueryString field value if set, zero value otherwise.

func (*WafEventRequest) GetQueryStringOk

func (o *WafEventRequest) GetQueryStringOk() (*string, bool)

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

func (*WafEventRequest) GetScheme

func (o *WafEventRequest) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise.

func (*WafEventRequest) GetSchemeOk

func (o *WafEventRequest) GetSchemeOk() (*string, bool)

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

func (*WafEventRequest) GetUri

func (o *WafEventRequest) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*WafEventRequest) GetUriOk

func (o *WafEventRequest) GetUriOk() (*string, bool)

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

func (*WafEventRequest) GetUserAgent

func (o *WafEventRequest) GetUserAgent() EventRequestUserAgent

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*WafEventRequest) GetUserAgentOk

func (o *WafEventRequest) GetUserAgentOk() (*EventRequestUserAgent, bool)

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

func (*WafEventRequest) HasDomain

func (o *WafEventRequest) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*WafEventRequest) HasHeaders

func (o *WafEventRequest) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*WafEventRequest) HasMethod

func (o *WafEventRequest) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*WafEventRequest) HasQueryString

func (o *WafEventRequest) HasQueryString() bool

HasQueryString returns a boolean if a field has been set.

func (*WafEventRequest) HasScheme

func (o *WafEventRequest) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*WafEventRequest) HasUri

func (o *WafEventRequest) HasUri() bool

HasUri returns a boolean if a field has been set.

func (*WafEventRequest) HasUserAgent

func (o *WafEventRequest) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (WafEventRequest) MarshalJSON

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

func (*WafEventRequest) SetDomain

func (o *WafEventRequest) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*WafEventRequest) SetHeaders

func (o *WafEventRequest) SetHeaders(v map[string]string)

SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.

func (*WafEventRequest) SetMethod

func (o *WafEventRequest) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*WafEventRequest) SetQueryString

func (o *WafEventRequest) SetQueryString(v string)

SetQueryString gets a reference to the given string and assigns it to the QueryString field.

func (*WafEventRequest) SetScheme

func (o *WafEventRequest) SetScheme(v string)

SetScheme gets a reference to the given string and assigns it to the Scheme field.

func (*WafEventRequest) SetUri

func (o *WafEventRequest) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*WafEventRequest) SetUserAgent

func (o *WafEventRequest) SetUserAgent(v EventRequestUserAgent)

SetUserAgent gets a reference to the given EventRequestUserAgent and assigns it to the UserAgent field.

type WafGetCertificateResponse

type WafGetCertificateResponse struct {
	Certificate *WafCertificate `json:"certificate,omitempty"`
}

WafGetCertificateResponse A response from a request to retrieve an individual SSL certificate on a stack

func NewWafGetCertificateResponse

func NewWafGetCertificateResponse() *WafGetCertificateResponse

NewWafGetCertificateResponse instantiates a new WafGetCertificateResponse 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 NewWafGetCertificateResponseWithDefaults

func NewWafGetCertificateResponseWithDefaults() *WafGetCertificateResponse

NewWafGetCertificateResponseWithDefaults instantiates a new WafGetCertificateResponse 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 (*WafGetCertificateResponse) GetCertificate

func (o *WafGetCertificateResponse) GetCertificate() WafCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafGetCertificateResponse) GetCertificateOk

func (o *WafGetCertificateResponse) GetCertificateOk() (*WafCertificate, bool)

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

func (*WafGetCertificateResponse) HasCertificate

func (o *WafGetCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (WafGetCertificateResponse) MarshalJSON

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

func (*WafGetCertificateResponse) SetCertificate

func (o *WafGetCertificateResponse) SetCertificate(v WafCertificate)

SetCertificate gets a reference to the given WafCertificate and assigns it to the Certificate field.

type WafGetCertificateVerificationDetailsResponse

type WafGetCertificateVerificationDetailsResponse struct {
	// Whether or not the end user must provide their own certificate verification
	ManualVerificationRequired *bool `json:"manualVerificationRequired,omitempty"`
	// An SSL certificate's verification requirements
	VerificationRequirements *[]WafVerificationRequirements `json:"verificationRequirements,omitempty"`
}

WafGetCertificateVerificationDetailsResponse A response from a request to retrieve an SSL certificate's manual verification details

func NewWafGetCertificateVerificationDetailsResponse

func NewWafGetCertificateVerificationDetailsResponse() *WafGetCertificateVerificationDetailsResponse

NewWafGetCertificateVerificationDetailsResponse instantiates a new WafGetCertificateVerificationDetailsResponse 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 NewWafGetCertificateVerificationDetailsResponseWithDefaults

func NewWafGetCertificateVerificationDetailsResponseWithDefaults() *WafGetCertificateVerificationDetailsResponse

NewWafGetCertificateVerificationDetailsResponseWithDefaults instantiates a new WafGetCertificateVerificationDetailsResponse 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 (*WafGetCertificateVerificationDetailsResponse) GetManualVerificationRequired

func (o *WafGetCertificateVerificationDetailsResponse) GetManualVerificationRequired() bool

GetManualVerificationRequired returns the ManualVerificationRequired field value if set, zero value otherwise.

func (*WafGetCertificateVerificationDetailsResponse) GetManualVerificationRequiredOk

func (o *WafGetCertificateVerificationDetailsResponse) GetManualVerificationRequiredOk() (*bool, bool)

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

func (*WafGetCertificateVerificationDetailsResponse) GetVerificationRequirements

GetVerificationRequirements returns the VerificationRequirements field value if set, zero value otherwise.

func (*WafGetCertificateVerificationDetailsResponse) GetVerificationRequirementsOk

func (o *WafGetCertificateVerificationDetailsResponse) GetVerificationRequirementsOk() (*[]WafVerificationRequirements, bool)

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

func (*WafGetCertificateVerificationDetailsResponse) HasManualVerificationRequired

func (o *WafGetCertificateVerificationDetailsResponse) HasManualVerificationRequired() bool

HasManualVerificationRequired returns a boolean if a field has been set.

func (*WafGetCertificateVerificationDetailsResponse) HasVerificationRequirements

func (o *WafGetCertificateVerificationDetailsResponse) HasVerificationRequirements() bool

HasVerificationRequirements returns a boolean if a field has been set.

func (WafGetCertificateVerificationDetailsResponse) MarshalJSON

func (*WafGetCertificateVerificationDetailsResponse) SetManualVerificationRequired

func (o *WafGetCertificateVerificationDetailsResponse) SetManualVerificationRequired(v bool)

SetManualVerificationRequired gets a reference to the given bool and assigns it to the ManualVerificationRequired field.

func (*WafGetCertificateVerificationDetailsResponse) SetVerificationRequirements

SetVerificationRequirements gets a reference to the given []WafVerificationRequirements and assigns it to the VerificationRequirements field.

type WafGetCertificatesResponse

type WafGetCertificatesResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested SSL certificates
	Results *[]WafCertificate `json:"results,omitempty"`
}

WafGetCertificatesResponse A response from a request to retrieve a stack's SSL certificates

func NewWafGetCertificatesResponse

func NewWafGetCertificatesResponse() *WafGetCertificatesResponse

NewWafGetCertificatesResponse instantiates a new WafGetCertificatesResponse 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 NewWafGetCertificatesResponseWithDefaults

func NewWafGetCertificatesResponseWithDefaults() *WafGetCertificatesResponse

NewWafGetCertificatesResponseWithDefaults instantiates a new WafGetCertificatesResponse 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 (*WafGetCertificatesResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetCertificatesResponse) GetPageInfoOk

func (o *WafGetCertificatesResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*WafGetCertificatesResponse) GetResults

func (o *WafGetCertificatesResponse) GetResults() []WafCertificate

GetResults returns the Results field value if set, zero value otherwise.

func (*WafGetCertificatesResponse) GetResultsOk

func (o *WafGetCertificatesResponse) GetResultsOk() (*[]WafCertificate, 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 (*WafGetCertificatesResponse) HasPageInfo

func (o *WafGetCertificatesResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetCertificatesResponse) HasResults

func (o *WafGetCertificatesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafGetCertificatesResponse) MarshalJSON

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

func (*WafGetCertificatesResponse) SetPageInfo

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetCertificatesResponse) SetResults

func (o *WafGetCertificatesResponse) SetResults(v []WafCertificate)

SetResults gets a reference to the given []WafCertificate and assigns it to the Results field.

type WafGetDdosSettingsResponse

type WafGetDdosSettingsResponse struct {
	DdosSettings *WafDdosSettings `json:"ddosSettings,omitempty"`
}

WafGetDdosSettingsResponse A response from a request to retrieve a WAF site's DDOS protection settings

func NewWafGetDdosSettingsResponse

func NewWafGetDdosSettingsResponse() *WafGetDdosSettingsResponse

NewWafGetDdosSettingsResponse instantiates a new WafGetDdosSettingsResponse 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 NewWafGetDdosSettingsResponseWithDefaults

func NewWafGetDdosSettingsResponseWithDefaults() *WafGetDdosSettingsResponse

NewWafGetDdosSettingsResponseWithDefaults instantiates a new WafGetDdosSettingsResponse 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 (*WafGetDdosSettingsResponse) GetDdosSettings

func (o *WafGetDdosSettingsResponse) GetDdosSettings() WafDdosSettings

GetDdosSettings returns the DdosSettings field value if set, zero value otherwise.

func (*WafGetDdosSettingsResponse) GetDdosSettingsOk

func (o *WafGetDdosSettingsResponse) GetDdosSettingsOk() (*WafDdosSettings, bool)

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

func (*WafGetDdosSettingsResponse) HasDdosSettings

func (o *WafGetDdosSettingsResponse) HasDdosSettings() bool

HasDdosSettings returns a boolean if a field has been set.

func (WafGetDdosSettingsResponse) MarshalJSON

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

func (*WafGetDdosSettingsResponse) SetDdosSettings

func (o *WafGetDdosSettingsResponse) SetDdosSettings(v WafDdosSettings)

SetDdosSettings gets a reference to the given WafDdosSettings and assigns it to the DdosSettings field.

type WafGetEventResponse

type WafGetEventResponse struct {
	Event *WafEvent `json:"event,omitempty"`
}

WafGetEventResponse A response from a request to retrieve a single WAF event

func NewWafGetEventResponse

func NewWafGetEventResponse() *WafGetEventResponse

NewWafGetEventResponse instantiates a new WafGetEventResponse 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 NewWafGetEventResponseWithDefaults

func NewWafGetEventResponseWithDefaults() *WafGetEventResponse

NewWafGetEventResponseWithDefaults instantiates a new WafGetEventResponse 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 (*WafGetEventResponse) GetEvent

func (o *WafGetEventResponse) GetEvent() WafEvent

GetEvent returns the Event field value if set, zero value otherwise.

func (*WafGetEventResponse) GetEventOk

func (o *WafGetEventResponse) GetEventOk() (*WafEvent, bool)

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

func (*WafGetEventResponse) HasEvent

func (o *WafGetEventResponse) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (WafGetEventResponse) MarshalJSON

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

func (*WafGetEventResponse) SetEvent

func (o *WafGetEventResponse) SetEvent(v WafEvent)

SetEvent gets a reference to the given WafEvent and assigns it to the Event field.

type WafGetEventStatisticsResponse

type WafGetEventStatisticsResponse struct {
	Statistics *EventStatistics `json:"statistics,omitempty"`
}

WafGetEventStatisticsResponse A response from a request to retrieve a WAF site's event statistics

func NewWafGetEventStatisticsResponse

func NewWafGetEventStatisticsResponse() *WafGetEventStatisticsResponse

NewWafGetEventStatisticsResponse instantiates a new WafGetEventStatisticsResponse 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 NewWafGetEventStatisticsResponseWithDefaults

func NewWafGetEventStatisticsResponseWithDefaults() *WafGetEventStatisticsResponse

NewWafGetEventStatisticsResponseWithDefaults instantiates a new WafGetEventStatisticsResponse 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 (*WafGetEventStatisticsResponse) GetStatistics

GetStatistics returns the Statistics field value if set, zero value otherwise.

func (*WafGetEventStatisticsResponse) GetStatisticsOk

func (o *WafGetEventStatisticsResponse) GetStatisticsOk() (*EventStatistics, bool)

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

func (*WafGetEventStatisticsResponse) HasStatistics

func (o *WafGetEventStatisticsResponse) HasStatistics() bool

HasStatistics returns a boolean if a field has been set.

func (WafGetEventStatisticsResponse) MarshalJSON

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

func (*WafGetEventStatisticsResponse) SetStatistics

func (o *WafGetEventStatisticsResponse) SetStatistics(v EventStatistics)

SetStatistics gets a reference to the given EventStatistics and assigns it to the Statistics field.

type WafGetPoliciesResponse

type WafGetPoliciesResponse struct {
	// The requested WAF policies
	Policies *[]SchemawafPolicy `json:"policies,omitempty"`
}

WafGetPoliciesResponse A response from a request to retrieve a WAF policy group

func NewWafGetPoliciesResponse

func NewWafGetPoliciesResponse() *WafGetPoliciesResponse

NewWafGetPoliciesResponse instantiates a new WafGetPoliciesResponse 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 NewWafGetPoliciesResponseWithDefaults

func NewWafGetPoliciesResponseWithDefaults() *WafGetPoliciesResponse

NewWafGetPoliciesResponseWithDefaults instantiates a new WafGetPoliciesResponse 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 (*WafGetPoliciesResponse) GetPolicies

func (o *WafGetPoliciesResponse) GetPolicies() []SchemawafPolicy

GetPolicies returns the Policies field value if set, zero value otherwise.

func (*WafGetPoliciesResponse) GetPoliciesOk

func (o *WafGetPoliciesResponse) GetPoliciesOk() (*[]SchemawafPolicy, bool)

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

func (*WafGetPoliciesResponse) HasPolicies

func (o *WafGetPoliciesResponse) HasPolicies() bool

HasPolicies returns a boolean if a field has been set.

func (WafGetPoliciesResponse) MarshalJSON

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

func (*WafGetPoliciesResponse) SetPolicies

func (o *WafGetPoliciesResponse) SetPolicies(v []SchemawafPolicy)

SetPolicies gets a reference to the given []SchemawafPolicy and assigns it to the Policies field.

type WafGetPolicyGroupResponse

type WafGetPolicyGroupResponse struct {
	PolicyGroup *WafPolicyGroup `json:"policyGroup,omitempty"`
}

WafGetPolicyGroupResponse A response from a request to retrieve a WAF policy group

func NewWafGetPolicyGroupResponse

func NewWafGetPolicyGroupResponse() *WafGetPolicyGroupResponse

NewWafGetPolicyGroupResponse instantiates a new WafGetPolicyGroupResponse 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 NewWafGetPolicyGroupResponseWithDefaults

func NewWafGetPolicyGroupResponseWithDefaults() *WafGetPolicyGroupResponse

NewWafGetPolicyGroupResponseWithDefaults instantiates a new WafGetPolicyGroupResponse 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 (*WafGetPolicyGroupResponse) GetPolicyGroup

func (o *WafGetPolicyGroupResponse) GetPolicyGroup() WafPolicyGroup

GetPolicyGroup returns the PolicyGroup field value if set, zero value otherwise.

func (*WafGetPolicyGroupResponse) GetPolicyGroupOk

func (o *WafGetPolicyGroupResponse) GetPolicyGroupOk() (*WafPolicyGroup, bool)

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

func (*WafGetPolicyGroupResponse) HasPolicyGroup

func (o *WafGetPolicyGroupResponse) HasPolicyGroup() bool

HasPolicyGroup returns a boolean if a field has been set.

func (WafGetPolicyGroupResponse) MarshalJSON

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

func (*WafGetPolicyGroupResponse) SetPolicyGroup

func (o *WafGetPolicyGroupResponse) SetPolicyGroup(v WafPolicyGroup)

SetPolicyGroup gets a reference to the given WafPolicyGroup and assigns it to the PolicyGroup field.

type WafGetPolicyGroupsResponse

type WafGetPolicyGroupsResponse struct {
	// The requested WAF policy groups
	PolicyGroups *[]WafPolicyGroup `json:"policyGroups,omitempty"`
}

WafGetPolicyGroupsResponse A response from a request to retrieve a WAF site's policy groups

func NewWafGetPolicyGroupsResponse

func NewWafGetPolicyGroupsResponse() *WafGetPolicyGroupsResponse

NewWafGetPolicyGroupsResponse instantiates a new WafGetPolicyGroupsResponse 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 NewWafGetPolicyGroupsResponseWithDefaults

func NewWafGetPolicyGroupsResponseWithDefaults() *WafGetPolicyGroupsResponse

NewWafGetPolicyGroupsResponseWithDefaults instantiates a new WafGetPolicyGroupsResponse 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 (*WafGetPolicyGroupsResponse) GetPolicyGroups

func (o *WafGetPolicyGroupsResponse) GetPolicyGroups() []WafPolicyGroup

GetPolicyGroups returns the PolicyGroups field value if set, zero value otherwise.

func (*WafGetPolicyGroupsResponse) GetPolicyGroupsOk

func (o *WafGetPolicyGroupsResponse) GetPolicyGroupsOk() (*[]WafPolicyGroup, bool)

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

func (*WafGetPolicyGroupsResponse) HasPolicyGroups

func (o *WafGetPolicyGroupsResponse) HasPolicyGroups() bool

HasPolicyGroups returns a boolean if a field has been set.

func (WafGetPolicyGroupsResponse) MarshalJSON

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

func (*WafGetPolicyGroupsResponse) SetPolicyGroups

func (o *WafGetPolicyGroupsResponse) SetPolicyGroups(v []WafPolicyGroup)

SetPolicyGroups gets a reference to the given []WafPolicyGroup and assigns it to the PolicyGroups field.

type WafGetPolicyResponse

type WafGetPolicyResponse struct {
	Policy *SchemawafPolicy `json:"policy,omitempty"`
}

WafGetPolicyResponse A response from a request to retrieve an individual WAF policy

func NewWafGetPolicyResponse

func NewWafGetPolicyResponse() *WafGetPolicyResponse

NewWafGetPolicyResponse instantiates a new WafGetPolicyResponse 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 NewWafGetPolicyResponseWithDefaults

func NewWafGetPolicyResponseWithDefaults() *WafGetPolicyResponse

NewWafGetPolicyResponseWithDefaults instantiates a new WafGetPolicyResponse 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 (*WafGetPolicyResponse) GetPolicy

func (o *WafGetPolicyResponse) GetPolicy() SchemawafPolicy

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*WafGetPolicyResponse) GetPolicyOk

func (o *WafGetPolicyResponse) GetPolicyOk() (*SchemawafPolicy, bool)

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

func (*WafGetPolicyResponse) HasPolicy

func (o *WafGetPolicyResponse) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (WafGetPolicyResponse) MarshalJSON

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

func (*WafGetPolicyResponse) SetPolicy

func (o *WafGetPolicyResponse) SetPolicy(v SchemawafPolicy)

SetPolicy gets a reference to the given SchemawafPolicy and assigns it to the Policy field.

type WafGetRequestDetailsResponse

type WafGetRequestDetailsResponse struct {
	RequestDetails *WafRequestDetails `json:"requestDetails,omitempty"`
}

WafGetRequestDetailsResponse A response from a request to retrieve all available information about a request to a WAF site

func NewWafGetRequestDetailsResponse

func NewWafGetRequestDetailsResponse() *WafGetRequestDetailsResponse

NewWafGetRequestDetailsResponse instantiates a new WafGetRequestDetailsResponse 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 NewWafGetRequestDetailsResponseWithDefaults

func NewWafGetRequestDetailsResponseWithDefaults() *WafGetRequestDetailsResponse

NewWafGetRequestDetailsResponseWithDefaults instantiates a new WafGetRequestDetailsResponse 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 (*WafGetRequestDetailsResponse) GetRequestDetails

func (o *WafGetRequestDetailsResponse) GetRequestDetails() WafRequestDetails

GetRequestDetails returns the RequestDetails field value if set, zero value otherwise.

func (*WafGetRequestDetailsResponse) GetRequestDetailsOk

func (o *WafGetRequestDetailsResponse) GetRequestDetailsOk() (*WafRequestDetails, bool)

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

func (*WafGetRequestDetailsResponse) HasRequestDetails

func (o *WafGetRequestDetailsResponse) HasRequestDetails() bool

HasRequestDetails returns a boolean if a field has been set.

func (WafGetRequestDetailsResponse) MarshalJSON

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

func (*WafGetRequestDetailsResponse) SetRequestDetails

func (o *WafGetRequestDetailsResponse) SetRequestDetails(v WafRequestDetails)

SetRequestDetails gets a reference to the given WafRequestDetails and assigns it to the RequestDetails field.

type WafGetRequestResponse

type WafGetRequestResponse struct {
	Request *SchemawafRequest `json:"request,omitempty"`
}

WafGetRequestResponse A response from a request to retrieve information about a request to a WAF site

func NewWafGetRequestResponse

func NewWafGetRequestResponse() *WafGetRequestResponse

NewWafGetRequestResponse instantiates a new WafGetRequestResponse 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 NewWafGetRequestResponseWithDefaults

func NewWafGetRequestResponseWithDefaults() *WafGetRequestResponse

NewWafGetRequestResponseWithDefaults instantiates a new WafGetRequestResponse 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 (*WafGetRequestResponse) GetRequest

func (o *WafGetRequestResponse) GetRequest() SchemawafRequest

GetRequest returns the Request field value if set, zero value otherwise.

func (*WafGetRequestResponse) GetRequestOk

func (o *WafGetRequestResponse) GetRequestOk() (*SchemawafRequest, bool)

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

func (*WafGetRequestResponse) HasRequest

func (o *WafGetRequestResponse) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (WafGetRequestResponse) MarshalJSON

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

func (*WafGetRequestResponse) SetRequest

func (o *WafGetRequestResponse) SetRequest(v SchemawafRequest)

SetRequest gets a reference to the given SchemawafRequest and assigns it to the Request field.

type WafGetRequestsResponse

type WafGetRequestsResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested information about a WAF site's requests
	Results *[]SchemawafRequest `json:"results,omitempty"`
}

WafGetRequestsResponse The requested WAF requests

func NewWafGetRequestsResponse

func NewWafGetRequestsResponse() *WafGetRequestsResponse

NewWafGetRequestsResponse instantiates a new WafGetRequestsResponse 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 NewWafGetRequestsResponseWithDefaults

func NewWafGetRequestsResponseWithDefaults() *WafGetRequestsResponse

NewWafGetRequestsResponseWithDefaults instantiates a new WafGetRequestsResponse 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 (*WafGetRequestsResponse) GetPageInfo

func (o *WafGetRequestsResponse) GetPageInfo() PaginationPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetRequestsResponse) GetPageInfoOk

func (o *WafGetRequestsResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*WafGetRequestsResponse) GetResults

func (o *WafGetRequestsResponse) GetResults() []SchemawafRequest

GetResults returns the Results field value if set, zero value otherwise.

func (*WafGetRequestsResponse) GetResultsOk

func (o *WafGetRequestsResponse) GetResultsOk() (*[]SchemawafRequest, 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 (*WafGetRequestsResponse) HasPageInfo

func (o *WafGetRequestsResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetRequestsResponse) HasResults

func (o *WafGetRequestsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafGetRequestsResponse) MarshalJSON

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

func (*WafGetRequestsResponse) SetPageInfo

func (o *WafGetRequestsResponse) SetPageInfo(v PaginationPageInfo)

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetRequestsResponse) SetResults

func (o *WafGetRequestsResponse) SetResults(v []SchemawafRequest)

SetResults gets a reference to the given []SchemawafRequest and assigns it to the Results field.

type WafGetRuleResponse

type WafGetRuleResponse struct {
	Rule *WafRule `json:"rule,omitempty"`
}

WafGetRuleResponse The results from a request to retrieve a WAF rule

func NewWafGetRuleResponse

func NewWafGetRuleResponse() *WafGetRuleResponse

NewWafGetRuleResponse instantiates a new WafGetRuleResponse 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 NewWafGetRuleResponseWithDefaults

func NewWafGetRuleResponseWithDefaults() *WafGetRuleResponse

NewWafGetRuleResponseWithDefaults instantiates a new WafGetRuleResponse 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 (*WafGetRuleResponse) GetRule

func (o *WafGetRuleResponse) GetRule() WafRule

GetRule returns the Rule field value if set, zero value otherwise.

func (*WafGetRuleResponse) GetRuleOk

func (o *WafGetRuleResponse) GetRuleOk() (*WafRule, bool)

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

func (*WafGetRuleResponse) HasRule

func (o *WafGetRuleResponse) HasRule() bool

HasRule returns a boolean if a field has been set.

func (WafGetRuleResponse) MarshalJSON

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

func (*WafGetRuleResponse) SetRule

func (o *WafGetRuleResponse) SetRule(v WafRule)

SetRule gets a reference to the given WafRule and assigns it to the Rule field.

type WafGetRulesResponse

type WafGetRulesResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested WAF rules
	Rules *[]WafRule `json:"rules,omitempty"`
}

WafGetRulesResponse The results from a request to retrieve a site's WAF rules

func NewWafGetRulesResponse

func NewWafGetRulesResponse() *WafGetRulesResponse

NewWafGetRulesResponse instantiates a new WafGetRulesResponse 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 NewWafGetRulesResponseWithDefaults

func NewWafGetRulesResponseWithDefaults() *WafGetRulesResponse

NewWafGetRulesResponseWithDefaults instantiates a new WafGetRulesResponse 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 (*WafGetRulesResponse) GetPageInfo

func (o *WafGetRulesResponse) GetPageInfo() PaginationPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetRulesResponse) GetPageInfoOk

func (o *WafGetRulesResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*WafGetRulesResponse) GetRules

func (o *WafGetRulesResponse) GetRules() []WafRule

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

func (*WafGetRulesResponse) GetRulesOk

func (o *WafGetRulesResponse) GetRulesOk() (*[]WafRule, bool)

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

func (*WafGetRulesResponse) HasPageInfo

func (o *WafGetRulesResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetRulesResponse) HasRules

func (o *WafGetRulesResponse) HasRules() bool

HasRules returns a boolean if a field has been set.

func (WafGetRulesResponse) MarshalJSON

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

func (*WafGetRulesResponse) SetPageInfo

func (o *WafGetRulesResponse) SetPageInfo(v PaginationPageInfo)

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetRulesResponse) SetRules

func (o *WafGetRulesResponse) SetRules(v []WafRule)

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

type WafGetSiteCertificatesResponse

type WafGetSiteCertificatesResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested SSL certificates
	Results *[]WafSiteCertificate `json:"results,omitempty"`
}

WafGetSiteCertificatesResponse A response from a request to retrieve a WAF site's SSL certificates

func NewWafGetSiteCertificatesResponse

func NewWafGetSiteCertificatesResponse() *WafGetSiteCertificatesResponse

NewWafGetSiteCertificatesResponse instantiates a new WafGetSiteCertificatesResponse 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 NewWafGetSiteCertificatesResponseWithDefaults

func NewWafGetSiteCertificatesResponseWithDefaults() *WafGetSiteCertificatesResponse

NewWafGetSiteCertificatesResponseWithDefaults instantiates a new WafGetSiteCertificatesResponse 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 (*WafGetSiteCertificatesResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetSiteCertificatesResponse) GetPageInfoOk

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

func (*WafGetSiteCertificatesResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*WafGetSiteCertificatesResponse) GetResultsOk

func (o *WafGetSiteCertificatesResponse) GetResultsOk() (*[]WafSiteCertificate, 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 (*WafGetSiteCertificatesResponse) HasPageInfo

func (o *WafGetSiteCertificatesResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetSiteCertificatesResponse) HasResults

func (o *WafGetSiteCertificatesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafGetSiteCertificatesResponse) MarshalJSON

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

func (*WafGetSiteCertificatesResponse) SetPageInfo

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetSiteCertificatesResponse) SetResults

SetResults gets a reference to the given []WafSiteCertificate and assigns it to the Results field.

type WafGetSiteDnsTargetsResponse

type WafGetSiteDnsTargetsResponse struct {
	// A list of DNS CNAME targets
	Addresses *[]string `json:"addresses,omitempty"`
}

WafGetSiteDnsTargetsResponse A response from a request to retrieve a WAF site's DNS CNAME targets

func NewWafGetSiteDnsTargetsResponse

func NewWafGetSiteDnsTargetsResponse() *WafGetSiteDnsTargetsResponse

NewWafGetSiteDnsTargetsResponse instantiates a new WafGetSiteDnsTargetsResponse 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 NewWafGetSiteDnsTargetsResponseWithDefaults

func NewWafGetSiteDnsTargetsResponseWithDefaults() *WafGetSiteDnsTargetsResponse

NewWafGetSiteDnsTargetsResponseWithDefaults instantiates a new WafGetSiteDnsTargetsResponse 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 (*WafGetSiteDnsTargetsResponse) GetAddresses

func (o *WafGetSiteDnsTargetsResponse) GetAddresses() []string

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*WafGetSiteDnsTargetsResponse) GetAddressesOk

func (o *WafGetSiteDnsTargetsResponse) GetAddressesOk() (*[]string, bool)

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

func (*WafGetSiteDnsTargetsResponse) HasAddresses

func (o *WafGetSiteDnsTargetsResponse) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (WafGetSiteDnsTargetsResponse) MarshalJSON

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

func (*WafGetSiteDnsTargetsResponse) SetAddresses

func (o *WafGetSiteDnsTargetsResponse) SetAddresses(v []string)

SetAddresses gets a reference to the given []string and assigns it to the Addresses field.

type WafGetTagsResponse

type WafGetTagsResponse struct {
	// The requested WAF tags
	Results  *[]WafTag           `json:"results,omitempty"`
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
}

WafGetTagsResponse A response from a request to retrieve WAF tags

func NewWafGetTagsResponse

func NewWafGetTagsResponse() *WafGetTagsResponse

NewWafGetTagsResponse instantiates a new WafGetTagsResponse 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 NewWafGetTagsResponseWithDefaults

func NewWafGetTagsResponseWithDefaults() *WafGetTagsResponse

NewWafGetTagsResponseWithDefaults instantiates a new WafGetTagsResponse 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 (*WafGetTagsResponse) GetPageInfo

func (o *WafGetTagsResponse) GetPageInfo() PaginationPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetTagsResponse) GetPageInfoOk

func (o *WafGetTagsResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*WafGetTagsResponse) GetResults

func (o *WafGetTagsResponse) GetResults() []WafTag

GetResults returns the Results field value if set, zero value otherwise.

func (*WafGetTagsResponse) GetResultsOk

func (o *WafGetTagsResponse) GetResultsOk() (*[]WafTag, 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 (*WafGetTagsResponse) HasPageInfo

func (o *WafGetTagsResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetTagsResponse) HasResults

func (o *WafGetTagsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafGetTagsResponse) MarshalJSON

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

func (*WafGetTagsResponse) SetPageInfo

func (o *WafGetTagsResponse) SetPageInfo(v PaginationPageInfo)

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetTagsResponse) SetResults

func (o *WafGetTagsResponse) SetResults(v []WafTag)

SetResults gets a reference to the given []WafTag and assigns it to the Results field.

type WafGetTrafficResponse

type WafGetTrafficResponse struct {
	// The requested WAF traffic
	Traffic *[]WafTraffic `json:"traffic,omitempty"`
}

WafGetTrafficResponse A response from a request to retrieve a stack's WAF traffic

func NewWafGetTrafficResponse

func NewWafGetTrafficResponse() *WafGetTrafficResponse

NewWafGetTrafficResponse instantiates a new WafGetTrafficResponse 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 NewWafGetTrafficResponseWithDefaults

func NewWafGetTrafficResponseWithDefaults() *WafGetTrafficResponse

NewWafGetTrafficResponseWithDefaults instantiates a new WafGetTrafficResponse 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 (*WafGetTrafficResponse) GetTraffic

func (o *WafGetTrafficResponse) GetTraffic() []WafTraffic

GetTraffic returns the Traffic field value if set, zero value otherwise.

func (*WafGetTrafficResponse) GetTrafficOk

func (o *WafGetTrafficResponse) GetTrafficOk() (*[]WafTraffic, bool)

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

func (*WafGetTrafficResponse) HasTraffic

func (o *WafGetTrafficResponse) HasTraffic() bool

HasTraffic returns a boolean if a field has been set.

func (WafGetTrafficResponse) MarshalJSON

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

func (*WafGetTrafficResponse) SetTraffic

func (o *WafGetTrafficResponse) SetTraffic(v []WafTraffic)

SetTraffic gets a reference to the given []WafTraffic and assigns it to the Traffic field.

type WafGetTrafficV2Response

type WafGetTrafficV2Response struct {
	// The requested WAF traffic
	Traffic *[]WafTrafficV2 `json:"traffic,omitempty"`
}

WafGetTrafficV2Response A response from a request to retrieve a stack's WAF traffic

func NewWafGetTrafficV2Response

func NewWafGetTrafficV2Response() *WafGetTrafficV2Response

NewWafGetTrafficV2Response instantiates a new WafGetTrafficV2Response 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 NewWafGetTrafficV2ResponseWithDefaults

func NewWafGetTrafficV2ResponseWithDefaults() *WafGetTrafficV2Response

NewWafGetTrafficV2ResponseWithDefaults instantiates a new WafGetTrafficV2Response 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 (*WafGetTrafficV2Response) GetTraffic

func (o *WafGetTrafficV2Response) GetTraffic() []WafTrafficV2

GetTraffic returns the Traffic field value if set, zero value otherwise.

func (*WafGetTrafficV2Response) GetTrafficOk

func (o *WafGetTrafficV2Response) GetTrafficOk() (*[]WafTrafficV2, bool)

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

func (*WafGetTrafficV2Response) HasTraffic

func (o *WafGetTrafficV2Response) HasTraffic() bool

HasTraffic returns a boolean if a field has been set.

func (WafGetTrafficV2Response) MarshalJSON

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

func (*WafGetTrafficV2Response) SetTraffic

func (o *WafGetTrafficV2Response) SetTraffic(v []WafTrafficV2)

SetTraffic gets a reference to the given []WafTrafficV2 and assigns it to the Traffic field.

type WafGetWAFOrganizationsResponse

type WafGetWAFOrganizationsResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested WHOIS organizations
	Results *[]WafWAFOrganization `json:"results,omitempty"`
}

WafGetWAFOrganizationsResponse A response for a request to get a WHOIS organization

func NewWafGetWAFOrganizationsResponse

func NewWafGetWAFOrganizationsResponse() *WafGetWAFOrganizationsResponse

NewWafGetWAFOrganizationsResponse instantiates a new WafGetWAFOrganizationsResponse 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 NewWafGetWAFOrganizationsResponseWithDefaults

func NewWafGetWAFOrganizationsResponseWithDefaults() *WafGetWAFOrganizationsResponse

NewWafGetWAFOrganizationsResponseWithDefaults instantiates a new WafGetWAFOrganizationsResponse 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 (*WafGetWAFOrganizationsResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafGetWAFOrganizationsResponse) GetPageInfoOk

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

func (*WafGetWAFOrganizationsResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*WafGetWAFOrganizationsResponse) GetResultsOk

func (o *WafGetWAFOrganizationsResponse) GetResultsOk() (*[]WafWAFOrganization, 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 (*WafGetWAFOrganizationsResponse) HasPageInfo

func (o *WafGetWAFOrganizationsResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafGetWAFOrganizationsResponse) HasResults

func (o *WafGetWAFOrganizationsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafGetWAFOrganizationsResponse) MarshalJSON

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

func (*WafGetWAFOrganizationsResponse) SetPageInfo

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafGetWAFOrganizationsResponse) SetResults

SetResults gets a reference to the given []WafWAFOrganization and assigns it to the Results field.

type WafHttpMethod

type WafHttpMethod string

WafHttpMethod HTTP methods of a request - METHOD_UNSPECIFIED: Unspecified HTTP method - GET: HTTP GET method - POST: HTTP POST method - PUT: HTTP PUT method - DELETE: HTTP DELETE method - HEAD: HTTP HEAD method - PATCH: HTTP PATCH method - OPTIONS: HTTP OPTIONS method - CONNECT: HTTP CONNECT method - TRACE: HTTP TRACE method

const (
	WAFHTTPMETHOD_METHOD_UNSPECIFIED WafHttpMethod = "METHOD_UNSPECIFIED"
	WAFHTTPMETHOD_GET                WafHttpMethod = "GET"
	WAFHTTPMETHOD_POST               WafHttpMethod = "POST"
	WAFHTTPMETHOD_PUT                WafHttpMethod = "PUT"
	WAFHTTPMETHOD_DELETE             WafHttpMethod = "DELETE"
	WAFHTTPMETHOD_HEAD               WafHttpMethod = "HEAD"
	WAFHTTPMETHOD_PATCH              WafHttpMethod = "PATCH"
	WAFHTTPMETHOD_OPTIONS            WafHttpMethod = "OPTIONS"
	WAFHTTPMETHOD_CONNECT            WafHttpMethod = "CONNECT"
	WAFHTTPMETHOD_TRACE              WafHttpMethod = "TRACE"
)

List of wafHttpMethod

func (WafHttpMethod) Ptr

func (v WafHttpMethod) Ptr() *WafHttpMethod

Ptr returns reference to wafHttpMethod value

type WafHttpVerificationDetails

type WafHttpVerificationDetails struct {
	// Path to the verification file
	Path *string `json:"path,omitempty"`
	// Response content type
	ContentType *string `json:"contentType,omitempty"`
	// Body content of response
	Body *string `json:"body,omitempty"`
}

WafHttpVerificationDetails HTTP-based domain ownership verification details

func NewWafHttpVerificationDetails

func NewWafHttpVerificationDetails() *WafHttpVerificationDetails

NewWafHttpVerificationDetails instantiates a new WafHttpVerificationDetails 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 NewWafHttpVerificationDetailsWithDefaults

func NewWafHttpVerificationDetailsWithDefaults() *WafHttpVerificationDetails

NewWafHttpVerificationDetailsWithDefaults instantiates a new WafHttpVerificationDetails 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 (*WafHttpVerificationDetails) GetBody

func (o *WafHttpVerificationDetails) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*WafHttpVerificationDetails) GetBodyOk

func (o *WafHttpVerificationDetails) GetBodyOk() (*string, bool)

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

func (*WafHttpVerificationDetails) GetContentType

func (o *WafHttpVerificationDetails) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*WafHttpVerificationDetails) GetContentTypeOk

func (o *WafHttpVerificationDetails) GetContentTypeOk() (*string, bool)

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

func (*WafHttpVerificationDetails) GetPath

func (o *WafHttpVerificationDetails) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*WafHttpVerificationDetails) GetPathOk

func (o *WafHttpVerificationDetails) GetPathOk() (*string, bool)

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

func (*WafHttpVerificationDetails) HasBody

func (o *WafHttpVerificationDetails) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*WafHttpVerificationDetails) HasContentType

func (o *WafHttpVerificationDetails) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*WafHttpVerificationDetails) HasPath

func (o *WafHttpVerificationDetails) HasPath() bool

HasPath returns a boolean if a field has been set.

func (WafHttpVerificationDetails) MarshalJSON

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

func (*WafHttpVerificationDetails) SetBody

func (o *WafHttpVerificationDetails) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*WafHttpVerificationDetails) SetContentType

func (o *WafHttpVerificationDetails) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*WafHttpVerificationDetails) SetPath

func (o *WafHttpVerificationDetails) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

type WafPolicyAction

type WafPolicyAction string

WafPolicyAction The potential actions that the WAF will take when a policy is triggered

const (
	WAFPOLICYACTION_BLOCK     WafPolicyAction = "BLOCK"
	WAFPOLICYACTION_ALLOW     WafPolicyAction = "ALLOW"
	WAFPOLICYACTION_CAPTCHA   WafPolicyAction = "CAPTCHA"
	WAFPOLICYACTION_HANDSHAKE WafPolicyAction = "HANDSHAKE"
	WAFPOLICYACTION_MONITOR   WafPolicyAction = "MONITOR"
)

List of wafPolicyAction

func (WafPolicyAction) Ptr

Ptr returns reference to wafPolicyAction value

type WafPolicyGroup

type WafPolicyGroup struct {
	// A policy group's ID
	Id *string `json:"id,omitempty"`
	// A policy group's name
	Name *string `json:"name,omitempty"`
	// A list of the policies in a policy group
	Policies *[]SchemawafPolicy `json:"policies,omitempty"`
}

WafPolicyGroup A group of WAF policies with similar effect

func NewWafPolicyGroup

func NewWafPolicyGroup() *WafPolicyGroup

NewWafPolicyGroup instantiates a new WafPolicyGroup 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 NewWafPolicyGroupWithDefaults

func NewWafPolicyGroupWithDefaults() *WafPolicyGroup

NewWafPolicyGroupWithDefaults instantiates a new WafPolicyGroup 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 (*WafPolicyGroup) GetId

func (o *WafPolicyGroup) GetId() string

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

func (*WafPolicyGroup) GetIdOk

func (o *WafPolicyGroup) GetIdOk() (*string, 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 (*WafPolicyGroup) GetName

func (o *WafPolicyGroup) GetName() string

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

func (*WafPolicyGroup) GetNameOk

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

func (o *WafPolicyGroup) GetPolicies() []SchemawafPolicy

GetPolicies returns the Policies field value if set, zero value otherwise.

func (*WafPolicyGroup) GetPoliciesOk

func (o *WafPolicyGroup) GetPoliciesOk() (*[]SchemawafPolicy, bool)

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

func (*WafPolicyGroup) HasId

func (o *WafPolicyGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafPolicyGroup) HasName

func (o *WafPolicyGroup) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafPolicyGroup) HasPolicies

func (o *WafPolicyGroup) HasPolicies() bool

HasPolicies returns a boolean if a field has been set.

func (WafPolicyGroup) MarshalJSON

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

func (*WafPolicyGroup) SetId

func (o *WafPolicyGroup) SetId(v string)

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

func (*WafPolicyGroup) SetName

func (o *WafPolicyGroup) SetName(v string)

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

func (*WafPolicyGroup) SetPolicies

func (o *WafPolicyGroup) SetPolicies(v []SchemawafPolicy)

SetPolicies gets a reference to the given []SchemawafPolicy and assigns it to the Policies field.

type WafRequestAction

type WafRequestAction string

WafRequestAction The actions that the WAF takes when a request triggers a WAF rule - ACTION_UNSPECIFIED: The WAF performed an unspecified action with the request - BLOCK: The WAF blocked the request - ALLOW: The WAF allowed the request - CAPTCHA: The WAF presented the user with a captcha - HANDSHAKE: The WAF performed automatic browser validation - MONITOR: The WAF monitored the request but took no action

const (
	WAFREQUESTACTION_ACTION_UNSPECIFIED WafRequestAction = "ACTION_UNSPECIFIED"
	WAFREQUESTACTION_BLOCK              WafRequestAction = "BLOCK"
	WAFREQUESTACTION_ALLOW              WafRequestAction = "ALLOW"
	WAFREQUESTACTION_CAPTCHA            WafRequestAction = "CAPTCHA"
	WAFREQUESTACTION_HANDSHAKE          WafRequestAction = "HANDSHAKE"
	WAFREQUESTACTION_MONITOR            WafRequestAction = "MONITOR"
)

List of wafRequestAction

func (WafRequestAction) Ptr

Ptr returns reference to wafRequestAction value

type WafRequestCertificateRequest

type WafRequestCertificateRequest struct {
	// An optional list of delivery domains that will be included as subject alternative names on the certificate  If no hosts are provided, all delivery domains on the site will be included with the first one in the list being used as the common name.  If hosts are provided the first entry will be used as the common name.  All entries in the list are validated against the existing delivery domains for the provided site.
	Hosts              *[]string                         `json:"hosts,omitempty"`
	VerificationMethod *WafCertificateVerificationMethod `json:"verificationMethod,omitempty"`
}

WafRequestCertificateRequest struct for WafRequestCertificateRequest

func NewWafRequestCertificateRequest

func NewWafRequestCertificateRequest() *WafRequestCertificateRequest

NewWafRequestCertificateRequest instantiates a new WafRequestCertificateRequest 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 NewWafRequestCertificateRequestWithDefaults

func NewWafRequestCertificateRequestWithDefaults() *WafRequestCertificateRequest

NewWafRequestCertificateRequestWithDefaults instantiates a new WafRequestCertificateRequest 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 (*WafRequestCertificateRequest) GetHosts

func (o *WafRequestCertificateRequest) GetHosts() []string

GetHosts returns the Hosts field value if set, zero value otherwise.

func (*WafRequestCertificateRequest) GetHostsOk

func (o *WafRequestCertificateRequest) GetHostsOk() (*[]string, bool)

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

func (*WafRequestCertificateRequest) GetVerificationMethod

GetVerificationMethod returns the VerificationMethod field value if set, zero value otherwise.

func (*WafRequestCertificateRequest) GetVerificationMethodOk

func (o *WafRequestCertificateRequest) GetVerificationMethodOk() (*WafCertificateVerificationMethod, bool)

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

func (*WafRequestCertificateRequest) HasHosts

func (o *WafRequestCertificateRequest) HasHosts() bool

HasHosts returns a boolean if a field has been set.

func (*WafRequestCertificateRequest) HasVerificationMethod

func (o *WafRequestCertificateRequest) HasVerificationMethod() bool

HasVerificationMethod returns a boolean if a field has been set.

func (WafRequestCertificateRequest) MarshalJSON

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

func (*WafRequestCertificateRequest) SetHosts

func (o *WafRequestCertificateRequest) SetHosts(v []string)

SetHosts gets a reference to the given []string and assigns it to the Hosts field.

func (*WafRequestCertificateRequest) SetVerificationMethod

SetVerificationMethod gets a reference to the given WafCertificateVerificationMethod and assigns it to the VerificationMethod field.

type WafRequestCertificateResponse

type WafRequestCertificateResponse struct {
	Certificate *WafCertificate `json:"certificate,omitempty"`
	// The certificate's verification requirements
	VerificationRequirements *[]WafVerificationRequirements `json:"verificationRequirements,omitempty"`
}

WafRequestCertificateResponse A response from a request to provision an SSL certificate for a WAF site

func NewWafRequestCertificateResponse

func NewWafRequestCertificateResponse() *WafRequestCertificateResponse

NewWafRequestCertificateResponse instantiates a new WafRequestCertificateResponse 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 NewWafRequestCertificateResponseWithDefaults

func NewWafRequestCertificateResponseWithDefaults() *WafRequestCertificateResponse

NewWafRequestCertificateResponseWithDefaults instantiates a new WafRequestCertificateResponse 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 (*WafRequestCertificateResponse) GetCertificate

func (o *WafRequestCertificateResponse) GetCertificate() WafCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafRequestCertificateResponse) GetCertificateOk

func (o *WafRequestCertificateResponse) GetCertificateOk() (*WafCertificate, bool)

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

func (*WafRequestCertificateResponse) GetVerificationRequirements

func (o *WafRequestCertificateResponse) GetVerificationRequirements() []WafVerificationRequirements

GetVerificationRequirements returns the VerificationRequirements field value if set, zero value otherwise.

func (*WafRequestCertificateResponse) GetVerificationRequirementsOk

func (o *WafRequestCertificateResponse) GetVerificationRequirementsOk() (*[]WafVerificationRequirements, bool)

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

func (*WafRequestCertificateResponse) HasCertificate

func (o *WafRequestCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*WafRequestCertificateResponse) HasVerificationRequirements

func (o *WafRequestCertificateResponse) HasVerificationRequirements() bool

HasVerificationRequirements returns a boolean if a field has been set.

func (WafRequestCertificateResponse) MarshalJSON

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

func (*WafRequestCertificateResponse) SetCertificate

func (o *WafRequestCertificateResponse) SetCertificate(v WafCertificate)

SetCertificate gets a reference to the given WafCertificate and assigns it to the Certificate field.

func (*WafRequestCertificateResponse) SetVerificationRequirements

func (o *WafRequestCertificateResponse) SetVerificationRequirements(v []WafVerificationRequirements)

SetVerificationRequirements gets a reference to the given []WafVerificationRequirements and assigns it to the VerificationRequirements field.

type WafRequestDetails

type WafRequestDetails struct {
	// The WAF request's unique identifier
	Id *string `json:"id,omitempty"`
	// The path of the requested URL
	Path   *string           `json:"path,omitempty"`
	Method *WafHttpMethod    `json:"method,omitempty"`
	Action *WafRequestAction `json:"action,omitempty"`
	// The unique ID of the WAF rule that triggered the action against the WAF request
	RuleId *string `json:"ruleId,omitempty"`
	// The name of the WAF rule triggered by the request
	RuleName  *string                     `json:"ruleName,omitempty"`
	UserAgent *WafRequestDetailsUserAgent `json:"userAgent,omitempty"`
	Network   *WafRequestDetailsNetwork   `json:"network,omitempty"`
	// When the WAF request occurred
	RequestTime *time.Time `json:"requestTime,omitempty"`
	// The WAF request's user-facing identifier  Reference IDs are displayed to the end user when the WAF blocks a request to a site. Please note that a request's ID and reference ID are different.
	ReferenceId *string `json:"referenceId,omitempty"`
	// The content type of the WAF request
	ContentType *string `json:"contentType,omitempty"`
	// The HTTP scheme of the WAF request
	Scheme *string `json:"scheme,omitempty"`
	// The HTTP status code of the WAF request
	HttpStatusCode *string `json:"httpStatusCode,omitempty"`
	// The HTTP version of the WAF request
	HttpVersion *string `json:"httpVersion,omitempty"`
	// Aspects of a WAF request
	Tags *map[string]RequestDetailsTags `json:"tags,omitempty"`
	// The time it took the WAF to process the WAF request
	ResponseTime *string `json:"responseTime,omitempty"`
	// The HTTP request headers of the WAF request
	RequestHeaders *map[string]string `json:"requestHeaders,omitempty"`
	// The ID of the of challenge that was generated for the WAF request
	IncidentId  *string                    `json:"incidentId,omitempty"`
	RequestType *RequestDetailsRequestType `json:"requestType,omitempty"`
	// The number of WAF requests in the session
	SessionRequestCount *string `json:"sessionRequestCount,omitempty"`
}

WafRequestDetails A request that was inspected by the WAF

func NewWafRequestDetails

func NewWafRequestDetails() *WafRequestDetails

NewWafRequestDetails instantiates a new WafRequestDetails 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 NewWafRequestDetailsWithDefaults

func NewWafRequestDetailsWithDefaults() *WafRequestDetails

NewWafRequestDetailsWithDefaults instantiates a new WafRequestDetails 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 (*WafRequestDetails) GetAction

func (o *WafRequestDetails) GetAction() WafRequestAction

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

func (*WafRequestDetails) GetActionOk

func (o *WafRequestDetails) GetActionOk() (*WafRequestAction, bool)

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

func (*WafRequestDetails) GetContentType

func (o *WafRequestDetails) GetContentType() string

GetContentType returns the ContentType field value if set, zero value otherwise.

func (*WafRequestDetails) GetContentTypeOk

func (o *WafRequestDetails) GetContentTypeOk() (*string, bool)

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

func (*WafRequestDetails) GetHttpStatusCode

func (o *WafRequestDetails) GetHttpStatusCode() string

GetHttpStatusCode returns the HttpStatusCode field value if set, zero value otherwise.

func (*WafRequestDetails) GetHttpStatusCodeOk

func (o *WafRequestDetails) GetHttpStatusCodeOk() (*string, bool)

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

func (*WafRequestDetails) GetHttpVersion

func (o *WafRequestDetails) GetHttpVersion() string

GetHttpVersion returns the HttpVersion field value if set, zero value otherwise.

func (*WafRequestDetails) GetHttpVersionOk

func (o *WafRequestDetails) GetHttpVersionOk() (*string, bool)

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

func (*WafRequestDetails) GetId

func (o *WafRequestDetails) GetId() string

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

func (*WafRequestDetails) GetIdOk

func (o *WafRequestDetails) GetIdOk() (*string, 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 (*WafRequestDetails) GetIncidentId

func (o *WafRequestDetails) GetIncidentId() string

GetIncidentId returns the IncidentId field value if set, zero value otherwise.

func (*WafRequestDetails) GetIncidentIdOk

func (o *WafRequestDetails) GetIncidentIdOk() (*string, bool)

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

func (*WafRequestDetails) GetMethod

func (o *WafRequestDetails) GetMethod() WafHttpMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*WafRequestDetails) GetMethodOk

func (o *WafRequestDetails) GetMethodOk() (*WafHttpMethod, bool)

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

func (*WafRequestDetails) GetNetwork

GetNetwork returns the Network field value if set, zero value otherwise.

func (*WafRequestDetails) GetNetworkOk

func (o *WafRequestDetails) GetNetworkOk() (*WafRequestDetailsNetwork, bool)

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

func (*WafRequestDetails) GetPath

func (o *WafRequestDetails) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*WafRequestDetails) GetPathOk

func (o *WafRequestDetails) GetPathOk() (*string, bool)

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

func (*WafRequestDetails) GetReferenceId

func (o *WafRequestDetails) GetReferenceId() string

GetReferenceId returns the ReferenceId field value if set, zero value otherwise.

func (*WafRequestDetails) GetReferenceIdOk

func (o *WafRequestDetails) GetReferenceIdOk() (*string, bool)

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

func (*WafRequestDetails) GetRequestHeaders

func (o *WafRequestDetails) GetRequestHeaders() map[string]string

GetRequestHeaders returns the RequestHeaders field value if set, zero value otherwise.

func (*WafRequestDetails) GetRequestHeadersOk

func (o *WafRequestDetails) GetRequestHeadersOk() (*map[string]string, bool)

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

func (*WafRequestDetails) GetRequestTime

func (o *WafRequestDetails) GetRequestTime() time.Time

GetRequestTime returns the RequestTime field value if set, zero value otherwise.

func (*WafRequestDetails) GetRequestTimeOk

func (o *WafRequestDetails) GetRequestTimeOk() (*time.Time, bool)

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

func (*WafRequestDetails) GetRequestType

func (o *WafRequestDetails) GetRequestType() RequestDetailsRequestType

GetRequestType returns the RequestType field value if set, zero value otherwise.

func (*WafRequestDetails) GetRequestTypeOk

func (o *WafRequestDetails) GetRequestTypeOk() (*RequestDetailsRequestType, bool)

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

func (*WafRequestDetails) GetResponseTime

func (o *WafRequestDetails) GetResponseTime() string

GetResponseTime returns the ResponseTime field value if set, zero value otherwise.

func (*WafRequestDetails) GetResponseTimeOk

func (o *WafRequestDetails) GetResponseTimeOk() (*string, bool)

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

func (*WafRequestDetails) GetRuleId

func (o *WafRequestDetails) GetRuleId() string

GetRuleId returns the RuleId field value if set, zero value otherwise.

func (*WafRequestDetails) GetRuleIdOk

func (o *WafRequestDetails) GetRuleIdOk() (*string, 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 (*WafRequestDetails) GetRuleName

func (o *WafRequestDetails) GetRuleName() string

GetRuleName returns the RuleName field value if set, zero value otherwise.

func (*WafRequestDetails) GetRuleNameOk

func (o *WafRequestDetails) GetRuleNameOk() (*string, bool)

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

func (*WafRequestDetails) GetScheme

func (o *WafRequestDetails) GetScheme() string

GetScheme returns the Scheme field value if set, zero value otherwise.

func (*WafRequestDetails) GetSchemeOk

func (o *WafRequestDetails) GetSchemeOk() (*string, bool)

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

func (*WafRequestDetails) GetSessionRequestCount

func (o *WafRequestDetails) GetSessionRequestCount() string

GetSessionRequestCount returns the SessionRequestCount field value if set, zero value otherwise.

func (*WafRequestDetails) GetSessionRequestCountOk

func (o *WafRequestDetails) GetSessionRequestCountOk() (*string, bool)

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

func (*WafRequestDetails) GetTags

func (o *WafRequestDetails) GetTags() map[string]RequestDetailsTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*WafRequestDetails) GetTagsOk

func (o *WafRequestDetails) GetTagsOk() (*map[string]RequestDetailsTags, bool)

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

func (*WafRequestDetails) GetUserAgent

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*WafRequestDetails) GetUserAgentOk

func (o *WafRequestDetails) GetUserAgentOk() (*WafRequestDetailsUserAgent, bool)

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

func (*WafRequestDetails) HasAction

func (o *WafRequestDetails) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*WafRequestDetails) HasContentType

func (o *WafRequestDetails) HasContentType() bool

HasContentType returns a boolean if a field has been set.

func (*WafRequestDetails) HasHttpStatusCode

func (o *WafRequestDetails) HasHttpStatusCode() bool

HasHttpStatusCode returns a boolean if a field has been set.

func (*WafRequestDetails) HasHttpVersion

func (o *WafRequestDetails) HasHttpVersion() bool

HasHttpVersion returns a boolean if a field has been set.

func (*WafRequestDetails) HasId

func (o *WafRequestDetails) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafRequestDetails) HasIncidentId

func (o *WafRequestDetails) HasIncidentId() bool

HasIncidentId returns a boolean if a field has been set.

func (*WafRequestDetails) HasMethod

func (o *WafRequestDetails) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*WafRequestDetails) HasNetwork

func (o *WafRequestDetails) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*WafRequestDetails) HasPath

func (o *WafRequestDetails) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*WafRequestDetails) HasReferenceId

func (o *WafRequestDetails) HasReferenceId() bool

HasReferenceId returns a boolean if a field has been set.

func (*WafRequestDetails) HasRequestHeaders

func (o *WafRequestDetails) HasRequestHeaders() bool

HasRequestHeaders returns a boolean if a field has been set.

func (*WafRequestDetails) HasRequestTime

func (o *WafRequestDetails) HasRequestTime() bool

HasRequestTime returns a boolean if a field has been set.

func (*WafRequestDetails) HasRequestType

func (o *WafRequestDetails) HasRequestType() bool

HasRequestType returns a boolean if a field has been set.

func (*WafRequestDetails) HasResponseTime

func (o *WafRequestDetails) HasResponseTime() bool

HasResponseTime returns a boolean if a field has been set.

func (*WafRequestDetails) HasRuleId

func (o *WafRequestDetails) HasRuleId() bool

HasRuleId returns a boolean if a field has been set.

func (*WafRequestDetails) HasRuleName

func (o *WafRequestDetails) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

func (*WafRequestDetails) HasScheme

func (o *WafRequestDetails) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*WafRequestDetails) HasSessionRequestCount

func (o *WafRequestDetails) HasSessionRequestCount() bool

HasSessionRequestCount returns a boolean if a field has been set.

func (*WafRequestDetails) HasTags

func (o *WafRequestDetails) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*WafRequestDetails) HasUserAgent

func (o *WafRequestDetails) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (WafRequestDetails) MarshalJSON

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

func (*WafRequestDetails) SetAction

func (o *WafRequestDetails) SetAction(v WafRequestAction)

SetAction gets a reference to the given WafRequestAction and assigns it to the Action field.

func (*WafRequestDetails) SetContentType

func (o *WafRequestDetails) SetContentType(v string)

SetContentType gets a reference to the given string and assigns it to the ContentType field.

func (*WafRequestDetails) SetHttpStatusCode

func (o *WafRequestDetails) SetHttpStatusCode(v string)

SetHttpStatusCode gets a reference to the given string and assigns it to the HttpStatusCode field.

func (*WafRequestDetails) SetHttpVersion

func (o *WafRequestDetails) SetHttpVersion(v string)

SetHttpVersion gets a reference to the given string and assigns it to the HttpVersion field.

func (*WafRequestDetails) SetId

func (o *WafRequestDetails) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*WafRequestDetails) SetIncidentId

func (o *WafRequestDetails) SetIncidentId(v string)

SetIncidentId gets a reference to the given string and assigns it to the IncidentId field.

func (*WafRequestDetails) SetMethod

func (o *WafRequestDetails) SetMethod(v WafHttpMethod)

SetMethod gets a reference to the given WafHttpMethod and assigns it to the Method field.

func (*WafRequestDetails) SetNetwork

SetNetwork gets a reference to the given WafRequestDetailsNetwork and assigns it to the Network field.

func (*WafRequestDetails) SetPath

func (o *WafRequestDetails) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*WafRequestDetails) SetReferenceId

func (o *WafRequestDetails) SetReferenceId(v string)

SetReferenceId gets a reference to the given string and assigns it to the ReferenceId field.

func (*WafRequestDetails) SetRequestHeaders

func (o *WafRequestDetails) SetRequestHeaders(v map[string]string)

SetRequestHeaders gets a reference to the given map[string]string and assigns it to the RequestHeaders field.

func (*WafRequestDetails) SetRequestTime

func (o *WafRequestDetails) SetRequestTime(v time.Time)

SetRequestTime gets a reference to the given time.Time and assigns it to the RequestTime field.

func (*WafRequestDetails) SetRequestType

func (o *WafRequestDetails) SetRequestType(v RequestDetailsRequestType)

SetRequestType gets a reference to the given RequestDetailsRequestType and assigns it to the RequestType field.

func (*WafRequestDetails) SetResponseTime

func (o *WafRequestDetails) SetResponseTime(v string)

SetResponseTime gets a reference to the given string and assigns it to the ResponseTime field.

func (*WafRequestDetails) SetRuleId

func (o *WafRequestDetails) SetRuleId(v string)

SetRuleId gets a reference to the given string and assigns it to the RuleId field.

func (*WafRequestDetails) SetRuleName

func (o *WafRequestDetails) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

func (*WafRequestDetails) SetScheme

func (o *WafRequestDetails) SetScheme(v string)

SetScheme gets a reference to the given string and assigns it to the Scheme field.

func (*WafRequestDetails) SetSessionRequestCount

func (o *WafRequestDetails) SetSessionRequestCount(v string)

SetSessionRequestCount gets a reference to the given string and assigns it to the SessionRequestCount field.

func (*WafRequestDetails) SetTags

func (o *WafRequestDetails) SetTags(v map[string]RequestDetailsTags)

SetTags gets a reference to the given map[string]RequestDetailsTags and assigns it to the Tags field.

func (*WafRequestDetails) SetUserAgent

func (o *WafRequestDetails) SetUserAgent(v WafRequestDetailsUserAgent)

SetUserAgent gets a reference to the given WafRequestDetailsUserAgent and assigns it to the UserAgent field.

type WafRequestDetailsNetwork

type WafRequestDetailsNetwork struct {
	// The originating IP address
	ClientIp *string `json:"clientIp,omitempty"`
	// The ISO 3166-1 alpha-2 code of the country where the request originated from
	Country      *string              `json:"country,omitempty"`
	Organization *NetworkOrganization `json:"organization,omitempty"`
}

WafRequestDetailsNetwork A WAF request's network related aspects

func NewWafRequestDetailsNetwork

func NewWafRequestDetailsNetwork() *WafRequestDetailsNetwork

NewWafRequestDetailsNetwork instantiates a new WafRequestDetailsNetwork 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 NewWafRequestDetailsNetworkWithDefaults

func NewWafRequestDetailsNetworkWithDefaults() *WafRequestDetailsNetwork

NewWafRequestDetailsNetworkWithDefaults instantiates a new WafRequestDetailsNetwork 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 (*WafRequestDetailsNetwork) GetClientIp

func (o *WafRequestDetailsNetwork) GetClientIp() string

GetClientIp returns the ClientIp field value if set, zero value otherwise.

func (*WafRequestDetailsNetwork) GetClientIpOk

func (o *WafRequestDetailsNetwork) GetClientIpOk() (*string, bool)

GetClientIpOk returns a tuple with the ClientIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsNetwork) GetCountry

func (o *WafRequestDetailsNetwork) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*WafRequestDetailsNetwork) GetCountryOk

func (o *WafRequestDetailsNetwork) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsNetwork) GetOrganization

func (o *WafRequestDetailsNetwork) GetOrganization() NetworkOrganization

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*WafRequestDetailsNetwork) GetOrganizationOk

func (o *WafRequestDetailsNetwork) GetOrganizationOk() (*NetworkOrganization, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsNetwork) HasClientIp

func (o *WafRequestDetailsNetwork) HasClientIp() bool

HasClientIp returns a boolean if a field has been set.

func (*WafRequestDetailsNetwork) HasCountry

func (o *WafRequestDetailsNetwork) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*WafRequestDetailsNetwork) HasOrganization

func (o *WafRequestDetailsNetwork) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (WafRequestDetailsNetwork) MarshalJSON

func (o WafRequestDetailsNetwork) MarshalJSON() ([]byte, error)

func (*WafRequestDetailsNetwork) SetClientIp

func (o *WafRequestDetailsNetwork) SetClientIp(v string)

SetClientIp gets a reference to the given string and assigns it to the ClientIp field.

func (*WafRequestDetailsNetwork) SetCountry

func (o *WafRequestDetailsNetwork) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*WafRequestDetailsNetwork) SetOrganization

func (o *WafRequestDetailsNetwork) SetOrganization(v NetworkOrganization)

SetOrganization gets a reference to the given NetworkOrganization and assigns it to the Organization field.

type WafRequestDetailsUserAgent

type WafRequestDetailsUserAgent struct {
	// The full user agent string for the WAF request
	FullString *string `json:"fullString,omitempty"`
	// The name of the requesting client, typically the name of the requesting web browser
	Client *string `json:"client,omitempty"`
	// The version of the requesting user agent's client, typically also the version of the requesting web browser
	ClientVersion *string `json:"clientVersion,omitempty"`
	// The name of the requesting user agent's browser
	BaseBrowser *string `json:"baseBrowser,omitempty"`
	// The version of the requesting user agent's browser
	BaseBrowserVersion *string `json:"baseBrowserVersion,omitempty"`
	// The name of the requesting user agent's operating system
	Os *string `json:"os,omitempty"`
	// The name of the requesting user agent's device
	Device *string `json:"device,omitempty"`
	// The type of the requesting user agent's device
	DeviceType *string `json:"deviceType,omitempty"`
	// The name of the requesting user agent's CPU
	Cpu *string `json:"cpu,omitempty"`
	// The name of the requesting user agent's engine
	RenderingEngine *string `json:"renderingEngine,omitempty"`
}

WafRequestDetailsUserAgent A WAF event's network related aspects

func NewWafRequestDetailsUserAgent

func NewWafRequestDetailsUserAgent() *WafRequestDetailsUserAgent

NewWafRequestDetailsUserAgent instantiates a new WafRequestDetailsUserAgent 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 NewWafRequestDetailsUserAgentWithDefaults

func NewWafRequestDetailsUserAgentWithDefaults() *WafRequestDetailsUserAgent

NewWafRequestDetailsUserAgentWithDefaults instantiates a new WafRequestDetailsUserAgent 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 (*WafRequestDetailsUserAgent) GetBaseBrowser

func (o *WafRequestDetailsUserAgent) GetBaseBrowser() string

GetBaseBrowser returns the BaseBrowser field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetBaseBrowserOk

func (o *WafRequestDetailsUserAgent) GetBaseBrowserOk() (*string, bool)

GetBaseBrowserOk returns a tuple with the BaseBrowser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetBaseBrowserVersion

func (o *WafRequestDetailsUserAgent) GetBaseBrowserVersion() string

GetBaseBrowserVersion returns the BaseBrowserVersion field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetBaseBrowserVersionOk

func (o *WafRequestDetailsUserAgent) GetBaseBrowserVersionOk() (*string, bool)

GetBaseBrowserVersionOk returns a tuple with the BaseBrowserVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetClient

func (o *WafRequestDetailsUserAgent) GetClient() string

GetClient returns the Client field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetClientOk

func (o *WafRequestDetailsUserAgent) GetClientOk() (*string, bool)

GetClientOk returns a tuple with the Client field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetClientVersion

func (o *WafRequestDetailsUserAgent) GetClientVersion() string

GetClientVersion returns the ClientVersion field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetClientVersionOk

func (o *WafRequestDetailsUserAgent) GetClientVersionOk() (*string, bool)

GetClientVersionOk returns a tuple with the ClientVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetCpu

func (o *WafRequestDetailsUserAgent) GetCpu() string

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetCpuOk

func (o *WafRequestDetailsUserAgent) GetCpuOk() (*string, bool)

GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetDevice

func (o *WafRequestDetailsUserAgent) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetDeviceOk

func (o *WafRequestDetailsUserAgent) GetDeviceOk() (*string, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetDeviceType

func (o *WafRequestDetailsUserAgent) GetDeviceType() string

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetDeviceTypeOk

func (o *WafRequestDetailsUserAgent) GetDeviceTypeOk() (*string, bool)

GetDeviceTypeOk returns a tuple with the DeviceType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetFullString

func (o *WafRequestDetailsUserAgent) GetFullString() string

GetFullString returns the FullString field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetFullStringOk

func (o *WafRequestDetailsUserAgent) GetFullStringOk() (*string, bool)

GetFullStringOk returns a tuple with the FullString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetOs

GetOs returns the Os field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetOsOk

func (o *WafRequestDetailsUserAgent) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) GetRenderingEngine

func (o *WafRequestDetailsUserAgent) GetRenderingEngine() string

GetRenderingEngine returns the RenderingEngine field value if set, zero value otherwise.

func (*WafRequestDetailsUserAgent) GetRenderingEngineOk

func (o *WafRequestDetailsUserAgent) GetRenderingEngineOk() (*string, bool)

GetRenderingEngineOk returns a tuple with the RenderingEngine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRequestDetailsUserAgent) HasBaseBrowser

func (o *WafRequestDetailsUserAgent) HasBaseBrowser() bool

HasBaseBrowser returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasBaseBrowserVersion

func (o *WafRequestDetailsUserAgent) HasBaseBrowserVersion() bool

HasBaseBrowserVersion returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasClient

func (o *WafRequestDetailsUserAgent) HasClient() bool

HasClient returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasClientVersion

func (o *WafRequestDetailsUserAgent) HasClientVersion() bool

HasClientVersion returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasCpu

func (o *WafRequestDetailsUserAgent) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasDevice

func (o *WafRequestDetailsUserAgent) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasDeviceType

func (o *WafRequestDetailsUserAgent) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasFullString

func (o *WafRequestDetailsUserAgent) HasFullString() bool

HasFullString returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasOs

func (o *WafRequestDetailsUserAgent) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*WafRequestDetailsUserAgent) HasRenderingEngine

func (o *WafRequestDetailsUserAgent) HasRenderingEngine() bool

HasRenderingEngine returns a boolean if a field has been set.

func (WafRequestDetailsUserAgent) MarshalJSON

func (o WafRequestDetailsUserAgent) MarshalJSON() ([]byte, error)

func (*WafRequestDetailsUserAgent) SetBaseBrowser

func (o *WafRequestDetailsUserAgent) SetBaseBrowser(v string)

SetBaseBrowser gets a reference to the given string and assigns it to the BaseBrowser field.

func (*WafRequestDetailsUserAgent) SetBaseBrowserVersion

func (o *WafRequestDetailsUserAgent) SetBaseBrowserVersion(v string)

SetBaseBrowserVersion gets a reference to the given string and assigns it to the BaseBrowserVersion field.

func (*WafRequestDetailsUserAgent) SetClient

func (o *WafRequestDetailsUserAgent) SetClient(v string)

SetClient gets a reference to the given string and assigns it to the Client field.

func (*WafRequestDetailsUserAgent) SetClientVersion

func (o *WafRequestDetailsUserAgent) SetClientVersion(v string)

SetClientVersion gets a reference to the given string and assigns it to the ClientVersion field.

func (*WafRequestDetailsUserAgent) SetCpu

func (o *WafRequestDetailsUserAgent) SetCpu(v string)

SetCpu gets a reference to the given string and assigns it to the Cpu field.

func (*WafRequestDetailsUserAgent) SetDevice

func (o *WafRequestDetailsUserAgent) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*WafRequestDetailsUserAgent) SetDeviceType

func (o *WafRequestDetailsUserAgent) SetDeviceType(v string)

SetDeviceType gets a reference to the given string and assigns it to the DeviceType field.

func (*WafRequestDetailsUserAgent) SetFullString

func (o *WafRequestDetailsUserAgent) SetFullString(v string)

SetFullString gets a reference to the given string and assigns it to the FullString field.

func (*WafRequestDetailsUserAgent) SetOs

func (o *WafRequestDetailsUserAgent) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*WafRequestDetailsUserAgent) SetRenderingEngine

func (o *WafRequestDetailsUserAgent) SetRenderingEngine(v string)

SetRenderingEngine gets a reference to the given string and assigns it to the RenderingEngine field.

type WafRule

type WafRule struct {
	// A rule's ID
	Id *string `json:"id,omitempty"`
	// A rule's name
	Name *string `json:"name,omitempty"`
	// A rule's description
	Description *string `json:"description,omitempty"`
	// The conditions required for the WAF engine to trigger the rule  Rules may have between 1 and 5 conditions. All conditions must pass for the rule to trigger.
	Conditions *[]RuleCondition `json:"conditions,omitempty"`
	Action     *WafRuleAction   `json:"action,omitempty"`
	// Whether or not a WAF rule is enabled
	Enabled *bool `json:"enabled,omitempty"`
	// How long a rule's block action will apply to subsequent requests  Durations only apply to rules with block actions.
	ActionDuration *string         `json:"actionDuration,omitempty"`
	StatusCode     *RuleStatusCode `json:"statusCode,omitempty"`
}

WafRule A custom WAF rule applied to a site Unlike pre-defined policies, rules are provided by the user for custom WAF functionality.

func NewWafRule

func NewWafRule() *WafRule

NewWafRule instantiates a new WafRule 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 NewWafRuleWithDefaults

func NewWafRuleWithDefaults() *WafRule

NewWafRuleWithDefaults instantiates a new WafRule 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 (*WafRule) GetAction

func (o *WafRule) GetAction() WafRuleAction

GetAction returns the Action field value if set, zero value otherwise.

func (*WafRule) GetActionDuration

func (o *WafRule) GetActionDuration() string

GetActionDuration returns the ActionDuration field value if set, zero value otherwise.

func (*WafRule) GetActionDurationOk

func (o *WafRule) GetActionDurationOk() (*string, bool)

GetActionDurationOk returns a tuple with the ActionDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) GetActionOk

func (o *WafRule) GetActionOk() (*WafRuleAction, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) GetConditions

func (o *WafRule) GetConditions() []RuleCondition

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*WafRule) GetConditionsOk

func (o *WafRule) GetConditionsOk() (*[]RuleCondition, bool)

GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) GetDescription

func (o *WafRule) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WafRule) GetDescriptionOk

func (o *WafRule) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) GetEnabled

func (o *WafRule) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*WafRule) GetEnabledOk

func (o *WafRule) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) GetId

func (o *WafRule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*WafRule) GetIdOk

func (o *WafRule) GetIdOk() (*string, 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 (*WafRule) GetName

func (o *WafRule) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WafRule) GetNameOk

func (o *WafRule) 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 (*WafRule) GetStatusCode

func (o *WafRule) GetStatusCode() RuleStatusCode

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*WafRule) GetStatusCodeOk

func (o *WafRule) GetStatusCodeOk() (*RuleStatusCode, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafRule) HasAction

func (o *WafRule) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*WafRule) HasActionDuration

func (o *WafRule) HasActionDuration() bool

HasActionDuration returns a boolean if a field has been set.

func (*WafRule) HasConditions

func (o *WafRule) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*WafRule) HasDescription

func (o *WafRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WafRule) HasEnabled

func (o *WafRule) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*WafRule) HasId

func (o *WafRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafRule) HasName

func (o *WafRule) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafRule) HasStatusCode

func (o *WafRule) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (WafRule) MarshalJSON

func (o WafRule) MarshalJSON() ([]byte, error)

func (*WafRule) SetAction

func (o *WafRule) SetAction(v WafRuleAction)

SetAction gets a reference to the given WafRuleAction and assigns it to the Action field.

func (*WafRule) SetActionDuration

func (o *WafRule) SetActionDuration(v string)

SetActionDuration gets a reference to the given string and assigns it to the ActionDuration field.

func (*WafRule) SetConditions

func (o *WafRule) SetConditions(v []RuleCondition)

SetConditions gets a reference to the given []RuleCondition and assigns it to the Conditions field.

func (*WafRule) SetDescription

func (o *WafRule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WafRule) SetEnabled

func (o *WafRule) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*WafRule) SetId

func (o *WafRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*WafRule) SetName

func (o *WafRule) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*WafRule) SetStatusCode

func (o *WafRule) SetStatusCode(v RuleStatusCode)

SetStatusCode gets a reference to the given RuleStatusCode and assigns it to the StatusCode field.

type WafRuleAction

type WafRuleAction string

WafRuleAction The actions that the WAF takes when a rule is triggered - BLOCK: The WAF blocked the request - ALLOW: The WAF allowed the request - CAPTCHA: The WAF presented the user with a captcha - HANDSHAKE: The WAF performed automatic browser validation - MONITOR: The WAF monitored the request but took no action - GATEWAY: The WAF performed extended automatic browser validation

const (
	WAFRULEACTION_BLOCK     WafRuleAction = "BLOCK"
	WAFRULEACTION_ALLOW     WafRuleAction = "ALLOW"
	WAFRULEACTION_CAPTCHA   WafRuleAction = "CAPTCHA"
	WAFRULEACTION_HANDSHAKE WafRuleAction = "HANDSHAKE"
	WAFRULEACTION_MONITOR   WafRuleAction = "MONITOR"
	WAFRULEACTION_GATEWAY   WafRuleAction = "GATEWAY"
)

List of wafRuleAction

func (WafRuleAction) Ptr

func (v WafRuleAction) Ptr() *WafRuleAction

Ptr returns reference to wafRuleAction value

type WafSearchEventsResponse

type WafSearchEventsResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested WAF events
	Results *[]WafEvent `json:"results,omitempty"`
}

WafSearchEventsResponse A response from a request to retrieve a WAF site's events

func NewWafSearchEventsResponse

func NewWafSearchEventsResponse() *WafSearchEventsResponse

NewWafSearchEventsResponse instantiates a new WafSearchEventsResponse 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 NewWafSearchEventsResponseWithDefaults

func NewWafSearchEventsResponseWithDefaults() *WafSearchEventsResponse

NewWafSearchEventsResponseWithDefaults instantiates a new WafSearchEventsResponse 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 (*WafSearchEventsResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*WafSearchEventsResponse) GetPageInfoOk

func (o *WafSearchEventsResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

GetPageInfoOk returns a tuple with the PageInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSearchEventsResponse) GetResults

func (o *WafSearchEventsResponse) GetResults() []WafEvent

GetResults returns the Results field value if set, zero value otherwise.

func (*WafSearchEventsResponse) GetResultsOk

func (o *WafSearchEventsResponse) GetResultsOk() (*[]WafEvent, 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 (*WafSearchEventsResponse) HasPageInfo

func (o *WafSearchEventsResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*WafSearchEventsResponse) HasResults

func (o *WafSearchEventsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (WafSearchEventsResponse) MarshalJSON

func (o WafSearchEventsResponse) MarshalJSON() ([]byte, error)

func (*WafSearchEventsResponse) SetPageInfo

func (o *WafSearchEventsResponse) SetPageInfo(v PaginationPageInfo)

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*WafSearchEventsResponse) SetResults

func (o *WafSearchEventsResponse) SetResults(v []WafEvent)

SetResults gets a reference to the given []WafEvent and assigns it to the Results field.

type WafSite

type WafSite struct {
	// A WAF site's unique identifier
	Id *string `json:"id,omitempty"`
	// The WAF site's name, used on stand-alone WAF sites
	Name *string `json:"name,omitempty"`
	// Whether or not a site's WAF service is enabled
	Enabled *bool `json:"enabled,omitempty"`
	// A list of API URLs which receive different processing through the WAF than website requests
	ApiUrls *[]string `json:"apiUrls,omitempty"`
	// The date a WAF site was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date a WAF site was last updated
	UpdatedAt *time.Time      `json:"updatedAt,omitempty"`
	Status    *WafSiteStatus  `json:"status,omitempty"`
	Mode      *SiteAttachMode `json:"mode,omitempty"`
	// For an ATTACHED site, the CDN site ID where caching can be enabled
	DeliveryId *string      `json:"deliveryId,omitempty"`
	Type       *WafSiteType `json:"type,omitempty"`
	// Whether or not a site's WAF service is in a monitor state  WAF sites in monitoring mode accept incoming requests and log but take no action on policy and rule violations.
	Monitoring *bool `json:"monitoring,omitempty"`
}

WafSite A site's WAF service's general settings

func NewWafSite

func NewWafSite() *WafSite

NewWafSite instantiates a new WafSite 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 NewWafSiteWithDefaults

func NewWafSiteWithDefaults() *WafSite

NewWafSiteWithDefaults instantiates a new WafSite 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 (*WafSite) GetApiUrls

func (o *WafSite) GetApiUrls() []string

GetApiUrls returns the ApiUrls field value if set, zero value otherwise.

func (*WafSite) GetApiUrlsOk

func (o *WafSite) GetApiUrlsOk() (*[]string, bool)

GetApiUrlsOk returns a tuple with the ApiUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetCreatedAt

func (o *WafSite) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*WafSite) GetCreatedAtOk

func (o *WafSite) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetDeliveryId

func (o *WafSite) GetDeliveryId() string

GetDeliveryId returns the DeliveryId field value if set, zero value otherwise.

func (*WafSite) GetDeliveryIdOk

func (o *WafSite) GetDeliveryIdOk() (*string, bool)

GetDeliveryIdOk returns a tuple with the DeliveryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetEnabled

func (o *WafSite) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*WafSite) GetEnabledOk

func (o *WafSite) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetId

func (o *WafSite) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*WafSite) GetIdOk

func (o *WafSite) GetIdOk() (*string, 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 (*WafSite) GetMode

func (o *WafSite) GetMode() SiteAttachMode

GetMode returns the Mode field value if set, zero value otherwise.

func (*WafSite) GetModeOk

func (o *WafSite) GetModeOk() (*SiteAttachMode, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetMonitoring

func (o *WafSite) GetMonitoring() bool

GetMonitoring returns the Monitoring field value if set, zero value otherwise.

func (*WafSite) GetMonitoringOk

func (o *WafSite) GetMonitoringOk() (*bool, bool)

GetMonitoringOk returns a tuple with the Monitoring field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetName

func (o *WafSite) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WafSite) GetNameOk

func (o *WafSite) 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 (*WafSite) GetStatus

func (o *WafSite) GetStatus() WafSiteStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*WafSite) GetStatusOk

func (o *WafSite) GetStatusOk() (*WafSiteStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetType

func (o *WafSite) GetType() WafSiteType

GetType returns the Type field value if set, zero value otherwise.

func (*WafSite) GetTypeOk

func (o *WafSite) GetTypeOk() (*WafSiteType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) GetUpdatedAt

func (o *WafSite) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*WafSite) GetUpdatedAtOk

func (o *WafSite) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSite) HasApiUrls

func (o *WafSite) HasApiUrls() bool

HasApiUrls returns a boolean if a field has been set.

func (*WafSite) HasCreatedAt

func (o *WafSite) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*WafSite) HasDeliveryId

func (o *WafSite) HasDeliveryId() bool

HasDeliveryId returns a boolean if a field has been set.

func (*WafSite) HasEnabled

func (o *WafSite) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*WafSite) HasId

func (o *WafSite) HasId() bool

HasId returns a boolean if a field has been set.

func (*WafSite) HasMode

func (o *WafSite) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*WafSite) HasMonitoring

func (o *WafSite) HasMonitoring() bool

HasMonitoring returns a boolean if a field has been set.

func (*WafSite) HasName

func (o *WafSite) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafSite) HasStatus

func (o *WafSite) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*WafSite) HasType

func (o *WafSite) HasType() bool

HasType returns a boolean if a field has been set.

func (*WafSite) HasUpdatedAt

func (o *WafSite) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (WafSite) MarshalJSON

func (o WafSite) MarshalJSON() ([]byte, error)

func (*WafSite) SetApiUrls

func (o *WafSite) SetApiUrls(v []string)

SetApiUrls gets a reference to the given []string and assigns it to the ApiUrls field.

func (*WafSite) SetCreatedAt

func (o *WafSite) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*WafSite) SetDeliveryId

func (o *WafSite) SetDeliveryId(v string)

SetDeliveryId gets a reference to the given string and assigns it to the DeliveryId field.

func (*WafSite) SetEnabled

func (o *WafSite) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*WafSite) SetId

func (o *WafSite) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*WafSite) SetMode

func (o *WafSite) SetMode(v SiteAttachMode)

SetMode gets a reference to the given SiteAttachMode and assigns it to the Mode field.

func (*WafSite) SetMonitoring

func (o *WafSite) SetMonitoring(v bool)

SetMonitoring gets a reference to the given bool and assigns it to the Monitoring field.

func (*WafSite) SetName

func (o *WafSite) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*WafSite) SetStatus

func (o *WafSite) SetStatus(v WafSiteStatus)

SetStatus gets a reference to the given WafSiteStatus and assigns it to the Status field.

func (*WafSite) SetType

func (o *WafSite) SetType(v WafSiteType)

SetType gets a reference to the given WafSiteType and assigns it to the Type field.

func (*WafSite) SetUpdatedAt

func (o *WafSite) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type WafSiteCertificate

type WafSiteCertificate struct {
	// Whether or not a site's SSL certificate is valid  An SSL certificate is valid when a hostname associated with the site is covered by the certificate.
	Valid       *bool           `json:"valid,omitempty"`
	Certificate *WafCertificate `json:"certificate,omitempty"`
}

WafSiteCertificate An SSL certificate and its relationship with its associated site

func NewWafSiteCertificate

func NewWafSiteCertificate() *WafSiteCertificate

NewWafSiteCertificate instantiates a new WafSiteCertificate 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 NewWafSiteCertificateWithDefaults

func NewWafSiteCertificateWithDefaults() *WafSiteCertificate

NewWafSiteCertificateWithDefaults instantiates a new WafSiteCertificate 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 (*WafSiteCertificate) GetCertificate

func (o *WafSiteCertificate) GetCertificate() WafCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafSiteCertificate) GetCertificateOk

func (o *WafSiteCertificate) GetCertificateOk() (*WafCertificate, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSiteCertificate) GetValid

func (o *WafSiteCertificate) GetValid() bool

GetValid returns the Valid field value if set, zero value otherwise.

func (*WafSiteCertificate) GetValidOk

func (o *WafSiteCertificate) GetValidOk() (*bool, bool)

GetValidOk returns a tuple with the Valid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafSiteCertificate) HasCertificate

func (o *WafSiteCertificate) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*WafSiteCertificate) HasValid

func (o *WafSiteCertificate) HasValid() bool

HasValid returns a boolean if a field has been set.

func (WafSiteCertificate) MarshalJSON

func (o WafSiteCertificate) MarshalJSON() ([]byte, error)

func (*WafSiteCertificate) SetCertificate

func (o *WafSiteCertificate) SetCertificate(v WafCertificate)

SetCertificate gets a reference to the given WafCertificate and assigns it to the Certificate field.

func (*WafSiteCertificate) SetValid

func (o *WafSiteCertificate) SetValid(v bool)

SetValid gets a reference to the given bool and assigns it to the Valid field.

type WafSiteStatus

type WafSiteStatus string

WafSiteStatus A WAF site's available statuses - ACTIVE: A WAF site is in active service - INACTIVE: A WAF site has been disabled by the user - SUSPENDED: A WAF site has been disabled by StackPath for non-billing reasons (DMCA, abuse, etc) - BILLING_SUSPENDED: A WAF site has been disabled by StackPath for billing reasons - PROVISIONING: A WAF site is provisioning

const (
	WAFSITESTATUS_ACTIVE            WafSiteStatus = "ACTIVE"
	WAFSITESTATUS_INACTIVE          WafSiteStatus = "INACTIVE"
	WAFSITESTATUS_SUSPENDED         WafSiteStatus = "SUSPENDED"
	WAFSITESTATUS_BILLING_SUSPENDED WafSiteStatus = "BILLING_SUSPENDED"
	WAFSITESTATUS_PROVISIONING      WafSiteStatus = "PROVISIONING"
)

List of wafSiteStatus

func (WafSiteStatus) Ptr

func (v WafSiteStatus) Ptr() *WafSiteStatus

Ptr returns reference to wafSiteStatus value

type WafSiteType

type WafSiteType string

WafSiteType A WAF site's type A site's type determines how StackPath delivers content to incoming HTTP(S) requests. - UNKNOWN_TYPE: StackPath is unable to determine a site's type - WAF: A site is either a standalone WAF site or a WAF site with attached CDN service - API: A site is an API delivery site. API delivery sites are powered by both the WAF and CDN and have custom rulesets for each.

const (
	WAFSITETYPE_UNKNOWN_TYPE WafSiteType = "UNKNOWN_TYPE"
	WAFSITETYPE_WAF          WafSiteType = "WAF"
	WAFSITETYPE_API          WafSiteType = "API"
)

List of wafSiteType

func (WafSiteType) Ptr

func (v WafSiteType) Ptr() *WafSiteType

Ptr returns reference to wafSiteType value

type WafTag

type WafTag struct {
	// A tag's name
	Name *string `json:"name,omitempty"`
	// A tag's human readable description
	Description *string `json:"description,omitempty"`
}

WafTag Aspects of an incoming HTTP request StackPath provides shortcuts for the rules used in WAF policies for the creation of more complex WAF rules.

func NewWafTag

func NewWafTag() *WafTag

NewWafTag instantiates a new WafTag 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 NewWafTagWithDefaults

func NewWafTagWithDefaults() *WafTag

NewWafTagWithDefaults instantiates a new WafTag 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 (*WafTag) GetDescription

func (o *WafTag) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WafTag) GetDescriptionOk

func (o *WafTag) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTag) GetName

func (o *WafTag) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WafTag) GetNameOk

func (o *WafTag) 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 (*WafTag) HasDescription

func (o *WafTag) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WafTag) HasName

func (o *WafTag) HasName() bool

HasName returns a boolean if a field has been set.

func (WafTag) MarshalJSON

func (o WafTag) MarshalJSON() ([]byte, error)

func (*WafTag) SetDescription

func (o *WafTag) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WafTag) SetName

func (o *WafTag) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type WafTraffic

type WafTraffic struct {
	// The date and time traffic metrics were recorded for
	Timestamp     *time.Time        `json:"timestamp,omitempty"`
	PolicyCount   *WafTrafficPolicy `json:"policyCount,omitempty"`
	PolicyBlocked *WafTrafficPolicy `json:"policyBlocked,omitempty"`
	// The number of requests analyzed by rules
	RuleCount *string `json:"ruleCount,omitempty"`
	// The number of requests blocked by rules
	RuleBlocked    *string                `json:"ruleBlocked,omitempty"`
	PassedToOrigin *TrafficPassedToOrigin `json:"passedToOrigin,omitempty"`
	// The number of requests handled by the layer 7 DDOS engine
	Ddos *string `json:"ddos,omitempty"`
	// The number of HTTP 4xx errors received from the origin
	OriginError4xx *string `json:"originError4xx,omitempty"`
	// The number of HTTP 5xx errors received from the origin
	OriginError5xx *string `json:"originError5xx,omitempty"`
	// The number of request timeouts from the WAF to the origin
	OriginTimeout *string `json:"originTimeout,omitempty"`
	// Average response time to the origin in milliseconds
	ResponseTime *string `json:"responseTime,omitempty"`
}

WafTraffic A set of individual time-series WAF traffic metrics

func NewWafTraffic

func NewWafTraffic() *WafTraffic

NewWafTraffic instantiates a new WafTraffic 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 NewWafTrafficWithDefaults

func NewWafTrafficWithDefaults() *WafTraffic

NewWafTrafficWithDefaults instantiates a new WafTraffic 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 (*WafTraffic) GetDdos

func (o *WafTraffic) GetDdos() string

GetDdos returns the Ddos field value if set, zero value otherwise.

func (*WafTraffic) GetDdosOk

func (o *WafTraffic) GetDdosOk() (*string, bool)

GetDdosOk returns a tuple with the Ddos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetOriginError4xx

func (o *WafTraffic) GetOriginError4xx() string

GetOriginError4xx returns the OriginError4xx field value if set, zero value otherwise.

func (*WafTraffic) GetOriginError4xxOk

func (o *WafTraffic) GetOriginError4xxOk() (*string, bool)

GetOriginError4xxOk returns a tuple with the OriginError4xx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetOriginError5xx

func (o *WafTraffic) GetOriginError5xx() string

GetOriginError5xx returns the OriginError5xx field value if set, zero value otherwise.

func (*WafTraffic) GetOriginError5xxOk

func (o *WafTraffic) GetOriginError5xxOk() (*string, bool)

GetOriginError5xxOk returns a tuple with the OriginError5xx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetOriginTimeout

func (o *WafTraffic) GetOriginTimeout() string

GetOriginTimeout returns the OriginTimeout field value if set, zero value otherwise.

func (*WafTraffic) GetOriginTimeoutOk

func (o *WafTraffic) GetOriginTimeoutOk() (*string, bool)

GetOriginTimeoutOk returns a tuple with the OriginTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetPassedToOrigin

func (o *WafTraffic) GetPassedToOrigin() TrafficPassedToOrigin

GetPassedToOrigin returns the PassedToOrigin field value if set, zero value otherwise.

func (*WafTraffic) GetPassedToOriginOk

func (o *WafTraffic) GetPassedToOriginOk() (*TrafficPassedToOrigin, bool)

GetPassedToOriginOk returns a tuple with the PassedToOrigin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetPolicyBlocked

func (o *WafTraffic) GetPolicyBlocked() WafTrafficPolicy

GetPolicyBlocked returns the PolicyBlocked field value if set, zero value otherwise.

func (*WafTraffic) GetPolicyBlockedOk

func (o *WafTraffic) GetPolicyBlockedOk() (*WafTrafficPolicy, bool)

GetPolicyBlockedOk returns a tuple with the PolicyBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetPolicyCount

func (o *WafTraffic) GetPolicyCount() WafTrafficPolicy

GetPolicyCount returns the PolicyCount field value if set, zero value otherwise.

func (*WafTraffic) GetPolicyCountOk

func (o *WafTraffic) GetPolicyCountOk() (*WafTrafficPolicy, bool)

GetPolicyCountOk returns a tuple with the PolicyCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetResponseTime

func (o *WafTraffic) GetResponseTime() string

GetResponseTime returns the ResponseTime field value if set, zero value otherwise.

func (*WafTraffic) GetResponseTimeOk

func (o *WafTraffic) GetResponseTimeOk() (*string, bool)

GetResponseTimeOk returns a tuple with the ResponseTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetRuleBlocked

func (o *WafTraffic) GetRuleBlocked() string

GetRuleBlocked returns the RuleBlocked field value if set, zero value otherwise.

func (*WafTraffic) GetRuleBlockedOk

func (o *WafTraffic) GetRuleBlockedOk() (*string, bool)

GetRuleBlockedOk returns a tuple with the RuleBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetRuleCount

func (o *WafTraffic) GetRuleCount() string

GetRuleCount returns the RuleCount field value if set, zero value otherwise.

func (*WafTraffic) GetRuleCountOk

func (o *WafTraffic) GetRuleCountOk() (*string, bool)

GetRuleCountOk returns a tuple with the RuleCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) GetTimestamp

func (o *WafTraffic) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*WafTraffic) GetTimestampOk

func (o *WafTraffic) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTraffic) HasDdos

func (o *WafTraffic) HasDdos() bool

HasDdos returns a boolean if a field has been set.

func (*WafTraffic) HasOriginError4xx

func (o *WafTraffic) HasOriginError4xx() bool

HasOriginError4xx returns a boolean if a field has been set.

func (*WafTraffic) HasOriginError5xx

func (o *WafTraffic) HasOriginError5xx() bool

HasOriginError5xx returns a boolean if a field has been set.

func (*WafTraffic) HasOriginTimeout

func (o *WafTraffic) HasOriginTimeout() bool

HasOriginTimeout returns a boolean if a field has been set.

func (*WafTraffic) HasPassedToOrigin

func (o *WafTraffic) HasPassedToOrigin() bool

HasPassedToOrigin returns a boolean if a field has been set.

func (*WafTraffic) HasPolicyBlocked

func (o *WafTraffic) HasPolicyBlocked() bool

HasPolicyBlocked returns a boolean if a field has been set.

func (*WafTraffic) HasPolicyCount

func (o *WafTraffic) HasPolicyCount() bool

HasPolicyCount returns a boolean if a field has been set.

func (*WafTraffic) HasResponseTime

func (o *WafTraffic) HasResponseTime() bool

HasResponseTime returns a boolean if a field has been set.

func (*WafTraffic) HasRuleBlocked

func (o *WafTraffic) HasRuleBlocked() bool

HasRuleBlocked returns a boolean if a field has been set.

func (*WafTraffic) HasRuleCount

func (o *WafTraffic) HasRuleCount() bool

HasRuleCount returns a boolean if a field has been set.

func (*WafTraffic) HasTimestamp

func (o *WafTraffic) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (WafTraffic) MarshalJSON

func (o WafTraffic) MarshalJSON() ([]byte, error)

func (*WafTraffic) SetDdos

func (o *WafTraffic) SetDdos(v string)

SetDdos gets a reference to the given string and assigns it to the Ddos field.

func (*WafTraffic) SetOriginError4xx

func (o *WafTraffic) SetOriginError4xx(v string)

SetOriginError4xx gets a reference to the given string and assigns it to the OriginError4xx field.

func (*WafTraffic) SetOriginError5xx

func (o *WafTraffic) SetOriginError5xx(v string)

SetOriginError5xx gets a reference to the given string and assigns it to the OriginError5xx field.

func (*WafTraffic) SetOriginTimeout

func (o *WafTraffic) SetOriginTimeout(v string)

SetOriginTimeout gets a reference to the given string and assigns it to the OriginTimeout field.

func (*WafTraffic) SetPassedToOrigin

func (o *WafTraffic) SetPassedToOrigin(v TrafficPassedToOrigin)

SetPassedToOrigin gets a reference to the given TrafficPassedToOrigin and assigns it to the PassedToOrigin field.

func (*WafTraffic) SetPolicyBlocked

func (o *WafTraffic) SetPolicyBlocked(v WafTrafficPolicy)

SetPolicyBlocked gets a reference to the given WafTrafficPolicy and assigns it to the PolicyBlocked field.

func (*WafTraffic) SetPolicyCount

func (o *WafTraffic) SetPolicyCount(v WafTrafficPolicy)

SetPolicyCount gets a reference to the given WafTrafficPolicy and assigns it to the PolicyCount field.

func (*WafTraffic) SetResponseTime

func (o *WafTraffic) SetResponseTime(v string)

SetResponseTime gets a reference to the given string and assigns it to the ResponseTime field.

func (*WafTraffic) SetRuleBlocked

func (o *WafTraffic) SetRuleBlocked(v string)

SetRuleBlocked gets a reference to the given string and assigns it to the RuleBlocked field.

func (*WafTraffic) SetRuleCount

func (o *WafTraffic) SetRuleCount(v string)

SetRuleCount gets a reference to the given string and assigns it to the RuleCount field.

func (*WafTraffic) SetTimestamp

func (o *WafTraffic) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

type WafTrafficPolicy

type WafTrafficPolicy struct {
	// The number of requests either handled or blocked by anti_automation and behavioral templates
	AntiautomationAndBehavioral *string `json:"antiautomationAndBehavioral,omitempty"`
	// The number of requests either handled or blocked by the CSRF template
	Csrf *string `json:"csrf,omitempty"`
	// The number of requests either handled or blocked by the IP reputation template
	IpReputation *string `json:"ipReputation,omitempty"`
	// The number of requests either handled or blocked by the spam and abuse template
	SpamAndAbuse *string `json:"spamAndAbuse,omitempty"`
	// The number of requests either handled or blocked by REM templates
	Waf *string `json:"waf,omitempty"`
}

WafTrafficPolicy Aspects of WAF traffic related to policies

func NewWafTrafficPolicy

func NewWafTrafficPolicy() *WafTrafficPolicy

NewWafTrafficPolicy instantiates a new WafTrafficPolicy 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 NewWafTrafficPolicyWithDefaults

func NewWafTrafficPolicyWithDefaults() *WafTrafficPolicy

NewWafTrafficPolicyWithDefaults instantiates a new WafTrafficPolicy 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 (*WafTrafficPolicy) GetAntiautomationAndBehavioral

func (o *WafTrafficPolicy) GetAntiautomationAndBehavioral() string

GetAntiautomationAndBehavioral returns the AntiautomationAndBehavioral field value if set, zero value otherwise.

func (*WafTrafficPolicy) GetAntiautomationAndBehavioralOk

func (o *WafTrafficPolicy) GetAntiautomationAndBehavioralOk() (*string, bool)

GetAntiautomationAndBehavioralOk returns a tuple with the AntiautomationAndBehavioral field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficPolicy) GetCsrf

func (o *WafTrafficPolicy) GetCsrf() string

GetCsrf returns the Csrf field value if set, zero value otherwise.

func (*WafTrafficPolicy) GetCsrfOk

func (o *WafTrafficPolicy) GetCsrfOk() (*string, bool)

GetCsrfOk returns a tuple with the Csrf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficPolicy) GetIpReputation

func (o *WafTrafficPolicy) GetIpReputation() string

GetIpReputation returns the IpReputation field value if set, zero value otherwise.

func (*WafTrafficPolicy) GetIpReputationOk

func (o *WafTrafficPolicy) GetIpReputationOk() (*string, bool)

GetIpReputationOk returns a tuple with the IpReputation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficPolicy) GetSpamAndAbuse

func (o *WafTrafficPolicy) GetSpamAndAbuse() string

GetSpamAndAbuse returns the SpamAndAbuse field value if set, zero value otherwise.

func (*WafTrafficPolicy) GetSpamAndAbuseOk

func (o *WafTrafficPolicy) GetSpamAndAbuseOk() (*string, bool)

GetSpamAndAbuseOk returns a tuple with the SpamAndAbuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficPolicy) GetWaf

func (o *WafTrafficPolicy) GetWaf() string

GetWaf returns the Waf field value if set, zero value otherwise.

func (*WafTrafficPolicy) GetWafOk

func (o *WafTrafficPolicy) GetWafOk() (*string, bool)

GetWafOk returns a tuple with the Waf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficPolicy) HasAntiautomationAndBehavioral

func (o *WafTrafficPolicy) HasAntiautomationAndBehavioral() bool

HasAntiautomationAndBehavioral returns a boolean if a field has been set.

func (*WafTrafficPolicy) HasCsrf

func (o *WafTrafficPolicy) HasCsrf() bool

HasCsrf returns a boolean if a field has been set.

func (*WafTrafficPolicy) HasIpReputation

func (o *WafTrafficPolicy) HasIpReputation() bool

HasIpReputation returns a boolean if a field has been set.

func (*WafTrafficPolicy) HasSpamAndAbuse

func (o *WafTrafficPolicy) HasSpamAndAbuse() bool

HasSpamAndAbuse returns a boolean if a field has been set.

func (*WafTrafficPolicy) HasWaf

func (o *WafTrafficPolicy) HasWaf() bool

HasWaf returns a boolean if a field has been set.

func (WafTrafficPolicy) MarshalJSON

func (o WafTrafficPolicy) MarshalJSON() ([]byte, error)

func (*WafTrafficPolicy) SetAntiautomationAndBehavioral

func (o *WafTrafficPolicy) SetAntiautomationAndBehavioral(v string)

SetAntiautomationAndBehavioral gets a reference to the given string and assigns it to the AntiautomationAndBehavioral field.

func (*WafTrafficPolicy) SetCsrf

func (o *WafTrafficPolicy) SetCsrf(v string)

SetCsrf gets a reference to the given string and assigns it to the Csrf field.

func (*WafTrafficPolicy) SetIpReputation

func (o *WafTrafficPolicy) SetIpReputation(v string)

SetIpReputation gets a reference to the given string and assigns it to the IpReputation field.

func (*WafTrafficPolicy) SetSpamAndAbuse

func (o *WafTrafficPolicy) SetSpamAndAbuse(v string)

SetSpamAndAbuse gets a reference to the given string and assigns it to the SpamAndAbuse field.

func (*WafTrafficPolicy) SetWaf

func (o *WafTrafficPolicy) SetWaf(v string)

SetWaf gets a reference to the given string and assigns it to the Waf field.

type WafTrafficV2

type WafTrafficV2 struct {
	// The date and time traffic metrics were recorded for
	Timestamp *time.Time `json:"timestamp,omitempty"`
	// The number of requests to URLs designated as API URLs
	Api *string `json:"api,omitempty"`
	// The number of Ajax requests
	Ajax *string `json:"ajax,omitempty"`
	// The number of requests to static assets
	Static *string `json:"static,omitempty"`
	// The number of requests blocked by custom rules
	CustomBlocked *string `json:"customBlocked,omitempty"`
	// The number of requests blocked by policies
	PolicyBlocked *string `json:"policyBlocked,omitempty"`
	// The number of requests blocked by layer 7 DDOS protection
	DdosBlocked *string `json:"ddosBlocked,omitempty"`
	// The number of monitored requests
	Monitored *string `json:"monitored,omitempty"`
	// The number of requests allowed by custom rules
	CustomWhitelisted *string `json:"customWhitelisted,omitempty"`
	// The number of requests from allowed search engines and other allowed bots
	PolicyWhitelisted *string `json:"policyWhitelisted,omitempty"`
	// The number of HTTP 4xx errors received from the origin
	OriginError4xx *string `json:"originError4xx,omitempty"`
	// The number of HTTP 5xx errors received from the origin
	OriginError5xx *string `json:"originError5xx,omitempty"`
	// The number of request timeouts from the WAF to the origin
	OriginTimeout *string `json:"originTimeout,omitempty"`
	// The number of uncategorized requests
	Uncategorized *string `json:"uncategorized,omitempty"`
	// The number of requests that were passed to the origin
	PassedToOrigin *string `json:"passedToOrigin,omitempty"`
	// The average response time to the origin in milliseconds
	ResponseTime *string `json:"responseTime,omitempty"`
	// The total number of requests for the given time period
	Total *string `json:"total,omitempty"`
}

WafTrafficV2 A set of individual time-series WAF traffic metrics

func NewWafTrafficV2

func NewWafTrafficV2() *WafTrafficV2

NewWafTrafficV2 instantiates a new WafTrafficV2 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 NewWafTrafficV2WithDefaults

func NewWafTrafficV2WithDefaults() *WafTrafficV2

NewWafTrafficV2WithDefaults instantiates a new WafTrafficV2 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 (*WafTrafficV2) GetAjax

func (o *WafTrafficV2) GetAjax() string

GetAjax returns the Ajax field value if set, zero value otherwise.

func (*WafTrafficV2) GetAjaxOk

func (o *WafTrafficV2) GetAjaxOk() (*string, bool)

GetAjaxOk returns a tuple with the Ajax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetApi

func (o *WafTrafficV2) GetApi() string

GetApi returns the Api field value if set, zero value otherwise.

func (*WafTrafficV2) GetApiOk

func (o *WafTrafficV2) GetApiOk() (*string, bool)

GetApiOk returns a tuple with the Api field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetCustomBlocked

func (o *WafTrafficV2) GetCustomBlocked() string

GetCustomBlocked returns the CustomBlocked field value if set, zero value otherwise.

func (*WafTrafficV2) GetCustomBlockedOk

func (o *WafTrafficV2) GetCustomBlockedOk() (*string, bool)

GetCustomBlockedOk returns a tuple with the CustomBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetCustomWhitelisted

func (o *WafTrafficV2) GetCustomWhitelisted() string

GetCustomWhitelisted returns the CustomWhitelisted field value if set, zero value otherwise.

func (*WafTrafficV2) GetCustomWhitelistedOk

func (o *WafTrafficV2) GetCustomWhitelistedOk() (*string, bool)

GetCustomWhitelistedOk returns a tuple with the CustomWhitelisted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetDdosBlocked

func (o *WafTrafficV2) GetDdosBlocked() string

GetDdosBlocked returns the DdosBlocked field value if set, zero value otherwise.

func (*WafTrafficV2) GetDdosBlockedOk

func (o *WafTrafficV2) GetDdosBlockedOk() (*string, bool)

GetDdosBlockedOk returns a tuple with the DdosBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetMonitored

func (o *WafTrafficV2) GetMonitored() string

GetMonitored returns the Monitored field value if set, zero value otherwise.

func (*WafTrafficV2) GetMonitoredOk

func (o *WafTrafficV2) GetMonitoredOk() (*string, bool)

GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetOriginError4xx

func (o *WafTrafficV2) GetOriginError4xx() string

GetOriginError4xx returns the OriginError4xx field value if set, zero value otherwise.

func (*WafTrafficV2) GetOriginError4xxOk

func (o *WafTrafficV2) GetOriginError4xxOk() (*string, bool)

GetOriginError4xxOk returns a tuple with the OriginError4xx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetOriginError5xx

func (o *WafTrafficV2) GetOriginError5xx() string

GetOriginError5xx returns the OriginError5xx field value if set, zero value otherwise.

func (*WafTrafficV2) GetOriginError5xxOk

func (o *WafTrafficV2) GetOriginError5xxOk() (*string, bool)

GetOriginError5xxOk returns a tuple with the OriginError5xx field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetOriginTimeout

func (o *WafTrafficV2) GetOriginTimeout() string

GetOriginTimeout returns the OriginTimeout field value if set, zero value otherwise.

func (*WafTrafficV2) GetOriginTimeoutOk

func (o *WafTrafficV2) GetOriginTimeoutOk() (*string, bool)

GetOriginTimeoutOk returns a tuple with the OriginTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetPassedToOrigin

func (o *WafTrafficV2) GetPassedToOrigin() string

GetPassedToOrigin returns the PassedToOrigin field value if set, zero value otherwise.

func (*WafTrafficV2) GetPassedToOriginOk

func (o *WafTrafficV2) GetPassedToOriginOk() (*string, bool)

GetPassedToOriginOk returns a tuple with the PassedToOrigin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetPolicyBlocked

func (o *WafTrafficV2) GetPolicyBlocked() string

GetPolicyBlocked returns the PolicyBlocked field value if set, zero value otherwise.

func (*WafTrafficV2) GetPolicyBlockedOk

func (o *WafTrafficV2) GetPolicyBlockedOk() (*string, bool)

GetPolicyBlockedOk returns a tuple with the PolicyBlocked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetPolicyWhitelisted

func (o *WafTrafficV2) GetPolicyWhitelisted() string

GetPolicyWhitelisted returns the PolicyWhitelisted field value if set, zero value otherwise.

func (*WafTrafficV2) GetPolicyWhitelistedOk

func (o *WafTrafficV2) GetPolicyWhitelistedOk() (*string, bool)

GetPolicyWhitelistedOk returns a tuple with the PolicyWhitelisted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetResponseTime

func (o *WafTrafficV2) GetResponseTime() string

GetResponseTime returns the ResponseTime field value if set, zero value otherwise.

func (*WafTrafficV2) GetResponseTimeOk

func (o *WafTrafficV2) GetResponseTimeOk() (*string, bool)

GetResponseTimeOk returns a tuple with the ResponseTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetStatic

func (o *WafTrafficV2) GetStatic() string

GetStatic returns the Static field value if set, zero value otherwise.

func (*WafTrafficV2) GetStaticOk

func (o *WafTrafficV2) GetStaticOk() (*string, bool)

GetStaticOk returns a tuple with the Static field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetTimestamp

func (o *WafTrafficV2) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*WafTrafficV2) GetTimestampOk

func (o *WafTrafficV2) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetTotal

func (o *WafTrafficV2) GetTotal() string

GetTotal returns the Total field value if set, zero value otherwise.

func (*WafTrafficV2) GetTotalOk

func (o *WafTrafficV2) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) GetUncategorized

func (o *WafTrafficV2) GetUncategorized() string

GetUncategorized returns the Uncategorized field value if set, zero value otherwise.

func (*WafTrafficV2) GetUncategorizedOk

func (o *WafTrafficV2) GetUncategorizedOk() (*string, bool)

GetUncategorizedOk returns a tuple with the Uncategorized field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafTrafficV2) HasAjax

func (o *WafTrafficV2) HasAjax() bool

HasAjax returns a boolean if a field has been set.

func (*WafTrafficV2) HasApi

func (o *WafTrafficV2) HasApi() bool

HasApi returns a boolean if a field has been set.

func (*WafTrafficV2) HasCustomBlocked

func (o *WafTrafficV2) HasCustomBlocked() bool

HasCustomBlocked returns a boolean if a field has been set.

func (*WafTrafficV2) HasCustomWhitelisted

func (o *WafTrafficV2) HasCustomWhitelisted() bool

HasCustomWhitelisted returns a boolean if a field has been set.

func (*WafTrafficV2) HasDdosBlocked

func (o *WafTrafficV2) HasDdosBlocked() bool

HasDdosBlocked returns a boolean if a field has been set.

func (*WafTrafficV2) HasMonitored

func (o *WafTrafficV2) HasMonitored() bool

HasMonitored returns a boolean if a field has been set.

func (*WafTrafficV2) HasOriginError4xx

func (o *WafTrafficV2) HasOriginError4xx() bool

HasOriginError4xx returns a boolean if a field has been set.

func (*WafTrafficV2) HasOriginError5xx

func (o *WafTrafficV2) HasOriginError5xx() bool

HasOriginError5xx returns a boolean if a field has been set.

func (*WafTrafficV2) HasOriginTimeout

func (o *WafTrafficV2) HasOriginTimeout() bool

HasOriginTimeout returns a boolean if a field has been set.

func (*WafTrafficV2) HasPassedToOrigin

func (o *WafTrafficV2) HasPassedToOrigin() bool

HasPassedToOrigin returns a boolean if a field has been set.

func (*WafTrafficV2) HasPolicyBlocked

func (o *WafTrafficV2) HasPolicyBlocked() bool

HasPolicyBlocked returns a boolean if a field has been set.

func (*WafTrafficV2) HasPolicyWhitelisted

func (o *WafTrafficV2) HasPolicyWhitelisted() bool

HasPolicyWhitelisted returns a boolean if a field has been set.

func (*WafTrafficV2) HasResponseTime

func (o *WafTrafficV2) HasResponseTime() bool

HasResponseTime returns a boolean if a field has been set.

func (*WafTrafficV2) HasStatic

func (o *WafTrafficV2) HasStatic() bool

HasStatic returns a boolean if a field has been set.

func (*WafTrafficV2) HasTimestamp

func (o *WafTrafficV2) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*WafTrafficV2) HasTotal

func (o *WafTrafficV2) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*WafTrafficV2) HasUncategorized

func (o *WafTrafficV2) HasUncategorized() bool

HasUncategorized returns a boolean if a field has been set.

func (WafTrafficV2) MarshalJSON

func (o WafTrafficV2) MarshalJSON() ([]byte, error)

func (*WafTrafficV2) SetAjax

func (o *WafTrafficV2) SetAjax(v string)

SetAjax gets a reference to the given string and assigns it to the Ajax field.

func (*WafTrafficV2) SetApi

func (o *WafTrafficV2) SetApi(v string)

SetApi gets a reference to the given string and assigns it to the Api field.

func (*WafTrafficV2) SetCustomBlocked

func (o *WafTrafficV2) SetCustomBlocked(v string)

SetCustomBlocked gets a reference to the given string and assigns it to the CustomBlocked field.

func (*WafTrafficV2) SetCustomWhitelisted

func (o *WafTrafficV2) SetCustomWhitelisted(v string)

SetCustomWhitelisted gets a reference to the given string and assigns it to the CustomWhitelisted field.

func (*WafTrafficV2) SetDdosBlocked

func (o *WafTrafficV2) SetDdosBlocked(v string)

SetDdosBlocked gets a reference to the given string and assigns it to the DdosBlocked field.

func (*WafTrafficV2) SetMonitored

func (o *WafTrafficV2) SetMonitored(v string)

SetMonitored gets a reference to the given string and assigns it to the Monitored field.

func (*WafTrafficV2) SetOriginError4xx

func (o *WafTrafficV2) SetOriginError4xx(v string)

SetOriginError4xx gets a reference to the given string and assigns it to the OriginError4xx field.

func (*WafTrafficV2) SetOriginError5xx

func (o *WafTrafficV2) SetOriginError5xx(v string)

SetOriginError5xx gets a reference to the given string and assigns it to the OriginError5xx field.

func (*WafTrafficV2) SetOriginTimeout

func (o *WafTrafficV2) SetOriginTimeout(v string)

SetOriginTimeout gets a reference to the given string and assigns it to the OriginTimeout field.

func (*WafTrafficV2) SetPassedToOrigin

func (o *WafTrafficV2) SetPassedToOrigin(v string)

SetPassedToOrigin gets a reference to the given string and assigns it to the PassedToOrigin field.

func (*WafTrafficV2) SetPolicyBlocked

func (o *WafTrafficV2) SetPolicyBlocked(v string)

SetPolicyBlocked gets a reference to the given string and assigns it to the PolicyBlocked field.

func (*WafTrafficV2) SetPolicyWhitelisted

func (o *WafTrafficV2) SetPolicyWhitelisted(v string)

SetPolicyWhitelisted gets a reference to the given string and assigns it to the PolicyWhitelisted field.

func (*WafTrafficV2) SetResponseTime

func (o *WafTrafficV2) SetResponseTime(v string)

SetResponseTime gets a reference to the given string and assigns it to the ResponseTime field.

func (*WafTrafficV2) SetStatic

func (o *WafTrafficV2) SetStatic(v string)

SetStatic gets a reference to the given string and assigns it to the Static field.

func (*WafTrafficV2) SetTimestamp

func (o *WafTrafficV2) SetTimestamp(v time.Time)

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (*WafTrafficV2) SetTotal

func (o *WafTrafficV2) SetTotal(v string)

SetTotal gets a reference to the given string and assigns it to the Total field.

func (*WafTrafficV2) SetUncategorized

func (o *WafTrafficV2) SetUncategorized(v string)

SetUncategorized gets a reference to the given string and assigns it to the Uncategorized field.

type WafUpdateCertificateRequest

type WafUpdateCertificateRequest struct {
	// A PEM PKCS #7 formatted SSL certificate
	Certificate *string `json:"certificate,omitempty"`
	// A PEM PKCS #7 formatted private key  Private keys are sent directly to the edge nodes and are not stored elsewhere on StackPath's systems.
	Key *string `json:"key,omitempty"`
	// A PEM PKCS #7 formatted certificate authority bundle
	CaBundle *string `json:"caBundle,omitempty"`
}

WafUpdateCertificateRequest struct for WafUpdateCertificateRequest

func NewWafUpdateCertificateRequest

func NewWafUpdateCertificateRequest() *WafUpdateCertificateRequest

NewWafUpdateCertificateRequest instantiates a new WafUpdateCertificateRequest 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 NewWafUpdateCertificateRequestWithDefaults

func NewWafUpdateCertificateRequestWithDefaults() *WafUpdateCertificateRequest

NewWafUpdateCertificateRequestWithDefaults instantiates a new WafUpdateCertificateRequest 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 (*WafUpdateCertificateRequest) GetCaBundle

func (o *WafUpdateCertificateRequest) GetCaBundle() string

GetCaBundle returns the CaBundle field value if set, zero value otherwise.

func (*WafUpdateCertificateRequest) GetCaBundleOk

func (o *WafUpdateCertificateRequest) GetCaBundleOk() (*string, bool)

GetCaBundleOk returns a tuple with the CaBundle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateCertificateRequest) GetCertificate

func (o *WafUpdateCertificateRequest) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafUpdateCertificateRequest) GetCertificateOk

func (o *WafUpdateCertificateRequest) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateCertificateRequest) GetKey

func (o *WafUpdateCertificateRequest) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*WafUpdateCertificateRequest) GetKeyOk

func (o *WafUpdateCertificateRequest) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateCertificateRequest) HasCaBundle

func (o *WafUpdateCertificateRequest) HasCaBundle() bool

HasCaBundle returns a boolean if a field has been set.

func (*WafUpdateCertificateRequest) HasCertificate

func (o *WafUpdateCertificateRequest) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (*WafUpdateCertificateRequest) HasKey

func (o *WafUpdateCertificateRequest) HasKey() bool

HasKey returns a boolean if a field has been set.

func (WafUpdateCertificateRequest) MarshalJSON

func (o WafUpdateCertificateRequest) MarshalJSON() ([]byte, error)

func (*WafUpdateCertificateRequest) SetCaBundle

func (o *WafUpdateCertificateRequest) SetCaBundle(v string)

SetCaBundle gets a reference to the given string and assigns it to the CaBundle field.

func (*WafUpdateCertificateRequest) SetCertificate

func (o *WafUpdateCertificateRequest) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (*WafUpdateCertificateRequest) SetKey

func (o *WafUpdateCertificateRequest) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

type WafUpdateCertificateResponse

type WafUpdateCertificateResponse struct {
	Certificate *WafCertificate `json:"certificate,omitempty"`
}

WafUpdateCertificateResponse A response from a request to update an SSL certificate

func NewWafUpdateCertificateResponse

func NewWafUpdateCertificateResponse() *WafUpdateCertificateResponse

NewWafUpdateCertificateResponse instantiates a new WafUpdateCertificateResponse 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 NewWafUpdateCertificateResponseWithDefaults

func NewWafUpdateCertificateResponseWithDefaults() *WafUpdateCertificateResponse

NewWafUpdateCertificateResponseWithDefaults instantiates a new WafUpdateCertificateResponse 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 (*WafUpdateCertificateResponse) GetCertificate

func (o *WafUpdateCertificateResponse) GetCertificate() WafCertificate

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*WafUpdateCertificateResponse) GetCertificateOk

func (o *WafUpdateCertificateResponse) GetCertificateOk() (*WafCertificate, bool)

GetCertificateOk returns a tuple with the Certificate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateCertificateResponse) HasCertificate

func (o *WafUpdateCertificateResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (WafUpdateCertificateResponse) MarshalJSON

func (o WafUpdateCertificateResponse) MarshalJSON() ([]byte, error)

func (*WafUpdateCertificateResponse) SetCertificate

func (o *WafUpdateCertificateResponse) SetCertificate(v WafCertificate)

SetCertificate gets a reference to the given WafCertificate and assigns it to the Certificate field.

type WafUpdateDdosSettingsRequest

type WafUpdateDdosSettingsRequest struct {
	// The number of requests per ten seconds that can trigger DDOS protection
	GlobalThreshold *string `json:"globalThreshold,omitempty"`
	// The number of requests per two seconds that can trigger DDOS protection
	BurstThreshold *string `json:"burstThreshold,omitempty"`
	// The number of requests per 0.1 seconds that can trigger DDOS protection
	SubSecondBurstThreshold *string `json:"subSecondBurstThreshold,omitempty"`
}

WafUpdateDdosSettingsRequest struct for WafUpdateDdosSettingsRequest

func NewWafUpdateDdosSettingsRequest

func NewWafUpdateDdosSettingsRequest() *WafUpdateDdosSettingsRequest

NewWafUpdateDdosSettingsRequest instantiates a new WafUpdateDdosSettingsRequest 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 NewWafUpdateDdosSettingsRequestWithDefaults

func NewWafUpdateDdosSettingsRequestWithDefaults() *WafUpdateDdosSettingsRequest

NewWafUpdateDdosSettingsRequestWithDefaults instantiates a new WafUpdateDdosSettingsRequest 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 (*WafUpdateDdosSettingsRequest) GetBurstThreshold

func (o *WafUpdateDdosSettingsRequest) GetBurstThreshold() string

GetBurstThreshold returns the BurstThreshold field value if set, zero value otherwise.

func (*WafUpdateDdosSettingsRequest) GetBurstThresholdOk

func (o *WafUpdateDdosSettingsRequest) GetBurstThresholdOk() (*string, bool)

GetBurstThresholdOk returns a tuple with the BurstThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateDdosSettingsRequest) GetGlobalThreshold

func (o *WafUpdateDdosSettingsRequest) GetGlobalThreshold() string

GetGlobalThreshold returns the GlobalThreshold field value if set, zero value otherwise.

func (*WafUpdateDdosSettingsRequest) GetGlobalThresholdOk

func (o *WafUpdateDdosSettingsRequest) GetGlobalThresholdOk() (*string, bool)

GetGlobalThresholdOk returns a tuple with the GlobalThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateDdosSettingsRequest) GetSubSecondBurstThreshold

func (o *WafUpdateDdosSettingsRequest) GetSubSecondBurstThreshold() string

GetSubSecondBurstThreshold returns the SubSecondBurstThreshold field value if set, zero value otherwise.

func (*WafUpdateDdosSettingsRequest) GetSubSecondBurstThresholdOk

func (o *WafUpdateDdosSettingsRequest) GetSubSecondBurstThresholdOk() (*string, bool)

GetSubSecondBurstThresholdOk returns a tuple with the SubSecondBurstThreshold field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateDdosSettingsRequest) HasBurstThreshold

func (o *WafUpdateDdosSettingsRequest) HasBurstThreshold() bool

HasBurstThreshold returns a boolean if a field has been set.

func (*WafUpdateDdosSettingsRequest) HasGlobalThreshold

func (o *WafUpdateDdosSettingsRequest) HasGlobalThreshold() bool

HasGlobalThreshold returns a boolean if a field has been set.

func (*WafUpdateDdosSettingsRequest) HasSubSecondBurstThreshold

func (o *WafUpdateDdosSettingsRequest) HasSubSecondBurstThreshold() bool

HasSubSecondBurstThreshold returns a boolean if a field has been set.

func (WafUpdateDdosSettingsRequest) MarshalJSON

func (o WafUpdateDdosSettingsRequest) MarshalJSON() ([]byte, error)

func (*WafUpdateDdosSettingsRequest) SetBurstThreshold

func (o *WafUpdateDdosSettingsRequest) SetBurstThreshold(v string)

SetBurstThreshold gets a reference to the given string and assigns it to the BurstThreshold field.

func (*WafUpdateDdosSettingsRequest) SetGlobalThreshold

func (o *WafUpdateDdosSettingsRequest) SetGlobalThreshold(v string)

SetGlobalThreshold gets a reference to the given string and assigns it to the GlobalThreshold field.

func (*WafUpdateDdosSettingsRequest) SetSubSecondBurstThreshold

func (o *WafUpdateDdosSettingsRequest) SetSubSecondBurstThreshold(v string)

SetSubSecondBurstThreshold gets a reference to the given string and assigns it to the SubSecondBurstThreshold field.

type WafUpdateDdosSettingsResponse

type WafUpdateDdosSettingsResponse struct {
	DdosSettings *WafDdosSettings `json:"ddosSettings,omitempty"`
}

WafUpdateDdosSettingsResponse A response from a request to update a WAF site's DDOS protection settings

func NewWafUpdateDdosSettingsResponse

func NewWafUpdateDdosSettingsResponse() *WafUpdateDdosSettingsResponse

NewWafUpdateDdosSettingsResponse instantiates a new WafUpdateDdosSettingsResponse 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 NewWafUpdateDdosSettingsResponseWithDefaults

func NewWafUpdateDdosSettingsResponseWithDefaults() *WafUpdateDdosSettingsResponse

NewWafUpdateDdosSettingsResponseWithDefaults instantiates a new WafUpdateDdosSettingsResponse 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 (*WafUpdateDdosSettingsResponse) GetDdosSettings

func (o *WafUpdateDdosSettingsResponse) GetDdosSettings() WafDdosSettings

GetDdosSettings returns the DdosSettings field value if set, zero value otherwise.

func (*WafUpdateDdosSettingsResponse) GetDdosSettingsOk

func (o *WafUpdateDdosSettingsResponse) GetDdosSettingsOk() (*WafDdosSettings, bool)

GetDdosSettingsOk returns a tuple with the DdosSettings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateDdosSettingsResponse) HasDdosSettings

func (o *WafUpdateDdosSettingsResponse) HasDdosSettings() bool

HasDdosSettings returns a boolean if a field has been set.

func (WafUpdateDdosSettingsResponse) MarshalJSON

func (o WafUpdateDdosSettingsResponse) MarshalJSON() ([]byte, error)

func (*WafUpdateDdosSettingsResponse) SetDdosSettings

func (o *WafUpdateDdosSettingsResponse) SetDdosSettings(v WafDdosSettings)

SetDdosSettings gets a reference to the given WafDdosSettings and assigns it to the DdosSettings field.

type WafUpdatePolicyGroupsRequest

type WafUpdatePolicyGroupsRequest struct {
	// A site's WAF policy groups
	PolicyGroups *[]WafPolicyGroup `json:"policyGroups,omitempty"`
}

WafUpdatePolicyGroupsRequest struct for WafUpdatePolicyGroupsRequest

func NewWafUpdatePolicyGroupsRequest

func NewWafUpdatePolicyGroupsRequest() *WafUpdatePolicyGroupsRequest

NewWafUpdatePolicyGroupsRequest instantiates a new WafUpdatePolicyGroupsRequest 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 NewWafUpdatePolicyGroupsRequestWithDefaults

func NewWafUpdatePolicyGroupsRequestWithDefaults() *WafUpdatePolicyGroupsRequest

NewWafUpdatePolicyGroupsRequestWithDefaults instantiates a new WafUpdatePolicyGroupsRequest 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 (*WafUpdatePolicyGroupsRequest) GetPolicyGroups

func (o *WafUpdatePolicyGroupsRequest) GetPolicyGroups() []WafPolicyGroup

GetPolicyGroups returns the PolicyGroups field value if set, zero value otherwise.

func (*WafUpdatePolicyGroupsRequest) GetPolicyGroupsOk

func (o *WafUpdatePolicyGroupsRequest) GetPolicyGroupsOk() (*[]WafPolicyGroup, bool)

GetPolicyGroupsOk returns a tuple with the PolicyGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdatePolicyGroupsRequest) HasPolicyGroups

func (o *WafUpdatePolicyGroupsRequest) HasPolicyGroups() bool

HasPolicyGroups returns a boolean if a field has been set.

func (WafUpdatePolicyGroupsRequest) MarshalJSON

func (o WafUpdatePolicyGroupsRequest) MarshalJSON() ([]byte, error)

func (*WafUpdatePolicyGroupsRequest) SetPolicyGroups

func (o *WafUpdatePolicyGroupsRequest) SetPolicyGroups(v []WafPolicyGroup)

SetPolicyGroups gets a reference to the given []WafPolicyGroup and assigns it to the PolicyGroups field.

type WafUpdateRuleRequest

type WafUpdateRuleRequest struct {
	// The WAF rule's name
	Name *string `json:"name,omitempty"`
	// A rule's description
	Description *string `json:"description,omitempty"`
	// The conditions required for a WAF rule to trigger
	Conditions  *[]RuleCondition `json:"conditions,omitempty"`
	ActionValue *WafRuleAction   `json:"actionValue,omitempty"`
	// Whether or not the rule should be enabled
	Enabled    *bool           `json:"enabled,omitempty"`
	StatusCode *RuleStatusCode `json:"statusCode,omitempty"`
	// How long a rule's block action will apply to subsequent requests  Durations only apply to rules with block actions.
	ActionDuration *string `json:"actionDuration,omitempty"`
}

WafUpdateRuleRequest struct for WafUpdateRuleRequest

func NewWafUpdateRuleRequest

func NewWafUpdateRuleRequest() *WafUpdateRuleRequest

NewWafUpdateRuleRequest instantiates a new WafUpdateRuleRequest 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 NewWafUpdateRuleRequestWithDefaults

func NewWafUpdateRuleRequestWithDefaults() *WafUpdateRuleRequest

NewWafUpdateRuleRequestWithDefaults instantiates a new WafUpdateRuleRequest 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 (*WafUpdateRuleRequest) GetActionDuration

func (o *WafUpdateRuleRequest) GetActionDuration() string

GetActionDuration returns the ActionDuration field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetActionDurationOk

func (o *WafUpdateRuleRequest) GetActionDurationOk() (*string, bool)

GetActionDurationOk returns a tuple with the ActionDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) GetActionValue

func (o *WafUpdateRuleRequest) GetActionValue() WafRuleAction

GetActionValue returns the ActionValue field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetActionValueOk

func (o *WafUpdateRuleRequest) GetActionValueOk() (*WafRuleAction, bool)

GetActionValueOk returns a tuple with the ActionValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) GetConditions

func (o *WafUpdateRuleRequest) GetConditions() []RuleCondition

GetConditions returns the Conditions field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetConditionsOk

func (o *WafUpdateRuleRequest) GetConditionsOk() (*[]RuleCondition, bool)

GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) GetDescription

func (o *WafUpdateRuleRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetDescriptionOk

func (o *WafUpdateRuleRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) GetEnabled

func (o *WafUpdateRuleRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetEnabledOk

func (o *WafUpdateRuleRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) GetName

func (o *WafUpdateRuleRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetNameOk

func (o *WafUpdateRuleRequest) 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 (*WafUpdateRuleRequest) GetStatusCode

func (o *WafUpdateRuleRequest) GetStatusCode() RuleStatusCode

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*WafUpdateRuleRequest) GetStatusCodeOk

func (o *WafUpdateRuleRequest) GetStatusCodeOk() (*RuleStatusCode, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleRequest) HasActionDuration

func (o *WafUpdateRuleRequest) HasActionDuration() bool

HasActionDuration returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasActionValue

func (o *WafUpdateRuleRequest) HasActionValue() bool

HasActionValue returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasConditions

func (o *WafUpdateRuleRequest) HasConditions() bool

HasConditions returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasDescription

func (o *WafUpdateRuleRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasEnabled

func (o *WafUpdateRuleRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasName

func (o *WafUpdateRuleRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*WafUpdateRuleRequest) HasStatusCode

func (o *WafUpdateRuleRequest) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (WafUpdateRuleRequest) MarshalJSON

func (o WafUpdateRuleRequest) MarshalJSON() ([]byte, error)

func (*WafUpdateRuleRequest) SetActionDuration

func (o *WafUpdateRuleRequest) SetActionDuration(v string)

SetActionDuration gets a reference to the given string and assigns it to the ActionDuration field.

func (*WafUpdateRuleRequest) SetActionValue

func (o *WafUpdateRuleRequest) SetActionValue(v WafRuleAction)

SetActionValue gets a reference to the given WafRuleAction and assigns it to the ActionValue field.

func (*WafUpdateRuleRequest) SetConditions

func (o *WafUpdateRuleRequest) SetConditions(v []RuleCondition)

SetConditions gets a reference to the given []RuleCondition and assigns it to the Conditions field.

func (*WafUpdateRuleRequest) SetDescription

func (o *WafUpdateRuleRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WafUpdateRuleRequest) SetEnabled

func (o *WafUpdateRuleRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*WafUpdateRuleRequest) SetName

func (o *WafUpdateRuleRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*WafUpdateRuleRequest) SetStatusCode

func (o *WafUpdateRuleRequest) SetStatusCode(v RuleStatusCode)

SetStatusCode gets a reference to the given RuleStatusCode and assigns it to the StatusCode field.

type WafUpdateRuleResponse

type WafUpdateRuleResponse struct {
	Rule *WafRule `json:"rule,omitempty"`
}

WafUpdateRuleResponse The results from a request to update a WAF rule

func NewWafUpdateRuleResponse

func NewWafUpdateRuleResponse() *WafUpdateRuleResponse

NewWafUpdateRuleResponse instantiates a new WafUpdateRuleResponse 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 NewWafUpdateRuleResponseWithDefaults

func NewWafUpdateRuleResponseWithDefaults() *WafUpdateRuleResponse

NewWafUpdateRuleResponseWithDefaults instantiates a new WafUpdateRuleResponse 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 (*WafUpdateRuleResponse) GetRule

func (o *WafUpdateRuleResponse) GetRule() WafRule

GetRule returns the Rule field value if set, zero value otherwise.

func (*WafUpdateRuleResponse) GetRuleOk

func (o *WafUpdateRuleResponse) GetRuleOk() (*WafRule, bool)

GetRuleOk returns a tuple with the Rule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateRuleResponse) HasRule

func (o *WafUpdateRuleResponse) HasRule() bool

HasRule returns a boolean if a field has been set.

func (WafUpdateRuleResponse) MarshalJSON

func (o WafUpdateRuleResponse) MarshalJSON() ([]byte, error)

func (*WafUpdateRuleResponse) SetRule

func (o *WafUpdateRuleResponse) SetRule(v WafRule)

SetRule gets a reference to the given WafRule and assigns it to the Rule field.

type WafUpdateSiteApiUrlsRequest

type WafUpdateSiteApiUrlsRequest struct {
	// A list of API URLs that will be processed differently by the WAF
	ApiUrls *[]string `json:"apiUrls,omitempty"`
}

WafUpdateSiteApiUrlsRequest struct for WafUpdateSiteApiUrlsRequest

func NewWafUpdateSiteApiUrlsRequest

func NewWafUpdateSiteApiUrlsRequest() *WafUpdateSiteApiUrlsRequest

NewWafUpdateSiteApiUrlsRequest instantiates a new WafUpdateSiteApiUrlsRequest 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 NewWafUpdateSiteApiUrlsRequestWithDefaults

func NewWafUpdateSiteApiUrlsRequestWithDefaults() *WafUpdateSiteApiUrlsRequest

NewWafUpdateSiteApiUrlsRequestWithDefaults instantiates a new WafUpdateSiteApiUrlsRequest 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 (*WafUpdateSiteApiUrlsRequest) GetApiUrls

func (o *WafUpdateSiteApiUrlsRequest) GetApiUrls() []string

GetApiUrls returns the ApiUrls field value if set, zero value otherwise.

func (*WafUpdateSiteApiUrlsRequest) GetApiUrlsOk

func (o *WafUpdateSiteApiUrlsRequest) GetApiUrlsOk() (*[]string, bool)

GetApiUrlsOk returns a tuple with the ApiUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateSiteApiUrlsRequest) HasApiUrls

func (o *WafUpdateSiteApiUrlsRequest) HasApiUrls() bool

HasApiUrls returns a boolean if a field has been set.

func (WafUpdateSiteApiUrlsRequest) MarshalJSON

func (o WafUpdateSiteApiUrlsRequest) MarshalJSON() ([]byte, error)

func (*WafUpdateSiteApiUrlsRequest) SetApiUrls

func (o *WafUpdateSiteApiUrlsRequest) SetApiUrls(v []string)

SetApiUrls gets a reference to the given []string and assigns it to the ApiUrls field.

type WafUpdateSiteApiUrlsResponse

type WafUpdateSiteApiUrlsResponse struct {
	// A list of API URLs that will be processed differently by the WAF
	ApiUrls *[]string `json:"apiUrls,omitempty"`
}

WafUpdateSiteApiUrlsResponse A response from a request to update an WAF site's API URLs

func NewWafUpdateSiteApiUrlsResponse

func NewWafUpdateSiteApiUrlsResponse() *WafUpdateSiteApiUrlsResponse

NewWafUpdateSiteApiUrlsResponse instantiates a new WafUpdateSiteApiUrlsResponse 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 NewWafUpdateSiteApiUrlsResponseWithDefaults

func NewWafUpdateSiteApiUrlsResponseWithDefaults() *WafUpdateSiteApiUrlsResponse

NewWafUpdateSiteApiUrlsResponseWithDefaults instantiates a new WafUpdateSiteApiUrlsResponse 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 (*WafUpdateSiteApiUrlsResponse) GetApiUrls

func (o *WafUpdateSiteApiUrlsResponse) GetApiUrls() []string

GetApiUrls returns the ApiUrls field value if set, zero value otherwise.

func (*WafUpdateSiteApiUrlsResponse) GetApiUrlsOk

func (o *WafUpdateSiteApiUrlsResponse) GetApiUrlsOk() (*[]string, bool)

GetApiUrlsOk returns a tuple with the ApiUrls field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafUpdateSiteApiUrlsResponse) HasApiUrls

func (o *WafUpdateSiteApiUrlsResponse) HasApiUrls() bool

HasApiUrls returns a boolean if a field has been set.

func (WafUpdateSiteApiUrlsResponse) MarshalJSON

func (o WafUpdateSiteApiUrlsResponse) MarshalJSON() ([]byte, error)

func (*WafUpdateSiteApiUrlsResponse) SetApiUrls

func (o *WafUpdateSiteApiUrlsResponse) SetApiUrls(v []string)

SetApiUrls gets a reference to the given []string and assigns it to the ApiUrls field.

type WafVerificationRequirements

type WafVerificationRequirements struct {
	DnsVerificationDetails  *WafDnsVerificationDetails        `json:"dnsVerificationDetails,omitempty"`
	HttpVerificationDetails *WafHttpVerificationDetails       `json:"httpVerificationDetails,omitempty"`
	VerificationMethod      *WafCertificateVerificationMethod `json:"verificationMethod,omitempty"`
}

WafVerificationRequirements Conditions that must be met to verify ownership of a domain for SSL certificate provisioning

func NewWafVerificationRequirements

func NewWafVerificationRequirements() *WafVerificationRequirements

NewWafVerificationRequirements instantiates a new WafVerificationRequirements 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 NewWafVerificationRequirementsWithDefaults

func NewWafVerificationRequirementsWithDefaults() *WafVerificationRequirements

NewWafVerificationRequirementsWithDefaults instantiates a new WafVerificationRequirements 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 (*WafVerificationRequirements) GetDnsVerificationDetails

func (o *WafVerificationRequirements) GetDnsVerificationDetails() WafDnsVerificationDetails

GetDnsVerificationDetails returns the DnsVerificationDetails field value if set, zero value otherwise.

func (*WafVerificationRequirements) GetDnsVerificationDetailsOk

func (o *WafVerificationRequirements) GetDnsVerificationDetailsOk() (*WafDnsVerificationDetails, bool)

GetDnsVerificationDetailsOk returns a tuple with the DnsVerificationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafVerificationRequirements) GetHttpVerificationDetails

func (o *WafVerificationRequirements) GetHttpVerificationDetails() WafHttpVerificationDetails

GetHttpVerificationDetails returns the HttpVerificationDetails field value if set, zero value otherwise.

func (*WafVerificationRequirements) GetHttpVerificationDetailsOk

func (o *WafVerificationRequirements) GetHttpVerificationDetailsOk() (*WafHttpVerificationDetails, bool)

GetHttpVerificationDetailsOk returns a tuple with the HttpVerificationDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafVerificationRequirements) GetVerificationMethod

GetVerificationMethod returns the VerificationMethod field value if set, zero value otherwise.

func (*WafVerificationRequirements) GetVerificationMethodOk

func (o *WafVerificationRequirements) GetVerificationMethodOk() (*WafCertificateVerificationMethod, bool)

GetVerificationMethodOk returns a tuple with the VerificationMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WafVerificationRequirements) HasDnsVerificationDetails

func (o *WafVerificationRequirements) HasDnsVerificationDetails() bool

HasDnsVerificationDetails returns a boolean if a field has been set.

func (*WafVerificationRequirements) HasHttpVerificationDetails

func (o *WafVerificationRequirements) HasHttpVerificationDetails() bool

HasHttpVerificationDetails returns a boolean if a field has been set.

func (*WafVerificationRequirements) HasVerificationMethod

func (o *WafVerificationRequirements) HasVerificationMethod() bool

HasVerificationMethod returns a boolean if a field has been set.

func (WafVerificationRequirements) MarshalJSON

func (o WafVerificationRequirements) MarshalJSON() ([]byte, error)

func (*WafVerificationRequirements) SetDnsVerificationDetails

func (o *WafVerificationRequirements) SetDnsVerificationDetails(v WafDnsVerificationDetails)

SetDnsVerificationDetails gets a reference to the given WafDnsVerificationDetails and assigns it to the DnsVerificationDetails field.

func (*WafVerificationRequirements) SetHttpVerificationDetails

func (o *WafVerificationRequirements) SetHttpVerificationDetails(v WafHttpVerificationDetails)

SetHttpVerificationDetails gets a reference to the given WafHttpVerificationDetails and assigns it to the HttpVerificationDetails field.

func (*WafVerificationRequirements) SetVerificationMethod

SetVerificationMethod gets a reference to the given WafCertificateVerificationMethod and assigns it to the VerificationMethod field.

type WafWAFOrganization

type WafWAFOrganization struct {
	// An organization's name
	Name *string `json:"name,omitempty"`
}

WafWAFOrganization A WHOIS organization

func NewWafWAFOrganization

func NewWafWAFOrganization() *WafWAFOrganization

NewWafWAFOrganization instantiates a new WafWAFOrganization 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 NewWafWAFOrganizationWithDefaults

func NewWafWAFOrganizationWithDefaults() *WafWAFOrganization

NewWafWAFOrganizationWithDefaults instantiates a new WafWAFOrganization 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 (*WafWAFOrganization) GetName

func (o *WafWAFOrganization) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*WafWAFOrganization) GetNameOk

func (o *WafWAFOrganization) 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 (*WafWAFOrganization) HasName

func (o *WafWAFOrganization) HasName() bool

HasName returns a boolean if a field has been set.

func (WafWAFOrganization) MarshalJSON

func (o WafWAFOrganization) MarshalJSON() ([]byte, error)

func (*WafWAFOrganization) SetName

func (o *WafWAFOrganization) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL