waf_bot_manager

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBasePath string = "/v2/mcc/customers"
)

Variables

This section is empty.

Functions

func BoolToString

func BoolToString(in bool) string

func NumberToString

func NumberToString[N constraints.Integer | constraints.Float](in N) string

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type ActionObj

type ActionObj struct {
	ALERT                *AlertAction            `json:"ALERT,omitempty"`
	CUSTOM_RESPONSE      *CustomResponseAction   `json:"CUSTOM_RESPONSE,omitempty"`
	BLOCK_REQUEST        *BlockRequestAction     `json:"BLOCK_REQUEST,omitempty"`
	REDIRECT302          *RedirectAction         `json:"REDIRECT_302,omitempty"`
	BROWSER_CHALLENGE    *BrowserChallengeAction `json:"BROWSER_CHALLENGE,omitempty"`
	RECAPTCHA            *RecaptchaAction        `json:"RECAPTCHA,omitempty"`
	AdditionalProperties map[string]interface{}
}

ActionObj struct for ActionObj

func NewActionObj

func NewActionObj() *ActionObj

NewActionObj instantiates a new ActionObj 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 NewActionObjWithDefaults

func NewActionObjWithDefaults() *ActionObj

NewActionObjWithDefaults instantiates a new ActionObj 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 (*ActionObj) GetALERT

func (o *ActionObj) GetALERT() AlertAction

GetALERT returns the ALERT field value if set, zero value otherwise.

func (*ActionObj) GetALERTOk

func (o *ActionObj) GetALERTOk() (*AlertAction, bool)

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

func (*ActionObj) GetBLOCK_REQUEST

func (o *ActionObj) GetBLOCK_REQUEST() BlockRequestAction

GetBLOCK_REQUEST returns the BLOCK_REQUEST field value if set, zero value otherwise.

func (*ActionObj) GetBLOCK_REQUESTOk

func (o *ActionObj) GetBLOCK_REQUESTOk() (*BlockRequestAction, bool)

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

func (*ActionObj) GetBROWSER_CHALLENGE

func (o *ActionObj) GetBROWSER_CHALLENGE() BrowserChallengeAction

GetBROWSER_CHALLENGE returns the BROWSER_CHALLENGE field value if set, zero value otherwise.

func (*ActionObj) GetBROWSER_CHALLENGEOk

func (o *ActionObj) GetBROWSER_CHALLENGEOk() (*BrowserChallengeAction, bool)

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

func (*ActionObj) GetCUSTOM_RESPONSE

func (o *ActionObj) GetCUSTOM_RESPONSE() CustomResponseAction

GetCUSTOM_RESPONSE returns the CUSTOM_RESPONSE field value if set, zero value otherwise.

func (*ActionObj) GetCUSTOM_RESPONSEOk

func (o *ActionObj) GetCUSTOM_RESPONSEOk() (*CustomResponseAction, bool)

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

func (*ActionObj) GetRECAPTCHAOk added in v1.1.3

func (o *ActionObj) GetRECAPTCHAOk() (*RecaptchaAction, bool)

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

func (*ActionObj) GetREDIRECT302

func (o *ActionObj) GetREDIRECT302() RedirectAction

GetREDIRECT302 returns the REDIRECT302 field value if set, zero value otherwise.

func (*ActionObj) GetREDIRECT302Ok

func (o *ActionObj) GetREDIRECT302Ok() (*RedirectAction, bool)

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

func (*ActionObj) HasALERT

func (o *ActionObj) HasALERT() bool

HasALERT returns a boolean if a field has been set.

func (*ActionObj) HasBLOCK_REQUEST

func (o *ActionObj) HasBLOCK_REQUEST() bool

HasBLOCK_REQUEST returns a boolean if a field has been set.

func (*ActionObj) HasBROWSER_CHALLENGE

func (o *ActionObj) HasBROWSER_CHALLENGE() bool

HasBROWSER_CHALLENGE returns a boolean if a field has been set.

func (*ActionObj) HasCUSTOM_RESPONSE

func (o *ActionObj) HasCUSTOM_RESPONSE() bool

HasCUSTOM_RESPONSE returns a boolean if a field has been set.

func (*ActionObj) HasRECAPTCHA added in v1.1.3

func (o *ActionObj) HasRECAPTCHA() bool

HasRECAPTCHA returns a boolean if a field has been set.

func (*ActionObj) HasREDIRECT302

func (o *ActionObj) HasREDIRECT302() bool

HasREDIRECT302 returns a boolean if a field has been set.

func (ActionObj) MarshalJSON

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

func (*ActionObj) SetALERT

func (o *ActionObj) SetALERT(v AlertAction)

SetALERT gets a reference to the given AlertAction and assigns it to the ALERT field.

func (*ActionObj) SetBLOCK_REQUEST

func (o *ActionObj) SetBLOCK_REQUEST(v BlockRequestAction)

SetBLOCK_REQUEST gets a reference to the given BlockRequestAction and assigns it to the BLOCK_REQUEST field.

func (*ActionObj) SetBROWSER_CHALLENGE

func (o *ActionObj) SetBROWSER_CHALLENGE(v BrowserChallengeAction)

SetBROWSER_CHALLENGE gets a reference to the given BrowserChallengeAction and assigns it to the BROWSER_CHALLENGE field.

func (*ActionObj) SetCUSTOM_RESPONSE

func (o *ActionObj) SetCUSTOM_RESPONSE(v CustomResponseAction)

SetCUSTOM_RESPONSE gets a reference to the given CustomResponseAction and assigns it to the CUSTOM_RESPONSE field.

func (*ActionObj) SetRECAPTCHA added in v1.1.3

func (o *ActionObj) SetRECAPTCHA(v RecaptchaAction)

SetRECAPTCHA gets a reference to the given RecaptchaAction and assigns it to the RECAPTCHA field.

func (*ActionObj) SetREDIRECT302

func (o *ActionObj) SetREDIRECT302(v RedirectAction)

SetREDIRECT302 gets a reference to the given RedirectAction and assigns it to the REDIRECT302 field.

func (*ActionObj) UnmarshalJSON

func (o *ActionObj) UnmarshalJSON(bytes []byte) (err error)

