humanlayerapi

package
v0.0.0-...-eaa2a7e Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for humanlayerapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 0.1.0
  • Package version: 1.0.0
  • Generator version: 7.12.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/net/context

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

import humanlayerapi "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 humanlayerapi.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), humanlayerapi.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 humanlayerapi.ContextOperationServerIndices and humanlayerapi.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultAPI EscalateEmail Post /humanlayer/v1/agent/function_calls/{call_id}/escalate_email Escalate Email
DefaultAPI EscalateEmailHumanContact Post /humanlayer/v1/agent/human_contacts/{call_id}/escalate_email Escalate Email Human Contact
DefaultAPI GetFunctionCallStatus Get /humanlayer/v1/function_calls/{call_id} Get Function Call Status
DefaultAPI GetHumanContactStatus Get /humanlayer/v1/contact_requests/{call_id} Get Human Contact Status
DefaultAPI GetHumanContactStatus_0 Get /humanlayer/v1/human_contacts/{call_id} Get Human Contact Status
DefaultAPI GetPendingFunctionCalls Get /humanlayer/v1/agent/function_calls/pending Get Pending Function Calls
DefaultAPI GetPendingHumanContacts Get /humanlayer/v1/agent/human_contacts/pending Get Pending Human Contacts
DefaultAPI GetProjectInfo Get /humanlayer/v1/project Get Project Info
DefaultAPI HealthCheck Get /healthz Health Check
DefaultAPI ReadStatus Get /humanlayer/v1/status Read Status
DefaultAPI RequestApproval Post /humanlayer/v1/function_calls Request Approval
DefaultAPI RequestHumanContact Post /humanlayer/v1/contact_requests Request Human Contact
DefaultAPI RequestHumanContact_0 Post /humanlayer/v1/human_contacts Request Human Contact
DefaultAPI Respond Post /humanlayer/v1/agent/function_calls/{call_id}/respond Respond
DefaultAPI RespondToHumanContact Post /humanlayer/v1/agent/human_contacts/{call_id}/respond Respond To Human Contact
DefaultAPI Version Get /version Version

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// 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 IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the FastAPI API v0.1.0 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 ApiEscalateEmailHumanContactRequest

type ApiEscalateEmailHumanContactRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEscalateEmailHumanContactRequest) Authorization

func (ApiEscalateEmailHumanContactRequest) Escalation

func (ApiEscalateEmailHumanContactRequest) Execute

type ApiEscalateEmailRequest

type ApiEscalateEmailRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEscalateEmailRequest) Authorization

func (r ApiEscalateEmailRequest) Authorization(authorization string) ApiEscalateEmailRequest

func (ApiEscalateEmailRequest) Escalation

func (ApiEscalateEmailRequest) Execute

type ApiGetFunctionCallStatusRequest

type ApiGetFunctionCallStatusRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetFunctionCallStatusRequest) Authorization

func (ApiGetFunctionCallStatusRequest) Execute

type ApiGetHumanContactStatusRequest

type ApiGetHumanContactStatusRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetHumanContactStatusRequest) Authorization

func (ApiGetHumanContactStatusRequest) Execute

type ApiGetHumanContactStatus_0Request

type ApiGetHumanContactStatus_0Request struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetHumanContactStatus_0Request) Authorization

func (ApiGetHumanContactStatus_0Request) Execute

type ApiGetPendingFunctionCallsRequest

type ApiGetPendingFunctionCallsRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetPendingFunctionCallsRequest) Authorization

func (ApiGetPendingFunctionCallsRequest) Execute

type ApiGetPendingHumanContactsRequest

type ApiGetPendingHumanContactsRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetPendingHumanContactsRequest) Authorization

func (ApiGetPendingHumanContactsRequest) Execute

type ApiGetProjectInfoRequest

type ApiGetProjectInfoRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetProjectInfoRequest) Authorization

func (r ApiGetProjectInfoRequest) Authorization(authorization string) ApiGetProjectInfoRequest

func (ApiGetProjectInfoRequest) Execute

func (r ApiGetProjectInfoRequest) Execute() (interface{}, *http.Response, error)

type ApiHealthCheckRequest

type ApiHealthCheckRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiHealthCheckRequest) Execute

func (r ApiHealthCheckRequest) Execute() (interface{}, *http.Response, error)

type ApiReadStatusRequest

type ApiReadStatusRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiReadStatusRequest) Execute

func (r ApiReadStatusRequest) Execute() (interface{}, *http.Response, error)

type ApiRequestApprovalRequest

type ApiRequestApprovalRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRequestApprovalRequest) Authorization

func (r ApiRequestApprovalRequest) Authorization(authorization string) ApiRequestApprovalRequest

func (ApiRequestApprovalRequest) Execute

func (ApiRequestApprovalRequest) FunctionCallInput

func (r ApiRequestApprovalRequest) FunctionCallInput(functionCallInput FunctionCallInput) ApiRequestApprovalRequest

type ApiRequestHumanContactRequest

type ApiRequestHumanContactRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRequestHumanContactRequest) Authorization

func (ApiRequestHumanContactRequest) Execute

func (ApiRequestHumanContactRequest) HumanContactInput

func (r ApiRequestHumanContactRequest) HumanContactInput(humanContactInput HumanContactInput) ApiRequestHumanContactRequest

type ApiRequestHumanContact_0Request

type ApiRequestHumanContact_0Request struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRequestHumanContact_0Request) Authorization

func (ApiRequestHumanContact_0Request) Execute

func (ApiRequestHumanContact_0Request) HumanContactInput

type ApiRespondRequest

type ApiRespondRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRespondRequest) Authorization

func (r ApiRespondRequest) Authorization(authorization string) ApiRespondRequest

func (ApiRespondRequest) Execute

func (ApiRespondRequest) FunctionCallStatus

func (r ApiRespondRequest) FunctionCallStatus(functionCallStatus FunctionCallStatus) ApiRespondRequest

type ApiRespondToHumanContactRequest

type ApiRespondToHumanContactRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRespondToHumanContactRequest) Authorization

func (ApiRespondToHumanContactRequest) Execute

func (ApiRespondToHumanContactRequest) HumanContactStatus

type ApiVersionRequest

type ApiVersionRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiVersionRequest) Execute

func (r ApiVersionRequest) Execute() (interface{}, *http.Response, error)

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 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 ContactChannelInput

type ContactChannelInput struct {
	Slack    NullableSlackContactChannelInput `json:"slack,omitempty"`
	Sms      NullableSMSContactChannel        `json:"sms,omitempty"`
	Whatsapp NullableWhatsAppContactChannel   `json:"whatsapp,omitempty"`
	Email    NullableEmailContactChannel      `json:"email,omitempty"`
}

ContactChannelInput struct for ContactChannelInput

func NewContactChannelInput

func NewContactChannelInput() *ContactChannelInput

NewContactChannelInput instantiates a new ContactChannelInput 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 NewContactChannelInputWithDefaults

func NewContactChannelInputWithDefaults() *ContactChannelInput

NewContactChannelInputWithDefaults instantiates a new ContactChannelInput 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 (*ContactChannelInput) GetEmail

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelInput) GetEmailOk

func (o *ContactChannelInput) GetEmailOk() (*EmailContactChannel, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelInput) GetSlack

GetSlack returns the Slack field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelInput) GetSlackOk

GetSlackOk returns a tuple with the Slack field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelInput) GetSms

GetSms returns the Sms field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelInput) GetSmsOk

func (o *ContactChannelInput) GetSmsOk() (*SMSContactChannel, bool)

GetSmsOk returns a tuple with the Sms field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelInput) GetWhatsapp

GetWhatsapp returns the Whatsapp field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelInput) GetWhatsappOk

func (o *ContactChannelInput) GetWhatsappOk() (*WhatsAppContactChannel, bool)

GetWhatsappOk returns a tuple with the Whatsapp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelInput) HasEmail

func (o *ContactChannelInput) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ContactChannelInput) HasSlack

func (o *ContactChannelInput) HasSlack() bool

HasSlack returns a boolean if a field has been set.

func (*ContactChannelInput) HasSms

func (o *ContactChannelInput) HasSms() bool

HasSms returns a boolean if a field has been set.

func (*ContactChannelInput) HasWhatsapp

func (o *ContactChannelInput) HasWhatsapp() bool

HasWhatsapp returns a boolean if a field has been set.

func (ContactChannelInput) MarshalJSON

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

func (*ContactChannelInput) SetEmail

SetEmail gets a reference to the given NullableEmailContactChannel and assigns it to the Email field.

func (*ContactChannelInput) SetEmailNil

func (o *ContactChannelInput) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*ContactChannelInput) SetSlack

SetSlack gets a reference to the given NullableSlackContactChannelInput and assigns it to the Slack field.

func (*ContactChannelInput) SetSlackNil

func (o *ContactChannelInput) SetSlackNil()

SetSlackNil sets the value for Slack to be an explicit nil

func (*ContactChannelInput) SetSms

SetSms gets a reference to the given NullableSMSContactChannel and assigns it to the Sms field.

func (*ContactChannelInput) SetSmsNil

func (o *ContactChannelInput) SetSmsNil()

SetSmsNil sets the value for Sms to be an explicit nil

func (*ContactChannelInput) SetWhatsapp

func (o *ContactChannelInput) SetWhatsapp(v WhatsAppContactChannel)

SetWhatsapp gets a reference to the given NullableWhatsAppContactChannel and assigns it to the Whatsapp field.

func (*ContactChannelInput) SetWhatsappNil

func (o *ContactChannelInput) SetWhatsappNil()

SetWhatsappNil sets the value for Whatsapp to be an explicit nil

func (ContactChannelInput) ToMap

func (o ContactChannelInput) ToMap() (map[string]interface{}, error)

func (*ContactChannelInput) UnsetEmail

func (o *ContactChannelInput) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*ContactChannelInput) UnsetSlack

func (o *ContactChannelInput) UnsetSlack()

UnsetSlack ensures that no value is present for Slack, not even an explicit nil

func (*ContactChannelInput) UnsetSms

func (o *ContactChannelInput) UnsetSms()

UnsetSms ensures that no value is present for Sms, not even an explicit nil

func (*ContactChannelInput) UnsetWhatsapp

func (o *ContactChannelInput) UnsetWhatsapp()

UnsetWhatsapp ensures that no value is present for Whatsapp, not even an explicit nil

type ContactChannelOutput

type ContactChannelOutput struct {
	Slack    NullableSlackContactChannelOutput `json:"slack,omitempty"`
	Sms      NullableSMSContactChannel         `json:"sms,omitempty"`
	Whatsapp NullableWhatsAppContactChannel    `json:"whatsapp,omitempty"`
	Email    NullableEmailContactChannel       `json:"email,omitempty"`
}

ContactChannelOutput struct for ContactChannelOutput

func NewContactChannelOutput

func NewContactChannelOutput() *ContactChannelOutput

NewContactChannelOutput instantiates a new ContactChannelOutput 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 NewContactChannelOutputWithDefaults

func NewContactChannelOutputWithDefaults() *ContactChannelOutput

NewContactChannelOutputWithDefaults instantiates a new ContactChannelOutput 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 (*ContactChannelOutput) GetEmail

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelOutput) GetEmailOk

func (o *ContactChannelOutput) GetEmailOk() (*EmailContactChannel, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelOutput) GetSlack

GetSlack returns the Slack field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelOutput) GetSlackOk

GetSlackOk returns a tuple with the Slack field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelOutput) GetSms

GetSms returns the Sms field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelOutput) GetSmsOk

func (o *ContactChannelOutput) GetSmsOk() (*SMSContactChannel, bool)

GetSmsOk returns a tuple with the Sms field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelOutput) GetWhatsapp

GetWhatsapp returns the Whatsapp field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ContactChannelOutput) GetWhatsappOk

func (o *ContactChannelOutput) GetWhatsappOk() (*WhatsAppContactChannel, bool)

GetWhatsappOk returns a tuple with the Whatsapp field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ContactChannelOutput) HasEmail

func (o *ContactChannelOutput) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ContactChannelOutput) HasSlack

func (o *ContactChannelOutput) HasSlack() bool

HasSlack returns a boolean if a field has been set.

func (*ContactChannelOutput) HasSms

func (o *ContactChannelOutput) HasSms() bool

HasSms returns a boolean if a field has been set.

func (*ContactChannelOutput) HasWhatsapp

func (o *ContactChannelOutput) HasWhatsapp() bool

HasWhatsapp returns a boolean if a field has been set.

func (ContactChannelOutput) MarshalJSON

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

func (*ContactChannelOutput) SetEmail

SetEmail gets a reference to the given NullableEmailContactChannel and assigns it to the Email field.

func (*ContactChannelOutput) SetEmailNil

func (o *ContactChannelOutput) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*ContactChannelOutput) SetSlack

SetSlack gets a reference to the given NullableSlackContactChannelOutput and assigns it to the Slack field.

func (*ContactChannelOutput) SetSlackNil

func (o *ContactChannelOutput) SetSlackNil()

SetSlackNil sets the value for Slack to be an explicit nil

func (*ContactChannelOutput) SetSms

SetSms gets a reference to the given NullableSMSContactChannel and assigns it to the Sms field.

func (*ContactChannelOutput) SetSmsNil

func (o *ContactChannelOutput) SetSmsNil()

SetSmsNil sets the value for Sms to be an explicit nil

func (*ContactChannelOutput) SetWhatsapp

func (o *ContactChannelOutput) SetWhatsapp(v WhatsAppContactChannel)

SetWhatsapp gets a reference to the given NullableWhatsAppContactChannel and assigns it to the Whatsapp field.

func (*ContactChannelOutput) SetWhatsappNil

func (o *ContactChannelOutput) SetWhatsappNil()

SetWhatsappNil sets the value for Whatsapp to be an explicit nil

func (ContactChannelOutput) ToMap

func (o ContactChannelOutput) ToMap() (map[string]interface{}, error)

func (*ContactChannelOutput) UnsetEmail

func (o *ContactChannelOutput) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*ContactChannelOutput) UnsetSlack

func (o *ContactChannelOutput) UnsetSlack()

UnsetSlack ensures that no value is present for Slack, not even an explicit nil

func (*ContactChannelOutput) UnsetSms

func (o *ContactChannelOutput) UnsetSms()

UnsetSms ensures that no value is present for Sms, not even an explicit nil

func (*ContactChannelOutput) UnsetWhatsapp

func (o *ContactChannelOutput) UnsetWhatsapp()

UnsetWhatsapp ensures that no value is present for Whatsapp, not even an explicit nil

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) EscalateEmail

