Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.18755 -0300 -03 m=+0.013934418
Index ¶
- func NewGoogleAction() action_structs.Action
- type GoogleAction
- func (a *GoogleAction) CheckRequiredParams() error
- func (a *GoogleAction) Execute(request *action_structs.ActionRequest) ([]*response_object_structs.ResponseObject, error)
- func (a *GoogleAction) GetDescription() string
- func (a *GoogleAction) GetName() string
- func (a *GoogleAction) GetNotification() string
- func (a *GoogleAction) GetParam(key string) (string, error)
- func (a *GoogleAction) GetParams() []*action_structs.ActionParameter
- func (a *GoogleAction) GetSchema() *functions.FunctionDefinition
- func (a *GoogleAction) MustGetParam(key string) string
- func (a *GoogleAction) RunPostActions(request *action_structs.ActionRequest) error
- func (a *GoogleAction) RunPreActions(request *action_structs.ActionRequest) error
- func (a *GoogleAction) SetMessage(msg *memory.Message)
- func (a *GoogleAction) SetParam(key, value string)
- func (a *GoogleAction) SkipFunctionCall() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoogleAction ¶
func NewGoogleAction() action_structs.Action
NewGoogleAction creates a new GoogleAction with Params initialized
Types ¶
type GoogleAction ¶
type GoogleAction struct { Name string Description string Params *action_structs.ActionParameterSet Extra map[string]interface{} }
func (*GoogleAction) CheckRequiredParams ¶
func (a *GoogleAction) CheckRequiredParams() error
CheckRequiredParams checks if all required params are set
func (*GoogleAction) Execute ¶
func (a *GoogleAction) Execute(request *action_structs.ActionRequest) ([]*response_object_structs.ResponseObject, error)
func (*GoogleAction) GetDescription ¶
func (a *GoogleAction) GetDescription() string
func (*GoogleAction) GetName ¶
func (a *GoogleAction) GetName() string
func (*GoogleAction) GetNotification ¶
func (a *GoogleAction) GetNotification() string
func (*GoogleAction) GetParams ¶
func (a *GoogleAction) GetParams() []*action_structs.ActionParameter
func (*GoogleAction) GetSchema ¶
func (a *GoogleAction) GetSchema() *functions.FunctionDefinition
func (*GoogleAction) MustGetParam ¶
func (a *GoogleAction) MustGetParam(key string) string
func (*GoogleAction) RunPostActions ¶
func (a *GoogleAction) RunPostActions(request *action_structs.ActionRequest) error
func (*GoogleAction) RunPreActions ¶
func (a *GoogleAction) RunPreActions(request *action_structs.ActionRequest) error
func (*GoogleAction) SetMessage ¶
func (a *GoogleAction) SetMessage(msg *memory.Message)
func (*GoogleAction) SetParam ¶
func (a *GoogleAction) SetParam(key, value string)
func (*GoogleAction) SkipFunctionCall ¶
func (a *GoogleAction) SkipFunctionCall() bool
Click to show internal directories.
Click to hide internal directories.