google

package
v0.0.0-...-66bbac4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

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

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 (*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) GetParam

func (a *GoogleAction) GetParam(key string) (string, error)

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

Jump to

Keyboard shortcuts

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