func (a *DefaultAPIService) EscalateEmail(ctx context.Context, callId string) ApiEscalateEmailRequest

EscalateEmail Escalate Email

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

func (*DefaultAPIService) EscalateEmailExecute

Execute executes the request

@return FunctionCallOutput

func (*DefaultAPIService) EscalateEmailHumanContact

func (a *DefaultAPIService) EscalateEmailHumanContact(ctx context.Context, callId string) ApiEscalateEmailHumanContactRequest

EscalateEmailHumanContact Escalate Email Human Contact

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

func (*DefaultAPIService) EscalateEmailHumanContactExecute

func (a *DefaultAPIService) EscalateEmailHumanContactExecute(r ApiEscalateEmailHumanContactRequest) (*HumanContactOutput, *http.Response, error)

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) GetFunctionCallStatus

func (a *DefaultAPIService) GetFunctionCallStatus(ctx context.Context, callId string) ApiGetFunctionCallStatusRequest

GetFunctionCallStatus Get Function Call Status

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

func (*DefaultAPIService) GetFunctionCallStatusExecute

Execute executes the request

@return FunctionCallOutput

func (*DefaultAPIService) GetHumanContactStatus

func (a *DefaultAPIService) GetHumanContactStatus(ctx context.Context, callId string) ApiGetHumanContactStatusRequest

GetHumanContactStatus Get Human Contact Status

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

func (*DefaultAPIService) GetHumanContactStatusExecute

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) GetHumanContactStatus_1

func (a *DefaultAPIService) GetHumanContactStatus_1(ctx context.Context, callId string) ApiGetHumanContactStatus_0Request

GetHumanContactStatus_0 Get Human Contact Status

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

func (*DefaultAPIService) GetHumanContactStatus_1Execute

func (a *DefaultAPIService) GetHumanContactStatus_1Execute(r ApiGetHumanContactStatus_0Request) (*HumanContactOutput, *http.Response, error)

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) GetPendingFunctionCalls

func (a *DefaultAPIService) GetPendingFunctionCalls(ctx context.Context) ApiGetPendingFunctionCallsRequest

GetPendingFunctionCalls Get Pending Function Calls

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

func (*DefaultAPIService) GetPendingFunctionCallsExecute

func (a *DefaultAPIService) GetPendingFunctionCallsExecute(r ApiGetPendingFunctionCallsRequest) ([]FunctionCallOutput, *http.Response, error)

Execute executes the request

@return []FunctionCallOutput

func (*DefaultAPIService) GetPendingHumanContacts

func (a *DefaultAPIService) GetPendingHumanContacts(ctx context.Context) ApiGetPendingHumanContactsRequest

GetPendingHumanContacts Get Pending Human Contacts

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

func (*DefaultAPIService) GetPendingHumanContactsExecute

func (a *DefaultAPIService) GetPendingHumanContactsExecute(r ApiGetPendingHumanContactsRequest) ([]HumanContactOutput, *http.Response, error)

Execute executes the request

@return []HumanContactOutput

func (*DefaultAPIService) GetProjectInfo

GetProjectInfo Get Project Info

Get information about the current project based on the API token.

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

func (*DefaultAPIService) GetProjectInfoExecute

func (a *DefaultAPIService) GetProjectInfoExecute(r ApiGetProjectInfoRequest) (interface{}, *http.Response, error)

Execute executes the request

@return interface{}

func (*DefaultAPIService) HealthCheck

HealthCheck Health Check

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

func (*DefaultAPIService) HealthCheckExecute

func (a *DefaultAPIService) HealthCheckExecute(r ApiHealthCheckRequest) (interface{}, *http.Response, error)

Execute executes the request

@return interface{}

func (*DefaultAPIService) ReadStatus

ReadStatus Read Status

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

func (*DefaultAPIService) ReadStatusExecute

func (a *DefaultAPIService) ReadStatusExecute(r ApiReadStatusRequest) (interface{}, *http.Response, error)

Execute executes the request

@return interface{}

func (*DefaultAPIService) RequestApproval

RequestApproval Request Approval

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

func (*DefaultAPIService) RequestApprovalExecute

Execute executes the request

@return FunctionCallOutput

func (*DefaultAPIService) RequestHumanContact

func (a *DefaultAPIService) RequestHumanContact(ctx context.Context) ApiRequestHumanContactRequest

RequestHumanContact Request Human Contact

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

func (*DefaultAPIService) RequestHumanContactExecute

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) RequestHumanContact_2

func (a *DefaultAPIService) RequestHumanContact_2(ctx context.Context) ApiRequestHumanContact_0Request

RequestHumanContact_0 Request Human Contact

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

func (*DefaultAPIService) RequestHumanContact_2Execute

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) Respond

func (a *DefaultAPIService) Respond(ctx context.Context, callId string) ApiRespondRequest

Respond Respond

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

func (*DefaultAPIService) RespondExecute

Execute executes the request

@return FunctionCallOutput

func (*DefaultAPIService) RespondToHumanContact

func (a *DefaultAPIService) RespondToHumanContact(ctx context.Context, callId string) ApiRespondToHumanContactRequest

RespondToHumanContact Respond To Human Contact

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

func (*DefaultAPIService) RespondToHumanContactExecute

Execute executes the request

@return HumanContactOutput

func (*DefaultAPIService) Version

Version Version

Return the current version (git SHA) of the deployed application

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

func (*DefaultAPIService) VersionExecute

func (a *DefaultAPIService) VersionExecute(r ApiVersionRequest) (interface{}, *http.Response, error)

Execute executes the request

@return interface{}

type EmailContactChannel

type EmailContactChannel struct {
	Address                         string           `json:"address"`
	ContextAboutUser                NullableString   `json:"context_about_user,omitempty"`
	AdditionalRecipients            []EmailRecipient `json:"additional_recipients,omitempty"`
	ExperimentalSubjectLine         NullableString   `json:"experimental_subject_line,omitempty"`
	ExperimentalReferencesMessageId NullableString   `json:"experimental_references_message_id,omitempty"`
	ExperimentalInReplyToMessageId  NullableString   `json:"experimental_in_reply_to_message_id,omitempty"`
	Template                        NullableString   `json:"template,omitempty"`
}

EmailContactChannel Route for contacting a user via email

func NewEmailContactChannel

func NewEmailContactChannel(address string) *EmailContactChannel

NewEmailContactChannel instantiates a new EmailContactChannel 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 NewEmailContactChannelWithDefaults

func NewEmailContactChannelWithDefaults() *EmailContactChannel

NewEmailContactChannelWithDefaults instantiates a new EmailContactChannel 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 (*EmailContactChannel) GetAdditionalRecipients

func (o *EmailContactChannel) GetAdditionalRecipients() []EmailRecipient

GetAdditionalRecipients returns the AdditionalRecipients field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetAdditionalRecipientsOk

func (o *EmailContactChannel) GetAdditionalRecipientsOk() ([]EmailRecipient, bool)

GetAdditionalRecipientsOk returns a tuple with the AdditionalRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) GetAddress

func (o *EmailContactChannel) GetAddress() string

GetAddress returns the Address field value

func (*EmailContactChannel) GetAddressOk

func (o *EmailContactChannel) GetAddressOk() (*string, bool)

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

func (*EmailContactChannel) GetContextAboutUser

func (o *EmailContactChannel) GetContextAboutUser() string

GetContextAboutUser returns the ContextAboutUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetContextAboutUserOk

func (o *EmailContactChannel) GetContextAboutUserOk() (*string, bool)

GetContextAboutUserOk returns a tuple with the ContextAboutUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) GetExperimentalInReplyToMessageId

func (o *EmailContactChannel) GetExperimentalInReplyToMessageId() string

GetExperimentalInReplyToMessageId returns the ExperimentalInReplyToMessageId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetExperimentalInReplyToMessageIdOk

func (o *EmailContactChannel) GetExperimentalInReplyToMessageIdOk() (*string, bool)

GetExperimentalInReplyToMessageIdOk returns a tuple with the ExperimentalInReplyToMessageId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) GetExperimentalReferencesMessageId

func (o *EmailContactChannel) GetExperimentalReferencesMessageId() string

GetExperimentalReferencesMessageId returns the ExperimentalReferencesMessageId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetExperimentalReferencesMessageIdOk

func (o *EmailContactChannel) GetExperimentalReferencesMessageIdOk() (*string, bool)

GetExperimentalReferencesMessageIdOk returns a tuple with the ExperimentalReferencesMessageId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) GetExperimentalSubjectLine

func (o *EmailContactChannel) GetExperimentalSubjectLine() string

GetExperimentalSubjectLine returns the ExperimentalSubjectLine field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetExperimentalSubjectLineOk

func (o *EmailContactChannel) GetExperimentalSubjectLineOk() (*string, bool)

GetExperimentalSubjectLineOk returns a tuple with the ExperimentalSubjectLine field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) GetTemplate

func (o *EmailContactChannel) GetTemplate() string

GetTemplate returns the Template field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailContactChannel) GetTemplateOk

func (o *EmailContactChannel) GetTemplateOk() (*string, bool)

GetTemplateOk returns a tuple with the Template field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailContactChannel) HasAdditionalRecipients

func (o *EmailContactChannel) HasAdditionalRecipients() bool

HasAdditionalRecipients returns a boolean if a field has been set.

func (*EmailContactChannel) HasContextAboutUser

func (o *EmailContactChannel) HasContextAboutUser() bool

HasContextAboutUser returns a boolean if a field has been set.

func (*EmailContactChannel) HasExperimentalInReplyToMessageId

func (o *EmailContactChannel) HasExperimentalInReplyToMessageId() bool

HasExperimentalInReplyToMessageId returns a boolean if a field has been set.

func (*EmailContactChannel) HasExperimentalReferencesMessageId

func (o *EmailContactChannel) HasExperimentalReferencesMessageId() bool

HasExperimentalReferencesMessageId returns a boolean if a field has been set.

func (*EmailContactChannel) HasExperimentalSubjectLine

func (o *EmailContactChannel) HasExperimentalSubjectLine() bool

HasExperimentalSubjectLine returns a boolean if a field has been set.

func (*EmailContactChannel) HasTemplate

func (o *EmailContactChannel) HasTemplate() bool

HasTemplate returns a boolean if a field has been set.

func (EmailContactChannel) MarshalJSON

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

func (*EmailContactChannel) SetAdditionalRecipients

func (o *EmailContactChannel) SetAdditionalRecipients(v []EmailRecipient)

SetAdditionalRecipients gets a reference to the given []EmailRecipient and assigns it to the AdditionalRecipients field.

func (*EmailContactChannel) SetAddress

func (o *EmailContactChannel) SetAddress(v string)

SetAddress sets field value

func (*EmailContactChannel) SetContextAboutUser

func (o *EmailContactChannel) SetContextAboutUser(v string)

SetContextAboutUser gets a reference to the given NullableString and assigns it to the ContextAboutUser field.

func (*EmailContactChannel) SetContextAboutUserNil

func (o *EmailContactChannel) SetContextAboutUserNil()

SetContextAboutUserNil sets the value for ContextAboutUser to be an explicit nil

func (*EmailContactChannel) SetExperimentalInReplyToMessageId

func (o *EmailContactChannel) SetExperimentalInReplyToMessageId(v string)

SetExperimentalInReplyToMessageId gets a reference to the given NullableString and assigns it to the ExperimentalInReplyToMessageId field.

func (*EmailContactChannel) SetExperimentalInReplyToMessageIdNil

func (o *EmailContactChannel) SetExperimentalInReplyToMessageIdNil()

SetExperimentalInReplyToMessageIdNil sets the value for ExperimentalInReplyToMessageId to be an explicit nil

func (*EmailContactChannel) SetExperimentalReferencesMessageId

func (o *EmailContactChannel) SetExperimentalReferencesMessageId(v string)

SetExperimentalReferencesMessageId gets a reference to the given NullableString and assigns it to the ExperimentalReferencesMessageId field.

func (*EmailContactChannel) SetExperimentalReferencesMessageIdNil

func (o *EmailContactChannel) SetExperimentalReferencesMessageIdNil()

SetExperimentalReferencesMessageIdNil sets the value for ExperimentalReferencesMessageId to be an explicit nil

func (*EmailContactChannel) SetExperimentalSubjectLine

func (o *EmailContactChannel) SetExperimentalSubjectLine(v string)

SetExperimentalSubjectLine gets a reference to the given NullableString and assigns it to the ExperimentalSubjectLine field.

func (*EmailContactChannel) SetExperimentalSubjectLineNil

func (o *EmailContactChannel) SetExperimentalSubjectLineNil()

SetExperimentalSubjectLineNil sets the value for ExperimentalSubjectLine to be an explicit nil

func (*EmailContactChannel) SetTemplate

func (o *EmailContactChannel) SetTemplate(v string)

SetTemplate gets a reference to the given NullableString and assigns it to the Template field.

func (*EmailContactChannel) SetTemplateNil

func (o *EmailContactChannel) SetTemplateNil()

SetTemplateNil sets the value for Template to be an explicit nil

func (EmailContactChannel) ToMap

func (o EmailContactChannel) ToMap() (map[string]interface{}, error)

func (*EmailContactChannel) UnmarshalJSON

func (o *EmailContactChannel) UnmarshalJSON(data []byte) (err error)

func (*EmailContactChannel) UnsetContextAboutUser

func (o *EmailContactChannel) UnsetContextAboutUser()

UnsetContextAboutUser ensures that no value is present for ContextAboutUser, not even an explicit nil

func (*EmailContactChannel) UnsetExperimentalInReplyToMessageId

func (o *EmailContactChannel) UnsetExperimentalInReplyToMessageId()

UnsetExperimentalInReplyToMessageId ensures that no value is present for ExperimentalInReplyToMessageId, not even an explicit nil

func (*EmailContactChannel) UnsetExperimentalReferencesMessageId

func (o *EmailContactChannel) UnsetExperimentalReferencesMessageId()

UnsetExperimentalReferencesMessageId ensures that no value is present for ExperimentalReferencesMessageId, not even an explicit nil

func (*EmailContactChannel) UnsetExperimentalSubjectLine

func (o *EmailContactChannel) UnsetExperimentalSubjectLine()

UnsetExperimentalSubjectLine ensures that no value is present for ExperimentalSubjectLine, not even an explicit nil

func (*EmailContactChannel) UnsetTemplate

func (o *EmailContactChannel) UnsetTemplate()

UnsetTemplate ensures that no value is present for Template, not even an explicit nil

type EmailRecipient

