startcase

package
v0.0.0-...-5339e54 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

* BSD 3-Clause License * Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* BSD 3-Clause License * Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New function for the activity

Types

type Activity

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

Activity is an activity that is used to invoke a REST Operation

func (*Activity) Eval

func (a *Activity) Eval(ctx activity.Context) (done bool, err error)

Eval implements api.Activity.Eval - Create the hash

func (*Activity) Metadata

func (a *Activity) Metadata() *activity.Metadata

Metadata for the activity

type Input

type Input struct {
	Region        string                 `md:"region"`
	Cookie        map[string]interface{} `md:"cookie"`      // TIBCO Cloud cookie
	AccessToken   string                 `md:"accessToken"` // AccessToken for Outh 2.0
	ID            string                 `md:"id"`
	ApplicationID string                 `md:"applicationId"`
	SandboxID     string                 `md:"sandboxd"`
	Data          string                 `md:"data"`
}

Input for the activity

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

FromMap for input

func (*Input) ToMap

func (i *Input) ToMap() map[string]interface{}

ToMap for Input

type Output

type Output struct {
	ID             string `md:"id"`
	ApplicationID  string `md:"applicationId"`
	SandboxID      string `md:"sandboxd"`
	CaseReference  string `md:"caseReference"`
	CaseIdentifier string `md:"caseIdentifier"`
	Data           string `md:"data"`
}

Output for the activity

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap convert to object

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conver to object

type Settings

type Settings struct {
	Security string `md:"security"`
}

Settings for the activity

Jump to

Keyboard shortcuts

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