actions

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 23 Imported by: 0

README

Go API client for actions

Create custom workflow actions

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v4
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import actions "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), actions.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), actions.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), actions.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), actions.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.hubapi.com

Class Method HTTP request Description
CallbacksApi CallbackComplete Post /automation/v4/actions/callbacks/{callbackId}/complete Complete a callback
CallbacksApi CallbackCompleteBatch Post /automation/v4/actions/callbacks/complete Complete a batch of callbacks
DefinitionsApi Archive Delete /automation/v4/actions/{appId}/{definitionId} Archive a custom action
DefinitionsApi Create Post /automation/v4/actions/{appId} Create new custom action
DefinitionsApi GetByID Get /automation/v4/actions/{appId}/{definitionId} Get a custom action
DefinitionsApi GetPage Get /automation/v4/actions/{appId} Get all custom actions
DefinitionsApi Update Patch /automation/v4/actions/{appId}/{definitionId} Update a custom action
FunctionsApi FunctionsArchive Delete /automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId} Delete a custom action function
FunctionsApi FunctionsArchiveByType Delete /automation/v4/actions/{appId}/{definitionId}/functions/{functionType} Delete a custom action function
FunctionsApi FunctionsCreateOrReplace Put /automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId} Create or replace a custom action function
FunctionsApi FunctionsCreateOrReplaceByType Put /automation/v4/actions/{appId}/{definitionId}/functions/{functionType} Create or replace a custom action function
FunctionsApi FunctionsGetByID Get /automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId} Get a custom action function
FunctionsApi FunctionsGetByType Get /automation/v4/actions/{appId}/{definitionId}/functions/{functionType} Get a custom action function
FunctionsApi FunctionsGetPage Get /automation/v4/actions/{appId}/{definitionId}/functions Get all custom action functions
RevisionsApi RevisionsGetByID Get /automation/v4/actions/{appId}/{definitionId}/revisions/{revisionId} Get a revision for a custom action
RevisionsApi RevisionsGetPage Get /automation/v4/actions/{appId}/{definitionId}/revisions Get all revisions for a custom action

Documentation For Models

Documentation For Authorization

developer_hapikey
  • Type: API key
  • API key parameter name: hapikey
  • Location: URL query string

Note, each API key must be added to a map of map[string]APIKey where the key is: hapikey and passed in as the auth context for each request.

hapikey
  • Type: API key
  • API key parameter name: hapikey
  • Location: URL query string

Note, each API key must be added to a map of map[string]APIKey where the key is: hapikey and passed in as the auth context for each request.

oauth2_legacy

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)
private_apps_legacy
  • Type: API key
  • API key parameter name: private-app-legacy
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: private-app-legacy and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

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 APIClient

type APIClient struct {
	CallbacksApi *CallbacksApiService

	DefinitionsApi *DefinitionsApiService

	FunctionsApi *FunctionsApiService

	RevisionsApi *RevisionsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Custom Workflow Actions API vv4 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActionFunction

type ActionFunction struct {
	// The function source code.
	FunctionSource string `json:"functionSource"`
	// The type of function. This determines when the function will be called.
	FunctionType string `json:"functionType"`
	// The ID qualifier for the function. This is used to specify which input field a function is associated with for `PRE_FETCH_OPTIONS` and `POST_FETCH_OPTIONS` function types.
	Id *string `json:"id,omitempty"`
}

ActionFunction A serverless function associated with this custom workflow action.

func NewActionFunction

func NewActionFunction(functionSource string, functionType string) *ActionFunction

NewActionFunction instantiates a new ActionFunction 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 NewActionFunctionWithDefaults

func NewActionFunctionWithDefaults() *ActionFunction

NewActionFunctionWithDefaults instantiates a new ActionFunction 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 (*ActionFunction) GetFunctionSource

func (o *ActionFunction) GetFunctionSource() string

GetFunctionSource returns the FunctionSource field value

func (*ActionFunction) GetFunctionSourceOk

func (o *ActionFunction) GetFunctionSourceOk() (*string, bool)

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

func (*ActionFunction) GetFunctionType

func (o *ActionFunction) GetFunctionType() string

GetFunctionType returns the FunctionType field value

func (*ActionFunction) GetFunctionTypeOk

func (o *ActionFunction) GetFunctionTypeOk() (*string, bool)

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

func (*ActionFunction) GetId

func (o *ActionFunction) GetId() string

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

func (*ActionFunction) GetIdOk

func (o *ActionFunction) 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 (*ActionFunction) HasId

func (o *ActionFunction) HasId() bool

HasId returns a boolean if a field has been set.

func (ActionFunction) MarshalJSON

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

func (*ActionFunction) SetFunctionSource

func (o *ActionFunction) SetFunctionSource(v string)

SetFunctionSource sets field value

func (*ActionFunction) SetFunctionType

func (o *ActionFunction) SetFunctionType(v string)

SetFunctionType sets field value

func (*ActionFunction) SetId

func (o *ActionFunction) SetId(v string)

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

type ActionFunctionIdentifier

type ActionFunctionIdentifier struct {
	// The type of function. This determines when the function will be called.
	FunctionType string `json:"functionType"`
	// The ID qualifier for the function. This is used to specify which input field a function is associated with for `PRE_FETCH_OPTIONS` and `POST_FETCH_OPTIONS` function types.
	Id *string `json:"id,omitempty"`
}

ActionFunctionIdentifier A serverless function associated with this custom workflow action.

func NewActionFunctionIdentifier

func NewActionFunctionIdentifier(functionType string) *ActionFunctionIdentifier

NewActionFunctionIdentifier instantiates a new ActionFunctionIdentifier 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 NewActionFunctionIdentifierWithDefaults

func NewActionFunctionIdentifierWithDefaults() *ActionFunctionIdentifier

NewActionFunctionIdentifierWithDefaults instantiates a new ActionFunctionIdentifier 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 (*ActionFunctionIdentifier) GetFunctionType

func (o *ActionFunctionIdentifier) GetFunctionType() string

GetFunctionType returns the FunctionType field value

func (*ActionFunctionIdentifier) GetFunctionTypeOk

func (o *ActionFunctionIdentifier) GetFunctionTypeOk() (*string, bool)

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

func (*ActionFunctionIdentifier) GetId

func (o *ActionFunctionIdentifier) GetId() string

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

func (*ActionFunctionIdentifier) GetIdOk

func (o *ActionFunctionIdentifier) 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 (*ActionFunctionIdentifier) HasId

func (o *ActionFunctionIdentifier) HasId() bool

HasId returns a boolean if a field has been set.

func (ActionFunctionIdentifier) MarshalJSON

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

func (*ActionFunctionIdentifier) SetFunctionType

func (o *ActionFunctionIdentifier) SetFunctionType(v string)

SetFunctionType sets field value

func (*ActionFunctionIdentifier) SetId

func (o *ActionFunctionIdentifier) SetId(v string)

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

type ActionLabels

type ActionLabels struct {
	// A map of input field names to the user-facing labels.
	InputFieldLabels *map[string]string `json:"inputFieldLabels,omitempty"`
	// A map of input field names to descriptions for the fields. These will show up as tooltips when users are editing your action.
	InputFieldDescriptions *map[string]string `json:"inputFieldDescriptions,omitempty"`
	// The name of this custom action. This is what will show up when users are selecting an action in the workflows app.
	ActionName string `json:"actionName"`
	// A description for this custom action. This will show up in the action editor along with the input fields.
	ActionDescription *string `json:"actionDescription,omitempty"`
	// The name to be displayed at the top of the action editor in the workflows app.
	AppDisplayName *string `json:"appDisplayName,omitempty"`
	// The label to be displayed in the action card of the workflow editor once this custom action has been added to a workflow.
	ActionCardContent *string `json:"actionCardContent,omitempty"`
}

ActionLabels User-facing labels for this custom workflow action.

func NewActionLabels

func NewActionLabels(actionName string) *ActionLabels

NewActionLabels instantiates a new ActionLabels 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 NewActionLabelsWithDefaults

func NewActionLabelsWithDefaults() *ActionLabels

NewActionLabelsWithDefaults instantiates a new ActionLabels 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 (*ActionLabels) GetActionCardContent

func (o *ActionLabels) GetActionCardContent() string

GetActionCardContent returns the ActionCardContent field value if set, zero value otherwise.

func (*ActionLabels) GetActionCardContentOk

func (o *ActionLabels) GetActionCardContentOk() (*string, bool)

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

func (*ActionLabels) GetActionDescription

func (o *ActionLabels) GetActionDescription() string

GetActionDescription returns the ActionDescription field value if set, zero value otherwise.

func (*ActionLabels) GetActionDescriptionOk

func (o *ActionLabels) GetActionDescriptionOk() (*string, bool)

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

func (*ActionLabels) GetActionName

func (o *ActionLabels) GetActionName() string

GetActionName returns the ActionName field value

func (*ActionLabels) GetActionNameOk

func (o *ActionLabels) GetActionNameOk() (*string, bool)

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

func (*ActionLabels) GetAppDisplayName

func (o *ActionLabels) GetAppDisplayName() string

GetAppDisplayName returns the AppDisplayName field value if set, zero value otherwise.

func (*ActionLabels) GetAppDisplayNameOk

func (o *ActionLabels) GetAppDisplayNameOk() (*string, bool)

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

func (*ActionLabels) GetInputFieldDescriptions

func (o *ActionLabels) GetInputFieldDescriptions() map[string]string

GetInputFieldDescriptions returns the InputFieldDescriptions field value if set, zero value otherwise.

func (*ActionLabels) GetInputFieldDescriptionsOk

func (o *ActionLabels) GetInputFieldDescriptionsOk() (*map[string]string, bool)

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

func (*ActionLabels) GetInputFieldLabels

func (o *ActionLabels) GetInputFieldLabels() map[string]string

GetInputFieldLabels returns the InputFieldLabels field value if set, zero value otherwise.

func (*ActionLabels) GetInputFieldLabelsOk

func (o *ActionLabels) GetInputFieldLabelsOk() (*map[string]string, bool)

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

func (*ActionLabels) HasActionCardContent

func (o *ActionLabels) HasActionCardContent() bool

HasActionCardContent returns a boolean if a field has been set.

func (*ActionLabels) HasActionDescription

func (o *ActionLabels) HasActionDescription() bool

HasActionDescription returns a boolean if a field has been set.

func (*ActionLabels) HasAppDisplayName

func (o *ActionLabels) HasAppDisplayName() bool

HasAppDisplayName returns a boolean if a field has been set.

func (*ActionLabels) HasInputFieldDescriptions

func (o *ActionLabels) HasInputFieldDescriptions() bool

HasInputFieldDescriptions returns a boolean if a field has been set.

func (*ActionLabels) HasInputFieldLabels

func (o *ActionLabels) HasInputFieldLabels() bool

HasInputFieldLabels returns a boolean if a field has been set.

func (ActionLabels) MarshalJSON

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

func (*ActionLabels) SetActionCardContent

func (o *ActionLabels) SetActionCardContent(v string)

SetActionCardContent gets a reference to the given string and assigns it to the ActionCardContent field.

func (*ActionLabels) SetActionDescription

func (o *ActionLabels) SetActionDescription(v string)

SetActionDescription gets a reference to the given string and assigns it to the ActionDescription field.

func (*ActionLabels) SetActionName

func (o *ActionLabels) SetActionName(v string)

SetActionName sets field value

func (*ActionLabels) SetAppDisplayName

func (o *ActionLabels) SetAppDisplayName(v string)

SetAppDisplayName gets a reference to the given string and assigns it to the AppDisplayName field.

func (*ActionLabels) SetInputFieldDescriptions

func (o *ActionLabels) SetInputFieldDescriptions(v map[string]string)

SetInputFieldDescriptions gets a reference to the given map[string]string and assigns it to the InputFieldDescriptions field.

func (*ActionLabels) SetInputFieldLabels

func (o *ActionLabels) SetInputFieldLabels(v map[string]string)

SetInputFieldLabels gets a reference to the given map[string]string and assigns it to the InputFieldLabels field.

type ActionRevision

type ActionRevision struct {
	Definition ExtensionActionDefinition `json:"definition"`
	// The date the revision was created.
	CreatedAt time.Time `json:"createdAt"`
	Id        string    `json:"id"`
	// The version number of the custom action.
	RevisionId string `json:"revisionId"`
}

ActionRevision A revision of this custom action.

func NewActionRevision

func NewActionRevision(definition ExtensionActionDefinition, createdAt time.Time, id string, revisionId string) *ActionRevision

NewActionRevision instantiates a new ActionRevision 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 NewActionRevisionWithDefaults

func NewActionRevisionWithDefaults() *ActionRevision

NewActionRevisionWithDefaults instantiates a new ActionRevision 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 (*ActionRevision) GetCreatedAt

func (o *ActionRevision) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ActionRevision) GetCreatedAtOk