type EmailRecipient struct {
	Address          string         `json:"address"`
	ContextAboutUser NullableString `json:"context_about_user,omitempty"`
	Field            NullableField  `json:"field,omitempty"`
}

EmailRecipient struct for EmailRecipient

func NewEmailRecipient

func NewEmailRecipient(address string) *EmailRecipient

NewEmailRecipient instantiates a new EmailRecipient 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 NewEmailRecipientWithDefaults

func NewEmailRecipientWithDefaults() *EmailRecipient

NewEmailRecipientWithDefaults instantiates a new EmailRecipient 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 (*EmailRecipient) GetAddress

func (o *EmailRecipient) GetAddress() string

GetAddress returns the Address field value

func (*EmailRecipient) GetAddressOk

func (o *EmailRecipient) GetAddressOk() (*string, bool)

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

func (*EmailRecipient) GetContextAboutUser

func (o *EmailRecipient) GetContextAboutUser() string

GetContextAboutUser returns the ContextAboutUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailRecipient) GetContextAboutUserOk

func (o *EmailRecipient) GetContextAboutUserOk() (*string, bool)

GetContextAboutUserOk returns a tuple with the ContextAboutUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailRecipient) GetField

func (o *EmailRecipient) GetField() Field

GetField returns the Field field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EmailRecipient) GetFieldOk

func (o *EmailRecipient) GetFieldOk() (*Field, bool)

GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmailRecipient) HasContextAboutUser

func (o *EmailRecipient) HasContextAboutUser() bool

HasContextAboutUser returns a boolean if a field has been set.

func (*EmailRecipient) HasField

func (o *EmailRecipient) HasField() bool

HasField returns a boolean if a field has been set.

func (EmailRecipient) MarshalJSON

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

func (*EmailRecipient) SetAddress

func (o *EmailRecipient) SetAddress(v string)

SetAddress sets field value

func (*EmailRecipient) SetContextAboutUser

func (o *EmailRecipient) SetContextAboutUser(v string)

SetContextAboutUser gets a reference to the given NullableString and assigns it to the ContextAboutUser field.

func (*EmailRecipient) SetContextAboutUserNil

func (o *EmailRecipient) SetContextAboutUserNil()

SetContextAboutUserNil sets the value for ContextAboutUser to be an explicit nil

func (*EmailRecipient) SetField

func (o *EmailRecipient) SetField(v Field)

SetField gets a reference to the given NullableField and assigns it to the Field field.

func (*EmailRecipient) SetFieldNil

func (o *EmailRecipient) SetFieldNil()

SetFieldNil sets the value for Field to be an explicit nil

func (EmailRecipient) ToMap

func (o EmailRecipient) ToMap() (map[string]interface{}, error)

func (*EmailRecipient) UnmarshalJSON

func (o *EmailRecipient) UnmarshalJSON(data []byte) (err error)

func (*EmailRecipient) UnsetContextAboutUser

func (o *EmailRecipient) UnsetContextAboutUser()

UnsetContextAboutUser ensures that no value is present for ContextAboutUser, not even an explicit nil

func (*EmailRecipient) UnsetField

func (o *EmailRecipient) UnsetField()

UnsetField ensures that no value is present for Field, not even an explicit nil

type Escalation

type Escalation struct {
	EscalationMsg        string           `json:"escalation_msg"`
	AdditionalRecipients []EmailRecipient `json:"additional_recipients,omitempty"`
}

Escalation struct for Escalation

func NewEscalation

func NewEscalation(escalationMsg string) *Escalation

NewEscalation instantiates a new Escalation 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 NewEscalationWithDefaults

func NewEscalationWithDefaults() *Escalation

NewEscalationWithDefaults instantiates a new Escalation 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 (*Escalation) GetAdditionalRecipients

func (o *Escalation) GetAdditionalRecipients() []EmailRecipient

GetAdditionalRecipients returns the AdditionalRecipients field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Escalation) GetAdditionalRecipientsOk

func (o *Escalation) GetAdditionalRecipientsOk() ([]EmailRecipient, bool)

GetAdditionalRecipientsOk returns a tuple with the AdditionalRecipients field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Escalation) GetEscalationMsg

func (o *Escalation) GetEscalationMsg() string

GetEscalationMsg returns the EscalationMsg field value

func (*Escalation) GetEscalationMsgOk

func (o *Escalation) GetEscalationMsgOk() (*string, bool)

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

func (*Escalation) HasAdditionalRecipients

func (o *Escalation) HasAdditionalRecipients() bool

HasAdditionalRecipients returns a boolean if a field has been set.

func (Escalation) MarshalJSON

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

func (*Escalation) SetAdditionalRecipients

func (o *Escalation) SetAdditionalRecipients(v []EmailRecipient)

SetAdditionalRecipients gets a reference to the given []EmailRecipient and assigns it to the AdditionalRecipients field.

func (*Escalation) SetEscalationMsg

func (o *Escalation) SetEscalationMsg(v string)

SetEscalationMsg sets field value

func (Escalation) ToMap

func (o Escalation) ToMap() (map[string]interface{}, error)

func (*Escalation) UnmarshalJSON

func (o *Escalation) UnmarshalJSON(data []byte) (err error)

type Field

type Field struct {
	String *string
}

Field struct for Field

func (Field) MarshalJSON

func (src Field) MarshalJSON() ([]byte, error)

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

func (*Field) UnmarshalJSON

func (dst *Field) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type FunctionCallInput

type FunctionCallInput struct {
	RunId  string                     `json:"run_id"`
	CallId string                     `json:"call_id"`
	Spec   FunctionCallSpecInput      `json:"spec"`
	Status NullableFunctionCallStatus `json:"status,omitempty"`
}

FunctionCallInput struct for FunctionCallInput

func NewFunctionCallInput

func NewFunctionCallInput(runId string, callId string, spec FunctionCallSpecInput) *FunctionCallInput

NewFunctionCallInput instantiates a new FunctionCallInput 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 NewFunctionCallInputWithDefaults

func NewFunctionCallInputWithDefaults() *FunctionCallInput

NewFunctionCallInputWithDefaults instantiates a new FunctionCallInput 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 (*FunctionCallInput) GetCallId

func (o *FunctionCallInput) GetCallId() string

GetCallId returns the CallId field value

func (*FunctionCallInput) GetCallIdOk

func (o *FunctionCallInput) GetCallIdOk() (*string, bool)

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

func (*FunctionCallInput) GetRunId

func (o *FunctionCallInput) GetRunId() string

GetRunId returns the RunId field value

func (*FunctionCallInput) GetRunIdOk

func (o *FunctionCallInput) GetRunIdOk() (*string, bool)

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

func (*FunctionCallInput) GetSpec

GetSpec returns the Spec field value

func (*FunctionCallInput) GetSpecOk

func (o *FunctionCallInput) GetSpecOk() (*FunctionCallSpecInput, bool)

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

func (*FunctionCallInput) GetStatus

func (o *FunctionCallInput) GetStatus() FunctionCallStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallInput) GetStatusOk

func (o *FunctionCallInput) GetStatusOk() (*FunctionCallStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallInput) HasStatus

func (o *FunctionCallInput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FunctionCallInput) MarshalJSON

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

func (*FunctionCallInput) SetCallId

func (o *FunctionCallInput) SetCallId(v string)

SetCallId sets field value

func (*FunctionCallInput) SetRunId

func (o *FunctionCallInput) SetRunId(v string)

SetRunId sets field value

func (*FunctionCallInput) SetSpec

SetSpec sets field value

func (*FunctionCallInput) SetStatus

func (o *FunctionCallInput) SetStatus(v FunctionCallStatus)

SetStatus gets a reference to the given NullableFunctionCallStatus and assigns it to the Status field.

func (*FunctionCallInput) SetStatusNil

func (o *FunctionCallInput) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (FunctionCallInput) ToMap

func (o FunctionCallInput) ToMap() (map[string]interface{}, error)

func (*FunctionCallInput) UnmarshalJSON

func (o *FunctionCallInput) UnmarshalJSON(data []byte) (err error)

func (*FunctionCallInput) UnsetStatus

func (o *FunctionCallInput) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type FunctionCallOutput

type FunctionCallOutput struct {
	RunId  string                     `json:"run_id"`
	CallId string                     `json:"call_id"`
	Spec   FunctionCallSpecOutput     `json:"spec"`
	Status NullableFunctionCallStatus `json:"status,omitempty"`
}

FunctionCallOutput struct for FunctionCallOutput

func NewFunctionCallOutput

func NewFunctionCallOutput(runId string, callId string, spec FunctionCallSpecOutput) *FunctionCallOutput

NewFunctionCallOutput instantiates a new FunctionCallOutput 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 NewFunctionCallOutputWithDefaults

func NewFunctionCallOutputWithDefaults() *FunctionCallOutput

NewFunctionCallOutputWithDefaults instantiates a new FunctionCallOutput 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 (*FunctionCallOutput) GetCallId

func (o *FunctionCallOutput) GetCallId() string

GetCallId returns the CallId field value

func (*FunctionCallOutput) GetCallIdOk

func (o *FunctionCallOutput) GetCallIdOk() (*string, bool)

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

func (*FunctionCallOutput) GetRunId

func (o *FunctionCallOutput) GetRunId() string

GetRunId returns the RunId field value

func (*FunctionCallOutput) GetRunIdOk

func (o *FunctionCallOutput) GetRunIdOk() (*string, bool)

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

func (*FunctionCallOutput) GetSpec

GetSpec returns the Spec field value

func (*FunctionCallOutput) GetSpecOk

func (o *FunctionCallOutput) GetSpecOk() (*FunctionCallSpecOutput, bool)

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

func (*FunctionCallOutput) GetStatus

func (o *FunctionCallOutput) GetStatus() FunctionCallStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallOutput) GetStatusOk

func (o *FunctionCallOutput) GetStatusOk() (*FunctionCallStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallOutput) HasStatus

func (o *FunctionCallOutput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FunctionCallOutput) MarshalJSON

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

func (*FunctionCallOutput) SetCallId

func (o *FunctionCallOutput) SetCallId(v string)

SetCallId sets field value

func (*FunctionCallOutput) SetRunId

func (o *FunctionCallOutput) SetRunId(v string)

SetRunId sets field value

func (*FunctionCallOutput) SetSpec

SetSpec sets field value

func (*FunctionCallOutput) SetStatus

func (o *FunctionCallOutput) SetStatus(v FunctionCallStatus)

SetStatus gets a reference to the given NullableFunctionCallStatus and assigns it to the Status field.

func (*FunctionCallOutput) SetStatusNil

func (o *FunctionCallOutput) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (FunctionCallOutput) ToMap

func (o FunctionCallOutput) ToMap() (map[string]interface{}, error)

func (*FunctionCallOutput) UnmarshalJSON

func (o *FunctionCallOutput) UnmarshalJSON(data []byte) (err error)

func (*FunctionCallOutput) UnsetStatus

func (o *FunctionCallOutput) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type FunctionCallSpecInput

type FunctionCallSpecInput struct {
	Fn            string                      `json:"fn"`
	Kwargs        map[string]interface{}      `json:"kwargs"`
	Channel       NullableContactChannelInput `json:"channel,omitempty"`
	RejectOptions []ResponseOption            `json:"reject_options,omitempty"`
	State         map[string]interface{}      `json:"state,omitempty"`
}

FunctionCallSpecInput struct for FunctionCallSpecInput

func NewFunctionCallSpecInput

func NewFunctionCallSpecInput(fn string, kwargs map[string]interface{}) *FunctionCallSpecInput

NewFunctionCallSpecInput instantiates a new FunctionCallSpecInput 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 NewFunctionCallSpecInputWithDefaults

func NewFunctionCallSpecInputWithDefaults() *FunctionCallSpecInput

NewFunctionCallSpecInputWithDefaults instantiates a new FunctionCallSpecInput 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 (*FunctionCallSpecInput) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecInput) GetChannelOk

func (o *FunctionCallSpecInput) GetChannelOk() (*ContactChannelInput, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecInput) GetFn

func (o *FunctionCallSpecInput) GetFn() string

GetFn returns the Fn field value

func (*FunctionCallSpecInput) GetFnOk

func (o *FunctionCallSpecInput) GetFnOk() (*string, bool)

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

func (*FunctionCallSpecInput) GetKwargs

func (o *FunctionCallSpecInput) GetKwargs() map[string]interface{}

GetKwargs returns the Kwargs field value

func (*FunctionCallSpecInput) GetKwargsOk

func (o *FunctionCallSpecInput) GetKwargsOk() (map[string]interface{}, bool)

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

func (*FunctionCallSpecInput) GetRejectOptions

func (o *FunctionCallSpecInput) GetRejectOptions() []ResponseOption

GetRejectOptions returns the RejectOptions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecInput) GetRejectOptionsOk

func (o *FunctionCallSpecInput) GetRejectOptionsOk() ([]ResponseOption, bool)

GetRejectOptionsOk returns a tuple with the RejectOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecInput) GetState

func (o *FunctionCallSpecInput) GetState() map[string]interface{}

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecInput) GetStateOk

func (o *FunctionCallSpecInput) GetStateOk() (map[string]interface{}, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecInput) HasChannel

func (o *FunctionCallSpecInput) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*FunctionCallSpecInput) HasRejectOptions

func (o *FunctionCallSpecInput) HasRejectOptions() bool

HasRejectOptions returns a boolean if a field has been set.

func (*FunctionCallSpecInput) HasState

func (o *FunctionCallSpecInput) HasState() bool

HasState returns a boolean if a field has been set.

func (FunctionCallSpecInput) MarshalJSON

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

func (*FunctionCallSpecInput) SetChannel

func (o *FunctionCallSpecInput) SetChannel(v ContactChannelInput)

SetChannel gets a reference to the given NullableContactChannelInput and assigns it to the Channel field.

func (*FunctionCallSpecInput) SetChannelNil

func (o *FunctionCallSpecInput) SetChannelNil()

SetChannelNil sets the value for Channel to be an explicit nil

func (*FunctionCallSpecInput) SetFn

func (o *FunctionCallSpecInput) SetFn(v string)

SetFn sets field value

func (*FunctionCallSpecInput) SetKwargs

func (o *FunctionCallSpecInput) SetKwargs(v map[string]interface{})

SetKwargs sets field value

func (*FunctionCallSpecInput) SetRejectOptions

func (o *FunctionCallSpecInput) SetRejectOptions(v []ResponseOption)

SetRejectOptions gets a reference to the given []ResponseOption and assigns it to the RejectOptions field.

func (*FunctionCallSpecInput) SetState