type AlertAction

type AlertAction struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	EnfType              *string `json:"enf_type,omitempty"`
	AdditionalProperties map[string]interface{}
}

AlertAction struct for AlertAction

func NewAlertAction

func NewAlertAction() *AlertAction

NewAlertAction instantiates a new AlertAction 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 NewAlertActionWithDefaults

func NewAlertActionWithDefaults() *AlertAction

NewAlertActionWithDefaults instantiates a new AlertAction 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 (*AlertAction) GetEnfType

func (o *AlertAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*AlertAction) GetEnfTypeOk

func (o *AlertAction) GetEnfTypeOk() (*string, bool)

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

func (*AlertAction) GetId

func (o *AlertAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AlertAction) GetIdOk

func (o *AlertAction) 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 (*AlertAction) GetName

func (o *AlertAction) GetName() string

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

func (*AlertAction) GetNameOk

func (o *AlertAction) 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 (*AlertAction) HasEnfType

func (o *AlertAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*AlertAction) HasId

func (o *AlertAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*AlertAction) HasName

func (o *AlertAction) HasName() bool

HasName returns a boolean if a field has been set.

func (AlertAction) MarshalJSON

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

func (*AlertAction) SetEnfType

func (o *AlertAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*AlertAction) SetId

func (o *AlertAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AlertAction) SetName

func (o *AlertAction) SetName(v string)

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

func (*AlertAction) UnmarshalJSON

func (o *AlertAction) UnmarshalJSON(bytes []byte) (err error)

type BlockRequestAction

type BlockRequestAction struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	EnfType              *string `json:"enf_type,omitempty"`
	AdditionalProperties map[string]interface{}
}

BlockRequestAction struct for BlockRequestAction

func NewBlockRequestAction

func NewBlockRequestAction() *BlockRequestAction

NewBlockRequestAction instantiates a new BlockRequestAction 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 NewBlockRequestActionWithDefaults

func NewBlockRequestActionWithDefaults() *BlockRequestAction

NewBlockRequestActionWithDefaults instantiates a new BlockRequestAction 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 (*BlockRequestAction) GetEnfType

func (o *BlockRequestAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*BlockRequestAction) GetEnfTypeOk

func (o *BlockRequestAction) GetEnfTypeOk() (*string, bool)

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

func (*BlockRequestAction) GetId

func (o *BlockRequestAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BlockRequestAction) GetIdOk

func (o *BlockRequestAction) 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 (*BlockRequestAction) GetName

func (o *BlockRequestAction) GetName() string

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

func (*BlockRequestAction) GetNameOk

func (o *BlockRequestAction) 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 (*BlockRequestAction) HasEnfType

func (o *BlockRequestAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*BlockRequestAction) HasId

func (o *BlockRequestAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*BlockRequestAction) HasName

func (o *BlockRequestAction) HasName() bool

HasName returns a boolean if a field has been set.

func (BlockRequestAction) MarshalJSON

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

func (*BlockRequestAction) SetEnfType

func (o *BlockRequestAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*BlockRequestAction) SetId

func (o *BlockRequestAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BlockRequestAction) SetName

func (o *BlockRequestAction) SetName(v string)

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

func (*BlockRequestAction) UnmarshalJSON

func (o *BlockRequestAction) UnmarshalJSON(bytes []byte) (err error)

type BotManager

type BotManager struct {
	Actions *ActionObj `json:"actions,omitempty"`
	// Bot Rule Id
	BotsProdId           *string       `json:"bots_prod_id,omitempty"`
	ExceptionCookie      []string      `json:"exception_cookie,omitempty"`
	ExceptionJa3         []string      `json:"exception_ja3,omitempty"`
	ExceptionUrl         []string      `json:"exception_url,omitempty"`
	ExceptionUserAgent   []string      `json:"exception_user_agent,omitempty"`
	InspectKnownBots     *bool         `json:"inspect_known_bots,omitempty"`
	KnownBots            []KnownBotObj `json:"known_bots,omitempty"`
	CustomerId           *string       `json:"customer_id,omitempty"`
	LastModifiedDate     *string       `json:"last_modified_date,omitempty"`
	LastModifiedBy       *string       `json:"last_modified_by,omitempty"`
	Name                 *string       `json:"name,omitempty"`
	SpoofBotActionType   *string       `json:"spoof_bot_action_type,omitempty"`
	AdditionalProperties map[string]interface{}
}

BotManager struct for BotManager

func NewBotManager

func NewBotManager() *BotManager

NewBotManager instantiates a new BotManager 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 NewBotManagerWithDefaults

func NewBotManagerWithDefaults() *BotManager

NewBotManagerWithDefaults instantiates a new BotManager 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 (*BotManager) GetActions

func (o *BotManager) GetActions() ActionObj

GetActions returns the Actions field value if set, zero value otherwise.

func (*BotManager) GetActionsOk