func (o *ActionRevision) GetCreatedAtOk() (*time.Time, bool)

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

func (*ActionRevision) GetDefinition

func (o *ActionRevision) GetDefinition() ExtensionActionDefinition

GetDefinition returns the Definition field value

func (*ActionRevision) GetDefinitionOk

func (o *ActionRevision) GetDefinitionOk() (*ExtensionActionDefinition, bool)

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

func (*ActionRevision) GetId

func (o *ActionRevision) GetId() string

GetId returns the Id field value

func (*ActionRevision) GetIdOk

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

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

func (*ActionRevision) GetRevisionId

func (o *ActionRevision) GetRevisionId() string

GetRevisionId returns the RevisionId field value

func (*ActionRevision) GetRevisionIdOk

func (o *ActionRevision) GetRevisionIdOk() (*string, bool)

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

func (ActionRevision) MarshalJSON

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

func (*ActionRevision) SetCreatedAt

func (o *ActionRevision) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ActionRevision) SetDefinition

func (o *ActionRevision) SetDefinition(v ExtensionActionDefinition)

SetDefinition sets field value

func (*ActionRevision) SetId

func (o *ActionRevision) SetId(v string)

SetId sets field value

func (*ActionRevision) SetRevisionId

func (o *ActionRevision) SetRevisionId(v string)

SetRevisionId sets field value

type ApiArchiveRequest

type ApiArchiveRequest struct {
	ApiService *DefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiArchiveRequest) Execute

func (r ApiArchiveRequest) Execute() (*http.Response, error)

type ApiCallbackCompleteBatchRequest

type ApiCallbackCompleteBatchRequest struct {
	ApiService *CallbacksApiService
	// contains filtered or unexported fields
}

func (ApiCallbackCompleteBatchRequest) BatchInputCallbackCompletionBatchRequest

func (r ApiCallbackCompleteBatchRequest) BatchInputCallbackCompletionBatchRequest(batchInputCallbackCompletionBatchRequest BatchInputCallbackCompletionBatchRequest) ApiCallbackCompleteBatchRequest

The result of the completed action.

func (ApiCallbackCompleteBatchRequest) Execute

type ApiCallbackCompleteRequest

type ApiCallbackCompleteRequest struct {
	ApiService *CallbacksApiService
	// contains filtered or unexported fields
}

func (ApiCallbackCompleteRequest) CallbackCompletionRequest

func (r ApiCallbackCompleteRequest) CallbackCompletionRequest(callbackCompletionRequest CallbackCompletionRequest) ApiCallbackCompleteRequest

The result of the completed action.

func (ApiCallbackCompleteRequest) Execute

type ApiCreateRequest

type ApiCreateRequest struct {
	ApiService *DefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateRequest) Execute

func (ApiCreateRequest) ExtensionActionDefinitionInput

func (r ApiCreateRequest) ExtensionActionDefinitionInput(extensionActionDefinitionInput ExtensionActionDefinitionInput) ApiCreateRequest

The custom workflow action to create.

type ApiFunctionsArchiveByTypeRequest

type ApiFunctionsArchiveByTypeRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsArchiveByTypeRequest) Execute

type ApiFunctionsArchiveRequest

type ApiFunctionsArchiveRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsArchiveRequest) Execute

type ApiFunctionsCreateOrReplaceByTypeRequest

type ApiFunctionsCreateOrReplaceByTypeRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsCreateOrReplaceByTypeRequest) Body

The function source code. Must be valid JavaScript code.

func (ApiFunctionsCreateOrReplaceByTypeRequest) Execute

type ApiFunctionsCreateOrReplaceRequest

type ApiFunctionsCreateOrReplaceRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsCreateOrReplaceRequest) Body

The function source code. Must be valid JavaScript code.

func (ApiFunctionsCreateOrReplaceRequest) Execute

type ApiFunctionsGetByIDRequest

type ApiFunctionsGetByIDRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsGetByIDRequest) Execute

type ApiFunctionsGetByTypeRequest

type ApiFunctionsGetByTypeRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

func (ApiFunctionsGetByTypeRequest) Execute

type ApiFunctionsGetPageRequest

type ApiFunctionsGetPageRequest struct {
	ApiService *FunctionsApiService
	// contains filtered or unexported fields
}

type ApiGetByIDRequest

type ApiGetByIDRequest struct {
	ApiService *DefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiGetByIDRequest) Archived

func (r ApiGetByIDRequest) Archived(archived bool) ApiGetByIDRequest

Whether to include archived custom actions.

func (ApiGetByIDRequest) Execute

type ApiGetPageRequest

type ApiGetPageRequest struct {
	ApiService *DefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiGetPageRequest) After

The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

func (ApiGetPageRequest) Archived

func (r ApiGetPageRequest) Archived(archived bool) ApiGetPageRequest

Whether to include archived custom actions.

func (ApiGetPageRequest) Limit

func (r ApiGetPageRequest) Limit(limit int32) ApiGetPageRequest

Maximum number of results per page.

type ApiRevisionsGetByIDRequest

type ApiRevisionsGetByIDRequest struct {
	ApiService *RevisionsApiService
	// contains filtered or unexported fields
}

func (ApiRevisionsGetByIDRequest) Execute

type ApiRevisionsGetPageRequest

type ApiRevisionsGetPageRequest struct {
	ApiService *RevisionsApiService
	// contains filtered or unexported fields
}

func (ApiRevisionsGetPageRequest) After

The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

func (ApiRevisionsGetPageRequest) Execute

func (ApiRevisionsGetPageRequest) Limit

Maximum number of results per page.

type ApiUpdateRequest

type ApiUpdateRequest struct {
	ApiService *DefinitionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRequest) Execute

func (ApiUpdateRequest) ExtensionActionDefinitionPatch

func (r ApiUpdateRequest) ExtensionActionDefinitionPatch(extensionActionDefinitionPatch ExtensionActionDefinitionPatch) ApiUpdateRequest

The custom workflow action fields to be updated.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BatchInputCallbackCompletionBatchRequest

type BatchInputCallbackCompletionBatchRequest struct {
	Inputs []CallbackCompletionBatchRequest `json:"inputs"`
}

BatchInputCallbackCompletionBatchRequest struct for BatchInputCallbackCompletionBatchRequest

func NewBatchInputCallbackCompletionBatchRequest

func NewBatchInputCallbackCompletionBatchRequest(inputs []CallbackCompletionBatchRequest) *BatchInputCallbackCompletionBatchRequest

NewBatchInputCallbackCompletionBatchRequest instantiates a new BatchInputCallbackCompletionBatchRequest 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 NewBatchInputCallbackCompletionBatchRequestWithDefaults

func NewBatchInputCallbackCompletionBatchRequestWithDefaults() *BatchInputCallbackCompletionBatchRequest

NewBatchInputCallbackCompletionBatchRequestWithDefaults instantiates a new BatchInputCallbackCompletionBatchRequest 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 (*BatchInputCallbackCompletionBatchRequest) GetInputs

GetInputs returns the Inputs field value

func (*BatchInputCallbackCompletionBatchRequest) GetInputsOk

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

func (BatchInputCallbackCompletionBatchRequest) MarshalJSON

func (*BatchInputCallbackCompletionBatchRequest) SetInputs

SetInputs sets field value

type CallbackCompletionBatchRequest

type CallbackCompletionBatchRequest struct {
	// The ID of the callback to complete.
	CallbackId string `json:"callbackId"`
	// A map of action output names and values.
	OutputFields map[string]string `json:"outputFields"`
}

CallbackCompletionBatchRequest Any information to send back to Workflows when completing an action callback as part of a batch request.

func NewCallbackCompletionBatchRequest

func NewCallbackCompletionBatchRequest(callbackId string, outputFields map[string]string) *CallbackCompletionBatchRequest

NewCallbackCompletionBatchRequest instantiates a new CallbackCompletionBatchRequest 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 NewCallbackCompletionBatchRequestWithDefaults

func NewCallbackCompletionBatchRequestWithDefaults() *CallbackCompletionBatchRequest

NewCallbackCompletionBatchRequestWithDefaults instantiates a new CallbackCompletionBatchRequest 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 (*CallbackCompletionBatchRequest) GetCallbackId

func (o *CallbackCompletionBatchRequest) GetCallbackId() string

GetCallbackId returns the CallbackId field value

func (*CallbackCompletionBatchRequest) GetCallbackIdOk

func (o *CallbackCompletionBatchRequest) GetCallbackIdOk() (*string, bool)

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

func (*CallbackCompletionBatchRequest) GetOutputFields

func (o *CallbackCompletionBatchRequest) GetOutputFields() map[string]string

GetOutputFields returns the OutputFields field value

func (*CallbackCompletionBatchRequest) GetOutputFieldsOk

func (o *CallbackCompletionBatchRequest) GetOutputFieldsOk() (*map[string]string, bool)

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

func (CallbackCompletionBatchRequest) MarshalJSON

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

func (*CallbackCompletionBatchRequest) SetCallbackId

func (o *CallbackCompletionBatchRequest) SetCallbackId(v string)

SetCallbackId sets field value

func (*CallbackCompletionBatchRequest) SetOutputFields

func (o *CallbackCompletionBatchRequest) SetOutputFields(v map[string]string)

SetOutputFields sets field value

type CallbackCompletionRequest

type CallbackCompletionRequest struct {
	// A map of action output names and values.
	OutputFields map[string]string `json:"outputFields"`
}

CallbackCompletionRequest Any information to send back to Workflows when completing an action callback.

func NewCallbackCompletionRequest

func NewCallbackCompletionRequest(outputFields map[string]string) *CallbackCompletionRequest

NewCallbackCompletionRequest instantiates a new CallbackCompletionRequest 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 NewCallbackCompletionRequestWithDefaults

func NewCallbackCompletionRequestWithDefaults() *CallbackCompletionRequest

NewCallbackCompletionRequestWithDefaults instantiates a new CallbackCompletionRequest 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 (*CallbackCompletionRequest) GetOutputFields

func (o *CallbackCompletionRequest) GetOutputFields() map[string]string

GetOutputFields returns the OutputFields field value

func (*CallbackCompletionRequest) GetOutputFieldsOk

func (o *CallbackCompletionRequest) GetOutputFieldsOk() (*map[string]string, bool)

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

func (CallbackCompletionRequest) MarshalJSON

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

func (*CallbackCompletionRequest) SetOutputFields

func (o *CallbackCompletionRequest) SetOutputFields(v map[string]string)

SetOutputFields sets field value

type CallbacksApiService

type CallbacksApiService service

CallbacksApiService CallbacksApi service

func (*CallbacksApiService) CallbackComplete

func (a *CallbacksApiService) CallbackComplete(ctx context.Context, callbackId string) ApiCallbackCompleteRequest

CallbackComplete Complete a callback

Completes the given action callback.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param callbackId The ID of the target app.
@return ApiCallbackCompleteRequest

func (*CallbacksApiService) CallbackCompleteBatch

CallbackCompleteBatch Complete a batch of callbacks

Completes the given action callbacks.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCallbackCompleteBatchRequest

func (*CallbacksApiService) CallbackCompleteBatchExecute

func (a *CallbacksApiService) CallbackCompleteBatchExecute(r ApiCallbackCompleteBatchRequest) (*http.Response, error)

Execute executes the request

func (*CallbacksApiService) CallbackCompleteExecute

func (a *CallbacksApiService) CallbackCompleteExecute(r ApiCallbackCompleteRequest) (*http.Response, error)

Execute executes the request

type CollectionResponseActionFunctionIdentifierNoPaging

type CollectionResponseActionFunctionIdentifierNoPaging struct {
	Results []ActionFunctionIdentifier `json:"results"`
}

CollectionResponseActionFunctionIdentifierNoPaging struct for CollectionResponseActionFunctionIdentifierNoPaging

func NewCollectionResponseActionFunctionIdentifierNoPaging

func NewCollectionResponseActionFunctionIdentifierNoPaging(results []ActionFunctionIdentifier) *CollectionResponseActionFunctionIdentifierNoPaging

NewCollectionResponseActionFunctionIdentifierNoPaging instantiates a new CollectionResponseActionFunctionIdentifierNoPaging 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 NewCollectionResponseActionFunctionIdentifierNoPagingWithDefaults

func NewCollectionResponseActionFunctionIdentifierNoPagingWithDefaults() *CollectionResponseActionFunctionIdentifierNoPaging

NewCollectionResponseActionFunctionIdentifierNoPagingWithDefaults instantiates a new CollectionResponseActionFunctionIdentifierNoPaging 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 (*CollectionResponseActionFunctionIdentifierNoPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseActionFunctionIdentifierNoPaging) GetResultsOk

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

func (CollectionResponseActionFunctionIdentifierNoPaging) MarshalJSON

func (*CollectionResponseActionFunctionIdentifierNoPaging) SetResults

SetResults sets field value

type CollectionResponseActionRevisionForwardPaging

type CollectionResponseActionRevisionForwardPaging struct {
	Results []ActionRevision `json:"results"`
	Paging  *ForwardPaging   `json:"paging,omitempty"`
}

CollectionResponseActionRevisionForwardPaging struct for CollectionResponseActionRevisionForwardPaging

func NewCollectionResponseActionRevisionForwardPaging

func NewCollectionResponseActionRevisionForwardPaging(results []ActionRevision) *CollectionResponseActionRevisionForwardPaging

NewCollectionResponseActionRevisionForwardPaging instantiates a new CollectionResponseActionRevisionForwardPaging 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 NewCollectionResponseActionRevisionForwardPagingWithDefaults

func NewCollectionResponseActionRevisionForwardPagingWithDefaults() *CollectionResponseActionRevisionForwardPaging

NewCollectionResponseActionRevisionForwardPagingWithDefaults instantiates a new CollectionResponseActionRevisionForwardPaging 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 (*CollectionResponseActionRevisionForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseActionRevisionForwardPaging) GetPagingOk

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

func (*CollectionResponseActionRevisionForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseActionRevisionForwardPaging) GetResultsOk

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

func (*CollectionResponseActionRevisionForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseActionRevisionForwardPaging) MarshalJSON

func (*CollectionResponseActionRevisionForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseActionRevisionForwardPaging) SetResults

SetResults sets field value

type CollectionResponseExtensionActionDefinitionForwardPaging

type CollectionResponseExtensionActionDefinitionForwardPaging struct {
	Results []ExtensionActionDefinition `json:"results"`
	Paging  *ForwardPaging              `json:"paging,omitempty"`
}

CollectionResponseExtensionActionDefinitionForwardPaging struct for CollectionResponseExtensionActionDefinitionForwardPaging

func NewCollectionResponseExtensionActionDefinitionForwardPaging

func NewCollectionResponseExtensionActionDefinitionForwardPaging(results []ExtensionActionDefinition) *CollectionResponseExtensionActionDefinitionForwardPaging

NewCollectionResponseExtensionActionDefinitionForwardPaging instantiates a new CollectionResponseExtensionActionDefinitionForwardPaging 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 NewCollectionResponseExtensionActionDefinitionForwardPagingWithDefaults

func NewCollectionResponseExtensionActionDefinitionForwardPagingWithDefaults() *CollectionResponseExtensionActionDefinitionForwardPaging

NewCollectionResponseExtensionActionDefinitionForwardPagingWithDefaults instantiates a new CollectionResponseExtensionActionDefinitionForwardPaging 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 (*CollectionResponseExtensionActionDefinitionForwardPaging) GetPaging

GetPaging returns the Paging field value if set, zero value otherwise.

func (*CollectionResponseExtensionActionDefinitionForwardPaging) GetPagingOk

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

func (*CollectionResponseExtensionActionDefinitionForwardPaging) GetResults

GetResults returns the Results field value

func (*CollectionResponseExtensionActionDefinitionForwardPaging) GetResultsOk

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

func (*CollectionResponseExtensionActionDefinitionForwardPaging) HasPaging

HasPaging returns a boolean if a field has been set.

func (CollectionResponseExtensionActionDefinitionForwardPaging) MarshalJSON

func (*CollectionResponseExtensionActionDefinitionForwardPaging) SetPaging

SetPaging gets a reference to the given ForwardPaging and assigns it to the Paging field.

func (*CollectionResponseExtensionActionDefinitionForwardPaging) SetResults

SetResults sets field value

type ConditionalSingleFieldDependency

type ConditionalSingleFieldDependency struct {
	DependencyType        string   `json:"dependencyType"`
	DependentFieldNames   []string `json:"dependentFieldNames"`
	ControllingFieldName  string   `json:"controllingFieldName"`
	ControllingFieldValue string   `json:"controllingFieldValue"`
}

ConditionalSingleFieldDependency struct for ConditionalSingleFieldDependency

func NewConditionalSingleFieldDependency

func NewConditionalSingleFieldDependency(dependencyType string, dependentFieldNames []string, controllingFieldName string, controllingFieldValue string) *ConditionalSingleFieldDependency

NewConditionalSingleFieldDependency instantiates a new ConditionalSingleFieldDependency 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 NewConditionalSingleFieldDependencyWithDefaults

func NewConditionalSingleFieldDependencyWithDefaults() *ConditionalSingleFieldDependency

NewConditionalSingleFieldDependencyWithDefaults instantiates a new ConditionalSingleFieldDependency 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 (*ConditionalSingleFieldDependency) GetControllingFieldName

func (o *ConditionalSingleFieldDependency) GetControllingFieldName() string

GetControllingFieldName returns the ControllingFieldName field value

func (*ConditionalSingleFieldDependency) GetControllingFieldNameOk

func (o *ConditionalSingleFieldDependency) GetControllingFieldNameOk() (*string, bool)

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

func (*ConditionalSingleFieldDependency) GetControllingFieldValue

func (o *ConditionalSingleFieldDependency) GetControllingFieldValue() string

GetControllingFieldValue returns the ControllingFieldValue field value

func (*ConditionalSingleFieldDependency) GetControllingFieldValueOk

func (o *ConditionalSingleFieldDependency) GetControllingFieldValueOk() (*string, bool)

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

func (*ConditionalSingleFieldDependency) GetDependencyType

func (o *ConditionalSingleFieldDependency) GetDependencyType() string

GetDependencyType returns the DependencyType field value

func (*ConditionalSingleFieldDependency) GetDependencyTypeOk

func (o *ConditionalSingleFieldDependency) GetDependencyTypeOk() (*string, bool)

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

func (*ConditionalSingleFieldDependency) GetDependentFieldNames

func (o *ConditionalSingleFieldDependency) GetDependentFieldNames() []string

GetDependentFieldNames returns the DependentFieldNames field value

func (*ConditionalSingleFieldDependency) GetDependentFieldNamesOk

func (o *ConditionalSingleFieldDependency) GetDependentFieldNamesOk() ([]string, bool)

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

func (ConditionalSingleFieldDependency) MarshalJSON

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

func (*ConditionalSingleFieldDependency) SetControllingFieldName

func (o *ConditionalSingleFieldDependency) SetControllingFieldName(v string)

SetControllingFieldName sets field value

func (*ConditionalSingleFieldDependency) SetControllingFieldValue

func (o *ConditionalSingleFieldDependency) SetControllingFieldValue(v string)

SetControllingFieldValue sets field value

func (*ConditionalSingleFieldDependency) SetDependencyType

func (o *ConditionalSingleFieldDependency) SetDependencyType(v string)

SetDependencyType sets field value

func (*ConditionalSingleFieldDependency) SetDependentFieldNames

func (o *ConditionalSingleFieldDependency) SetDependentFieldNames(v []string)

SetDependentFieldNames sets field value

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DefinitionsApiService

type DefinitionsApiService service

DefinitionsApiService DefinitionsApi service

func (*DefinitionsApiService) Archive

func (a *DefinitionsApiService) Archive(ctx context.Context, definitionId string, appId int32) ApiArchiveRequest

Archive Archive a custom action

Archives a single custom workflow action with the specified ID. Workflows that currently use this custom action will stop attempting to execute the action, and all future executions will be marked as a failure.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param appId
@return ApiArchiveRequest

func (*DefinitionsApiService) ArchiveExecute

func (a *DefinitionsApiService) ArchiveExecute(r ApiArchiveRequest) (*http.Response, error)

Execute executes the request

func (*DefinitionsApiService) Create

Create Create new custom action

Creates a new custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appId
@return ApiCreateRequest

func (*DefinitionsApiService) CreateExecute

Execute executes the request

@return ExtensionActionDefinition

func (*DefinitionsApiService) GetByID

func (a *DefinitionsApiService) GetByID(ctx context.Context, definitionId string, appId int32) ApiGetByIDRequest

GetByID Get a custom action

Returns a single custom workflow action with the specified ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param appId
@return ApiGetByIDRequest

func (*DefinitionsApiService) GetByIDExecute

Execute executes the request

@return ExtensionActionDefinition

func (*DefinitionsApiService) GetPage

GetPage Get all custom actions

Returns a list of all custom workflow actions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appId
@return ApiGetPageRequest

func (*DefinitionsApiService) GetPageExecute

Execute executes the request

@return CollectionResponseExtensionActionDefinitionForwardPaging

func (*DefinitionsApiService) Update

func (a *DefinitionsApiService) Update(ctx context.Context, definitionId string, appId int32) ApiUpdateRequest

Update Update a custom action

Updates a custom workflow action with new values for the specified fields.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param appId
@return ApiUpdateRequest

func (*DefinitionsApiService) UpdateExecute

Execute executes the request

@return ExtensionActionDefinition

type Error

type Error struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// A unique identifier for the request. Include this value with any error reports or support tickets
	CorrelationId string `json:"correlationId"`
	// The error category
	Category string `json:"category"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// further information about the error
	Errors []ErrorDetail `json:"errors,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
	// A map of link names to associated URIs containing documentation about the error or recommended remediation steps
	Links *map[string]string `json:"links,omitempty"`
}

Error struct for Error

func NewError

func NewError(message string, correlationId string, category string) *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCategory

func (o *Error) GetCategory() string

GetCategory returns the Category field value

func (*Error) GetCategoryOk

func (o *Error) GetCategoryOk() (*string, bool)

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

func (*Error) GetContext

func (o *Error) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*Error) GetContextOk

func (o *Error) GetContextOk() (*map[string][]string, bool)

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

func (*Error) GetCorrelationId

func (o *Error) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value

func (*Error) GetCorrelationIdOk

func (o *Error) GetCorrelationIdOk() (*string, bool)

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

func (*Error) GetErrors

func (o *Error) GetErrors() []ErrorDetail

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Error) GetErrorsOk

func (o *Error) GetErrorsOk() ([]ErrorDetail, bool)

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

func (o *Error) GetLinks() map[string]string

GetLinks returns the Links field value if set, zero value otherwise.

func (*Error) GetLinksOk

func (o *Error) GetLinksOk() (*map[string]string, bool)

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

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

func (*Error) GetSubCategory