func (o *FunctionCallSpecInput) SetState(v map[string]interface{})

SetState gets a reference to the given map[string]interface{} and assigns it to the State field.

func (FunctionCallSpecInput) ToMap

func (o FunctionCallSpecInput) ToMap() (map[string]interface{}, error)

func (*FunctionCallSpecInput) UnmarshalJSON

func (o *FunctionCallSpecInput) UnmarshalJSON(data []byte) (err error)

func (*FunctionCallSpecInput) UnsetChannel

func (o *FunctionCallSpecInput) UnsetChannel()

UnsetChannel ensures that no value is present for Channel, not even an explicit nil

type FunctionCallSpecOutput

type FunctionCallSpecOutput struct {
	Fn            string                       `json:"fn"`
	Kwargs        map[string]interface{}       `json:"kwargs"`
	Channel       NullableContactChannelOutput `json:"channel,omitempty"`
	RejectOptions []ResponseOption             `json:"reject_options,omitempty"`
	State         map[string]interface{}       `json:"state,omitempty"`
}

FunctionCallSpecOutput struct for FunctionCallSpecOutput

func NewFunctionCallSpecOutput

func NewFunctionCallSpecOutput(fn string, kwargs map[string]interface{}) *FunctionCallSpecOutput

NewFunctionCallSpecOutput instantiates a new FunctionCallSpecOutput 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 NewFunctionCallSpecOutputWithDefaults

func NewFunctionCallSpecOutputWithDefaults() *FunctionCallSpecOutput

NewFunctionCallSpecOutputWithDefaults instantiates a new FunctionCallSpecOutput 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 (*FunctionCallSpecOutput) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecOutput) GetChannelOk

func (o *FunctionCallSpecOutput) GetChannelOk() (*ContactChannelOutput, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecOutput) GetFn

func (o *FunctionCallSpecOutput) GetFn() string

GetFn returns the Fn field value

func (*FunctionCallSpecOutput) GetFnOk

func (o *FunctionCallSpecOutput) GetFnOk() (*string, bool)

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

func (*FunctionCallSpecOutput) GetKwargs

func (o *FunctionCallSpecOutput) GetKwargs() map[string]interface{}

GetKwargs returns the Kwargs field value

func (*FunctionCallSpecOutput) GetKwargsOk

func (o *FunctionCallSpecOutput) GetKwargsOk() (map[string]interface{}, bool)

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

func (*FunctionCallSpecOutput) GetRejectOptions

func (o *FunctionCallSpecOutput) GetRejectOptions() []ResponseOption

GetRejectOptions returns the RejectOptions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecOutput) GetRejectOptionsOk

func (o *FunctionCallSpecOutput) GetRejectOptionsOk() ([]ResponseOption, bool)

GetRejectOptionsOk returns a tuple with the RejectOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecOutput) GetState

func (o *FunctionCallSpecOutput) GetState() map[string]interface{}

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallSpecOutput) GetStateOk

func (o *FunctionCallSpecOutput) GetStateOk() (map[string]interface{}, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallSpecOutput) HasChannel

func (o *FunctionCallSpecOutput) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*FunctionCallSpecOutput) HasRejectOptions

func (o *FunctionCallSpecOutput) HasRejectOptions() bool

HasRejectOptions returns a boolean if a field has been set.

func (*FunctionCallSpecOutput) HasState

func (o *FunctionCallSpecOutput) HasState() bool

HasState returns a boolean if a field has been set.

func (FunctionCallSpecOutput) MarshalJSON

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

func (*FunctionCallSpecOutput) SetChannel

SetChannel gets a reference to the given NullableContactChannelOutput and assigns it to the Channel field.

func (*FunctionCallSpecOutput) SetChannelNil

func (o *FunctionCallSpecOutput) SetChannelNil()

SetChannelNil sets the value for Channel to be an explicit nil

func (*FunctionCallSpecOutput) SetFn

func (o *FunctionCallSpecOutput) SetFn(v string)

SetFn sets field value

func (*FunctionCallSpecOutput) SetKwargs

func (o *FunctionCallSpecOutput) SetKwargs(v map[string]interface{})

SetKwargs sets field value

func (*FunctionCallSpecOutput) SetRejectOptions

func (o *FunctionCallSpecOutput) SetRejectOptions(v []ResponseOption)

SetRejectOptions gets a reference to the given []ResponseOption and assigns it to the RejectOptions field.

func (*FunctionCallSpecOutput) SetState

func (o *FunctionCallSpecOutput) SetState(v map[string]interface{})

SetState gets a reference to the given map[string]interface{} and assigns it to the State field.

func (FunctionCallSpecOutput) ToMap

func (o FunctionCallSpecOutput) ToMap() (map[string]interface{}, error)

func (*FunctionCallSpecOutput) UnmarshalJSON

func (o *FunctionCallSpecOutput) UnmarshalJSON(data []byte) (err error)

func (*FunctionCallSpecOutput) UnsetChannel

func (o *FunctionCallSpecOutput) UnsetChannel()

UnsetChannel ensures that no value is present for Channel, not even an explicit nil

type FunctionCallStatus

type FunctionCallStatus struct {
	RequestedAt      NullableTime           `json:"requested_at,omitempty"`
	RespondedAt      NullableTime           `json:"responded_at,omitempty"`
	Approved         NullableBool           `json:"approved,omitempty"`
	Comment          NullableString         `json:"comment,omitempty"`
	UserInfo         map[string]interface{} `json:"user_info,omitempty"`
	SlackContext     map[string]interface{} `json:"slack_context,omitempty"`
	RejectOptionName NullableString         `json:"reject_option_name,omitempty"`
	SlackMessageTs   NullableString         `json:"slack_message_ts,omitempty"`
}

FunctionCallStatus struct for FunctionCallStatus

func NewFunctionCallStatus

func NewFunctionCallStatus() *FunctionCallStatus

NewFunctionCallStatus instantiates a new FunctionCallStatus 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 NewFunctionCallStatusWithDefaults

func NewFunctionCallStatusWithDefaults() *FunctionCallStatus

NewFunctionCallStatusWithDefaults instantiates a new FunctionCallStatus 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 (*FunctionCallStatus) GetApproved

func (o *FunctionCallStatus) GetApproved() bool

GetApproved returns the Approved field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetApprovedOk

func (o *FunctionCallStatus) GetApprovedOk() (*bool, bool)

GetApprovedOk returns a tuple with the Approved field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetComment

func (o *FunctionCallStatus) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetCommentOk

func (o *FunctionCallStatus) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetRejectOptionName

func (o *FunctionCallStatus) GetRejectOptionName() string

GetRejectOptionName returns the RejectOptionName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetRejectOptionNameOk

func (o *FunctionCallStatus) GetRejectOptionNameOk() (*string, bool)

GetRejectOptionNameOk returns a tuple with the RejectOptionName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetRequestedAt

func (o *FunctionCallStatus) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetRequestedAtOk

func (o *FunctionCallStatus) GetRequestedAtOk() (*time.Time, bool)

GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetRespondedAt

func (o *FunctionCallStatus) GetRespondedAt() time.Time

GetRespondedAt returns the RespondedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetRespondedAtOk

func (o *FunctionCallStatus) GetRespondedAtOk() (*time.Time, bool)

GetRespondedAtOk returns a tuple with the RespondedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetSlackContext

func (o *FunctionCallStatus) GetSlackContext() map[string]interface{}

GetSlackContext returns the SlackContext field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetSlackContextOk

func (o *FunctionCallStatus) GetSlackContextOk() (map[string]interface{}, bool)

GetSlackContextOk returns a tuple with the SlackContext field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetSlackMessageTs

func (o *FunctionCallStatus) GetSlackMessageTs() string

GetSlackMessageTs returns the SlackMessageTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetSlackMessageTsOk

func (o *FunctionCallStatus) GetSlackMessageTsOk() (*string, bool)

GetSlackMessageTsOk returns a tuple with the SlackMessageTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) GetUserInfo

func (o *FunctionCallStatus) GetUserInfo() map[string]interface{}

GetUserInfo returns the UserInfo field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FunctionCallStatus) GetUserInfoOk

func (o *FunctionCallStatus) GetUserInfoOk() (map[string]interface{}, bool)

GetUserInfoOk returns a tuple with the UserInfo field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FunctionCallStatus) HasApproved

func (o *FunctionCallStatus) HasApproved() bool

HasApproved returns a boolean if a field has been set.

func (*FunctionCallStatus) HasComment

func (o *FunctionCallStatus) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*FunctionCallStatus) HasRejectOptionName

func (o *FunctionCallStatus) HasRejectOptionName() bool

HasRejectOptionName returns a boolean if a field has been set.

func (*FunctionCallStatus) HasRequestedAt

func (o *FunctionCallStatus) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (*FunctionCallStatus) HasRespondedAt

func (o *FunctionCallStatus) HasRespondedAt() bool

HasRespondedAt returns a boolean if a field has been set.

func (*FunctionCallStatus) HasSlackContext

func (o *FunctionCallStatus) HasSlackContext() bool

HasSlackContext returns a boolean if a field has been set.

func (*FunctionCallStatus) HasSlackMessageTs

func (o *FunctionCallStatus) HasSlackMessageTs() bool

HasSlackMessageTs returns a boolean if a field has been set.

func (*FunctionCallStatus) HasUserInfo

func (o *FunctionCallStatus) HasUserInfo() bool

HasUserInfo returns a boolean if a field has been set.

func (FunctionCallStatus) MarshalJSON

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

func (*FunctionCallStatus) SetApproved

func (o *FunctionCallStatus) SetApproved(v bool)

SetApproved gets a reference to the given NullableBool and assigns it to the Approved field.

func (*FunctionCallStatus) SetApprovedNil

func (o *FunctionCallStatus) SetApprovedNil()

SetApprovedNil sets the value for Approved to be an explicit nil

func (*FunctionCallStatus) SetComment

func (o *FunctionCallStatus) SetComment(v string)

SetComment gets a reference to the given NullableString and assigns it to the Comment field.

func (*FunctionCallStatus) SetCommentNil

func (o *FunctionCallStatus) SetCommentNil()

SetCommentNil sets the value for Comment to be an explicit nil

func (*FunctionCallStatus) SetRejectOptionName

func (o *FunctionCallStatus) SetRejectOptionName(v string)

SetRejectOptionName gets a reference to the given NullableString and assigns it to the RejectOptionName field.

func (*FunctionCallStatus) SetRejectOptionNameNil

func (o *FunctionCallStatus) SetRejectOptionNameNil()

SetRejectOptionNameNil sets the value for RejectOptionName to be an explicit nil

func (*FunctionCallStatus) SetRequestedAt

func (o *FunctionCallStatus) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given NullableTime and assigns it to the RequestedAt field.

func (*FunctionCallStatus) SetRequestedAtNil

func (o *FunctionCallStatus) SetRequestedAtNil()

SetRequestedAtNil sets the value for RequestedAt to be an explicit nil

func (*FunctionCallStatus) SetRespondedAt

func (o *FunctionCallStatus) SetRespondedAt(v time.Time)

SetRespondedAt gets a reference to the given NullableTime and assigns it to the RespondedAt field.

func (*FunctionCallStatus) SetRespondedAtNil

func (o *FunctionCallStatus) SetRespondedAtNil()

SetRespondedAtNil sets the value for RespondedAt to be an explicit nil

func (*FunctionCallStatus) SetSlackContext

func (o *FunctionCallStatus) SetSlackContext(v map[string]interface{})

SetSlackContext gets a reference to the given map[string]interface{} and assigns it to the SlackContext field.

func (*FunctionCallStatus) SetSlackMessageTs

func (o *FunctionCallStatus) SetSlackMessageTs(v string)

SetSlackMessageTs gets a reference to the given NullableString and assigns it to the SlackMessageTs field.

func (*FunctionCallStatus) SetSlackMessageTsNil

func (o *FunctionCallStatus) SetSlackMessageTsNil()

SetSlackMessageTsNil sets the value for SlackMessageTs to be an explicit nil

func (*FunctionCallStatus) SetUserInfo

func (o *FunctionCallStatus) SetUserInfo(v map[string]interface{})

SetUserInfo gets a reference to the given map[string]interface{} and assigns it to the UserInfo field.

func (FunctionCallStatus) ToMap

func (o FunctionCallStatus) ToMap() (map[string]interface{}, error)

func (*FunctionCallStatus) UnsetApproved

func (o *FunctionCallStatus) UnsetApproved()

UnsetApproved ensures that no value is present for Approved, not even an explicit nil

func (*FunctionCallStatus) UnsetComment

func (o *FunctionCallStatus) UnsetComment()

UnsetComment ensures that no value is present for Comment, not even an explicit nil

func (*FunctionCallStatus) UnsetRejectOptionName

func (o *FunctionCallStatus) UnsetRejectOptionName()

UnsetRejectOptionName ensures that no value is present for RejectOptionName, not even an explicit nil

func (*FunctionCallStatus) UnsetRequestedAt

func (o *FunctionCallStatus) UnsetRequestedAt()

UnsetRequestedAt ensures that no value is present for RequestedAt, not even an explicit nil

func (*FunctionCallStatus) UnsetRespondedAt

func (o *FunctionCallStatus) UnsetRespondedAt()

UnsetRespondedAt ensures that no value is present for RespondedAt, not even an explicit nil

func (*FunctionCallStatus) UnsetSlackMessageTs

func (o *FunctionCallStatus) UnsetSlackMessageTs()

UnsetSlackMessageTs ensures that no value is present for SlackMessageTs, not even an explicit nil

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 HTTPValidationError

type HTTPValidationError struct {
	Detail []ValidationError `json:"detail,omitempty"`
}

HTTPValidationError struct for HTTPValidationError

func NewHTTPValidationError

func NewHTTPValidationError() *HTTPValidationError

NewHTTPValidationError instantiates a new HTTPValidationError 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 NewHTTPValidationErrorWithDefaults

func NewHTTPValidationErrorWithDefaults() *HTTPValidationError

NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError 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 (*HTTPValidationError) GetDetail

func (o *HTTPValidationError) GetDetail() []ValidationError

GetDetail returns the Detail field value if set, zero value otherwise.

func (*HTTPValidationError) GetDetailOk

func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)

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

func (*HTTPValidationError) HasDetail