func (o *BotManager) GetActionsOk() (*ActionObj, 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 (*BotManager) GetBotsProdId

func (o *BotManager) GetBotsProdId() string

GetBotsProdId returns the BotsProdId field value if set, zero value otherwise.

func (*BotManager) GetBotsProdIdOk

func (o *BotManager) GetBotsProdIdOk() (*string, bool)

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

func (*BotManager) GetCustomerId

func (o *BotManager) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise.

func (*BotManager) GetCustomerIdOk

func (o *BotManager) GetCustomerIdOk() (*string, bool)

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

func (*BotManager) GetExceptionCookie

func (o *BotManager) GetExceptionCookie() []string

GetExceptionCookie returns the ExceptionCookie field value if set, zero value otherwise.

func (*BotManager) GetExceptionCookieOk

func (o *BotManager) GetExceptionCookieOk() ([]string, bool)

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

func (*BotManager) GetExceptionJa3

func (o *BotManager) GetExceptionJa3() []string

GetExceptionJa3 returns the ExceptionJa3 field value if set, zero value otherwise.

func (*BotManager) GetExceptionJa3Ok

func (o *BotManager) GetExceptionJa3Ok() ([]string, bool)

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

func (*BotManager) GetExceptionUrl

func (o *BotManager) GetExceptionUrl() []string

GetExceptionUrl returns the ExceptionUrl field value if set, zero value otherwise.

func (*BotManager) GetExceptionUrlOk

func (o *BotManager) GetExceptionUrlOk() ([]string, bool)

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

func (*BotManager) GetExceptionUserAgent

func (o *BotManager) GetExceptionUserAgent() []string

GetExceptionUserAgent returns the ExceptionUserAgent field value if set, zero value otherwise.

func (*BotManager) GetExceptionUserAgentOk

func (o *BotManager) GetExceptionUserAgentOk() ([]string, bool)

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

func (*BotManager) GetInspectKnownBots

func (o *BotManager) GetInspectKnownBots() bool

GetInspectKnownBots returns the InspectKnownBots field value if set, zero value otherwise.

func (*BotManager) GetInspectKnownBotsOk

func (o *BotManager) GetInspectKnownBotsOk() (*bool, bool)

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

func (*BotManager) GetKnownBots

func (o *BotManager) GetKnownBots() []KnownBotObj

GetKnownBots returns the KnownBots field value if set, zero value otherwise.

func (*BotManager) GetKnownBotsOk

func (o *BotManager) GetKnownBotsOk() ([]KnownBotObj, bool)

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

func (*BotManager) GetLastModifiedBy

func (o *BotManager) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*BotManager) GetLastModifiedByOk

func (o *BotManager) GetLastModifiedByOk() (*string, bool)

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

func (*BotManager) GetLastModifiedDate

func (o *BotManager) GetLastModifiedDate() string

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*BotManager) GetLastModifiedDateOk

func (o *BotManager) GetLastModifiedDateOk() (*string, bool)

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

func (*BotManager) GetName

func (o *BotManager) GetName() string

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

func (*BotManager) GetNameOk

func (o *BotManager) 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 (*BotManager) GetSpoofBotActionType

func (o *BotManager) GetSpoofBotActionType() string

GetSpoofBotActionType returns the SpoofBotActionType field value if set, zero value otherwise.

func (*BotManager) GetSpoofBotActionTypeOk

func (o *BotManager) GetSpoofBotActionTypeOk() (*string, bool)

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

func (*BotManager) HasActions

func (o *BotManager) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*BotManager) HasBotsProdId

func (o *BotManager) HasBotsProdId() bool

HasBotsProdId returns a boolean if a field has been set.

func (*BotManager) HasCustomerId

func (o *BotManager) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (*BotManager) HasExceptionCookie

func (o *BotManager) HasExceptionCookie() bool

HasExceptionCookie returns a boolean if a field has been set.

func (*BotManager) HasExceptionJa3

func (o *BotManager) HasExceptionJa3() bool

HasExceptionJa3 returns a boolean if a field has been set.

func (*BotManager) HasExceptionUrl

func (o *BotManager) HasExceptionUrl() bool

HasExceptionUrl returns a boolean if a field has been set.

func (*BotManager) HasExceptionUserAgent

func (o *BotManager) HasExceptionUserAgent() bool

HasExceptionUserAgent returns a boolean if a field has been set.

func (*BotManager) HasInspectKnownBots

func (o *BotManager) HasInspectKnownBots() bool

HasInspectKnownBots returns a boolean if a field has been set.

func (*BotManager) HasKnownBots

func (o *BotManager) HasKnownBots() bool

HasKnownBots returns a boolean if a field has been set.

func (*BotManager) HasLastModifiedBy

func (o *BotManager) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*BotManager) HasLastModifiedDate

func (o *BotManager) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*BotManager) HasName

func (o *BotManager) HasName() bool

HasName returns a boolean if a field has been set.

func (*BotManager) HasSpoofBotActionType

func (o *BotManager) HasSpoofBotActionType() bool

HasSpoofBotActionType returns a boolean if a field has been set.

func (BotManager) MarshalJSON

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

func (*BotManager) SetActions

func (o *BotManager) SetActions(v ActionObj)

SetActions gets a reference to the given ActionObj and assigns it to the Actions field.

func (*BotManager) SetBotsProdId

func (o *BotManager) SetBotsProdId(v string)

SetBotsProdId gets a reference to the given string and assigns it to the BotsProdId field.

func (*BotManager) SetCustomerId

func (o *BotManager) SetCustomerId(v string)

SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.

func (*BotManager) SetExceptionCookie

func (o *BotManager) SetExceptionCookie(v []string)

SetExceptionCookie gets a reference to the given []string and assigns it to the ExceptionCookie field.

func (*BotManager) SetExceptionJa3

func (o *BotManager) SetExceptionJa3(v []string)

SetExceptionJa3 gets a reference to the given []string and assigns it to the ExceptionJa3 field.

func (*BotManager) SetExceptionUrl

func (o *BotManager) SetExceptionUrl(v []string)

SetExceptionUrl gets a reference to the given []string and assigns it to the ExceptionUrl field.

func (*BotManager) SetExceptionUserAgent

func (o *BotManager) SetExceptionUserAgent(v []string)

SetExceptionUserAgent gets a reference to the given []string and assigns it to the ExceptionUserAgent field.

func (*BotManager) SetInspectKnownBots

func (o *BotManager) SetInspectKnownBots(v bool)

SetInspectKnownBots gets a reference to the given bool and assigns it to the InspectKnownBots field.

func (*BotManager) SetKnownBots

func (o *BotManager) SetKnownBots(v []KnownBotObj)

SetKnownBots gets a reference to the given []KnownBotObj and assigns it to the KnownBots field.

func (*BotManager) SetLastModifiedBy

func (o *BotManager) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*BotManager) SetLastModifiedDate

func (o *BotManager) SetLastModifiedDate(v string)

SetLastModifiedDate gets a reference to the given string and assigns it to the LastModifiedDate field.

func (*BotManager) SetName

func (o *BotManager) SetName(v string)

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

func (*BotManager) SetSpoofBotActionType

func (o *BotManager) SetSpoofBotActionType(v string)

SetSpoofBotActionType gets a reference to the given string and assigns it to the SpoofBotActionType field.

func (*BotManager) UnmarshalJSON

func (o *BotManager) UnmarshalJSON(bytes []byte) (err error)

type BotManagersClient

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