func (o *Error) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*Error) GetSubCategoryOk

func (o *Error) GetSubCategoryOk() (*string, bool)

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

func (*Error) HasContext

func (o *Error) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*Error) HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (o *Error) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Error) HasSubCategory

func (o *Error) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCategory

func (o *Error) SetCategory(v string)

SetCategory sets field value

func (*Error) SetContext

func (o *Error) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*Error) SetCorrelationId

func (o *Error) SetCorrelationId(v string)

SetCorrelationId sets field value

func (*Error) SetErrors

func (o *Error) SetErrors(v []ErrorDetail)

SetErrors gets a reference to the given []ErrorDetail and assigns it to the Errors field.

func (o *Error) SetLinks(v map[string]string)

SetLinks gets a reference to the given map[string]string and assigns it to the Links field.

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetSubCategory

func (o *Error) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type ErrorDetail

type ErrorDetail struct {
	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`
	// The name of the field or parameter in which the error was found.
	In *string `json:"in,omitempty"`
	// The status code associated with the error detail
	Code *string `json:"code,omitempty"`
	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
	// Context about the error condition
	Context *map[string][]string `json:"context,omitempty"`
}

ErrorDetail struct for ErrorDetail

func NewErrorDetail

func NewErrorDetail(message string) *ErrorDetail

NewErrorDetail instantiates a new ErrorDetail 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 NewErrorDetailWithDefaults

func NewErrorDetailWithDefaults() *ErrorDetail

NewErrorDetailWithDefaults instantiates a new ErrorDetail 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 (*ErrorDetail) GetCode

func (o *ErrorDetail) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ErrorDetail) GetCodeOk

func (o *ErrorDetail) GetCodeOk() (*string, bool)

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

func (*ErrorDetail) GetContext

func (o *ErrorDetail) GetContext() map[string][]string

GetContext returns the Context field value if set, zero value otherwise.

func (*ErrorDetail) GetContextOk

func (o *ErrorDetail) GetContextOk() (*map[string][]string, bool)

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

func (*ErrorDetail) GetIn

func (o *ErrorDetail) GetIn() string

GetIn returns the In field value if set, zero value otherwise.

func (*ErrorDetail) GetInOk

func (o *ErrorDetail) GetInOk() (*string, bool)

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

func (*ErrorDetail) GetMessage

func (o *ErrorDetail) GetMessage() string

GetMessage returns the Message field value

func (*ErrorDetail) GetMessageOk

func (o *ErrorDetail) GetMessageOk() (*string, bool)

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

func (*ErrorDetail) GetSubCategory

func (o *ErrorDetail) GetSubCategory() string

GetSubCategory returns the SubCategory field value if set, zero value otherwise.

func (*ErrorDetail) GetSubCategoryOk

func (o *ErrorDetail) GetSubCategoryOk() (*string, bool)

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

func (*ErrorDetail) HasCode

func (o *ErrorDetail) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorDetail) HasContext

func (o *ErrorDetail) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ErrorDetail) HasIn

func (o *ErrorDetail) HasIn() bool

HasIn returns a boolean if a field has been set.

func (*ErrorDetail) HasSubCategory

func (o *ErrorDetail) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (ErrorDetail) MarshalJSON

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

func (*ErrorDetail) SetCode

func (o *ErrorDetail) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ErrorDetail) SetContext

func (o *ErrorDetail) SetContext(v map[string][]string)

SetContext gets a reference to the given map[string][]string and assigns it to the Context field.

func (*ErrorDetail) SetIn

func (o *ErrorDetail) SetIn(v string)

SetIn gets a reference to the given string and assigns it to the In field.

func (*ErrorDetail) SetMessage

func (o *ErrorDetail) SetMessage(v string)

SetMessage sets field value

func (*ErrorDetail) SetSubCategory

func (o *ErrorDetail) SetSubCategory(v string)

SetSubCategory gets a reference to the given string and assigns it to the SubCategory field.

type ExtensionActionDefinition

type ExtensionActionDefinition struct {
	// The ID of the custom action.
	Id         string `json:"id"`
	RevisionId string `json:"revisionId"`
	// A list of functions associated with the custom workflow action.
	Functions []ActionFunctionIdentifier `json:"functions"`
	// The URL that will accept an HTTPS request each time workflows executes the custom action.
	ActionUrl string `json:"actionUrl"`
	// Whether this custom action is published to customers.
	Published bool `json:"published"`
	// The date that this custom action was archived, if the custom action is archived.
	ArchivedAt *int64 `json:"archivedAt,omitempty"`
	// The list of input fields to display in this custom action.
	InputFields          []InputFieldDefinition `json:"inputFields"`
	ObjectRequestOptions *ObjectRequestOptions  `json:"objectRequestOptions,omitempty"`
	// A list of dependencies between the input fields. These configure when the input fields should be visible.
	InputFieldDependencies []ExtensionActionDefinitionPatchInputFieldDependenciesInner `json:"inputFieldDependencies,omitempty"`
	// The user-facing labels for the custom action.
	Labels map[string]ActionLabels `json:"labels"`
	// The object types that this custom action supports.
	ObjectTypes []string `json:"objectTypes"`
}

ExtensionActionDefinition Configuration for custom workflow action.

func NewExtensionActionDefinition

func NewExtensionActionDefinition(id string, revisionId string, functions []ActionFunctionIdentifier, actionUrl string, published bool, inputFields []InputFieldDefinition, labels map[string]ActionLabels, objectTypes []string) *ExtensionActionDefinition

NewExtensionActionDefinition instantiates a new ExtensionActionDefinition 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 NewExtensionActionDefinitionWithDefaults

func NewExtensionActionDefinitionWithDefaults() *ExtensionActionDefinition

NewExtensionActionDefinitionWithDefaults instantiates a new ExtensionActionDefinition 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 (*ExtensionActionDefinition) GetActionUrl

func (o *ExtensionActionDefinition) GetActionUrl() string

GetActionUrl returns the ActionUrl field value

func (*ExtensionActionDefinition) GetActionUrlOk

func (o *ExtensionActionDefinition) GetActionUrlOk() (*string, bool)

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

func (*ExtensionActionDefinition) GetArchivedAt

func (o *ExtensionActionDefinition) GetArchivedAt() int64

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*ExtensionActionDefinition) GetArchivedAtOk

func (o *ExtensionActionDefinition) GetArchivedAtOk() (*int64, bool)

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

func (*ExtensionActionDefinition) GetFunctions

GetFunctions returns the Functions field value

func (*ExtensionActionDefinition) GetFunctionsOk

func (o *ExtensionActionDefinition) GetFunctionsOk() ([]ActionFunctionIdentifier, bool)

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

func (*ExtensionActionDefinition) GetId

func (o *ExtensionActionDefinition) GetId() string

GetId returns the Id field value

func (*ExtensionActionDefinition) GetIdOk

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

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

func (*ExtensionActionDefinition) GetInputFieldDependencies

GetInputFieldDependencies returns the InputFieldDependencies field value if set, zero value otherwise.

func (*ExtensionActionDefinition) GetInputFieldDependenciesOk

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

func (*ExtensionActionDefinition) GetInputFields

func (o *ExtensionActionDefinition) GetInputFields() []InputFieldDefinition

GetInputFields returns the InputFields field value

func (*ExtensionActionDefinition) GetInputFieldsOk

func (o *ExtensionActionDefinition) GetInputFieldsOk() ([]InputFieldDefinition, bool)

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

func (*ExtensionActionDefinition) GetLabels

func (o *ExtensionActionDefinition) GetLabels() map[string]ActionLabels

GetLabels returns the Labels field value

func (*ExtensionActionDefinition) GetLabelsOk

func (o *ExtensionActionDefinition) GetLabelsOk() (*map[string]ActionLabels, bool)

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

func (*ExtensionActionDefinition) GetObjectRequestOptions

func (o *ExtensionActionDefinition) GetObjectRequestOptions() ObjectRequestOptions

GetObjectRequestOptions returns the ObjectRequestOptions field value if set, zero value otherwise.

func (*ExtensionActionDefinition) GetObjectRequestOptionsOk

func (o *ExtensionActionDefinition) GetObjectRequestOptionsOk() (*ObjectRequestOptions, bool)

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

func (*ExtensionActionDefinition) GetObjectTypes

func (o *ExtensionActionDefinition) GetObjectTypes() []string

GetObjectTypes returns the ObjectTypes field value

func (*ExtensionActionDefinition) GetObjectTypesOk

func (o *ExtensionActionDefinition) GetObjectTypesOk() ([]string, bool)

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

func (*ExtensionActionDefinition) GetPublished

func (o *ExtensionActionDefinition) GetPublished() bool

GetPublished returns the Published field value

func (*ExtensionActionDefinition) GetPublishedOk

func (o *ExtensionActionDefinition) GetPublishedOk() (*bool, bool)

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

func (*ExtensionActionDefinition) GetRevisionId

func (o *ExtensionActionDefinition) GetRevisionId() string

GetRevisionId returns the RevisionId field value

func (*ExtensionActionDefinition) GetRevisionIdOk

func (o *ExtensionActionDefinition) GetRevisionIdOk() (*string, bool)

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

func (*ExtensionActionDefinition) HasArchivedAt

func (o *ExtensionActionDefinition) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*ExtensionActionDefinition) HasInputFieldDependencies

func (o *ExtensionActionDefinition) HasInputFieldDependencies() bool

HasInputFieldDependencies returns a boolean if a field has been set.

func (*ExtensionActionDefinition) HasObjectRequestOptions

func (o *ExtensionActionDefinition) HasObjectRequestOptions() bool

HasObjectRequestOptions returns a boolean if a field has been set.

func (ExtensionActionDefinition) MarshalJSON

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

func (*ExtensionActionDefinition) SetActionUrl

func (o *ExtensionActionDefinition) SetActionUrl(v string)

SetActionUrl sets field value

func (*ExtensionActionDefinition) SetArchivedAt

func (o *ExtensionActionDefinition) SetArchivedAt(v int64)

SetArchivedAt gets a reference to the given int64 and assigns it to the ArchivedAt field.

func (*ExtensionActionDefinition) SetFunctions

SetFunctions sets field value

func (*ExtensionActionDefinition) SetId

func (o *ExtensionActionDefinition) SetId(v string)

SetId sets field value

func (*ExtensionActionDefinition) SetInputFieldDependencies

SetInputFieldDependencies gets a reference to the given []ExtensionActionDefinitionPatchInputFieldDependenciesInner and assigns it to the InputFieldDependencies field.

func (*ExtensionActionDefinition) SetInputFields

func (o *ExtensionActionDefinition) SetInputFields(v []InputFieldDefinition)

SetInputFields sets field value

func (*ExtensionActionDefinition) SetLabels

func (o *ExtensionActionDefinition) SetLabels(v map[string]ActionLabels)

SetLabels sets field value

func (*ExtensionActionDefinition) SetObjectRequestOptions

func (o *ExtensionActionDefinition) SetObjectRequestOptions(v ObjectRequestOptions)

SetObjectRequestOptions gets a reference to the given ObjectRequestOptions and assigns it to the ObjectRequestOptions field.

func (*ExtensionActionDefinition) SetObjectTypes

func (o *ExtensionActionDefinition) SetObjectTypes(v []string)

SetObjectTypes sets field value

func (*ExtensionActionDefinition) SetPublished

func (o *ExtensionActionDefinition) SetPublished(v bool)

SetPublished sets field value

func (*ExtensionActionDefinition) SetRevisionId

func (o *ExtensionActionDefinition) SetRevisionId(v string)

SetRevisionId sets field value

type ExtensionActionDefinitionInput

type ExtensionActionDefinitionInput struct {
	// A list of functions associated with the custom workflow action.
	Functions []ActionFunction `json:"functions"`
	// The URL that will accept an HTTPS request each time workflows executes the custom action.
	ActionUrl string `json:"actionUrl"`
	// Whether this custom action is published to customers.
	Published bool `json:"published"`
	// The date that this custom action was archived, if the custom action is archived.
	ArchivedAt *int64 `json:"archivedAt,omitempty"`
	// The list of input fields to display in this custom action.
	InputFields          []InputFieldDefinition `json:"inputFields"`
	ObjectRequestOptions *ObjectRequestOptions  `json:"objectRequestOptions,omitempty"`
	// A list of dependencies between the input fields. These configure when the input fields should be visible.
	InputFieldDependencies []ExtensionActionDefinitionPatchInputFieldDependenciesInner `json:"inputFieldDependencies,omitempty"`
	// The user-facing labels for the custom action.
	Labels map[string]ActionLabels `json:"labels"`
	// The object types that this custom action supports.
	ObjectTypes []string `json:"objectTypes"`
}

ExtensionActionDefinitionInput State of custom workflow action to be created.

func NewExtensionActionDefinitionInput

func NewExtensionActionDefinitionInput(functions []ActionFunction, actionUrl string, published bool, inputFields []InputFieldDefinition, labels map[string]ActionLabels, objectTypes []string) *ExtensionActionDefinitionInput

NewExtensionActionDefinitionInput instantiates a new ExtensionActionDefinitionInput 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 NewExtensionActionDefinitionInputWithDefaults

func NewExtensionActionDefinitionInputWithDefaults() *ExtensionActionDefinitionInput

NewExtensionActionDefinitionInputWithDefaults instantiates a new ExtensionActionDefinitionInput 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 (*ExtensionActionDefinitionInput) GetActionUrl

func (o *ExtensionActionDefinitionInput) GetActionUrl() string

GetActionUrl returns the ActionUrl field value

func (*ExtensionActionDefinitionInput) GetActionUrlOk

func (o *ExtensionActionDefinitionInput) GetActionUrlOk() (*string, bool)

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

func (*ExtensionActionDefinitionInput) GetArchivedAt

func (o *ExtensionActionDefinitionInput) GetArchivedAt() int64

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*ExtensionActionDefinitionInput) GetArchivedAtOk

func (o *ExtensionActionDefinitionInput) GetArchivedAtOk() (*int64, bool)

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

func (*ExtensionActionDefinitionInput) GetFunctions

func (o *ExtensionActionDefinitionInput) GetFunctions() []ActionFunction

GetFunctions returns the Functions field value

func (*ExtensionActionDefinitionInput) GetFunctionsOk

func (o *ExtensionActionDefinitionInput) GetFunctionsOk() ([]ActionFunction, bool)

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

func (*ExtensionActionDefinitionInput) GetInputFieldDependencies

GetInputFieldDependencies returns the InputFieldDependencies field value if set, zero value otherwise.

func (*ExtensionActionDefinitionInput) GetInputFieldDependenciesOk

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

func (*ExtensionActionDefinitionInput) GetInputFields

GetInputFields returns the InputFields field value

func (*ExtensionActionDefinitionInput) GetInputFieldsOk

func (o *ExtensionActionDefinitionInput) GetInputFieldsOk() ([]InputFieldDefinition, bool)

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

func (*ExtensionActionDefinitionInput) GetLabels

GetLabels returns the Labels field value

func (*ExtensionActionDefinitionInput) GetLabelsOk

func (o *ExtensionActionDefinitionInput) GetLabelsOk() (*map[string]ActionLabels, bool)

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

func (*ExtensionActionDefinitionInput) GetObjectRequestOptions

func (o *ExtensionActionDefinitionInput) GetObjectRequestOptions() ObjectRequestOptions

GetObjectRequestOptions returns the ObjectRequestOptions field value if set, zero value otherwise.

func (*ExtensionActionDefinitionInput) GetObjectRequestOptionsOk

func (o *ExtensionActionDefinitionInput) GetObjectRequestOptionsOk() (*ObjectRequestOptions, bool)

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

func (*ExtensionActionDefinitionInput) GetObjectTypes

func (o *ExtensionActionDefinitionInput) GetObjectTypes() []string

GetObjectTypes returns the ObjectTypes field value

func (*ExtensionActionDefinitionInput) GetObjectTypesOk

func (o *ExtensionActionDefinitionInput) GetObjectTypesOk() ([]string, bool)

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

func (*ExtensionActionDefinitionInput) GetPublished

func (o *ExtensionActionDefinitionInput) GetPublished() bool

GetPublished returns the Published field value

func (*ExtensionActionDefinitionInput) GetPublishedOk

func (o *ExtensionActionDefinitionInput) GetPublishedOk() (*bool, bool)

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

func (*ExtensionActionDefinitionInput) HasArchivedAt

func (o *ExtensionActionDefinitionInput) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*ExtensionActionDefinitionInput) HasInputFieldDependencies

func (o *ExtensionActionDefinitionInput) HasInputFieldDependencies() bool

HasInputFieldDependencies returns a boolean if a field has been set.

func (*ExtensionActionDefinitionInput) HasObjectRequestOptions

func (o *ExtensionActionDefinitionInput) HasObjectRequestOptions() bool

HasObjectRequestOptions returns a boolean if a field has been set.

func (ExtensionActionDefinitionInput) MarshalJSON

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

func (*ExtensionActionDefinitionInput) SetActionUrl

func (o *ExtensionActionDefinitionInput) SetActionUrl(v string)

SetActionUrl sets field value

func (*ExtensionActionDefinitionInput) SetArchivedAt

func (o *ExtensionActionDefinitionInput) SetArchivedAt(v int64)

SetArchivedAt gets a reference to the given int64 and assigns it to the ArchivedAt field.

func (*ExtensionActionDefinitionInput) SetFunctions

func (o *ExtensionActionDefinitionInput) SetFunctions(v []ActionFunction)

SetFunctions sets field value

func (*ExtensionActionDefinitionInput) SetInputFieldDependencies

SetInputFieldDependencies gets a reference to the given []ExtensionActionDefinitionPatchInputFieldDependenciesInner and assigns it to the InputFieldDependencies field.

func (*ExtensionActionDefinitionInput) SetInputFields

SetInputFields sets field value

func (*ExtensionActionDefinitionInput) SetLabels

SetLabels sets field value

func (*ExtensionActionDefinitionInput) SetObjectRequestOptions

func (o *ExtensionActionDefinitionInput) SetObjectRequestOptions(v ObjectRequestOptions)

SetObjectRequestOptions gets a reference to the given ObjectRequestOptions and assigns it to the ObjectRequestOptions field.

func (*ExtensionActionDefinitionInput) SetObjectTypes

func (o *ExtensionActionDefinitionInput) SetObjectTypes(v []string)

SetObjectTypes sets field value

func (*ExtensionActionDefinitionInput) SetPublished

func (o *ExtensionActionDefinitionInput) SetPublished(v bool)

SetPublished sets field value

type ExtensionActionDefinitionPatch

type ExtensionActionDefinitionPatch struct {
	// The URL that will accept an HTTPS request each time workflows executes the custom action.
	ActionUrl *string `json:"actionUrl,omitempty"`
	// Whether this custom action is published to customers.
	Published *bool `json:"published,omitempty"`
	// The list of input fields to display in this custom action.
	InputFields          []InputFieldDefinition `json:"inputFields,omitempty"`
	ObjectRequestOptions *ObjectRequestOptions  `json:"objectRequestOptions,omitempty"`
	// A list of dependencies between the input fields. These configure when the input fields should be visible.
	InputFieldDependencies []ExtensionActionDefinitionPatchInputFieldDependenciesInner `json:"inputFieldDependencies,omitempty"`
	// The user-facing labels for the custom action.
	Labels *map[string]ActionLabels `json:"labels,omitempty"`
	// The object types that this custom action supports.
	ObjectTypes []string `json:"objectTypes,omitempty"`
}

ExtensionActionDefinitionPatch Fields on custom workflow action to be updated.

func NewExtensionActionDefinitionPatch

func NewExtensionActionDefinitionPatch() *ExtensionActionDefinitionPatch

NewExtensionActionDefinitionPatch instantiates a new ExtensionActionDefinitionPatch 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 NewExtensionActionDefinitionPatchWithDefaults

func NewExtensionActionDefinitionPatchWithDefaults() *ExtensionActionDefinitionPatch

NewExtensionActionDefinitionPatchWithDefaults instantiates a new ExtensionActionDefinitionPatch 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 (*ExtensionActionDefinitionPatch) GetActionUrl

func (o *ExtensionActionDefinitionPatch) GetActionUrl() string

GetActionUrl returns the ActionUrl field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetActionUrlOk

func (o *ExtensionActionDefinitionPatch) GetActionUrlOk() (*string, bool)

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

func (*ExtensionActionDefinitionPatch) GetInputFieldDependencies

GetInputFieldDependencies returns the InputFieldDependencies field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetInputFieldDependenciesOk

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

func (*ExtensionActionDefinitionPatch) GetInputFields

GetInputFields returns the InputFields field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetInputFieldsOk

func (o *ExtensionActionDefinitionPatch) GetInputFieldsOk() ([]InputFieldDefinition, bool)

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

func (*ExtensionActionDefinitionPatch) GetLabels

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetLabelsOk

func (o *ExtensionActionDefinitionPatch) GetLabelsOk() (*map[string]ActionLabels, bool)

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

func (*ExtensionActionDefinitionPatch) GetObjectRequestOptions

func (o *ExtensionActionDefinitionPatch) GetObjectRequestOptions() ObjectRequestOptions

GetObjectRequestOptions returns the ObjectRequestOptions field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetObjectRequestOptionsOk

func (o *ExtensionActionDefinitionPatch) GetObjectRequestOptionsOk() (*ObjectRequestOptions, bool)

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

func (*ExtensionActionDefinitionPatch) GetObjectTypes

func (o *ExtensionActionDefinitionPatch) GetObjectTypes() []string

GetObjectTypes returns the ObjectTypes field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetObjectTypesOk

func (o *ExtensionActionDefinitionPatch) GetObjectTypesOk() ([]string, bool)

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

func (*ExtensionActionDefinitionPatch) GetPublished

func (o *ExtensionActionDefinitionPatch) GetPublished() bool

GetPublished returns the Published field value if set, zero value otherwise.

func (*ExtensionActionDefinitionPatch) GetPublishedOk

func (o *ExtensionActionDefinitionPatch) GetPublishedOk() (*bool, bool)

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

func (*ExtensionActionDefinitionPatch) HasActionUrl

func (o *ExtensionActionDefinitionPatch) HasActionUrl() bool

HasActionUrl returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasInputFieldDependencies

func (o *ExtensionActionDefinitionPatch) HasInputFieldDependencies() bool

HasInputFieldDependencies returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasInputFields

func (o *ExtensionActionDefinitionPatch) HasInputFields() bool

HasInputFields returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasLabels

func (o *ExtensionActionDefinitionPatch) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasObjectRequestOptions

func (o *ExtensionActionDefinitionPatch) HasObjectRequestOptions() bool

HasObjectRequestOptions returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasObjectTypes

func (o *ExtensionActionDefinitionPatch) HasObjectTypes() bool

HasObjectTypes returns a boolean if a field has been set.

func (*ExtensionActionDefinitionPatch) HasPublished

func (o *ExtensionActionDefinitionPatch) HasPublished() bool

HasPublished returns a boolean if a field has been set.

func (ExtensionActionDefinitionPatch) MarshalJSON

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

func (*ExtensionActionDefinitionPatch) SetActionUrl

func (o *ExtensionActionDefinitionPatch) SetActionUrl(v string)

SetActionUrl gets a reference to the given string and assigns it to the ActionUrl field.

func (*ExtensionActionDefinitionPatch) SetInputFieldDependencies

SetInputFieldDependencies gets a reference to the given []ExtensionActionDefinitionPatchInputFieldDependenciesInner and assigns it to the InputFieldDependencies field.

func (*ExtensionActionDefinitionPatch) SetInputFields

SetInputFields gets a reference to the given []InputFieldDefinition and assigns it to the InputFields field.

func (*ExtensionActionDefinitionPatch) SetLabels

SetLabels gets a reference to the given map[string]ActionLabels and assigns it to the Labels field.

func (*ExtensionActionDefinitionPatch) SetObjectRequestOptions

func (o *ExtensionActionDefinitionPatch) SetObjectRequestOptions(v ObjectRequestOptions)

SetObjectRequestOptions gets a reference to the given ObjectRequestOptions and assigns it to the ObjectRequestOptions field.

func (*ExtensionActionDefinitionPatch) SetObjectTypes

func (o *ExtensionActionDefinitionPatch) SetObjectTypes(v []string)

SetObjectTypes gets a reference to the given []string and assigns it to the ObjectTypes field.

func (*ExtensionActionDefinitionPatch) SetPublished

func (o *ExtensionActionDefinitionPatch) SetPublished(v bool)

SetPublished gets a reference to the given bool and assigns it to the Published field.

type ExtensionActionDefinitionPatchInputFieldDependenciesInner

type ExtensionActionDefinitionPatchInputFieldDependenciesInner struct {
	ConditionalSingleFieldDependency *ConditionalSingleFieldDependency
	SingleFieldDependency            *SingleFieldDependency
}

ExtensionActionDefinitionPatchInputFieldDependenciesInner - struct for ExtensionActionDefinitionPatchInputFieldDependenciesInner

func ConditionalSingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner

func ConditionalSingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner(v *ConditionalSingleFieldDependency) ExtensionActionDefinitionPatchInputFieldDependenciesInner

ConditionalSingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner is a convenience function that returns ConditionalSingleFieldDependency wrapped in ExtensionActionDefinitionPatchInputFieldDependenciesInner

func SingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner

func SingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner(v *SingleFieldDependency) ExtensionActionDefinitionPatchInputFieldDependenciesInner

SingleFieldDependencyAsExtensionActionDefinitionPatchInputFieldDependenciesInner is a convenience function that returns SingleFieldDependency wrapped in ExtensionActionDefinitionPatchInputFieldDependenciesInner

func (*ExtensionActionDefinitionPatchInputFieldDependenciesInner) GetActualInstance

func (obj *ExtensionActionDefinitionPatchInputFieldDependenciesInner) GetActualInstance() interface{}

Get the actual instance

func (ExtensionActionDefinitionPatchInputFieldDependenciesInner) MarshalJSON

Marshal data from the first non-nil pointers in the struct to JSON

func (*ExtensionActionDefinitionPatchInputFieldDependenciesInner) UnmarshalJSON

Unmarshal JSON data into one of the pointers in the struct

type FieldTypeDefinition

type FieldTypeDefinition struct {
	// The input field name.
	Name string `json:"name"`
	// The data type of the field.
	Type string `json:"type"`
	// Controls how the field appears in HubSpot.
	FieldType *string `json:"fieldType,omitempty"`
	// A list of valid options for the field value.
	Options []Option `json:"options"`
	// A URL that will accept HTTPS requests when the valid options for the field are fetched.
	OptionsUrl *string `json:"optionsUrl,omitempty"`
	// This can be set to `OWNER` if the field should contain a HubSpot owner value.
	ReferencedObjectType *string `json:"referencedObjectType,omitempty"`
}

FieldTypeDefinition The data type expected by an input field.

func NewFieldTypeDefinition

func NewFieldTypeDefinition(name string, type_ string, options []Option) *FieldTypeDefinition

NewFieldTypeDefinition instantiates a new FieldTypeDefinition 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 NewFieldTypeDefinitionWithDefaults

func NewFieldTypeDefinitionWithDefaults() *FieldTypeDefinition

NewFieldTypeDefinitionWithDefaults instantiates a new FieldTypeDefinition 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 (*FieldTypeDefinition) GetFieldType

func (o *FieldTypeDefinition) GetFieldType() string

GetFieldType returns the FieldType field value if set, zero value otherwise.

func (*FieldTypeDefinition) GetFieldTypeOk

func (o *FieldTypeDefinition) GetFieldTypeOk() (*string, bool)

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

func (*FieldTypeDefinition) GetName

func (o *FieldTypeDefinition) GetName() string

GetName returns the Name field value

func (*FieldTypeDefinition) GetNameOk

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

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

func (*FieldTypeDefinition) GetOptions

func (o *FieldTypeDefinition) GetOptions() []Option

GetOptions returns the Options field value

func (*FieldTypeDefinition) GetOptionsOk

func (o *FieldTypeDefinition) GetOptionsOk() ([]Option, bool)

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

func (*FieldTypeDefinition) GetOptionsUrl

func (o *FieldTypeDefinition) GetOptionsUrl() string

GetOptionsUrl returns the OptionsUrl field value if set, zero value otherwise.

func (*FieldTypeDefinition) GetOptionsUrlOk

func (o *FieldTypeDefinition) GetOptionsUrlOk() (*string, bool)

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

func (*FieldTypeDefinition) GetReferencedObjectType

func (o *FieldTypeDefinition) GetReferencedObjectType() string

GetReferencedObjectType returns the ReferencedObjectType field value if set, zero value otherwise.

func (*FieldTypeDefinition) GetReferencedObjectTypeOk

func (o *FieldTypeDefinition) GetReferencedObjectTypeOk() (*string, bool)

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

func (*FieldTypeDefinition) GetType

func (o *FieldTypeDefinition) GetType() string

GetType returns the Type field value

func (*FieldTypeDefinition) GetTypeOk

func (o *FieldTypeDefinition) GetTypeOk() (*string, bool)

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

func (*FieldTypeDefinition) HasFieldType

func (o *FieldTypeDefinition) HasFieldType() bool

HasFieldType returns a boolean if a field has been set.

func (*FieldTypeDefinition) HasOptionsUrl

func (o *FieldTypeDefinition) HasOptionsUrl() bool

HasOptionsUrl returns a boolean if a field has been set.

func (*FieldTypeDefinition) HasReferencedObjectType

func (o *FieldTypeDefinition) HasReferencedObjectType() bool

HasReferencedObjectType returns a boolean if a field has been set.

func (FieldTypeDefinition) MarshalJSON

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

func (*FieldTypeDefinition) SetFieldType

func (o *FieldTypeDefinition) SetFieldType(v string)

SetFieldType gets a reference to the given string and assigns it to the FieldType field.

func (*FieldTypeDefinition) SetName

func (o *FieldTypeDefinition) SetName(v string)

SetName sets field value

func (*FieldTypeDefinition) SetOptions

func (o *FieldTypeDefinition) SetOptions(v []Option)

SetOptions sets field value

func (*FieldTypeDefinition) SetOptionsUrl

func (o *FieldTypeDefinition) SetOptionsUrl(v string)

SetOptionsUrl gets a reference to the given string and assigns it to the OptionsUrl field.

func (*FieldTypeDefinition) SetReferencedObjectType

func (o *FieldTypeDefinition) SetReferencedObjectType(v string)

SetReferencedObjectType gets a reference to the given string and assigns it to the ReferencedObjectType field.

func (*FieldTypeDefinition) SetType

func (o *FieldTypeDefinition) SetType(v string)

SetType sets field value

type ForwardPaging

type ForwardPaging struct {
	Next *NextPage `json:"next,omitempty"`
}

ForwardPaging struct for ForwardPaging

func NewForwardPaging

func NewForwardPaging() *ForwardPaging

NewForwardPaging instantiates a new ForwardPaging 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 NewForwardPagingWithDefaults

func NewForwardPagingWithDefaults() *ForwardPaging

NewForwardPagingWithDefaults instantiates a new ForwardPaging 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 (*ForwardPaging) GetNext

func (o *ForwardPaging) GetNext() NextPage

GetNext returns the Next field value if set, zero value otherwise.

func (*ForwardPaging) GetNextOk

func (o *ForwardPaging) GetNextOk() (*NextPage, bool)

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

func (*ForwardPaging) HasNext

func (o *ForwardPaging) HasNext() bool

HasNext returns a boolean if a field has been set.

func (ForwardPaging) MarshalJSON

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

func (*ForwardPaging) SetNext

func (o *ForwardPaging) SetNext(v NextPage)

SetNext gets a reference to the given NextPage and assigns it to the Next field.

type FunctionsApiService

type FunctionsApiService service

FunctionsApiService FunctionsApi service

func (*FunctionsApiService) FunctionsArchive

func (a *FunctionsApiService) FunctionsArchive(ctx context.Context, definitionId string, functionType string, functionId string, appId int32) ApiFunctionsArchiveRequest

FunctionsArchive Delete a custom action function

Delete a function for a custom workflow action. This will remove the function itself as well as removing the association between the function and the custom action. This can't be undone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action
@param functionType The type of function. This determines when the function will be called.
@param functionId The ID qualifier for the function. This is used to specify which input field a function is associated with for `PRE_FETCH_OPTIONS` and `POST_FETCH_OPTIONS` function types.
@param appId
@return ApiFunctionsArchiveRequest

func (*FunctionsApiService) FunctionsArchiveByType

func (a *FunctionsApiService) FunctionsArchiveByType(ctx context.Context, definitionId string, functionType string, appId int32) ApiFunctionsArchiveByTypeRequest

FunctionsArchiveByType Delete a custom action function

Delete a function for a custom workflow action. This will remove the function itself as well as removing the association between the function and the custom action. This can't be undone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param functionType The type of function. This determines when the function will be called.
@param appId
@return ApiFunctionsArchiveByTypeRequest

func (*FunctionsApiService) FunctionsArchiveByTypeExecute

func (a *FunctionsApiService) FunctionsArchiveByTypeExecute(r ApiFunctionsArchiveByTypeRequest) (*http.Response, error)

Execute executes the request

func (*FunctionsApiService) FunctionsArchiveExecute

func (a *FunctionsApiService) FunctionsArchiveExecute(r ApiFunctionsArchiveRequest) (*http.Response, error)

Execute executes the request

func (*FunctionsApiService) FunctionsCreateOrReplace

func (a *FunctionsApiService) FunctionsCreateOrReplace(ctx context.Context, definitionId string, functionType string, functionId string, appId int32) ApiFunctionsCreateOrReplaceRequest

FunctionsCreateOrReplace Create or replace a custom action function

Creates or replaces a function for a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param functionType The type of function. This determines when the function will be called.
@param functionId The ID qualifier for the function. This is used to specify which input field a function is associated with for `PRE_FETCH_OPTIONS` and `POST_FETCH_OPTIONS` function types.
@param appId
@return ApiFunctionsCreateOrReplaceRequest

func (*FunctionsApiService) FunctionsCreateOrReplaceByType

func (a *FunctionsApiService) FunctionsCreateOrReplaceByType(ctx context.Context, definitionId string, functionType string, appId int32) ApiFunctionsCreateOrReplaceByTypeRequest

FunctionsCreateOrReplaceByType Create or replace a custom action function

Creates or replaces a function for a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param functionType The type of function. This determines when the function will be called.
@param appId
@return ApiFunctionsCreateOrReplaceByTypeRequest

func (*FunctionsApiService) FunctionsCreateOrReplaceByTypeExecute

Execute executes the request

@return ActionFunctionIdentifier

func (*FunctionsApiService) FunctionsCreateOrReplaceExecute

Execute executes the request

@return ActionFunctionIdentifier

func (*FunctionsApiService) FunctionsGetByID

func (a *FunctionsApiService) FunctionsGetByID(ctx context.Context, definitionId string, functionType string, functionId string, appId int32) ApiFunctionsGetByIDRequest

FunctionsGetByID Get a custom action function

Returns the given function for a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param functionType The type of function. This determines when the function will be called.
@param functionId The ID qualifier for the function. This is used to specify which input field a function is associated with for `PRE_FETCH_OPTIONS` and `POST_FETCH_OPTIONS` function types.
@param appId
@return ApiFunctionsGetByIDRequest

func (*FunctionsApiService) FunctionsGetByIDExecute

Execute executes the request

@return ActionFunction

func (*FunctionsApiService) FunctionsGetByType

func (a *FunctionsApiService) FunctionsGetByType(ctx context.Context, definitionId string, functionType string, appId int32) ApiFunctionsGetByTypeRequest

FunctionsGetByType Get a custom action function

Returns the given function for a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param functionType The type of function. This determines when the function will be called.
@param appId
@return ApiFunctionsGetByTypeRequest

func (*FunctionsApiService) FunctionsGetByTypeExecute

func (a *FunctionsApiService) FunctionsGetByTypeExecute(r ApiFunctionsGetByTypeRequest) (*ActionFunction, *http.Response, error)

Execute executes the request

@return ActionFunction

func (*FunctionsApiService) FunctionsGetPage

func (a *FunctionsApiService) FunctionsGetPage(ctx context.Context, definitionId string, appId int32) ApiFunctionsGetPageRequest

FunctionsGetPage Get all custom action functions

Returns a list of all functions that are associated with the given custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param appId
@return ApiFunctionsGetPageRequest

func (*FunctionsApiService) FunctionsGetPageExecute

Execute executes the request

@return CollectionResponseActionFunctionIdentifierNoPaging

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type InputFieldDefinition

type InputFieldDefinition struct {
	TypeDefinition FieldTypeDefinition `json:"typeDefinition"`
	// Controls what kind of input a customer can use to specify the field value. Must contain exactly one of `STATIC_VALUE` or `OBJECT_PROPERTY`. If `STATIC_VALUE`, the customer will be able to choose a value when configuring the custom action; if `OBJECT_PROPERTY`, the customer will be able to choose a property from the enrolled workflow object that the field value will be copied from. In the future we may support more than one input control type here.
	SupportedValueTypes []string `json:"supportedValueTypes,omitempty"`
	// Whether the field is required for the custom action to be valid
	IsRequired bool `json:"isRequired"`
}

InputFieldDefinition Configuration for an input field on the custom action

func NewInputFieldDefinition

func NewInputFieldDefinition(typeDefinition FieldTypeDefinition, isRequired bool) *InputFieldDefinition

NewInputFieldDefinition instantiates a new InputFieldDefinition 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 NewInputFieldDefinitionWithDefaults

func NewInputFieldDefinitionWithDefaults() *InputFieldDefinition

NewInputFieldDefinitionWithDefaults instantiates a new InputFieldDefinition 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 (*InputFieldDefinition) GetIsRequired

func (o *InputFieldDefinition) GetIsRequired() bool

GetIsRequired returns the IsRequired field value

func (*InputFieldDefinition) GetIsRequiredOk

func (o *InputFieldDefinition) GetIsRequiredOk() (*bool, bool)

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

func (*InputFieldDefinition) GetSupportedValueTypes

func (o *InputFieldDefinition) GetSupportedValueTypes() []string

GetSupportedValueTypes returns the SupportedValueTypes field value if set, zero value otherwise.

func (*InputFieldDefinition) GetSupportedValueTypesOk

func (o *InputFieldDefinition) GetSupportedValueTypesOk() ([]string, bool)

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

func (*InputFieldDefinition) GetTypeDefinition

func (o *InputFieldDefinition) GetTypeDefinition() FieldTypeDefinition

GetTypeDefinition returns the TypeDefinition field value

func (*InputFieldDefinition) GetTypeDefinitionOk

func (o *InputFieldDefinition) GetTypeDefinitionOk() (*FieldTypeDefinition, bool)

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

func (*InputFieldDefinition) HasSupportedValueTypes

func (o *InputFieldDefinition) HasSupportedValueTypes() bool

HasSupportedValueTypes returns a boolean if a field has been set.

func (InputFieldDefinition) MarshalJSON

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

func (*InputFieldDefinition) SetIsRequired

func (o *InputFieldDefinition) SetIsRequired(v bool)

SetIsRequired sets field value

func (*InputFieldDefinition) SetSupportedValueTypes

func (o *InputFieldDefinition) SetSupportedValueTypes(v []string)

SetSupportedValueTypes gets a reference to the given []string and assigns it to the SupportedValueTypes field.

func (*InputFieldDefinition) SetTypeDefinition

func (o *InputFieldDefinition) SetTypeDefinition(v FieldTypeDefinition)

SetTypeDefinition sets field value

type NextPage

type NextPage struct {
	After string  `json:"after"`
	Link  *string `json:"link,omitempty"`
}

NextPage struct for NextPage

func NewNextPage

func NewNextPage(after string) *NextPage

NewNextPage instantiates a new NextPage 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 NewNextPageWithDefaults

func NewNextPageWithDefaults() *NextPage

NewNextPageWithDefaults instantiates a new NextPage 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 (*NextPage) GetAfter

func (o *NextPage) GetAfter() string

GetAfter returns the After field value

func (*NextPage) GetAfterOk

func (o *NextPage) GetAfterOk() (*string, bool)

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

func (o *NextPage) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*NextPage) GetLinkOk

func (o *NextPage) GetLinkOk() (*string, bool)

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

func (o *NextPage) HasLink() bool

HasLink returns a boolean if a field has been set.

func (NextPage) MarshalJSON

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

func (*NextPage) SetAfter

func (o *NextPage) SetAfter(v string)

SetAfter sets field value

func (o *NextPage) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

type NullableActionFunction

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

func NewNullableActionFunction

func NewNullableActionFunction(val *ActionFunction) *NullableActionFunction

func (NullableActionFunction) Get

func (NullableActionFunction) IsSet

func (v NullableActionFunction) IsSet() bool

func (NullableActionFunction) MarshalJSON

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

func (*NullableActionFunction) Set

func (*NullableActionFunction) UnmarshalJSON

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

func (*NullableActionFunction) Unset

func (v *NullableActionFunction) Unset()

type NullableActionFunctionIdentifier

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

func (NullableActionFunctionIdentifier) Get

func (NullableActionFunctionIdentifier) IsSet

func (NullableActionFunctionIdentifier) MarshalJSON

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

func (*NullableActionFunctionIdentifier) Set

func (*NullableActionFunctionIdentifier) UnmarshalJSON

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

func (*NullableActionFunctionIdentifier) Unset

type NullableActionLabels

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

func NewNullableActionLabels

func NewNullableActionLabels(val *ActionLabels) *NullableActionLabels

func (NullableActionLabels) Get

func (NullableActionLabels) IsSet

func (v NullableActionLabels) IsSet() bool

func (NullableActionLabels) MarshalJSON

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

func (*NullableActionLabels) Set

func (v *NullableActionLabels) Set(val *ActionLabels)

func (*NullableActionLabels) UnmarshalJSON

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

func (*NullableActionLabels) Unset

func (v *NullableActionLabels) Unset()

type NullableActionRevision

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

func NewNullableActionRevision

func NewNullableActionRevision(val *ActionRevision) *NullableActionRevision

func (NullableActionRevision) Get

func (NullableActionRevision) IsSet

func (v NullableActionRevision) IsSet() bool

func (NullableActionRevision) MarshalJSON

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

func (*NullableActionRevision) Set

func (*NullableActionRevision) UnmarshalJSON

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

func (*NullableActionRevision) Unset

func (v *NullableActionRevision) Unset()

type NullableBatchInputCallbackCompletionBatchRequest

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

func (NullableBatchInputCallbackCompletionBatchRequest) Get

func (NullableBatchInputCallbackCompletionBatchRequest) IsSet

func (NullableBatchInputCallbackCompletionBatchRequest) MarshalJSON

func (*NullableBatchInputCallbackCompletionBatchRequest) Set

func (*NullableBatchInputCallbackCompletionBatchRequest) UnmarshalJSON

func (*NullableBatchInputCallbackCompletionBatchRequest) 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 NullableCallbackCompletionBatchRequest

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

func (NullableCallbackCompletionBatchRequest) Get

func (NullableCallbackCompletionBatchRequest) IsSet

func (NullableCallbackCompletionBatchRequest) MarshalJSON

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

func (*NullableCallbackCompletionBatchRequest) Set

func (*NullableCallbackCompletionBatchRequest) UnmarshalJSON

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

func (*NullableCallbackCompletionBatchRequest) Unset

type NullableCallbackCompletionRequest

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

func (NullableCallbackCompletionRequest) Get

func (NullableCallbackCompletionRequest) IsSet

func (NullableCallbackCompletionRequest) MarshalJSON

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

func (*NullableCallbackCompletionRequest) Set

func (*NullableCallbackCompletionRequest) UnmarshalJSON

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

func (*NullableCallbackCompletionRequest) Unset

type NullableCollectionResponseActionFunctionIdentifierNoPaging

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

func (NullableCollectionResponseActionFunctionIdentifierNoPaging) Get

func (NullableCollectionResponseActionFunctionIdentifierNoPaging) IsSet

func (NullableCollectionResponseActionFunctionIdentifierNoPaging) MarshalJSON

func (*NullableCollectionResponseActionFunctionIdentifierNoPaging) Set

func (*NullableCollectionResponseActionFunctionIdentifierNoPaging) UnmarshalJSON

func (*NullableCollectionResponseActionFunctionIdentifierNoPaging) Unset

type NullableCollectionResponseActionRevisionForwardPaging

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

func (NullableCollectionResponseActionRevisionForwardPaging) Get

func (NullableCollectionResponseActionRevisionForwardPaging) IsSet

func (NullableCollectionResponseActionRevisionForwardPaging) MarshalJSON

func (*NullableCollectionResponseActionRevisionForwardPaging) Set

func (*NullableCollectionResponseActionRevisionForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseActionRevisionForwardPaging) Unset

type NullableCollectionResponseExtensionActionDefinitionForwardPaging

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

func (NullableCollectionResponseExtensionActionDefinitionForwardPaging) Get

func (NullableCollectionResponseExtensionActionDefinitionForwardPaging) IsSet

func (NullableCollectionResponseExtensionActionDefinitionForwardPaging) MarshalJSON

func (*NullableCollectionResponseExtensionActionDefinitionForwardPaging) Set

func (*NullableCollectionResponseExtensionActionDefinitionForwardPaging) UnmarshalJSON

func (*NullableCollectionResponseExtensionActionDefinitionForwardPaging) Unset

type NullableConditionalSingleFieldDependency

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

func (NullableConditionalSingleFieldDependency) Get

func (NullableConditionalSingleFieldDependency) IsSet

func (NullableConditionalSingleFieldDependency) MarshalJSON

func (*NullableConditionalSingleFieldDependency) Set

func (*NullableConditionalSingleFieldDependency) UnmarshalJSON

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

func (*NullableConditionalSingleFieldDependency) Unset

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorDetail

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

func NewNullableErrorDetail

func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail

func (NullableErrorDetail) Get

func (NullableErrorDetail) IsSet

func (v NullableErrorDetail) IsSet() bool

func (NullableErrorDetail) MarshalJSON

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

func (*NullableErrorDetail) Set

func (v *NullableErrorDetail) Set(val *ErrorDetail)

func (*NullableErrorDetail) UnmarshalJSON

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

func (*NullableErrorDetail) Unset

func (v *NullableErrorDetail) Unset()

type NullableExtensionActionDefinition

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

func (NullableExtensionActionDefinition) Get

func (NullableExtensionActionDefinition) IsSet

func (NullableExtensionActionDefinition) MarshalJSON

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

func (*NullableExtensionActionDefinition) Set

func (*NullableExtensionActionDefinition) UnmarshalJSON

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

func (*NullableExtensionActionDefinition) Unset

type NullableExtensionActionDefinitionInput

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

func (NullableExtensionActionDefinitionInput) Get

func (NullableExtensionActionDefinitionInput) IsSet

func (NullableExtensionActionDefinitionInput) MarshalJSON

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

func (*NullableExtensionActionDefinitionInput) Set

func (*NullableExtensionActionDefinitionInput) UnmarshalJSON

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

func (*NullableExtensionActionDefinitionInput) Unset

type NullableExtensionActionDefinitionPatch

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

func (NullableExtensionActionDefinitionPatch) Get

func (NullableExtensionActionDefinitionPatch) IsSet

func (NullableExtensionActionDefinitionPatch) MarshalJSON

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

func (*NullableExtensionActionDefinitionPatch) Set

func (*NullableExtensionActionDefinitionPatch) UnmarshalJSON

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

func (*NullableExtensionActionDefinitionPatch) Unset

type NullableExtensionActionDefinitionPatchInputFieldDependenciesInner

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

func (NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) Get

func (NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) IsSet

func (NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) MarshalJSON

func (*NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) Set

func (*NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) UnmarshalJSON

func (*NullableExtensionActionDefinitionPatchInputFieldDependenciesInner) Unset

type NullableFieldTypeDefinition

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

func NewNullableFieldTypeDefinition

func NewNullableFieldTypeDefinition(val *FieldTypeDefinition) *NullableFieldTypeDefinition

func (NullableFieldTypeDefinition) Get

func (NullableFieldTypeDefinition) IsSet

func (NullableFieldTypeDefinition) MarshalJSON

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

func (*NullableFieldTypeDefinition) Set

func (*NullableFieldTypeDefinition) UnmarshalJSON

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

func (*NullableFieldTypeDefinition) Unset

func (v *NullableFieldTypeDefinition) 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 NullableForwardPaging

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

func NewNullableForwardPaging

func NewNullableForwardPaging(val *ForwardPaging) *NullableForwardPaging

func (NullableForwardPaging) Get

func (NullableForwardPaging) IsSet

func (v NullableForwardPaging) IsSet() bool

func (NullableForwardPaging) MarshalJSON

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

func (*NullableForwardPaging) Set

func (v *NullableForwardPaging) Set(val *ForwardPaging)

func (*NullableForwardPaging) UnmarshalJSON

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

func (*NullableForwardPaging) Unset

func (v *NullableForwardPaging) Unset()

type NullableInputFieldDefinition

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

func NewNullableInputFieldDefinition

func NewNullableInputFieldDefinition(val *InputFieldDefinition) *NullableInputFieldDefinition

func (NullableInputFieldDefinition) Get

func (NullableInputFieldDefinition) IsSet

func (NullableInputFieldDefinition) MarshalJSON

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

func (*NullableInputFieldDefinition) Set

func (*NullableInputFieldDefinition) UnmarshalJSON

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

func (*NullableInputFieldDefinition) Unset

func (v *NullableInputFieldDefinition) 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 NullableNextPage

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

func NewNullableNextPage

func NewNullableNextPage(val *NextPage) *NullableNextPage

func (NullableNextPage) Get

func (v NullableNextPage) Get() *NextPage

func (NullableNextPage) IsSet

func (v NullableNextPage) IsSet() bool

func (NullableNextPage) MarshalJSON

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

func (*NullableNextPage) Set

func (v *NullableNextPage) Set(val *NextPage)

func (*NullableNextPage) UnmarshalJSON

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

func (*NullableNextPage) Unset

func (v *NullableNextPage) Unset()

type NullableObjectRequestOptions

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

func NewNullableObjectRequestOptions

func NewNullableObjectRequestOptions(val *ObjectRequestOptions) *NullableObjectRequestOptions

func (NullableObjectRequestOptions) Get

func (NullableObjectRequestOptions) IsSet

func (NullableObjectRequestOptions) MarshalJSON

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

func (*NullableObjectRequestOptions) Set

func (*NullableObjectRequestOptions) UnmarshalJSON

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

func (*NullableObjectRequestOptions) Unset

func (v *NullableObjectRequestOptions) Unset()

type NullableOption

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

func NewNullableOption

func NewNullableOption(val *Option) *NullableOption

func (NullableOption) Get

func (v NullableOption) Get() *Option

func (NullableOption) IsSet

func (v NullableOption) IsSet() bool

func (NullableOption) MarshalJSON

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

func (*NullableOption) Set

func (v *NullableOption) Set(val *Option)

func (*NullableOption) UnmarshalJSON

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

func (*NullableOption) Unset

func (v *NullableOption) Unset()

type NullableSingleFieldDependency

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

func (NullableSingleFieldDependency) Get

func (NullableSingleFieldDependency) IsSet

func (NullableSingleFieldDependency) MarshalJSON

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

func (*NullableSingleFieldDependency) Set

func (*NullableSingleFieldDependency) UnmarshalJSON

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

func (*NullableSingleFieldDependency) Unset

func (v *NullableSingleFieldDependency) 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 ObjectRequestOptions

type ObjectRequestOptions struct {
	// A list of properties of the CRM object to include with the request to the `actionUrl`.
	Properties []string `json:"properties"`
}

ObjectRequestOptions Configures what properties of the enrolled CRM object are included in the action execution request

func NewObjectRequestOptions

func NewObjectRequestOptions(properties []string) *ObjectRequestOptions

NewObjectRequestOptions instantiates a new ObjectRequestOptions 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 NewObjectRequestOptionsWithDefaults

func NewObjectRequestOptionsWithDefaults() *ObjectRequestOptions

NewObjectRequestOptionsWithDefaults instantiates a new ObjectRequestOptions 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 (*ObjectRequestOptions) GetProperties

func (o *ObjectRequestOptions) GetProperties() []string

GetProperties returns the Properties field value

func (*ObjectRequestOptions) GetPropertiesOk

func (o *ObjectRequestOptions) GetPropertiesOk() ([]string, bool)

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

func (ObjectRequestOptions) MarshalJSON

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

func (*ObjectRequestOptions) SetProperties

func (o *ObjectRequestOptions) SetProperties(v []string)

SetProperties sets field value

type Option

type Option struct {
	// The user-facing label for the option.
	Label string `json:"label"`
	// The internal value for the option. This is what will be included in the execution request to the `actionUrl`.
	Value        string  `json:"value"`
	DisplayOrder int32   `json:"displayOrder"`
	DoubleData   float32 `json:"doubleData"`
	Hidden       bool    `json:"hidden"`
	Description  string  `json:"description"`
	ReadOnly     bool    `json:"readOnly"`
}

Option An option for a field value.

func NewOption

func NewOption(label string, value string, displayOrder int32, doubleData float32, hidden bool, description string, readOnly bool) *Option

NewOption instantiates a new Option 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 NewOptionWithDefaults

func NewOptionWithDefaults() *Option

NewOptionWithDefaults instantiates a new Option 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 (*Option) GetDescription

func (o *Option) GetDescription() string

GetDescription returns the Description field value

func (*Option) GetDescriptionOk

func (o *Option) GetDescriptionOk() (*string, bool)

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

func (*Option) GetDisplayOrder

func (o *Option) GetDisplayOrder() int32

GetDisplayOrder returns the DisplayOrder field value

func (*Option) GetDisplayOrderOk

func (o *Option) GetDisplayOrderOk() (*int32, bool)

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

func (*Option) GetDoubleData

func (o *Option) GetDoubleData() float32

GetDoubleData returns the DoubleData field value

func (*Option) GetDoubleDataOk

func (o *Option) GetDoubleDataOk() (*float32, bool)

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

func (*Option) GetHidden

func (o *Option) GetHidden() bool

GetHidden returns the Hidden field value

func (*Option) GetHiddenOk

func (o *Option) GetHiddenOk() (*bool, bool)

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

func (*Option) GetLabel

func (o *Option) GetLabel() string

GetLabel returns the Label field value

func (*Option) GetLabelOk

func (o *Option) GetLabelOk() (*string, bool)

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

func (*Option) GetReadOnly

func (o *Option) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value

func (*Option) GetReadOnlyOk

func (o *Option) GetReadOnlyOk() (*bool, bool)

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

func (*Option) GetValue

func (o *Option) GetValue() string

GetValue returns the Value field value

func (*Option) GetValueOk

func (o *Option) GetValueOk() (*string, bool)

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

func (Option) MarshalJSON

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

func (*Option) SetDescription

func (o *Option) SetDescription(v string)

SetDescription sets field value

func (*Option) SetDisplayOrder

func (o *Option) SetDisplayOrder(v int32)

SetDisplayOrder sets field value

func (*Option) SetDoubleData

func (o *Option) SetDoubleData(v float32)

SetDoubleData sets field value

func (*Option) SetHidden

func (o *Option) SetHidden(v bool)

SetHidden sets field value

func (*Option) SetLabel

func (o *Option) SetLabel(v string)

SetLabel sets field value

func (*Option) SetReadOnly

func (o *Option) SetReadOnly(v bool)

SetReadOnly sets field value

func (*Option) SetValue

func (o *Option) SetValue(v string)

SetValue sets field value

type RevisionsApiService

type RevisionsApiService service

RevisionsApiService RevisionsApi service

func (*RevisionsApiService) RevisionsGetByID

func (a *RevisionsApiService) RevisionsGetByID(ctx context.Context, definitionId string, revisionId string, appId int32) ApiRevisionsGetByIDRequest

RevisionsGetByID Get a revision for a custom action

Returns the given version of a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action.
@param revisionId The version of the custom workflow action.
@param appId
@return ApiRevisionsGetByIDRequest

func (*RevisionsApiService) RevisionsGetByIDExecute

Execute executes the request

@return ActionRevision

func (*RevisionsApiService) RevisionsGetPage

func (a *RevisionsApiService) RevisionsGetPage(ctx context.Context, definitionId string, appId int32) ApiRevisionsGetPageRequest

RevisionsGetPage Get all revisions for a custom action

Returns a list of revisions for a custom workflow action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param definitionId The ID of the custom workflow action
@param appId
@return ApiRevisionsGetPageRequest

func (*RevisionsApiService) RevisionsGetPageExecute

Execute executes the request

@return CollectionResponseActionRevisionForwardPaging

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SingleFieldDependency

type SingleFieldDependency struct {
	DependencyType       string   `json:"dependencyType"`
	DependentFieldNames  []string `json:"dependentFieldNames"`
	ControllingFieldName string   `json:"controllingFieldName"`
}

SingleFieldDependency struct for SingleFieldDependency

func NewSingleFieldDependency

func NewSingleFieldDependency(dependencyType string, dependentFieldNames []string, controllingFieldName string) *SingleFieldDependency

NewSingleFieldDependency instantiates a new SingleFieldDependency 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 NewSingleFieldDependencyWithDefaults

func NewSingleFieldDependencyWithDefaults() *SingleFieldDependency

NewSingleFieldDependencyWithDefaults instantiates a new SingleFieldDependency 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 (*SingleFieldDependency) GetControllingFieldName

func (o *SingleFieldDependency) GetControllingFieldName() string

GetControllingFieldName returns the ControllingFieldName field value

func (*SingleFieldDependency) GetControllingFieldNameOk

func (o *SingleFieldDependency) GetControllingFieldNameOk() (*string, bool)

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

func (*SingleFieldDependency) GetDependencyType

func (o *SingleFieldDependency) GetDependencyType() string

GetDependencyType returns the DependencyType field value

func (*SingleFieldDependency) GetDependencyTypeOk

func (o *SingleFieldDependency) GetDependencyTypeOk() (*string, bool)

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

func (*SingleFieldDependency) GetDependentFieldNames

func (o *SingleFieldDependency) GetDependentFieldNames() []string

GetDependentFieldNames returns the DependentFieldNames field value

func (*SingleFieldDependency) GetDependentFieldNamesOk

func (o *SingleFieldDependency) GetDependentFieldNamesOk() ([]string, bool)

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

func (SingleFieldDependency) MarshalJSON

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

func (*SingleFieldDependency) SetControllingFieldName

func (o *SingleFieldDependency) SetControllingFieldName(v string)

SetControllingFieldName sets field value

func (*SingleFieldDependency) SetDependencyType

func (o *SingleFieldDependency) SetDependencyType(v string)

SetDependencyType sets field value

func (*SingleFieldDependency) SetDependentFieldNames

func (o *SingleFieldDependency) SetDependentFieldNames(v []string)

SetDependentFieldNames sets field value

Jump to

Keyboard shortcuts

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