func (o *HTTPValidationError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (HTTPValidationError) MarshalJSON

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

func (*HTTPValidationError) SetDetail

func (o *HTTPValidationError) SetDetail(v []ValidationError)

SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.

func (HTTPValidationError) ToMap

func (o HTTPValidationError) ToMap() (map[string]interface{}, error)

type HumanContactInput

type HumanContactInput struct {
	RunId  string                     `json:"run_id"`
	CallId string                     `json:"call_id"`
	Spec   HumanContactSpecInput      `json:"spec"`
	Status NullableHumanContactStatus `json:"status,omitempty"`
}

HumanContactInput struct for HumanContactInput

func NewHumanContactInput

func NewHumanContactInput(runId string, callId string, spec HumanContactSpecInput) *HumanContactInput

NewHumanContactInput instantiates a new HumanContactInput 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 NewHumanContactInputWithDefaults

func NewHumanContactInputWithDefaults() *HumanContactInput

NewHumanContactInputWithDefaults instantiates a new HumanContactInput 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 (*HumanContactInput) GetCallId

func (o *HumanContactInput) GetCallId() string

GetCallId returns the CallId field value

func (*HumanContactInput) GetCallIdOk

func (o *HumanContactInput) GetCallIdOk() (*string, bool)

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

func (*HumanContactInput) GetRunId

func (o *HumanContactInput) GetRunId() string

GetRunId returns the RunId field value

func (*HumanContactInput) GetRunIdOk

func (o *HumanContactInput) GetRunIdOk() (*string, bool)

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

func (*HumanContactInput) GetSpec

GetSpec returns the Spec field value

func (*HumanContactInput) GetSpecOk

func (o *HumanContactInput) GetSpecOk() (*HumanContactSpecInput, bool)

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

func (*HumanContactInput) GetStatus

func (o *HumanContactInput) GetStatus() HumanContactStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactInput) GetStatusOk

func (o *HumanContactInput) GetStatusOk() (*HumanContactStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactInput) HasStatus

func (o *HumanContactInput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HumanContactInput) MarshalJSON

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

func (*HumanContactInput) SetCallId

func (o *HumanContactInput) SetCallId(v string)

SetCallId sets field value

func (*HumanContactInput) SetRunId

func (o *HumanContactInput) SetRunId(v string)

SetRunId sets field value

func (*HumanContactInput) SetSpec

SetSpec sets field value

func (*HumanContactInput) SetStatus

func (o *HumanContactInput) SetStatus(v HumanContactStatus)

SetStatus gets a reference to the given NullableHumanContactStatus and assigns it to the Status field.

func (*HumanContactInput) SetStatusNil

func (o *HumanContactInput) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (HumanContactInput) ToMap

func (o HumanContactInput) ToMap() (map[string]interface{}, error)

func (*HumanContactInput) UnmarshalJSON

func (o *HumanContactInput) UnmarshalJSON(data []byte) (err error)

func (*HumanContactInput) UnsetStatus

func (o *HumanContactInput) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type HumanContactOutput

type HumanContactOutput struct {
	RunId  string                     `json:"run_id"`
	CallId string                     `json:"call_id"`
	Spec   HumanContactSpecOutput     `json:"spec"`
	Status NullableHumanContactStatus `json:"status,omitempty"`
}

HumanContactOutput struct for HumanContactOutput

func NewHumanContactOutput

func NewHumanContactOutput(runId string, callId string, spec HumanContactSpecOutput) *HumanContactOutput

NewHumanContactOutput instantiates a new HumanContactOutput 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 NewHumanContactOutputWithDefaults

func NewHumanContactOutputWithDefaults() *HumanContactOutput

NewHumanContactOutputWithDefaults instantiates a new HumanContactOutput 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 (*HumanContactOutput) GetCallId

func (o *HumanContactOutput) GetCallId() string

GetCallId returns the CallId field value

func (*HumanContactOutput) GetCallIdOk

func (o *HumanContactOutput) GetCallIdOk() (*string, bool)

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

func (*HumanContactOutput) GetRunId

func (o *HumanContactOutput) GetRunId() string

GetRunId returns the RunId field value

func (*HumanContactOutput) GetRunIdOk

func (o *HumanContactOutput) GetRunIdOk() (*string, bool)

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

func (*HumanContactOutput) GetSpec

GetSpec returns the Spec field value

func (*HumanContactOutput) GetSpecOk

func (o *HumanContactOutput) GetSpecOk() (*HumanContactSpecOutput, bool)

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

func (*HumanContactOutput) GetStatus

func (o *HumanContactOutput) GetStatus() HumanContactStatus

GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactOutput) GetStatusOk

func (o *HumanContactOutput) GetStatusOk() (*HumanContactStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactOutput) HasStatus

func (o *HumanContactOutput) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HumanContactOutput) MarshalJSON

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

func (*HumanContactOutput) SetCallId

func (o *HumanContactOutput) SetCallId(v string)

SetCallId sets field value

func (*HumanContactOutput) SetRunId

func (o *HumanContactOutput) SetRunId(v string)

SetRunId sets field value

func (*HumanContactOutput) SetSpec

SetSpec sets field value

func (*HumanContactOutput) SetStatus

func (o *HumanContactOutput) SetStatus(v HumanContactStatus)

SetStatus gets a reference to the given NullableHumanContactStatus and assigns it to the Status field.

func (*HumanContactOutput) SetStatusNil

func (o *HumanContactOutput) SetStatusNil()

SetStatusNil sets the value for Status to be an explicit nil

func (HumanContactOutput) ToMap

func (o HumanContactOutput) ToMap() (map[string]interface{}, error)

func (*HumanContactOutput) UnmarshalJSON

func (o *HumanContactOutput) UnmarshalJSON(data []byte) (err error)

func (*HumanContactOutput) UnsetStatus

func (o *HumanContactOutput) UnsetStatus()

UnsetStatus ensures that no value is present for Status, not even an explicit nil

type HumanContactSpecInput

type HumanContactSpecInput struct {
	Msg             string                      `json:"msg"`
	Subject         NullableString              `json:"subject,omitempty"`
	Channel         NullableContactChannelInput `json:"channel,omitempty"`
	ResponseOptions []ResponseOption            `json:"response_options,omitempty"`
	State           map[string]interface{}      `json:"state,omitempty"`
}

HumanContactSpecInput struct for HumanContactSpecInput

func NewHumanContactSpecInput

func NewHumanContactSpecInput(msg string) *HumanContactSpecInput

NewHumanContactSpecInput instantiates a new HumanContactSpecInput 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 NewHumanContactSpecInputWithDefaults

func NewHumanContactSpecInputWithDefaults() *HumanContactSpecInput

NewHumanContactSpecInputWithDefaults instantiates a new HumanContactSpecInput 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 (*HumanContactSpecInput) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecInput) GetChannelOk

func (o *HumanContactSpecInput) GetChannelOk() (*ContactChannelInput, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecInput) GetMsg

func (o *HumanContactSpecInput) GetMsg() string

GetMsg returns the Msg field value

func (*HumanContactSpecInput) GetMsgOk

func (o *HumanContactSpecInput) GetMsgOk() (*string, bool)

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

func (*HumanContactSpecInput) GetResponseOptions

func (o *HumanContactSpecInput) GetResponseOptions() []ResponseOption

GetResponseOptions returns the ResponseOptions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecInput) GetResponseOptionsOk

func (o *HumanContactSpecInput) GetResponseOptionsOk() ([]ResponseOption, bool)

GetResponseOptionsOk returns a tuple with the ResponseOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecInput) GetState

func (o *HumanContactSpecInput) GetState() map[string]interface{}

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecInput) GetStateOk

func (o *HumanContactSpecInput) GetStateOk() (map[string]interface{}, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecInput) GetSubject

func (o *HumanContactSpecInput) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecInput) GetSubjectOk

func (o *HumanContactSpecInput) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecInput) HasChannel

func (o *HumanContactSpecInput) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*HumanContactSpecInput) HasResponseOptions

func (o *HumanContactSpecInput) HasResponseOptions() bool

HasResponseOptions returns a boolean if a field has been set.

func (*HumanContactSpecInput) HasState

func (o *HumanContactSpecInput) HasState() bool

HasState returns a boolean if a field has been set.

func (*HumanContactSpecInput) HasSubject

func (o *HumanContactSpecInput) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (HumanContactSpecInput) MarshalJSON

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

func (*HumanContactSpecInput) SetChannel

func (o *HumanContactSpecInput) SetChannel(v ContactChannelInput)

SetChannel gets a reference to the given NullableContactChannelInput and assigns it to the Channel field.

func (*HumanContactSpecInput) SetChannelNil

func (o *HumanContactSpecInput) SetChannelNil()

SetChannelNil sets the value for Channel to be an explicit nil

func (*HumanContactSpecInput) SetMsg

func (o *HumanContactSpecInput) SetMsg(v string)

SetMsg sets field value

func (*HumanContactSpecInput) SetResponseOptions

func (o *HumanContactSpecInput) SetResponseOptions(v []ResponseOption)

SetResponseOptions gets a reference to the given []ResponseOption and assigns it to the ResponseOptions field.

func (*HumanContactSpecInput) SetState

func (o *HumanContactSpecInput) SetState(v map[string]interface{})

SetState gets a reference to the given map[string]interface{} and assigns it to the State field.

func (*HumanContactSpecInput) SetSubject

func (o *HumanContactSpecInput) SetSubject(v string)

SetSubject gets a reference to the given NullableString and assigns it to the Subject field.

func (*HumanContactSpecInput) SetSubjectNil

func (o *HumanContactSpecInput) SetSubjectNil()

SetSubjectNil sets the value for Subject to be an explicit nil

func (HumanContactSpecInput) ToMap

func (o HumanContactSpecInput) ToMap() (map[string]interface{}, error)

func (*HumanContactSpecInput) UnmarshalJSON

func (o *HumanContactSpecInput) UnmarshalJSON(data []byte) (err error)

func (*HumanContactSpecInput) UnsetChannel

func (o *HumanContactSpecInput) UnsetChannel()

UnsetChannel ensures that no value is present for Channel, not even an explicit nil

func (*HumanContactSpecInput) UnsetSubject

func (o *HumanContactSpecInput) UnsetSubject()

UnsetSubject ensures that no value is present for Subject, not even an explicit nil

type HumanContactSpecOutput

type HumanContactSpecOutput struct {
	Msg             string                       `json:"msg"`
	Subject         NullableString               `json:"subject,omitempty"`
	Channel         NullableContactChannelOutput `json:"channel,omitempty"`
	ResponseOptions []ResponseOption             `json:"response_options,omitempty"`
	State           map[string]interface{}       `json:"state,omitempty"`
}

HumanContactSpecOutput struct for HumanContactSpecOutput

func NewHumanContactSpecOutput

func NewHumanContactSpecOutput(msg string) *HumanContactSpecOutput

NewHumanContactSpecOutput instantiates a new HumanContactSpecOutput 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 NewHumanContactSpecOutputWithDefaults

func NewHumanContactSpecOutputWithDefaults() *HumanContactSpecOutput

NewHumanContactSpecOutputWithDefaults instantiates a new HumanContactSpecOutput 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 (*HumanContactSpecOutput) GetChannel

GetChannel returns the Channel field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecOutput) GetChannelOk

func (o *HumanContactSpecOutput) GetChannelOk() (*ContactChannelOutput, bool)

GetChannelOk returns a tuple with the Channel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecOutput) GetMsg

func (o *HumanContactSpecOutput) GetMsg() string

GetMsg returns the Msg field value

func (*HumanContactSpecOutput) GetMsgOk

func (o *HumanContactSpecOutput) GetMsgOk() (*string, bool)

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

func (*HumanContactSpecOutput) GetResponseOptions

func (o *HumanContactSpecOutput) GetResponseOptions() []ResponseOption

GetResponseOptions returns the ResponseOptions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecOutput) GetResponseOptionsOk

func (o *HumanContactSpecOutput) GetResponseOptionsOk() ([]ResponseOption, bool)

GetResponseOptionsOk returns a tuple with the ResponseOptions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecOutput) GetState

func (o *HumanContactSpecOutput) GetState() map[string]interface{}

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecOutput) GetStateOk

func (o *HumanContactSpecOutput) GetStateOk() (map[string]interface{}, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecOutput) GetSubject

func (o *HumanContactSpecOutput) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactSpecOutput) GetSubjectOk

func (o *HumanContactSpecOutput) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactSpecOutput) HasChannel

func (o *HumanContactSpecOutput) HasChannel() bool

HasChannel returns a boolean if a field has been set.

func (*HumanContactSpecOutput) HasResponseOptions

func (o *HumanContactSpecOutput) HasResponseOptions() bool

HasResponseOptions returns a boolean if a field has been set.

func (*HumanContactSpecOutput) HasState

func (o *HumanContactSpecOutput) HasState() bool

HasState returns a boolean if a field has been set.

func (*HumanContactSpecOutput) HasSubject

func (o *HumanContactSpecOutput) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (HumanContactSpecOutput) MarshalJSON

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

func (*HumanContactSpecOutput) SetChannel

SetChannel gets a reference to the given NullableContactChannelOutput and assigns it to the Channel field.

func (*HumanContactSpecOutput) SetChannelNil

func (o *HumanContactSpecOutput) SetChannelNil()

SetChannelNil sets the value for Channel to be an explicit nil

func (*HumanContactSpecOutput) SetMsg

func (o *HumanContactSpecOutput) SetMsg(v string)

SetMsg sets field value

func (*HumanContactSpecOutput) SetResponseOptions

func (o *HumanContactSpecOutput) SetResponseOptions(v []ResponseOption)

SetResponseOptions gets a reference to the given []ResponseOption and assigns it to the ResponseOptions field.

func (*HumanContactSpecOutput) SetState

func (o *HumanContactSpecOutput) SetState(v map[string]interface{})

SetState gets a reference to the given map[string]interface{} and assigns it to the State field.

func (*HumanContactSpecOutput) SetSubject

func (o *HumanContactSpecOutput) SetSubject(v string)

SetSubject gets a reference to the given NullableString and assigns it to the Subject field.

func (*HumanContactSpecOutput) SetSubjectNil

func (o *HumanContactSpecOutput) SetSubjectNil()

SetSubjectNil sets the value for Subject to be an explicit nil

func (HumanContactSpecOutput) ToMap

func (o HumanContactSpecOutput) ToMap() (map[string]interface{}, error)

func (*HumanContactSpecOutput) UnmarshalJSON

func (o *HumanContactSpecOutput) UnmarshalJSON(data []byte) (err error)

func (*HumanContactSpecOutput) UnsetChannel

func (o *HumanContactSpecOutput) UnsetChannel()

UnsetChannel ensures that no value is present for Channel, not even an explicit nil

func (*HumanContactSpecOutput) UnsetSubject

func (o *HumanContactSpecOutput) UnsetSubject()

