Skip to main content

NewActionsService

Creates a new ActionsService.

def NewActionsService(
client: ActionsClientInterface
) - > *ActionsService

Creates a new ActionsService. This function is used to instantiate and return a new service object, allowing callers to interact with the actions API.

Parameters​

NameTypeDescription
clientActionsClientInterfaceThe client interface used by the ActionsService to perform its operations, typically handling communication with an external API or data source.

Returns​

TypeDescription
*ActionsServiceA new instance of ActionsService, configured with the provided client.