BotManagersClient is the concrete client implementation for BotManagers

func NewBotManagersClient

func NewBotManagersClient(
	c ecclient.APIClient,
	baseAPIURL string,
) BotManagersClient

NewBotManagersClient creates a new instance of BotManagersClient

func (BotManagersClient) CreateBotManager

func (c BotManagersClient) CreateBotManager(
	params CreateBotManagerParams,
) (*ResponseObj, error)

CreateBotManager - POST Bot Manager

Create a new Bot Manager for a given customer.

func (BotManagersClient) DeleteBotManager

func (c BotManagersClient) DeleteBotManager(
	params DeleteBotManagerParams,
) error

DeleteBotManager - DELETE Bot Manager Object

Delete a Bot Manager object identified by id.

func (BotManagersClient) GetBotManager

func (c BotManagersClient) GetBotManager(
	params GetBotManagerParams,
) (*BotManager, error)

GetBotManager - GET Bot Manager Object

Get a Bot Manager object from a Bot Manager id.

func (BotManagersClient) GetBotManagers

func (c BotManagersClient) GetBotManagers(
	params GetBotManagersParams,
) ([]ObjShort, error)

GetBotManagers - GET Bot Managers

List all Bot Managers for a given customer.

func (BotManagersClient) UpdateBotManager

func (c BotManagersClient) UpdateBotManager(
	params UpdateBotManagerParams,
) error

UpdateBotManager - PUT Bot Manager Object

Modify a Bot Manager object identified by id.

type BotManagersClientService

type BotManagersClientService interface {
	CreateBotManager(
		params CreateBotManagerParams,
	) (*ResponseObj, error)

	DeleteBotManager(
		params DeleteBotManagerParams,
	) error

	GetBotManager(
		params GetBotManagerParams,
	) (*BotManager, error)

	GetBotManagers(
		params GetBotManagersParams,
	) ([]ObjShort, error)

	UpdateBotManager(
		params UpdateBotManagerParams,
	) error
}

BotManagersClientService defines the operations for BotManagers

type BrowserChallengeAction