UnsetSubject ensures that no value is present for Subject, not even an explicit nil

type HumanContactStatus

type HumanContactStatus struct {
	RequestedAt        NullableTime   `json:"requested_at,omitempty"`
	RespondedAt        NullableTime   `json:"responded_at,omitempty"`
	Response           NullableString `json:"response,omitempty"`
	ResponseOptionName NullableString `json:"response_option_name,omitempty"`
	SlackMessageTs     NullableString `json:"slack_message_ts,omitempty"`
}

HumanContactStatus struct for HumanContactStatus

func NewHumanContactStatus

func NewHumanContactStatus() *HumanContactStatus

NewHumanContactStatus instantiates a new HumanContactStatus 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 NewHumanContactStatusWithDefaults

func NewHumanContactStatusWithDefaults() *HumanContactStatus

NewHumanContactStatusWithDefaults instantiates a new HumanContactStatus 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 (*HumanContactStatus) GetRequestedAt

func (o *HumanContactStatus) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactStatus) GetRequestedAtOk

func (o *HumanContactStatus) GetRequestedAtOk() (*time.Time, bool)

GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactStatus) GetRespondedAt

func (o *HumanContactStatus) GetRespondedAt() time.Time

GetRespondedAt returns the RespondedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactStatus) GetRespondedAtOk

func (o *HumanContactStatus) GetRespondedAtOk() (*time.Time, bool)

GetRespondedAtOk returns a tuple with the RespondedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactStatus) GetResponse

func (o *HumanContactStatus) GetResponse() string

GetResponse returns the Response field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactStatus) GetResponseOk

func (o *HumanContactStatus) GetResponseOk() (*string, bool)

GetResponseOk returns a tuple with the Response field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactStatus) GetResponseOptionName

func (o *HumanContactStatus) GetResponseOptionName() string

GetResponseOptionName returns the ResponseOptionName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactStatus) GetResponseOptionNameOk

func (o *HumanContactStatus) GetResponseOptionNameOk() (*string, bool)

GetResponseOptionNameOk returns a tuple with the ResponseOptionName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactStatus) GetSlackMessageTs

func (o *HumanContactStatus) GetSlackMessageTs() string

GetSlackMessageTs returns the SlackMessageTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*HumanContactStatus) GetSlackMessageTsOk

func (o *HumanContactStatus) GetSlackMessageTsOk() (*string, bool)

GetSlackMessageTsOk returns a tuple with the SlackMessageTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*HumanContactStatus) HasRequestedAt

func (o *HumanContactStatus) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (*HumanContactStatus) HasRespondedAt

func (o *HumanContactStatus) HasRespondedAt() bool

HasRespondedAt returns a boolean if a field has been set.

func (*HumanContactStatus) HasResponse

func (o *HumanContactStatus) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (*HumanContactStatus) HasResponseOptionName

func (o *HumanContactStatus) HasResponseOptionName() bool

HasResponseOptionName returns a boolean if a field has been set.

func (*HumanContactStatus) HasSlackMessageTs

func (o *HumanContactStatus) HasSlackMessageTs() bool

HasSlackMessageTs returns a boolean if a field has been set.

func (HumanContactStatus) MarshalJSON

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

func (*HumanContactStatus) SetRequestedAt

func (o *HumanContactStatus) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given NullableTime and assigns it to the RequestedAt field.

func (*HumanContactStatus) SetRequestedAtNil

func (o *HumanContactStatus) SetRequestedAtNil()

SetRequestedAtNil sets the value for RequestedAt to be an explicit nil

func (*HumanContactStatus) SetRespondedAt

func (o *HumanContactStatus) SetRespondedAt(v time.Time)

SetRespondedAt gets a reference to the given NullableTime and assigns it to the RespondedAt field.

func (*HumanContactStatus) SetRespondedAtNil

func (o *HumanContactStatus) SetRespondedAtNil()

SetRespondedAtNil sets the value for RespondedAt to be an explicit nil

func (*HumanContactStatus) SetResponse

func (o *HumanContactStatus) SetResponse(v string)

SetResponse gets a reference to the given NullableString and assigns it to the Response field.

func (*HumanContactStatus) SetResponseNil

func (o *HumanContactStatus) SetResponseNil()

SetResponseNil sets the value for Response to be an explicit nil

func (*HumanContactStatus) SetResponseOptionName

func (o *HumanContactStatus) SetResponseOptionName(v string)

SetResponseOptionName gets a reference to the given NullableString and assigns it to the ResponseOptionName field.

func (*HumanContactStatus) SetResponseOptionNameNil

func (o *HumanContactStatus) SetResponseOptionNameNil()

SetResponseOptionNameNil sets the value for ResponseOptionName to be an explicit nil

func (*HumanContactStatus) SetSlackMessageTs

func (o *HumanContactStatus) SetSlackMessageTs(v string)

SetSlackMessageTs gets a reference to the given NullableString and assigns it to the SlackMessageTs field.

func (*HumanContactStatus) SetSlackMessageTsNil

func (o *HumanContactStatus) SetSlackMessageTsNil()

SetSlackMessageTsNil sets the value for SlackMessageTs to be an explicit nil

func (HumanContactStatus) ToMap

func (o HumanContactStatus) ToMap() (map[string]interface{}, error)

func (*HumanContactStatus) UnsetRequestedAt

func (o *HumanContactStatus) UnsetRequestedAt()

UnsetRequestedAt ensures that no value is present for RequestedAt, not even an explicit nil

func (*HumanContactStatus) UnsetRespondedAt

func (o *HumanContactStatus) UnsetRespondedAt()

UnsetRespondedAt ensures that no value is present for RespondedAt, not even an explicit nil

func (*HumanContactStatus) UnsetResponse

func (o *HumanContactStatus) UnsetResponse()

UnsetResponse ensures that no value is present for Response, not even an explicit nil

func (*HumanContactStatus) UnsetResponseOptionName

func (o *HumanContactStatus) UnsetResponseOptionName()

UnsetResponseOptionName ensures that no value is present for ResponseOptionName, not even an explicit nil

func (*HumanContactStatus) UnsetSlackMessageTs

func (o *HumanContactStatus) UnsetSlackMessageTs()

UnsetSlackMessageTs ensures that no value is present for SlackMessageTs, not even an explicit nil

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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 NullableContactChannelInput

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

func NewNullableContactChannelInput

func NewNullableContactChannelInput(val *ContactChannelInput) *NullableContactChannelInput

func (NullableContactChannelInput) Get

func (NullableContactChannelInput) IsSet

func (NullableContactChannelInput) MarshalJSON

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

func (*NullableContactChannelInput) Set

func (*NullableContactChannelInput) UnmarshalJSON

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

func (*NullableContactChannelInput) Unset

func (v *NullableContactChannelInput) Unset()

type NullableContactChannelOutput

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

func NewNullableContactChannelOutput

func NewNullableContactChannelOutput(val *ContactChannelOutput) *NullableContactChannelOutput

func (NullableContactChannelOutput) Get

func (NullableContactChannelOutput) IsSet

func (NullableContactChannelOutput) MarshalJSON

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

func (*NullableContactChannelOutput) Set

func (*NullableContactChannelOutput) UnmarshalJSON

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

func (*NullableContactChannelOutput) Unset

func (v *NullableContactChannelOutput) Unset()

type NullableEmailContactChannel

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

func NewNullableEmailContactChannel

func NewNullableEmailContactChannel(val *EmailContactChannel) *NullableEmailContactChannel

func (NullableEmailContactChannel) Get

func (NullableEmailContactChannel) IsSet

func (NullableEmailContactChannel) MarshalJSON

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

func (*NullableEmailContactChannel) Set

func (*NullableEmailContactChannel) UnmarshalJSON

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

func (*NullableEmailContactChannel) Unset

func (v *NullableEmailContactChannel) Unset()

type NullableEmailRecipient

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

func NewNullableEmailRecipient

func NewNullableEmailRecipient(val *EmailRecipient) *NullableEmailRecipient

func (NullableEmailRecipient) Get

func (NullableEmailRecipient) IsSet

func (v NullableEmailRecipient) IsSet() bool

func (NullableEmailRecipient) MarshalJSON

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

func (*NullableEmailRecipient) Set

func (*NullableEmailRecipient) UnmarshalJSON

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

func (*NullableEmailRecipient) Unset

func (v *NullableEmailRecipient) Unset()

type NullableEscalation

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

func NewNullableEscalation

func NewNullableEscalation(val *Escalation) *NullableEscalation

func (NullableEscalation) Get

func (v NullableEscalation) Get() *Escalation

func (NullableEscalation) IsSet

func (v NullableEscalation) IsSet() bool

func (NullableEscalation) MarshalJSON

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

func (*NullableEscalation) Set

func (v *NullableEscalation) Set(val *Escalation)

func (*NullableEscalation) UnmarshalJSON

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

func (*NullableEscalation) Unset

func (v *NullableEscalation) Unset()

type NullableField

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

func NewNullableField

func NewNullableField(val *Field) *NullableField

func (NullableField) Get

func (v NullableField) Get() *Field

func (NullableField) IsSet

func (v NullableField) IsSet() bool

func (NullableField) MarshalJSON

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

func (*NullableField) Set

func (v *NullableField) Set(val *Field)

func (*NullableField) UnmarshalJSON

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

func (*NullableField) Unset

func (v *NullableField) 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 NullableFunctionCallInput

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

func NewNullableFunctionCallInput

func NewNullableFunctionCallInput(val *FunctionCallInput) *NullableFunctionCallInput

func (NullableFunctionCallInput) Get

func (NullableFunctionCallInput) IsSet

func (v NullableFunctionCallInput) IsSet() bool

func (NullableFunctionCallInput) MarshalJSON

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

func (*NullableFunctionCallInput) Set

func (*NullableFunctionCallInput) UnmarshalJSON

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

func (*NullableFunctionCallInput) Unset

func (v *NullableFunctionCallInput) Unset()

type NullableFunctionCallOutput

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

func NewNullableFunctionCallOutput

func NewNullableFunctionCallOutput(val *FunctionCallOutput) *NullableFunctionCallOutput

func (NullableFunctionCallOutput) Get

func (NullableFunctionCallOutput) IsSet

func (v NullableFunctionCallOutput) IsSet() bool

func (NullableFunctionCallOutput) MarshalJSON

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

func (*NullableFunctionCallOutput) Set

func (*NullableFunctionCallOutput) UnmarshalJSON

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

func (*NullableFunctionCallOutput) Unset

func (v *NullableFunctionCallOutput) Unset()

type NullableFunctionCallSpecInput

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

func (NullableFunctionCallSpecInput) Get

func (NullableFunctionCallSpecInput) IsSet

func (NullableFunctionCallSpecInput) MarshalJSON

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

func (*NullableFunctionCallSpecInput) Set

func (*NullableFunctionCallSpecInput) UnmarshalJSON

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

func (*NullableFunctionCallSpecInput) Unset

func (v *NullableFunctionCallSpecInput) Unset()

type NullableFunctionCallSpecOutput

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

func (NullableFunctionCallSpecOutput) Get

func (NullableFunctionCallSpecOutput) IsSet

func (NullableFunctionCallSpecOutput) MarshalJSON

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

func (*NullableFunctionCallSpecOutput) Set

func (*NullableFunctionCallSpecOutput) UnmarshalJSON

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

func (*NullableFunctionCallSpecOutput) Unset

func (v *NullableFunctionCallSpecOutput) Unset()

type NullableFunctionCallStatus

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

func NewNullableFunctionCallStatus

func NewNullableFunctionCallStatus(val *FunctionCallStatus) *NullableFunctionCallStatus

func (NullableFunctionCallStatus) Get

func (NullableFunctionCallStatus) IsSet

func (v NullableFunctionCallStatus) IsSet() bool

func (NullableFunctionCallStatus) MarshalJSON

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

func (*NullableFunctionCallStatus) Set

func (*NullableFunctionCallStatus) UnmarshalJSON

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

func (*NullableFunctionCallStatus) Unset

func (v *NullableFunctionCallStatus) Unset()

type NullableHTTPValidationError

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

func NewNullableHTTPValidationError

func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError

func (NullableHTTPValidationError) Get

func (NullableHTTPValidationError) IsSet

func (NullableHTTPValidationError) MarshalJSON

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

func (*NullableHTTPValidationError) Set

func (*NullableHTTPValidationError) UnmarshalJSON

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

func (*NullableHTTPValidationError) Unset

func (v *NullableHTTPValidationError) Unset()

type NullableHumanContactInput

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

func NewNullableHumanContactInput

func NewNullableHumanContactInput(val *HumanContactInput) *NullableHumanContactInput

func (NullableHumanContactInput) Get

func (NullableHumanContactInput) IsSet

func (v NullableHumanContactInput) IsSet() bool

func (NullableHumanContactInput) MarshalJSON

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

func (*NullableHumanContactInput) Set

func (*NullableHumanContactInput) UnmarshalJSON

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

func (*NullableHumanContactInput) Unset

func (v *NullableHumanContactInput) Unset()

type NullableHumanContactOutput

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

func NewNullableHumanContactOutput

func NewNullableHumanContactOutput(val *HumanContactOutput) *NullableHumanContactOutput

func (NullableHumanContactOutput) Get

func (NullableHumanContactOutput) IsSet

func (v NullableHumanContactOutput) IsSet() bool

func (NullableHumanContactOutput) MarshalJSON

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

func (*NullableHumanContactOutput) Set

func (*NullableHumanContactOutput) UnmarshalJSON

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

func (*NullableHumanContactOutput) Unset

func (v *NullableHumanContactOutput) Unset()

type NullableHumanContactSpecInput

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

func (NullableHumanContactSpecInput) Get

func (NullableHumanContactSpecInput) IsSet

func (NullableHumanContactSpecInput) MarshalJSON

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

func (*NullableHumanContactSpecInput) Set

func (*NullableHumanContactSpecInput) UnmarshalJSON

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

func (*NullableHumanContactSpecInput) Unset

func (v *NullableHumanContactSpecInput) Unset()

type NullableHumanContactSpecOutput

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

func (NullableHumanContactSpecOutput) Get

func (NullableHumanContactSpecOutput) IsSet

func (NullableHumanContactSpecOutput) MarshalJSON

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

func (*NullableHumanContactSpecOutput) Set

func (*NullableHumanContactSpecOutput) UnmarshalJSON

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

func (*NullableHumanContactSpecOutput) Unset

func (v *NullableHumanContactSpecOutput) Unset()

type NullableHumanContactStatus

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

func NewNullableHumanContactStatus

func NewNullableHumanContactStatus(val *HumanContactStatus) *NullableHumanContactStatus

func (NullableHumanContactStatus) Get

func (NullableHumanContactStatus) IsSet

func (v NullableHumanContactStatus) IsSet() bool

func (NullableHumanContactStatus) MarshalJSON

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

func (*NullableHumanContactStatus) Set

func (*NullableHumanContactStatus) UnmarshalJSON

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

func (*NullableHumanContactStatus) Unset

func (v *NullableHumanContactStatus) 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 NullableResponseOption

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

func NewNullableResponseOption

func NewNullableResponseOption(val *ResponseOption) *NullableResponseOption

func (NullableResponseOption) Get

func (NullableResponseOption) IsSet

func (v NullableResponseOption) IsSet() bool

func (NullableResponseOption) MarshalJSON

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

func (*NullableResponseOption) Set

func (*NullableResponseOption) UnmarshalJSON

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

func (*NullableResponseOption) Unset

func (v *NullableResponseOption) Unset()

type NullableSMSContactChannel

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

func NewNullableSMSContactChannel

func NewNullableSMSContactChannel(val *SMSContactChannel) *NullableSMSContactChannel

func (NullableSMSContactChannel) Get

func (NullableSMSContactChannel) IsSet

func (v NullableSMSContactChannel) IsSet() bool

func (NullableSMSContactChannel) MarshalJSON

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

func (*NullableSMSContactChannel) Set

func (*NullableSMSContactChannel) UnmarshalJSON

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

func (*NullableSMSContactChannel) Unset

func (v *NullableSMSContactChannel) Unset()

type NullableSlackContactChannelInput

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

func (NullableSlackContactChannelInput) Get

func (NullableSlackContactChannelInput) IsSet

func (NullableSlackContactChannelInput) MarshalJSON

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

func (*NullableSlackContactChannelInput) Set

func (*NullableSlackContactChannelInput) UnmarshalJSON

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

func (*NullableSlackContactChannelInput) Unset

type NullableSlackContactChannelOutput

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

func (NullableSlackContactChannelOutput) Get

func (NullableSlackContactChannelOutput) IsSet

func (NullableSlackContactChannelOutput) MarshalJSON

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

func (*NullableSlackContactChannelOutput) Set

func (*NullableSlackContactChannelOutput) UnmarshalJSON

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

func (*NullableSlackContactChannelOutput) 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 NullableValidationError

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

func NewNullableValidationError

func NewNullableValidationError(val *ValidationError) *NullableValidationError

func (NullableValidationError) Get

func (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

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

func (*NullableValidationError) Set

func (*NullableValidationError) UnmarshalJSON

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

func (*NullableValidationError) Unset

func (v *NullableValidationError) Unset()

type NullableValidationErrorLocInner

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

func (NullableValidationErrorLocInner) Get

func (NullableValidationErrorLocInner) IsSet

func (NullableValidationErrorLocInner) MarshalJSON

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

func (*NullableValidationErrorLocInner) Set

func (*NullableValidationErrorLocInner) UnmarshalJSON

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

func (*NullableValidationErrorLocInner) Unset

type NullableWhatsAppContactChannel

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

func (NullableWhatsAppContactChannel) Get

func (NullableWhatsAppContactChannel) IsSet

func (NullableWhatsAppContactChannel) MarshalJSON

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

func (*NullableWhatsAppContactChannel) Set

func (*NullableWhatsAppContactChannel) UnmarshalJSON

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

func (*NullableWhatsAppContactChannel) Unset

func (v *NullableWhatsAppContactChannel) Unset()

type ResponseOption

type ResponseOption struct {
	Name        string         `json:"name"`
	Title       NullableString `json:"title,omitempty"`
	Description NullableString `json:"description,omitempty"`
	PromptFill  NullableString `json:"prompt_fill,omitempty"`
	Interactive *bool          `json:"interactive,omitempty"`
}

ResponseOption struct for ResponseOption

func NewResponseOption

func NewResponseOption(name string) *ResponseOption

NewResponseOption instantiates a new ResponseOption 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 NewResponseOptionWithDefaults

func NewResponseOptionWithDefaults() *ResponseOption

NewResponseOptionWithDefaults instantiates a new ResponseOption 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 (*ResponseOption) GetDescription

func (o *ResponseOption) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseOption) GetDescriptionOk

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

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseOption) GetInteractive

func (o *ResponseOption) GetInteractive() bool

GetInteractive returns the Interactive field value if set, zero value otherwise.

func (*ResponseOption) GetInteractiveOk

func (o *ResponseOption) GetInteractiveOk() (*bool, bool)

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

func (*ResponseOption) GetName

func (o *ResponseOption) GetName() string

GetName returns the Name field value

func (*ResponseOption) GetNameOk

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

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

func (*ResponseOption) GetPromptFill

func (o *ResponseOption) GetPromptFill() string

GetPromptFill returns the PromptFill field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseOption) GetPromptFillOk

func (o *ResponseOption) GetPromptFillOk() (*string, bool)

GetPromptFillOk returns a tuple with the PromptFill field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseOption) GetTitle

func (o *ResponseOption) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseOption) GetTitleOk

func (o *ResponseOption) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseOption) HasDescription

func (o *ResponseOption) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ResponseOption) HasInteractive

func (o *ResponseOption) HasInteractive() bool

HasInteractive returns a boolean if a field has been set.

func (*ResponseOption) HasPromptFill

func (o *ResponseOption) HasPromptFill() bool

HasPromptFill returns a boolean if a field has been set.

func (*ResponseOption) HasTitle

func (o *ResponseOption) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (ResponseOption) MarshalJSON

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

func (*ResponseOption) SetDescription

func (o *ResponseOption) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*ResponseOption) SetDescriptionNil

func (o *ResponseOption) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*ResponseOption) SetInteractive

func (o *ResponseOption) SetInteractive(v bool)

SetInteractive gets a reference to the given bool and assigns it to the Interactive field.

func (*ResponseOption) SetName

func (o *ResponseOption) SetName(v string)

SetName sets field value

func (*ResponseOption) SetPromptFill

func (o *ResponseOption) SetPromptFill(v string)

SetPromptFill gets a reference to the given NullableString and assigns it to the PromptFill field.

func (*ResponseOption) SetPromptFillNil

func (o *ResponseOption) SetPromptFillNil()

SetPromptFillNil sets the value for PromptFill to be an explicit nil

func (*ResponseOption) SetTitle

func (o *ResponseOption) SetTitle(v string)

SetTitle gets a reference to the given NullableString and assigns it to the Title field.

func (*ResponseOption) SetTitleNil

func (o *ResponseOption) SetTitleNil()

SetTitleNil sets the value for Title to be an explicit nil

func (ResponseOption) ToMap

func (o ResponseOption) ToMap() (map[string]interface{}, error)

func (*ResponseOption) UnmarshalJSON

func (o *ResponseOption) UnmarshalJSON(data []byte) (err error)

func (*ResponseOption) UnsetDescription

func (o *ResponseOption) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*ResponseOption) UnsetPromptFill

func (o *ResponseOption) UnsetPromptFill()

UnsetPromptFill ensures that no value is present for PromptFill, not even an explicit nil

func (*ResponseOption) UnsetTitle

func (o *ResponseOption) UnsetTitle()

UnsetTitle ensures that no value is present for Title, not even an explicit nil

type SMSContactChannel

type SMSContactChannel struct {
	PhoneNumber      string         `json:"phone_number"`
	ContextAboutUser NullableString `json:"context_about_user,omitempty"`
}

SMSContactChannel Route for contacting a user via SMS

func NewSMSContactChannel

func NewSMSContactChannel(phoneNumber string) *SMSContactChannel

NewSMSContactChannel instantiates a new SMSContactChannel 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 NewSMSContactChannelWithDefaults

func NewSMSContactChannelWithDefaults() *SMSContactChannel

NewSMSContactChannelWithDefaults instantiates a new SMSContactChannel 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 (*SMSContactChannel) GetContextAboutUser

func (o *SMSContactChannel) GetContextAboutUser() string

GetContextAboutUser returns the ContextAboutUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SMSContactChannel) GetContextAboutUserOk

func (o *SMSContactChannel) GetContextAboutUserOk() (*string, bool)

GetContextAboutUserOk returns a tuple with the ContextAboutUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SMSContactChannel) GetPhoneNumber

func (o *SMSContactChannel) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value

func (*SMSContactChannel) GetPhoneNumberOk

func (o *SMSContactChannel) GetPhoneNumberOk() (*string, bool)

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

func (*SMSContactChannel) HasContextAboutUser

func (o *SMSContactChannel) HasContextAboutUser() bool

HasContextAboutUser returns a boolean if a field has been set.

func (SMSContactChannel) MarshalJSON

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

func (*SMSContactChannel) SetContextAboutUser

func (o *SMSContactChannel) SetContextAboutUser(v string)

SetContextAboutUser gets a reference to the given NullableString and assigns it to the ContextAboutUser field.

func (*SMSContactChannel) SetContextAboutUserNil

func (o *SMSContactChannel) SetContextAboutUserNil()

SetContextAboutUserNil sets the value for ContextAboutUser to be an explicit nil

func (*SMSContactChannel) SetPhoneNumber

func (o *SMSContactChannel) SetPhoneNumber(v string)

SetPhoneNumber sets field value

func (SMSContactChannel) ToMap

func (o SMSContactChannel) ToMap() (map[string]interface{}, error)

func (*SMSContactChannel) UnmarshalJSON

func (o *SMSContactChannel) UnmarshalJSON(data []byte) (err error)

func (*SMSContactChannel) UnsetContextAboutUser

func (o *SMSContactChannel) UnsetContextAboutUser()

UnsetContextAboutUser ensures that no value is present for ContextAboutUser, not even an explicit nil

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 SlackContactChannelInput

type SlackContactChannelInput struct {
	ChannelOrUserId           string         `json:"channel_or_user_id"`
	ContextAboutChannelOrUser NullableString `json:"context_about_channel_or_user,omitempty"`
	BotToken                  NullableString `json:"bot_token,omitempty"`
	AllowedResponderIds       []string       `json:"allowed_responder_ids,omitempty"`
	ExperimentalSlackBlocks   NullableBool   `json:"experimental_slack_blocks,omitempty"`
	ThreadTs                  NullableString `json:"thread_ts,omitempty"`
}

SlackContactChannelInput Route for contacting a user or channel via slack

func NewSlackContactChannelInput

func NewSlackContactChannelInput(channelOrUserId string) *SlackContactChannelInput

NewSlackContactChannelInput instantiates a new SlackContactChannelInput 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 NewSlackContactChannelInputWithDefaults

func NewSlackContactChannelInputWithDefaults() *SlackContactChannelInput

NewSlackContactChannelInputWithDefaults instantiates a new SlackContactChannelInput 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 (*SlackContactChannelInput) GetAllowedResponderIds

func (o *SlackContactChannelInput) GetAllowedResponderIds() []string

GetAllowedResponderIds returns the AllowedResponderIds field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelInput) GetAllowedResponderIdsOk

func (o *SlackContactChannelInput) GetAllowedResponderIdsOk() ([]string, bool)

GetAllowedResponderIdsOk returns a tuple with the AllowedResponderIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelInput) GetBotToken

func (o *SlackContactChannelInput) GetBotToken() string

GetBotToken returns the BotToken field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelInput) GetBotTokenOk

func (o *SlackContactChannelInput) GetBotTokenOk() (*string, bool)

GetBotTokenOk returns a tuple with the BotToken field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelInput) GetChannelOrUserId

func (o *SlackContactChannelInput) GetChannelOrUserId() string

GetChannelOrUserId returns the ChannelOrUserId field value

func (*SlackContactChannelInput) GetChannelOrUserIdOk

func (o *SlackContactChannelInput) GetChannelOrUserIdOk() (*string, bool)

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

func (*SlackContactChannelInput) GetContextAboutChannelOrUser

func (o *SlackContactChannelInput) GetContextAboutChannelOrUser() string

GetContextAboutChannelOrUser returns the ContextAboutChannelOrUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelInput) GetContextAboutChannelOrUserOk

func (o *SlackContactChannelInput) GetContextAboutChannelOrUserOk() (*string, bool)

GetContextAboutChannelOrUserOk returns a tuple with the ContextAboutChannelOrUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelInput) GetExperimentalSlackBlocks

func (o *SlackContactChannelInput) GetExperimentalSlackBlocks() bool

GetExperimentalSlackBlocks returns the ExperimentalSlackBlocks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelInput) GetExperimentalSlackBlocksOk

func (o *SlackContactChannelInput) GetExperimentalSlackBlocksOk() (*bool, bool)

GetExperimentalSlackBlocksOk returns a tuple with the ExperimentalSlackBlocks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelInput) GetThreadTs

func (o *SlackContactChannelInput) GetThreadTs() string

GetThreadTs returns the ThreadTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelInput) GetThreadTsOk

func (o *SlackContactChannelInput) GetThreadTsOk() (*string, bool)

GetThreadTsOk returns a tuple with the ThreadTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelInput) HasAllowedResponderIds

func (o *SlackContactChannelInput) HasAllowedResponderIds() bool

HasAllowedResponderIds returns a boolean if a field has been set.

func (*SlackContactChannelInput) HasBotToken

func (o *SlackContactChannelInput) HasBotToken() bool

HasBotToken returns a boolean if a field has been set.

func (*SlackContactChannelInput) HasContextAboutChannelOrUser

func (o *SlackContactChannelInput) HasContextAboutChannelOrUser() bool

HasContextAboutChannelOrUser returns a boolean if a field has been set.

func (*SlackContactChannelInput) HasExperimentalSlackBlocks

func (o *SlackContactChannelInput) HasExperimentalSlackBlocks() bool

HasExperimentalSlackBlocks returns a boolean if a field has been set.

func (*SlackContactChannelInput) HasThreadTs

func (o *SlackContactChannelInput) HasThreadTs() bool

HasThreadTs returns a boolean if a field has been set.

func (SlackContactChannelInput) MarshalJSON

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

func (*SlackContactChannelInput) SetAllowedResponderIds

func (o *SlackContactChannelInput) SetAllowedResponderIds(v []string)

SetAllowedResponderIds gets a reference to the given []string and assigns it to the AllowedResponderIds field.

func (*SlackContactChannelInput) SetBotToken

func (o *SlackContactChannelInput) SetBotToken(v string)

SetBotToken gets a reference to the given NullableString and assigns it to the BotToken field.

func (*SlackContactChannelInput) SetBotTokenNil

func (o *SlackContactChannelInput) SetBotTokenNil()

SetBotTokenNil sets the value for BotToken to be an explicit nil

func (*SlackContactChannelInput) SetChannelOrUserId

func (o *SlackContactChannelInput) SetChannelOrUserId(v string)

SetChannelOrUserId sets field value

func (*SlackContactChannelInput) SetContextAboutChannelOrUser

func (o *SlackContactChannelInput) SetContextAboutChannelOrUser(v string)

SetContextAboutChannelOrUser gets a reference to the given NullableString and assigns it to the ContextAboutChannelOrUser field.

func (*SlackContactChannelInput) SetContextAboutChannelOrUserNil

func (o *SlackContactChannelInput) SetContextAboutChannelOrUserNil()

SetContextAboutChannelOrUserNil sets the value for ContextAboutChannelOrUser to be an explicit nil

func (*SlackContactChannelInput) SetExperimentalSlackBlocks

func (o *SlackContactChannelInput) SetExperimentalSlackBlocks(v bool)

SetExperimentalSlackBlocks gets a reference to the given NullableBool and assigns it to the ExperimentalSlackBlocks field.

func (*SlackContactChannelInput) SetExperimentalSlackBlocksNil

func (o *SlackContactChannelInput) SetExperimentalSlackBlocksNil()

SetExperimentalSlackBlocksNil sets the value for ExperimentalSlackBlocks to be an explicit nil

func (*SlackContactChannelInput) SetThreadTs

func (o *SlackContactChannelInput) SetThreadTs(v string)

SetThreadTs gets a reference to the given NullableString and assigns it to the ThreadTs field.

func (*SlackContactChannelInput) SetThreadTsNil

func (o *SlackContactChannelInput) SetThreadTsNil()

SetThreadTsNil sets the value for ThreadTs to be an explicit nil

func (SlackContactChannelInput) ToMap

func (o SlackContactChannelInput) ToMap() (map[string]interface{}, error)

func (*SlackContactChannelInput) UnmarshalJSON

func (o *SlackContactChannelInput) UnmarshalJSON(data []byte) (err error)

func (*SlackContactChannelInput) UnsetBotToken

func (o *SlackContactChannelInput) UnsetBotToken()

UnsetBotToken ensures that no value is present for BotToken, not even an explicit nil

func (*SlackContactChannelInput) UnsetContextAboutChannelOrUser

func (o *SlackContactChannelInput) UnsetContextAboutChannelOrUser()

UnsetContextAboutChannelOrUser ensures that no value is present for ContextAboutChannelOrUser, not even an explicit nil

func (*SlackContactChannelInput) UnsetExperimentalSlackBlocks

func (o *SlackContactChannelInput) UnsetExperimentalSlackBlocks()

UnsetExperimentalSlackBlocks ensures that no value is present for ExperimentalSlackBlocks, not even an explicit nil

func (*SlackContactChannelInput) UnsetThreadTs

func (o *SlackContactChannelInput) UnsetThreadTs()

UnsetThreadTs ensures that no value is present for ThreadTs, not even an explicit nil

type SlackContactChannelOutput

type SlackContactChannelOutput struct {
	ChannelOrUserId           string         `json:"channel_or_user_id"`
	ContextAboutChannelOrUser NullableString `json:"context_about_channel_or_user,omitempty"`
	AllowedResponderIds       []string       `json:"allowed_responder_ids,omitempty"`
	ExperimentalSlackBlocks   NullableBool   `json:"experimental_slack_blocks,omitempty"`
	ThreadTs                  NullableString `json:"thread_ts,omitempty"`
}

SlackContactChannelOutput Route for contacting a user or channel via slack

func NewSlackContactChannelOutput

func NewSlackContactChannelOutput(channelOrUserId string) *SlackContactChannelOutput

NewSlackContactChannelOutput instantiates a new SlackContactChannelOutput 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 NewSlackContactChannelOutputWithDefaults

func NewSlackContactChannelOutputWithDefaults() *SlackContactChannelOutput

NewSlackContactChannelOutputWithDefaults instantiates a new SlackContactChannelOutput 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 (*SlackContactChannelOutput) GetAllowedResponderIds

func (o *SlackContactChannelOutput) GetAllowedResponderIds() []string

GetAllowedResponderIds returns the AllowedResponderIds field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelOutput) GetAllowedResponderIdsOk

func (o *SlackContactChannelOutput) GetAllowedResponderIdsOk() ([]string, bool)

GetAllowedResponderIdsOk returns a tuple with the AllowedResponderIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelOutput) GetChannelOrUserId

func (o *SlackContactChannelOutput) GetChannelOrUserId() string

GetChannelOrUserId returns the ChannelOrUserId field value

func (*SlackContactChannelOutput) GetChannelOrUserIdOk

func (o *SlackContactChannelOutput) GetChannelOrUserIdOk() (*string, bool)

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

func (*SlackContactChannelOutput) GetContextAboutChannelOrUser

func (o *SlackContactChannelOutput) GetContextAboutChannelOrUser() string

GetContextAboutChannelOrUser returns the ContextAboutChannelOrUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelOutput) GetContextAboutChannelOrUserOk

func (o *SlackContactChannelOutput) GetContextAboutChannelOrUserOk() (*string, bool)

GetContextAboutChannelOrUserOk returns a tuple with the ContextAboutChannelOrUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelOutput) GetExperimentalSlackBlocks

func (o *SlackContactChannelOutput) GetExperimentalSlackBlocks() bool

GetExperimentalSlackBlocks returns the ExperimentalSlackBlocks field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelOutput) GetExperimentalSlackBlocksOk

func (o *SlackContactChannelOutput) GetExperimentalSlackBlocksOk() (*bool, bool)

GetExperimentalSlackBlocksOk returns a tuple with the ExperimentalSlackBlocks field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelOutput) GetThreadTs

func (o *SlackContactChannelOutput) GetThreadTs() string

GetThreadTs returns the ThreadTs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SlackContactChannelOutput) GetThreadTsOk

func (o *SlackContactChannelOutput) GetThreadTsOk() (*string, bool)

GetThreadTsOk returns a tuple with the ThreadTs field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SlackContactChannelOutput) HasAllowedResponderIds

func (o *SlackContactChannelOutput) HasAllowedResponderIds() bool

HasAllowedResponderIds returns a boolean if a field has been set.

func (*SlackContactChannelOutput) HasContextAboutChannelOrUser

func (o *SlackContactChannelOutput) HasContextAboutChannelOrUser() bool

HasContextAboutChannelOrUser returns a boolean if a field has been set.

func (*SlackContactChannelOutput) HasExperimentalSlackBlocks

func (o *SlackContactChannelOutput) HasExperimentalSlackBlocks() bool

HasExperimentalSlackBlocks returns a boolean if a field has been set.

func (*SlackContactChannelOutput) HasThreadTs

func (o *SlackContactChannelOutput) HasThreadTs() bool

HasThreadTs returns a boolean if a field has been set.

func (SlackContactChannelOutput) MarshalJSON

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

func (*SlackContactChannelOutput) SetAllowedResponderIds

func (o *SlackContactChannelOutput) SetAllowedResponderIds(v []string)

SetAllowedResponderIds gets a reference to the given []string and assigns it to the AllowedResponderIds field.

func (*SlackContactChannelOutput) SetChannelOrUserId

func (o *SlackContactChannelOutput) SetChannelOrUserId(v string)

SetChannelOrUserId sets field value

func (*SlackContactChannelOutput) SetContextAboutChannelOrUser

func (o *SlackContactChannelOutput) SetContextAboutChannelOrUser(v string)

SetContextAboutChannelOrUser gets a reference to the given NullableString and assigns it to the ContextAboutChannelOrUser field.

func (*SlackContactChannelOutput) SetContextAboutChannelOrUserNil

func (o *SlackContactChannelOutput) SetContextAboutChannelOrUserNil()

SetContextAboutChannelOrUserNil sets the value for ContextAboutChannelOrUser to be an explicit nil

func (*SlackContactChannelOutput) SetExperimentalSlackBlocks

func (o *SlackContactChannelOutput) SetExperimentalSlackBlocks(v bool)

SetExperimentalSlackBlocks gets a reference to the given NullableBool and assigns it to the ExperimentalSlackBlocks field.

func (*SlackContactChannelOutput) SetExperimentalSlackBlocksNil

func (o *SlackContactChannelOutput) SetExperimentalSlackBlocksNil()

SetExperimentalSlackBlocksNil sets the value for ExperimentalSlackBlocks to be an explicit nil

func (*SlackContactChannelOutput) SetThreadTs

func (o *SlackContactChannelOutput) SetThreadTs(v string)

SetThreadTs gets a reference to the given NullableString and assigns it to the ThreadTs field.

func (*SlackContactChannelOutput) SetThreadTsNil

func (o *SlackContactChannelOutput) SetThreadTsNil()

SetThreadTsNil sets the value for ThreadTs to be an explicit nil

func (SlackContactChannelOutput) ToMap

func (o SlackContactChannelOutput) ToMap() (map[string]interface{}, error)

func (*SlackContactChannelOutput) UnmarshalJSON

func (o *SlackContactChannelOutput) UnmarshalJSON(data []byte) (err error)

func (*SlackContactChannelOutput) UnsetContextAboutChannelOrUser

func (o *SlackContactChannelOutput) UnsetContextAboutChannelOrUser()

UnsetContextAboutChannelOrUser ensures that no value is present for ContextAboutChannelOrUser, not even an explicit nil

func (*SlackContactChannelOutput) UnsetExperimentalSlackBlocks

func (o *SlackContactChannelOutput) UnsetExperimentalSlackBlocks()

UnsetExperimentalSlackBlocks ensures that no value is present for ExperimentalSlackBlocks, not even an explicit nil

func (*SlackContactChannelOutput) UnsetThreadTs

func (o *SlackContactChannelOutput) UnsetThreadTs()

UnsetThreadTs ensures that no value is present for ThreadTs, not even an explicit nil

type ValidationError

type ValidationError struct {
	Loc  []ValidationErrorLocInner `json:"loc"`
	Msg  string                    `json:"msg"`
	Type string                    `json:"type"`
}

ValidationError struct for ValidationError

func NewValidationError

func NewValidationError(loc []ValidationErrorLocInner, msg string, type_ string) *ValidationError

NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults

func NewValidationErrorWithDefaults() *ValidationError

NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetLoc

GetLoc returns the Loc field value

func (*ValidationError) GetLocOk

func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)

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

func (*ValidationError) GetMsg

func (o *ValidationError) GetMsg() string

GetMsg returns the Msg field value

func (*ValidationError) GetMsgOk

func (o *ValidationError) GetMsgOk() (*string, bool)

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

func (*ValidationError) GetType

func (o *ValidationError) GetType() string

GetType returns the Type field value

func (*ValidationError) GetTypeOk

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

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

func (ValidationError) MarshalJSON

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

func (*ValidationError) SetLoc

SetLoc sets field value

func (*ValidationError) SetMsg

func (o *ValidationError) SetMsg(v string)

SetMsg sets field value

func (*ValidationError) SetType

func (o *ValidationError) SetType(v string)

SetType sets field value

func (ValidationError) ToMap

func (o ValidationError) ToMap() (map[string]interface{}, error)

func (*ValidationError) UnmarshalJSON

func (o *ValidationError) UnmarshalJSON(data []byte) (err error)

type ValidationErrorLocInner

type ValidationErrorLocInner struct {
	Int32  *int32
	String *string
}

ValidationErrorLocInner struct for ValidationErrorLocInner

func (ValidationErrorLocInner) MarshalJSON

func (src ValidationErrorLocInner) MarshalJSON() ([]byte, error)

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

func (*ValidationErrorLocInner) UnmarshalJSON

func (dst *ValidationErrorLocInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type WhatsAppContactChannel

type WhatsAppContactChannel struct {
	PhoneNumber      string         `json:"phone_number"`
	ContextAboutUser NullableString `json:"context_about_user,omitempty"`
}

WhatsAppContactChannel Route for contacting a user via WhatsApp

func NewWhatsAppContactChannel

func NewWhatsAppContactChannel(phoneNumber string) *WhatsAppContactChannel

NewWhatsAppContactChannel instantiates a new WhatsAppContactChannel 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 NewWhatsAppContactChannelWithDefaults

func NewWhatsAppContactChannelWithDefaults() *WhatsAppContactChannel

NewWhatsAppContactChannelWithDefaults instantiates a new WhatsAppContactChannel 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 (*WhatsAppContactChannel) GetContextAboutUser

func (o *WhatsAppContactChannel) GetContextAboutUser() string

GetContextAboutUser returns the ContextAboutUser field value if set, zero value otherwise (both if not set or set to explicit null).

func (*WhatsAppContactChannel) GetContextAboutUserOk

func (o *WhatsAppContactChannel) GetContextAboutUserOk() (*string, bool)

GetContextAboutUserOk returns a tuple with the ContextAboutUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*WhatsAppContactChannel) GetPhoneNumber

func (o *WhatsAppContactChannel) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value

func (*WhatsAppContactChannel) GetPhoneNumberOk

func (o *WhatsAppContactChannel) GetPhoneNumberOk() (*string, bool)

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

func (*WhatsAppContactChannel) HasContextAboutUser

func (o *WhatsAppContactChannel) HasContextAboutUser() bool

HasContextAboutUser returns a boolean if a field has been set.

func (WhatsAppContactChannel) MarshalJSON

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

func (*WhatsAppContactChannel) SetContextAboutUser

func (o *WhatsAppContactChannel) SetContextAboutUser(v string)

SetContextAboutUser gets a reference to the given NullableString and assigns it to the ContextAboutUser field.

func (*WhatsAppContactChannel) SetContextAboutUserNil

func (o *WhatsAppContactChannel) SetContextAboutUserNil()

SetContextAboutUserNil sets the value for ContextAboutUser to be an explicit nil

func (*WhatsAppContactChannel) SetPhoneNumber

func (o *WhatsAppContactChannel) SetPhoneNumber(v string)

SetPhoneNumber sets field value

func (WhatsAppContactChannel) ToMap

func (o WhatsAppContactChannel) ToMap() (map[string]interface{}, error)

func (*WhatsAppContactChannel) UnmarshalJSON

func (o *WhatsAppContactChannel) UnmarshalJSON(data []byte) (err error)

func (*WhatsAppContactChannel) UnsetContextAboutUser

func (o *WhatsAppContactChannel) UnsetContextAboutUser()

UnsetContextAboutUser ensures that no value is present for ContextAboutUser, not even an explicit nil

Jump to

Keyboard shortcuts

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