type BrowserChallengeAction struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	EnfType              *string `json:"enf_type,omitempty"`
	IsCustomChallenge    *bool   `json:"is_custom_challenge,omitempty"`
	ResponseBodyBase64   *string `json:"response_body_base64,omitempty"`
	ValidForSec          *int32  `json:"valid_for_sec,omitempty"`
	Status               *int32  `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

BrowserChallengeAction struct for BrowserChallengeAction

func NewBrowserChallengeAction

func NewBrowserChallengeAction() *BrowserChallengeAction

NewBrowserChallengeAction instantiates a new BrowserChallengeAction 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 NewBrowserChallengeActionWithDefaults

func NewBrowserChallengeActionWithDefaults() *BrowserChallengeAction

NewBrowserChallengeActionWithDefaults instantiates a new BrowserChallengeAction 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 (*BrowserChallengeAction) GetEnfType

func (o *BrowserChallengeAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetEnfTypeOk

func (o *BrowserChallengeAction) GetEnfTypeOk() (*string, bool)

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

func (*BrowserChallengeAction) GetId

func (o *BrowserChallengeAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetIdOk

func (o *BrowserChallengeAction) 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 (*BrowserChallengeAction) GetIsCustomChallenge

func (o *BrowserChallengeAction) GetIsCustomChallenge() bool

GetIsCustomChallenge returns the IsCustomChallenge field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetIsCustomChallengeOk

func (o *BrowserChallengeAction) GetIsCustomChallengeOk() (*bool, bool)

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

func (*BrowserChallengeAction) GetName

func (o *BrowserChallengeAction) GetName() string

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

func (*BrowserChallengeAction) GetNameOk

func (o *BrowserChallengeAction) 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 (*BrowserChallengeAction) GetResponseBodyBase64

func (o *BrowserChallengeAction) GetResponseBodyBase64() string

GetResponseBodyBase64 returns the ResponseBodyBase64 field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetResponseBodyBase64Ok

func (o *BrowserChallengeAction) GetResponseBodyBase64Ok() (*string, bool)

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

func (*BrowserChallengeAction) GetStatus

func (o *BrowserChallengeAction) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetStatusOk

func (o *BrowserChallengeAction) GetStatusOk() (*int32, 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 (*BrowserChallengeAction) GetValidForSec

func (o *BrowserChallengeAction) GetValidForSec() int32

GetValidForSec returns the ValidForSec field value if set, zero value otherwise.

func (*BrowserChallengeAction) GetValidForSecOk

func (o *BrowserChallengeAction) GetValidForSecOk() (*int32, bool)

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

func (*BrowserChallengeAction) HasEnfType

func (o *BrowserChallengeAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasId

func (o *BrowserChallengeAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasIsCustomChallenge

func (o *BrowserChallengeAction) HasIsCustomChallenge() bool

HasIsCustomChallenge returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasName

func (o *BrowserChallengeAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasResponseBodyBase64

func (o *BrowserChallengeAction) HasResponseBodyBase64() bool

HasResponseBodyBase64 returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasStatus

func (o *BrowserChallengeAction) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*BrowserChallengeAction) HasValidForSec

func (o *BrowserChallengeAction) HasValidForSec() bool

HasValidForSec returns a boolean if a field has been set.

func (BrowserChallengeAction) MarshalJSON

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

func (*BrowserChallengeAction) SetEnfType

func (o *BrowserChallengeAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*BrowserChallengeAction) SetId

func (o *BrowserChallengeAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BrowserChallengeAction) SetIsCustomChallenge

func (o *BrowserChallengeAction) SetIsCustomChallenge(v bool)

SetIsCustomChallenge gets a reference to the given bool and assigns it to the IsCustomChallenge field.

func (*BrowserChallengeAction) SetName

func (o *BrowserChallengeAction) SetName(v string)

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

func (*BrowserChallengeAction) SetResponseBodyBase64

func (o *BrowserChallengeAction) SetResponseBodyBase64(v string)

SetResponseBodyBase64 gets a reference to the given string and assigns it to the ResponseBodyBase64 field.

func (*BrowserChallengeAction) SetStatus

func (o *BrowserChallengeAction) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*BrowserChallengeAction) SetValidForSec

func (o *BrowserChallengeAction) SetValidForSec(v int32)

SetValidForSec gets a reference to the given int32 and assigns it to the ValidForSec field.

func (*BrowserChallengeAction) UnmarshalJSON

func (o *BrowserChallengeAction) UnmarshalJSON(bytes []byte) (err error)

type CreateBotManagerParams

type CreateBotManagerParams struct {
	// The customer id
	CustId string

	BotManagerInfo BotManager
}

CreateBotManagerParams contains the parameters for CreateBotManager

func NewCreateBotManagerParams

func NewCreateBotManagerParams() CreateBotManagerParams

NewCreateBotManagerParams creates a new instance of CreateBotManagerParams

type CustomResponseAction

type CustomResponseAction struct {
	Id                   *string            `json:"id,omitempty"`
	Name                 *string            `json:"name,omitempty"`
	EnfType              *string            `json:"enf_type,omitempty"`
	ResponseBodyBase64   *string            `json:"response_body_base64,omitempty"`
	Status               *int32             `json:"status,omitempty"`
	ResponseHeaders      *map[string]string `json:"response_headers,omitempty"`
	AdditionalProperties map[string]interface{}
}

CustomResponseAction struct for CustomResponseAction

func NewCustomResponseAction

func NewCustomResponseAction() *CustomResponseAction

NewCustomResponseAction instantiates a new CustomResponseAction 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 NewCustomResponseActionWithDefaults

func NewCustomResponseActionWithDefaults() *CustomResponseAction

NewCustomResponseActionWithDefaults instantiates a new CustomResponseAction 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 (*CustomResponseAction) GetEnfType

func (o *CustomResponseAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*CustomResponseAction) GetEnfTypeOk

func (o *CustomResponseAction) GetEnfTypeOk() (*string, bool)

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

func (*CustomResponseAction) GetId

func (o *CustomResponseAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CustomResponseAction) GetIdOk

func (o *CustomResponseAction) 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 (*CustomResponseAction) GetName

func (o *CustomResponseAction) GetName() string

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

func (*CustomResponseAction) GetNameOk

func (o *CustomResponseAction) 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 (*CustomResponseAction) GetResponseBodyBase64

func (o *CustomResponseAction) GetResponseBodyBase64() string

GetResponseBodyBase64 returns the ResponseBodyBase64 field value if set, zero value otherwise.

func (*CustomResponseAction) GetResponseBodyBase64Ok

func (o *CustomResponseAction) GetResponseBodyBase64Ok() (*string, bool)

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

func (*CustomResponseAction) GetResponseHeaders

func (o *CustomResponseAction) GetResponseHeaders() map[string]string

GetResponseHeaders returns the ResponseHeaders field value if set, zero value otherwise.

func (*CustomResponseAction) GetResponseHeadersOk

func (o *CustomResponseAction) GetResponseHeadersOk() (*map[string]string, bool)

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

func (*CustomResponseAction) GetStatus

func (o *CustomResponseAction) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*CustomResponseAction) GetStatusOk

func (o *CustomResponseAction) GetStatusOk() (*int32, 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 (*CustomResponseAction) HasEnfType

func (o *CustomResponseAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*CustomResponseAction) HasId

func (o *CustomResponseAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomResponseAction) HasName

func (o *CustomResponseAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*CustomResponseAction) HasResponseBodyBase64

func (o *CustomResponseAction) HasResponseBodyBase64() bool

HasResponseBodyBase64 returns a boolean if a field has been set.

func (*CustomResponseAction) HasResponseHeaders

func (o *CustomResponseAction) HasResponseHeaders() bool

HasResponseHeaders returns a boolean if a field has been set.

func (*CustomResponseAction) HasStatus

func (o *CustomResponseAction) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (CustomResponseAction) MarshalJSON

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

func (*CustomResponseAction) SetEnfType

func (o *CustomResponseAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*CustomResponseAction) SetId

func (o *CustomResponseAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CustomResponseAction) SetName

func (o *CustomResponseAction) SetName(v string)

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

func (*CustomResponseAction) SetResponseBodyBase64

func (o *CustomResponseAction) SetResponseBodyBase64(v string)

SetResponseBodyBase64 gets a reference to the given string and assigns it to the ResponseBodyBase64 field.

func (*CustomResponseAction) SetResponseHeaders

func (o *CustomResponseAction) SetResponseHeaders(v map[string]string)

SetResponseHeaders gets a reference to the given map[string]string and assigns it to the ResponseHeaders field.

func (*CustomResponseAction) SetStatus

func (o *CustomResponseAction) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*CustomResponseAction) UnmarshalJSON

func (o *CustomResponseAction) UnmarshalJSON(bytes []byte) (err error)

type DeleteBotManagerParams

type DeleteBotManagerParams struct {
	// The customer id
	CustId string

	// The Bot Manager id
	BotManagerId string
}

DeleteBotManagerParams contains the parameters for DeleteBotManager

func NewDeleteBotManagerParams

func NewDeleteBotManagerParams() DeleteBotManagerParams

NewDeleteBotManagerParams creates a new instance of DeleteBotManagerParams

type GetBotManagerParams

type GetBotManagerParams struct {
	// The customer id
	CustId string

	// The Bot Manager id
	BotManagerId string
}

GetBotManagerParams contains the parameters for GetBotManager

func NewGetBotManagerParams

func NewGetBotManagerParams() GetBotManagerParams

NewGetBotManagerParams creates a new instance of GetBotManagerParams

type GetBotManagersParams

type GetBotManagersParams struct {
	// The customer id
	CustId string
}

GetBotManagersParams contains the parameters for GetBotManagers

func NewGetBotManagersParams

func NewGetBotManagersParams() GetBotManagersParams

NewGetBotManagersParams creates a new instance of GetBotManagersParams

type KnownBotObj

type KnownBotObj struct {
	ActionType string `json:"action_type"`
	// must be one of available bot tokens
	BotToken             string `json:"bot_token"`
	AdditionalProperties map[string]interface{}
}

KnownBotObj struct for KnownBotObj

func NewKnownBotObj

func NewKnownBotObj(actionType string, botToken string) *KnownBotObj

NewKnownBotObj instantiates a new KnownBotObj 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 NewKnownBotObjWithDefaults

func NewKnownBotObjWithDefaults() *KnownBotObj

NewKnownBotObjWithDefaults instantiates a new KnownBotObj 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 (*KnownBotObj) GetActionType

func (o *KnownBotObj) GetActionType() string

GetActionType returns the ActionType field value

func (*KnownBotObj) GetActionTypeOk

func (o *KnownBotObj) GetActionTypeOk() (*string, bool)

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

func (*KnownBotObj) GetBotToken

func (o *KnownBotObj) GetBotToken() string

GetBotToken returns the BotToken field value

func (*KnownBotObj) GetBotTokenOk

func (o *KnownBotObj) GetBotTokenOk() (*string, bool)

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

func (KnownBotObj) MarshalJSON

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

func (*KnownBotObj) SetActionType

func (o *KnownBotObj) SetActionType(v string)

SetActionType sets field value

func (*KnownBotObj) SetBotToken

func (o *KnownBotObj) SetBotToken(v string)

SetBotToken sets field value

func (*KnownBotObj) UnmarshalJSON

func (o *KnownBotObj) UnmarshalJSON(bytes []byte) (err error)

type NullableActionObj

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

func NewNullableActionObj

func NewNullableActionObj(val ActionObj) NullableActionObj

func (NullableActionObj) Get

func (v NullableActionObj) Get() *ActionObj

func (NullableActionObj) IsSet

func (v NullableActionObj) IsSet() bool

func (NullableActionObj) MarshalJSON

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

func (*NullableActionObj) Set

func (v *NullableActionObj) Set(val *ActionObj)

func (*NullableActionObj) UnmarshalJSON

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

func (*NullableActionObj) Unset

func (v *NullableActionObj) Unset()

type NullableAlertAction

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

func NewNullableAlertAction

func NewNullableAlertAction(val AlertAction) NullableAlertAction

func (NullableAlertAction) Get

func (NullableAlertAction) IsSet

func (v NullableAlertAction) IsSet() bool

func (NullableAlertAction) MarshalJSON

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

func (*NullableAlertAction) Set

func (v *NullableAlertAction) Set(val *AlertAction)

func (*NullableAlertAction) UnmarshalJSON

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

func (*NullableAlertAction) Unset

func (v *NullableAlertAction) Unset()

type NullableBlockRequestAction

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

func NewNullableBlockRequestAction

func NewNullableBlockRequestAction(val BlockRequestAction) NullableBlockRequestAction

func (NullableBlockRequestAction) Get

func (NullableBlockRequestAction) IsSet

func (v NullableBlockRequestAction) IsSet() bool

func (NullableBlockRequestAction) MarshalJSON

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

func (*NullableBlockRequestAction) Set

func (*NullableBlockRequestAction) UnmarshalJSON

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

func (*NullableBlockRequestAction) Unset

func (v *NullableBlockRequestAction) 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 NullableBotManager

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

func NewNullableBotManager

func NewNullableBotManager(val BotManager) NullableBotManager

func (NullableBotManager) Get

func (v NullableBotManager) Get() *BotManager

func (NullableBotManager) IsSet

func (v NullableBotManager) IsSet() bool

func (NullableBotManager) MarshalJSON

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

func (*NullableBotManager) Set

func (v *NullableBotManager) Set(val *BotManager)

func (*NullableBotManager) UnmarshalJSON

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

func (*NullableBotManager) Unset

func (v *NullableBotManager) Unset()

type NullableBrowserChallengeAction

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

func (NullableBrowserChallengeAction) Get

func (NullableBrowserChallengeAction) IsSet

func (NullableBrowserChallengeAction) MarshalJSON

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

func (*NullableBrowserChallengeAction) Set

func (*NullableBrowserChallengeAction) UnmarshalJSON

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

func (*NullableBrowserChallengeAction) Unset

func (v *NullableBrowserChallengeAction) Unset()

type NullableCustomResponseAction

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

func (NullableCustomResponseAction) Get

func (NullableCustomResponseAction) IsSet

func (NullableCustomResponseAction) MarshalJSON

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

func (*NullableCustomResponseAction) Set

func (*NullableCustomResponseAction) UnmarshalJSON

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

func (*NullableCustomResponseAction) Unset

func (v *NullableCustomResponseAction) 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 NullableKnownBotObj

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

func NewNullableKnownBotObj

func NewNullableKnownBotObj(val KnownBotObj) NullableKnownBotObj

func (NullableKnownBotObj) Get

func (NullableKnownBotObj) IsSet

func (v NullableKnownBotObj) IsSet() bool

func (NullableKnownBotObj) MarshalJSON

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

func (*NullableKnownBotObj) Set

func (v *NullableKnownBotObj) Set(val *KnownBotObj)

func (*NullableKnownBotObj) UnmarshalJSON

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

func (*NullableKnownBotObj) Unset

func (v *NullableKnownBotObj) Unset()

type NullableObjShort

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

func NewNullableObjShort

func NewNullableObjShort(val ObjShort) NullableObjShort

func (NullableObjShort) Get

func (v NullableObjShort) Get() *ObjShort

func (NullableObjShort) IsSet

func (v NullableObjShort) IsSet() bool

func (NullableObjShort) MarshalJSON

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

func (*NullableObjShort) Set

func (v *NullableObjShort) Set(val *ObjShort)

func (*NullableObjShort) UnmarshalJSON

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

func (*NullableObjShort) Unset

func (v *NullableObjShort) Unset()

type NullableRecaptchaAction added in v1.1.3

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

func NewNullableRecaptchaAction added in v1.1.3

func NewNullableRecaptchaAction(val RecaptchaAction) NullableRecaptchaAction

func (NullableRecaptchaAction) Get added in v1.1.3

func (NullableRecaptchaAction) IsSet added in v1.1.3

func (v NullableRecaptchaAction) IsSet() bool

func (NullableRecaptchaAction) MarshalJSON added in v1.1.3

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

func (*NullableRecaptchaAction) Set added in v1.1.3

func (*NullableRecaptchaAction) UnmarshalJSON added in v1.1.3

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

func (*NullableRecaptchaAction) Unset added in v1.1.3

func (v *NullableRecaptchaAction) Unset()

type NullableRedirectAction

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

func NewNullableRedirectAction

func NewNullableRedirectAction(val RedirectAction) NullableRedirectAction

func (NullableRedirectAction) Get

func (NullableRedirectAction) IsSet

func (v NullableRedirectAction) IsSet() bool

func (NullableRedirectAction) MarshalJSON

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

func (*NullableRedirectAction) Set

func (*NullableRedirectAction) UnmarshalJSON

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

func (*NullableRedirectAction) Unset

func (v *NullableRedirectAction) Unset()

type NullableResponseObj

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

func NewNullableResponseObj

func NewNullableResponseObj(val ResponseObj) NullableResponseObj

func (NullableResponseObj) Get

func (NullableResponseObj) IsSet

func (v NullableResponseObj) IsSet() bool

func (NullableResponseObj) MarshalJSON

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

func (*NullableResponseObj) Set

func (v *NullableResponseObj) Set(val *ResponseObj)

func (*NullableResponseObj) UnmarshalJSON

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

func (*NullableResponseObj) Unset

func (v *NullableResponseObj) 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 ObjShort

type ObjShort struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	LastModifiedDate     string `json:"last_modified_date"`
	AdditionalProperties map[string]interface{}
}

ObjShort struct for ObjShort

func NewObjShort

func NewObjShort(id string, name string, lastModifiedDate string) *ObjShort

NewObjShort instantiates a new ObjShort 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 NewObjShortWithDefaults

func NewObjShortWithDefaults() *ObjShort

NewObjShortWithDefaults instantiates a new ObjShort 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 (*ObjShort) GetId

func (o *ObjShort) GetId() string

GetId returns the Id field value

func (*ObjShort) GetIdOk

func (o *ObjShort) GetIdOk() (*string, bool)

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

func (*ObjShort) GetLastModifiedDate

func (o *ObjShort) GetLastModifiedDate() string

GetLastModifiedDate returns the LastModifiedDate field value

func (*ObjShort) GetLastModifiedDateOk

func (o *ObjShort) GetLastModifiedDateOk() (*string, bool)

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

func (*ObjShort) GetName

func (o *ObjShort) GetName() string

GetName returns the Name field value

func (*ObjShort) GetNameOk

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

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

func (ObjShort) MarshalJSON

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

func (*ObjShort) SetId

func (o *ObjShort) SetId(v string)

SetId sets field value

func (*ObjShort) SetLastModifiedDate

func (o *ObjShort) SetLastModifiedDate(v string)

SetLastModifiedDate sets field value

func (*ObjShort) SetName

func (o *ObjShort) SetName(v string)

SetName sets field value

func (*ObjShort) UnmarshalJSON

func (o *ObjShort) UnmarshalJSON(bytes []byte) (err error)

type RecaptchaAction added in v1.1.3

type RecaptchaAction struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	EnfType              *string `json:"enf_type,omitempty"`
	ValidForSec          *int32  `json:"valid_for_sec,omitempty"`
	Status               *int32  `json:"status,omitempty"`
	FailedActionType     *string `json:"failed_action_type"`
	AdditionalProperties map[string]interface{}
}

RecaptchaAction struct for RecaptchaAction

func NewRecaptchaAction added in v1.1.3

func NewRecaptchaAction() *RecaptchaAction

NewRecaptchaAction instantiates a new RecaptchaAction 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 NewRecaptchaActionWithDefaults added in v1.1.3

func NewRecaptchaActionWithDefaults() *RecaptchaAction

NewRecaptchaActionWithDefaults instantiates a new RecaptchaAction 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 (*RecaptchaAction) GetEnfType added in v1.1.3

func (o *RecaptchaAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*RecaptchaAction) GetEnfTypeOk added in v1.1.3

func (o *RecaptchaAction) GetEnfTypeOk() (*string, bool)

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

func (*RecaptchaAction) GetFailedActionType added in v1.1.3

func (o *RecaptchaAction) GetFailedActionType() string

GetFailedActionType returns the FailedActionType field value if set, zero value otherwise.

func (*RecaptchaAction) GetFailedActionTypeOk added in v1.1.3

func (o *RecaptchaAction) GetFailedActionTypeOk() (*string, bool)

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

func (*RecaptchaAction) GetId added in v1.1.3

func (o *RecaptchaAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RecaptchaAction) GetIdOk added in v1.1.3

func (o *RecaptchaAction) 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 (*RecaptchaAction) GetName added in v1.1.3

func (o *RecaptchaAction) GetName() string

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

func (*RecaptchaAction) GetNameOk added in v1.1.3

func (o *RecaptchaAction) 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 (*RecaptchaAction) GetStatus added in v1.1.3

func (o *RecaptchaAction) GetStatus() int32

GetStatus returns the Status field value if set, zero value otherwise.

func (*RecaptchaAction) GetStatusOk added in v1.1.3

func (o *RecaptchaAction) GetStatusOk() (*int32, 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 (*RecaptchaAction) GetValidForSec added in v1.1.3

func (o *RecaptchaAction) GetValidForSec() int32

GetValidForSec returns the ValidForSec field value if set, zero value otherwise.

func (*RecaptchaAction) GetValidForSecOk added in v1.1.3

func (o *RecaptchaAction) GetValidForSecOk() (*int32, bool)

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

func (*RecaptchaAction) HasEnfType added in v1.1.3

func (o *RecaptchaAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*RecaptchaAction) HasFailedActionType added in v1.1.3

func (o *RecaptchaAction) HasFailedActionType() bool

HasFailedActionType returns a boolean if a field has been set.

func (*RecaptchaAction) HasId added in v1.1.3

func (o *RecaptchaAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*RecaptchaAction) HasName added in v1.1.3

func (o *RecaptchaAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*RecaptchaAction) HasStatus added in v1.1.3

func (o *RecaptchaAction) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*RecaptchaAction) HasValidForSec added in v1.1.3

func (o *RecaptchaAction) HasValidForSec() bool

HasValidForSec returns a boolean if a field has been set.

func (RecaptchaAction) MarshalJSON added in v1.1.3

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

func (*RecaptchaAction) SetEnfType added in v1.1.3

func (o *RecaptchaAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*RecaptchaAction) SetFailedActionType added in v1.1.3

func (o *RecaptchaAction) SetFailedActionType(v string)

SetFailedActionType gets a reference to the given string and assigns it to the FailedActionType field.

func (*RecaptchaAction) SetId added in v1.1.3

func (o *RecaptchaAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RecaptchaAction) SetName added in v1.1.3

func (o *RecaptchaAction) SetName(v string)

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

func (*RecaptchaAction) SetStatus added in v1.1.3

func (o *RecaptchaAction) SetStatus(v int32)

SetStatus gets a reference to the given int32 and assigns it to the Status field.

func (*RecaptchaAction) SetValidForSec added in v1.1.3

func (o *RecaptchaAction) SetValidForSec(v int32)

SetValidForSec gets a reference to the given int32 and assigns it to the ValidForSec field.

func (*RecaptchaAction) UnmarshalJSON added in v1.1.3

func (o *RecaptchaAction) UnmarshalJSON(bytes []byte) (err error)

type RedirectAction

type RedirectAction struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	EnfType              *string `json:"enf_type,omitempty"`
	Url                  *string `json:"url,omitempty"`
	AdditionalProperties map[string]interface{}
}

RedirectAction struct for RedirectAction

func NewRedirectAction

func NewRedirectAction() *RedirectAction

NewRedirectAction instantiates a new RedirectAction 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 NewRedirectActionWithDefaults

func NewRedirectActionWithDefaults() *RedirectAction

NewRedirectActionWithDefaults instantiates a new RedirectAction 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 (*RedirectAction) GetEnfType

func (o *RedirectAction) GetEnfType() string

GetEnfType returns the EnfType field value if set, zero value otherwise.

func (*RedirectAction) GetEnfTypeOk

func (o *RedirectAction) GetEnfTypeOk() (*string, bool)

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

func (*RedirectAction) GetId

func (o *RedirectAction) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RedirectAction) GetIdOk

func (o *RedirectAction) 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 (*RedirectAction) GetName

func (o *RedirectAction) GetName() string

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

func (*RedirectAction) GetNameOk

func (o *RedirectAction) 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 (*RedirectAction) GetUrl

func (o *RedirectAction) GetUrl() string

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

func (*RedirectAction) GetUrlOk

func (o *RedirectAction) 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 (*RedirectAction) HasEnfType

func (o *RedirectAction) HasEnfType() bool

HasEnfType returns a boolean if a field has been set.

func (*RedirectAction) HasId

func (o *RedirectAction) HasId() bool

HasId returns a boolean if a field has been set.

func (*RedirectAction) HasName

func (o *RedirectAction) HasName() bool

HasName returns a boolean if a field has been set.

func (*RedirectAction) HasUrl

func (o *RedirectAction) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (RedirectAction) MarshalJSON

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

func (*RedirectAction) SetEnfType

func (o *RedirectAction) SetEnfType(v string)

SetEnfType gets a reference to the given string and assigns it to the EnfType field.

func (*RedirectAction) SetId

func (o *RedirectAction) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RedirectAction) SetName

func (o *RedirectAction) SetName(v string)

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

func (*RedirectAction) SetUrl

func (o *RedirectAction) SetUrl(v string)

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

func (*RedirectAction) UnmarshalJSON

func (o *RedirectAction) UnmarshalJSON(bytes []byte) (err error)

type ResponseObj

type ResponseObj struct {
	Id                   *string `json:"id,omitempty"`
	Status               *string `json:"status,omitempty"`
	Success              *bool   `json:"success,omitempty"`
	AdditionalProperties map[string]interface{}
}

ResponseObj struct for ResponseObj

func NewResponseObj

func NewResponseObj() *ResponseObj

NewResponseObj instantiates a new ResponseObj 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 NewResponseObjWithDefaults

func NewResponseObjWithDefaults() *ResponseObj

NewResponseObjWithDefaults instantiates a new ResponseObj 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 (*ResponseObj) GetId

func (o *ResponseObj) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ResponseObj) GetIdOk

func (o *ResponseObj) 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 (*ResponseObj) GetStatus

func (o *ResponseObj) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*ResponseObj) GetStatusOk

func (o *ResponseObj) GetStatusOk() (*string, 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 (*ResponseObj) GetSuccess

func (o *ResponseObj) GetSuccess() bool

GetSuccess returns the Success field value if set, zero value otherwise.

func (*ResponseObj) GetSuccessOk

func (o *ResponseObj) GetSuccessOk() (*bool, bool)

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

func (*ResponseObj) HasId

func (o *ResponseObj) HasId() bool

HasId returns a boolean if a field has been set.

func (*ResponseObj) HasStatus

func (o *ResponseObj) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*ResponseObj) HasSuccess

func (o *ResponseObj) HasSuccess() bool

HasSuccess returns a boolean if a field has been set.

func (ResponseObj) MarshalJSON

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

func (*ResponseObj) SetId

func (o *ResponseObj) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ResponseObj) SetStatus

func (o *ResponseObj) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*ResponseObj) SetSuccess

func (o *ResponseObj) SetSuccess(v bool)

SetSuccess gets a reference to the given bool and assigns it to the Success field.

func (*ResponseObj) UnmarshalJSON

func (o *ResponseObj) UnmarshalJSON(bytes []byte) (err error)

type Service

type Service struct {
	Logger eclog.Logger

	BotManagers BotManagersClientService
	// contains filtered or unexported fields
}

Service manages communication with the WAF API API v1.0

func New

func New(config edgecast.SDKConfig) (*Service, error)

New creates a new Service

type UpdateBotManagerParams

type UpdateBotManagerParams struct {
	// The customer id
	CustId string

	// The Bot Manager id
	BotManagerId string

	BotManagerInfo BotManager
}

UpdateBotManagerParams contains the parameters for UpdateBotManager

func NewUpdateBotManagerParams

func NewUpdateBotManagerParams() UpdateBotManagerParams

NewUpdateBotManagerParams creates a new instance of UpdateBotManagerParams

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL