crm_extensions

package
v0.0.0-...-abe38a1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 23 Imported by: 0

README

Go API client for crm_extensions

Allows an app to extend the CRM UI by surfacing custom cards in the sidebar of record pages. These cards are defined up-front as part of app configuration, then populated by external data fetch requests when the record page is accessed by a user.

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: v3
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import crm_extensions "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

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

Class Method HTTP request Description
CardsApi CardsArchive Delete /crm/v3/extensions/cards/{appId}/{cardId} Delete a card
CardsApi CardsCreate Post /crm/v3/extensions/cards/{appId} Create a new card
CardsApi CardsGetAll Get /crm/v3/extensions/cards/{appId} Get all cards
CardsApi CardsGetByID Get /crm/v3/extensions/cards/{appId}/{cardId} Get a card.
CardsApi CardsUpdate Patch /crm/v3/extensions/cards/{appId}/{cardId} Update a card
SampleResponseApi CardsGetSample Get /crm/v3/extensions/cards/sample-response Get sample card detail response

Documentation For Models

Documentation For Authorization

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

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	CardsApi *CardsApiService

	SampleResponseApi *SampleResponseApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the CRM cards API vv3 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 ActionConfirmationBody

type ActionConfirmationBody struct {
	Prompt             string `json:"prompt"`
	ConfirmButtonLabel string `json:"confirmButtonLabel"`
	CancelButtonLabel  string `json:"cancelButtonLabel"`
}

ActionConfirmationBody struct for ActionConfirmationBody

func NewActionConfirmationBody

func NewActionConfirmationBody(prompt string, confirmButtonLabel string, cancelButtonLabel string) *ActionConfirmationBody

NewActionConfirmationBody instantiates a new ActionConfirmationBody 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 NewActionConfirmationBodyWithDefaults

func NewActionConfirmationBodyWithDefaults() *ActionConfirmationBody

NewActionConfirmationBodyWithDefaults instantiates a new ActionConfirmationBody 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 (*ActionConfirmationBody) GetCancelButtonLabel

func (o *ActionConfirmationBody) GetCancelButtonLabel() string

GetCancelButtonLabel returns the CancelButtonLabel field value

func (*ActionConfirmationBody) GetCancelButtonLabelOk

func (o *ActionConfirmationBody) GetCancelButtonLabelOk() (*string, bool)

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

func (*ActionConfirmationBody) GetConfirmButtonLabel

func (o *ActionConfirmationBody) GetConfirmButtonLabel() string

GetConfirmButtonLabel returns the ConfirmButtonLabel field value

func (*ActionConfirmationBody) GetConfirmButtonLabelOk

func (o *ActionConfirmationBody) GetConfirmButtonLabelOk() (*string, bool)

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

func (*ActionConfirmationBody) GetPrompt

func (o *ActionConfirmationBody) GetPrompt() string

GetPrompt returns the Prompt field value

func (*ActionConfirmationBody) GetPromptOk

func (o *ActionConfirmationBody) GetPromptOk() (*string, bool)

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

func (ActionConfirmationBody) MarshalJSON

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

func (*ActionConfirmationBody) SetCancelButtonLabel

func (o *ActionConfirmationBody) SetCancelButtonLabel(v string)

SetCancelButtonLabel sets field value

func (*ActionConfirmationBody) SetConfirmButtonLabel

func (o *ActionConfirmationBody) SetConfirmButtonLabel(v string)

SetConfirmButtonLabel sets field value

func (*ActionConfirmationBody) SetPrompt

func (o *ActionConfirmationBody) SetPrompt(v string)

SetPrompt sets field value

type ActionHookActionBody

type ActionHookActionBody struct {
	Type                  string                  `json:"type"`
	Confirmation          *ActionConfirmationBody `json:"confirmation,omitempty"`
	HttpMethod            string                  `json:"httpMethod"`
	Url                   string                  `json:"url"`
	Label                 *string                 `json:"label,omitempty"`
	PropertyNamesIncluded []string                `json:"propertyNamesIncluded"`
}

ActionHookActionBody struct for ActionHookActionBody

func NewActionHookActionBody

func NewActionHookActionBody(type_ string, httpMethod string, url string, propertyNamesIncluded []string) *ActionHookActionBody

NewActionHookActionBody instantiates a new ActionHookActionBody 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 NewActionHookActionBodyWithDefaults

func NewActionHookActionBodyWithDefaults() *ActionHookActionBody

NewActionHookActionBodyWithDefaults instantiates a new ActionHookActionBody 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 (*ActionHookActionBody) GetConfirmation

func (o *ActionHookActionBody) GetConfirmation() ActionConfirmationBody

GetConfirmation returns the Confirmation field value if set, zero value otherwise.

func (*ActionHookActionBody) GetConfirmationOk

func (o *ActionHookActionBody) GetConfirmationOk() (*ActionConfirmationBody, bool)

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

func (*ActionHookActionBody) GetHttpMethod

func (o *ActionHookActionBody) GetHttpMethod() string

GetHttpMethod returns the HttpMethod field value

func (*ActionHookActionBody) GetHttpMethodOk

func (o *ActionHookActionBody) GetHttpMethodOk() (*string, bool)

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

func (*ActionHookActionBody) GetLabel

func (o *ActionHookActionBody) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*ActionHookActionBody) GetLabelOk

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

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

func (*ActionHookActionBody) GetPropertyNamesIncluded

func (o *ActionHookActionBody) GetPropertyNamesIncluded() []string

GetPropertyNamesIncluded returns the PropertyNamesIncluded field value

func (*ActionHookActionBody) GetPropertyNamesIncludedOk

func (o *ActionHookActionBody) GetPropertyNamesIncludedOk() ([]string, bool)

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

func (*ActionHookActionBody) GetType

func (o *ActionHookActionBody) GetType() string

GetType returns the Type field value

func (*ActionHookActionBody) GetTypeOk

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

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

func (*ActionHookActionBody) GetUrl

func (o *ActionHookActionBody) GetUrl() string

GetUrl returns the Url field value

func (*ActionHookActionBody) GetUrlOk

func (o *ActionHookActionBody) GetUrlOk() (*string, bool)

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

func (*ActionHookActionBody) HasConfirmation

func (o *ActionHookActionBody) HasConfirmation() bool

HasConfirmation returns a boolean if a field has been set.

func (*ActionHookActionBody) HasLabel

func (o *ActionHookActionBody) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (ActionHookActionBody) MarshalJSON

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

func (*ActionHookActionBody) SetConfirmation

func (o *ActionHookActionBody) SetConfirmation(v ActionConfirmationBody)

SetConfirmation gets a reference to the given ActionConfirmationBody and assigns it to the Confirmation field.

func (*ActionHookActionBody) SetHttpMethod

func (o *ActionHookActionBody) SetHttpMethod(v string)

SetHttpMethod sets field value

func (*ActionHookActionBody) SetLabel

func (o *ActionHookActionBody) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*ActionHookActionBody) SetPropertyNamesIncluded

func (o *ActionHookActionBody) SetPropertyNamesIncluded(v []string)

SetPropertyNamesIncluded sets field value

func (*ActionHookActionBody) SetType

func (o *ActionHookActionBody) SetType(v string)

SetType sets field value

func (*ActionHookActionBody) SetUrl

func (o *ActionHookActionBody) SetUrl(v string)

SetUrl sets field value

type ApiCardsArchiveRequest

type ApiCardsArchiveRequest struct {
	ApiService *CardsApiService
	// contains filtered or unexported fields
}

func (ApiCardsArchiveRequest) Execute

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

type ApiCardsCreateRequest

type ApiCardsCreateRequest struct {
	ApiService *CardsApiService
	// contains filtered or unexported fields
}

func (ApiCardsCreateRequest) CardCreateRequest

func (r ApiCardsCreateRequest) CardCreateRequest(cardCreateRequest CardCreateRequest) ApiCardsCreateRequest

The new card definition.

func (ApiCardsCreateRequest) Execute

type ApiCardsGetAllRequest

type ApiCardsGetAllRequest struct {
	ApiService *CardsApiService
	// contains filtered or unexported fields
}

func (ApiCardsGetAllRequest) Execute

type ApiCardsGetByIDRequest

type ApiCardsGetByIDRequest struct {
	ApiService *CardsApiService
	// contains filtered or unexported fields
}

func (ApiCardsGetByIDRequest) Execute

type ApiCardsGetSampleRequest

type ApiCardsGetSampleRequest struct {
	ApiService *SampleResponseApiService
	// contains filtered or unexported fields
}

func (ApiCardsGetSampleRequest) Execute

type ApiCardsUpdateRequest

type ApiCardsUpdateRequest struct {
	ApiService *CardsApiService
	// contains filtered or unexported fields
}

func (ApiCardsUpdateRequest) CardPatchRequest

func (r ApiCardsUpdateRequest) CardPatchRequest(cardPatchRequest CardPatchRequest) ApiCardsUpdateRequest

Card definition fields to be updated.

func (ApiCardsUpdateRequest) Execute

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 CardActions

type CardActions struct {
	// A list of URL prefixes that will be accepted for card action URLs. If your data fetch response includes an action URL that doesn't begin with one of these values, it will result in an error and the card will not be displayed.
	BaseUrls []string `json:"baseUrls"`
}

CardActions Configuration for custom user actions on cards.

func NewCardActions

func NewCardActions(baseUrls []string) *CardActions

NewCardActions instantiates a new CardActions 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 NewCardActionsWithDefaults

func NewCardActionsWithDefaults() *CardActions

NewCardActionsWithDefaults instantiates a new CardActions 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 (*CardActions) GetBaseUrls

func (o *CardActions) GetBaseUrls() []string

GetBaseUrls returns the BaseUrls field value

func (*CardActions) GetBaseUrlsOk

func (o *CardActions) GetBaseUrlsOk() ([]string, bool)

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

func (CardActions) MarshalJSON

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

func (*CardActions) SetBaseUrls

func (o *CardActions) SetBaseUrls(v []string)

SetBaseUrls sets field value

type CardCreateRequest

type CardCreateRequest struct {
	// The top-level title for this card. Displayed to users in the CRM UI.
	Title   string          `json:"title"`
	Fetch   CardFetchBody   `json:"fetch"`
	Display CardDisplayBody `json:"display"`
	Actions CardActions     `json:"actions"`
}

CardCreateRequest State of card definition to be created

func NewCardCreateRequest

func NewCardCreateRequest(title string, fetch CardFetchBody, display CardDisplayBody, actions CardActions) *CardCreateRequest

NewCardCreateRequest instantiates a new CardCreateRequest 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 NewCardCreateRequestWithDefaults

func NewCardCreateRequestWithDefaults() *CardCreateRequest

NewCardCreateRequestWithDefaults instantiates a new CardCreateRequest 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 (*CardCreateRequest) GetActions

func (o *CardCreateRequest) GetActions() CardActions

GetActions returns the Actions field value

func (*CardCreateRequest) GetActionsOk

func (o *CardCreateRequest) GetActionsOk() (*CardActions, bool)

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

func (*CardCreateRequest) GetDisplay

func (o *CardCreateRequest) GetDisplay() CardDisplayBody

GetDisplay returns the Display field value

func (*CardCreateRequest) GetDisplayOk

func (o *CardCreateRequest) GetDisplayOk() (*CardDisplayBody, bool)

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

func (*CardCreateRequest) GetFetch

func (o *CardCreateRequest) GetFetch() CardFetchBody

GetFetch returns the Fetch field value

func (*CardCreateRequest) GetFetchOk

func (o *CardCreateRequest) GetFetchOk() (*CardFetchBody, bool)

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

func (*CardCreateRequest) GetTitle

func (o *CardCreateRequest) GetTitle() string

GetTitle returns the Title field value

func (*CardCreateRequest) GetTitleOk

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

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

func (CardCreateRequest) MarshalJSON

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

func (*CardCreateRequest) SetActions

func (o *CardCreateRequest) SetActions(v CardActions)

SetActions sets field value

func (*CardCreateRequest) SetDisplay

func (o *CardCreateRequest) SetDisplay(v CardDisplayBody)

SetDisplay sets field value

func (*CardCreateRequest) SetFetch

func (o *CardCreateRequest) SetFetch(v CardFetchBody)

SetFetch sets field value

func (*CardCreateRequest) SetTitle

func (o *CardCreateRequest) SetTitle(v string)

SetTitle sets field value

type CardDisplayBody

type CardDisplayBody struct {
	// Card display properties. These will will be rendered as \"label : value\" pairs in the card UI. See the [example card](#) in the overview docs for more details.
	Properties []CardDisplayProperty `json:"properties"`
}

CardDisplayBody Configuration for displayed info on a card

func NewCardDisplayBody

func NewCardDisplayBody(properties []CardDisplayProperty) *CardDisplayBody

NewCardDisplayBody instantiates a new CardDisplayBody 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 NewCardDisplayBodyWithDefaults

func NewCardDisplayBodyWithDefaults() *CardDisplayBody

NewCardDisplayBodyWithDefaults instantiates a new CardDisplayBody 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 (*CardDisplayBody) GetProperties

func (o *CardDisplayBody) GetProperties() []CardDisplayProperty

GetProperties returns the Properties field value

func (*CardDisplayBody) GetPropertiesOk

func (o *CardDisplayBody) GetPropertiesOk() ([]CardDisplayProperty, bool)

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

func (CardDisplayBody) MarshalJSON

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

func (*CardDisplayBody) SetProperties

func (o *CardDisplayBody) SetProperties(v []CardDisplayProperty)

SetProperties sets field value

type CardDisplayProperty

type CardDisplayProperty struct {
	// An internal identifier for this property. This value must be unique TODO.
	Name string `json:"name"`
	// The label for this property as you'd like it displayed to users.
	Label string `json:"label"`
	// Type of data represented by this property.
	DataType string `json:"dataType"`
	// An array of available options that can be displayed. Only used in when `dataType` is `STATUS`.
	Options []DisplayOption `json:"options"`
}

CardDisplayProperty Definition for a card display property.

func NewCardDisplayProperty

func NewCardDisplayProperty(name string, label string, dataType string, options []DisplayOption) *CardDisplayProperty

NewCardDisplayProperty instantiates a new CardDisplayProperty 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 NewCardDisplayPropertyWithDefaults

func NewCardDisplayPropertyWithDefaults() *CardDisplayProperty

NewCardDisplayPropertyWithDefaults instantiates a new CardDisplayProperty 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 (*CardDisplayProperty) GetDataType

func (o *CardDisplayProperty) GetDataType() string

GetDataType returns the DataType field value

func (*CardDisplayProperty) GetDataTypeOk

func (o *CardDisplayProperty) GetDataTypeOk() (*string, bool)

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

func (*CardDisplayProperty) GetLabel

func (o *CardDisplayProperty) GetLabel() string

GetLabel returns the Label field value

func (*CardDisplayProperty) GetLabelOk

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

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

func (*CardDisplayProperty) GetName

func (o *CardDisplayProperty) GetName() string

GetName returns the Name field value

func (*CardDisplayProperty) GetNameOk

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

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

func (*CardDisplayProperty) GetOptions

func (o *CardDisplayProperty) GetOptions() []DisplayOption

GetOptions returns the Options field value

func (*CardDisplayProperty) GetOptionsOk

func (o *CardDisplayProperty) GetOptionsOk() ([]DisplayOption, bool)

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

func (CardDisplayProperty) MarshalJSON

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

func (*CardDisplayProperty) SetDataType

func (o *CardDisplayProperty) SetDataType(v string)

SetDataType sets field value

func (*CardDisplayProperty) SetLabel

func (o *CardDisplayProperty) SetLabel(v string)

SetLabel sets field value

func (*CardDisplayProperty) SetName

func (o *CardDisplayProperty) SetName(v string)

SetName sets field value

func (*CardDisplayProperty) SetOptions

func (o *CardDisplayProperty) SetOptions(v []DisplayOption)

SetOptions sets field value

type CardFetchBody

type CardFetchBody struct {
	// URL to a service endpoints that will respond with card details. HubSpot will call this endpoint each time a user visits a CRM record page where this card should be displayed.
	TargetUrl string `json:"targetUrl"`
	// An array of CRM object types where this card should be displayed. HubSpot will call your data fetch URL whenever a user visits a record page of the types defined here.
	ObjectTypes []CardObjectTypeBody `json:"objectTypes"`
}

CardFetchBody Configuration for this card's data fetch request.

func NewCardFetchBody

func NewCardFetchBody(targetUrl string, objectTypes []CardObjectTypeBody) *CardFetchBody

NewCardFetchBody instantiates a new CardFetchBody 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 NewCardFetchBodyWithDefaults

func NewCardFetchBodyWithDefaults() *CardFetchBody

NewCardFetchBodyWithDefaults instantiates a new CardFetchBody 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 (*CardFetchBody) GetObjectTypes

func (o *CardFetchBody) GetObjectTypes() []CardObjectTypeBody

GetObjectTypes returns the ObjectTypes field value

func (*CardFetchBody) GetObjectTypesOk

func (o *CardFetchBody) GetObjectTypesOk() ([]CardObjectTypeBody, bool)

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

func (*CardFetchBody) GetTargetUrl

func (o *CardFetchBody) GetTargetUrl() string

GetTargetUrl returns the TargetUrl field value

func (*CardFetchBody) GetTargetUrlOk

func (o *CardFetchBody) GetTargetUrlOk() (*string, bool)

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

func (CardFetchBody) MarshalJSON

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

func (*CardFetchBody) SetObjectTypes

func (o *CardFetchBody) SetObjectTypes(v []CardObjectTypeBody)

SetObjectTypes sets field value

func (*CardFetchBody) SetTargetUrl

func (o *CardFetchBody) SetTargetUrl(v string)

SetTargetUrl sets field value

type CardFetchBodyPatch

type CardFetchBodyPatch struct {
	// URL to a service endpoint that will respond with details for this card. HubSpot will call this endpoint each time a user visits a CRM record page where this card should be displayed.
	TargetUrl *string `json:"targetUrl,omitempty"`
	// An array of CRM object types where this card should be displayed. HubSpot will call your target URL whenever a user visits a record page of the types defined here.
	ObjectTypes []CardObjectTypeBody `json:"objectTypes"`
}

CardFetchBodyPatch Variant of CardFetchBody with fields as optional for patches

func NewCardFetchBodyPatch

func NewCardFetchBodyPatch(objectTypes []CardObjectTypeBody) *CardFetchBodyPatch

NewCardFetchBodyPatch instantiates a new CardFetchBodyPatch 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 NewCardFetchBodyPatchWithDefaults

func NewCardFetchBodyPatchWithDefaults() *CardFetchBodyPatch

NewCardFetchBodyPatchWithDefaults instantiates a new CardFetchBodyPatch 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 (*CardFetchBodyPatch) GetObjectTypes

func (o *CardFetchBodyPatch) GetObjectTypes() []CardObjectTypeBody

GetObjectTypes returns the ObjectTypes field value

func (*CardFetchBodyPatch) GetObjectTypesOk

func (o *CardFetchBodyPatch) GetObjectTypesOk() ([]CardObjectTypeBody, bool)

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

func (*CardFetchBodyPatch) GetTargetUrl

func (o *CardFetchBodyPatch) GetTargetUrl() string

GetTargetUrl returns the TargetUrl field value if set, zero value otherwise.

func (*CardFetchBodyPatch) GetTargetUrlOk

func (o *CardFetchBodyPatch) GetTargetUrlOk() (*string, bool)

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

func (*CardFetchBodyPatch) HasTargetUrl

func (o *CardFetchBodyPatch) HasTargetUrl() bool

HasTargetUrl returns a boolean if a field has been set.

func (CardFetchBodyPatch) MarshalJSON

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

func (*CardFetchBodyPatch) SetObjectTypes

func (o *CardFetchBodyPatch) SetObjectTypes(v []CardObjectTypeBody)

SetObjectTypes sets field value

func (*CardFetchBodyPatch) SetTargetUrl

func (o *CardFetchBodyPatch) SetTargetUrl(v string)

SetTargetUrl gets a reference to the given string and assigns it to the TargetUrl field.

type CardListResponse

type CardListResponse struct {
	// List of card definitions
	Results []CardResponse `json:"results"`
}

CardListResponse List of card definitions

func NewCardListResponse

func NewCardListResponse(results []CardResponse) *CardListResponse

NewCardListResponse instantiates a new CardListResponse 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 NewCardListResponseWithDefaults

func NewCardListResponseWithDefaults() *CardListResponse

NewCardListResponseWithDefaults instantiates a new CardListResponse 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 (*CardListResponse) GetResults

func (o *CardListResponse) GetResults() []CardResponse

GetResults returns the Results field value

func (*CardListResponse) GetResultsOk

func (o *CardListResponse) GetResultsOk() ([]CardResponse, bool)

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

func (CardListResponse) MarshalJSON

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

func (*CardListResponse) SetResults

func (o *CardListResponse) SetResults(v []CardResponse)

SetResults sets field value

type CardObjectTypeBody

type CardObjectTypeBody struct {
	// A CRM object type where this card should be displayed.
	Name string `json:"name"`
	// An array of properties that should be sent to this card's target URL when the data fetch request is made. Must be valid properties for the corresponding CRM object type.
	PropertiesToSend []string `json:"propertiesToSend"`
}

CardObjectTypeBody struct for CardObjectTypeBody

func NewCardObjectTypeBody

func NewCardObjectTypeBody(name string, propertiesToSend []string) *CardObjectTypeBody

NewCardObjectTypeBody instantiates a new CardObjectTypeBody 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 NewCardObjectTypeBodyWithDefaults

func NewCardObjectTypeBodyWithDefaults() *CardObjectTypeBody

NewCardObjectTypeBodyWithDefaults instantiates a new CardObjectTypeBody 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 (*CardObjectTypeBody) GetName

func (o *CardObjectTypeBody) GetName() string

GetName returns the Name field value

func (*CardObjectTypeBody) GetNameOk

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

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

func (*CardObjectTypeBody) GetPropertiesToSend

func (o *CardObjectTypeBody) GetPropertiesToSend() []string

GetPropertiesToSend returns the PropertiesToSend field value

func (*CardObjectTypeBody) GetPropertiesToSendOk

func (o *CardObjectTypeBody) GetPropertiesToSendOk() ([]string, bool)

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

func (CardObjectTypeBody) MarshalJSON

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

func (*CardObjectTypeBody) SetName

func (o *CardObjectTypeBody) SetName(v string)

SetName sets field value

func (*CardObjectTypeBody) SetPropertiesToSend

func (o *CardObjectTypeBody) SetPropertiesToSend(v []string)

SetPropertiesToSend sets field value

type CardPatchRequest

type CardPatchRequest struct {
	// The top-level title for this card. Displayed to users in the CRM UI.
	Title   *string             `json:"title,omitempty"`
	Fetch   *CardFetchBodyPatch `json:"fetch,omitempty"`
	Display *CardDisplayBody    `json:"display,omitempty"`
	Actions *CardActions        `json:"actions,omitempty"`
}

CardPatchRequest Body for a patch with optional fields

func NewCardPatchRequest

func NewCardPatchRequest() *CardPatchRequest

NewCardPatchRequest instantiates a new CardPatchRequest 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 NewCardPatchRequestWithDefaults

func NewCardPatchRequestWithDefaults() *CardPatchRequest

NewCardPatchRequestWithDefaults instantiates a new CardPatchRequest 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 (*CardPatchRequest) GetActions

func (o *CardPatchRequest) GetActions() CardActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*CardPatchRequest) GetActionsOk

func (o *CardPatchRequest) GetActionsOk() (*CardActions, bool)

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

func (*CardPatchRequest) GetDisplay

func (o *CardPatchRequest) GetDisplay() CardDisplayBody

GetDisplay returns the Display field value if set, zero value otherwise.

func (*CardPatchRequest) GetDisplayOk

func (o *CardPatchRequest) GetDisplayOk() (*CardDisplayBody, bool)

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

func (*CardPatchRequest) GetFetch

func (o *CardPatchRequest) GetFetch() CardFetchBodyPatch

GetFetch returns the Fetch field value if set, zero value otherwise.

func (*CardPatchRequest) GetFetchOk

func (o *CardPatchRequest) GetFetchOk() (*CardFetchBodyPatch, bool)

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

func (*CardPatchRequest) GetTitle

func (o *CardPatchRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CardPatchRequest) GetTitleOk

func (o *CardPatchRequest) 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.

func (*CardPatchRequest) HasActions

func (o *CardPatchRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*CardPatchRequest) HasDisplay

func (o *CardPatchRequest) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

func (*CardPatchRequest) HasFetch

func (o *CardPatchRequest) HasFetch() bool

HasFetch returns a boolean if a field has been set.

func (*CardPatchRequest) HasTitle

func (o *CardPatchRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (CardPatchRequest) MarshalJSON

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

func (*CardPatchRequest) SetActions

func (o *CardPatchRequest) SetActions(v CardActions)

SetActions gets a reference to the given CardActions and assigns it to the Actions field.

func (*CardPatchRequest) SetDisplay

func (o *CardPatchRequest) SetDisplay(v CardDisplayBody)

SetDisplay gets a reference to the given CardDisplayBody and assigns it to the Display field.

func (*CardPatchRequest) SetFetch

func (o *CardPatchRequest) SetFetch(v CardFetchBodyPatch)

SetFetch gets a reference to the given CardFetchBodyPatch and assigns it to the Fetch field.

func (*CardPatchRequest) SetTitle

func (o *CardPatchRequest) SetTitle(v string)

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

type CardResponse

type CardResponse struct {
	// Generated unique ID for card.
	Id string `json:"id"`
	// When this card was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The last time this card was updated.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// Displayed title of this card.
	Title   string          `json:"title"`
	Fetch   CardFetchBody   `json:"fetch"`
	Display CardDisplayBody `json:"display"`
	Actions CardActions     `json:"actions"`
}

CardResponse Current state of Card Definition

func NewCardResponse

func NewCardResponse(id string, title string, fetch CardFetchBody, display CardDisplayBody, actions CardActions) *CardResponse

NewCardResponse instantiates a new CardResponse 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 NewCardResponseWithDefaults

func NewCardResponseWithDefaults() *CardResponse

NewCardResponseWithDefaults instantiates a new CardResponse 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 (*CardResponse) GetActions

func (o *CardResponse) GetActions() CardActions

GetActions returns the Actions field value

func (*CardResponse) GetActionsOk

func (o *CardResponse) GetActionsOk() (*CardActions, bool)

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

func (*CardResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CardResponse) GetCreatedAtOk

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

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

func (*CardResponse) GetDisplay

func (o *CardResponse) GetDisplay() CardDisplayBody

GetDisplay returns the Display field value

func (*CardResponse) GetDisplayOk

func (o *CardResponse) GetDisplayOk() (*CardDisplayBody, bool)

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

func (*CardResponse) GetFetch

func (o *CardResponse) GetFetch() CardFetchBody

GetFetch returns the Fetch field value

func (*CardResponse) GetFetchOk

func (o *CardResponse) GetFetchOk() (*CardFetchBody, bool)

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

func (*CardResponse) GetId

func (o *CardResponse) GetId() string

GetId returns the Id field value

func (*CardResponse) GetIdOk

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

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

func (*CardResponse) GetTitle

func (o *CardResponse) GetTitle() string

GetTitle returns the Title field value

func (*CardResponse) GetTitleOk

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

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

func (*CardResponse) GetUpdatedAt

func (o *CardResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CardResponse) GetUpdatedAtOk

func (o *CardResponse) GetUpdatedAtOk() (*time.Time, bool)

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

func (*CardResponse) HasCreatedAt

func (o *CardResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CardResponse) HasUpdatedAt

func (o *CardResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CardResponse) MarshalJSON

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

func (*CardResponse) SetActions

func (o *CardResponse) SetActions(v CardActions)

SetActions sets field value

func (*CardResponse) SetCreatedAt

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

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CardResponse) SetDisplay

func (o *CardResponse) SetDisplay(v CardDisplayBody)

SetDisplay sets field value

func (*CardResponse) SetFetch

func (o *CardResponse) SetFetch(v CardFetchBody)

SetFetch sets field value

func (*CardResponse) SetId

func (o *CardResponse) SetId(v string)

SetId sets field value

func (*CardResponse) SetTitle

func (o *CardResponse) SetTitle(v string)

SetTitle sets field value

func (*CardResponse) SetUpdatedAt

func (o *CardResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type CardsApiService

type CardsApiService service

CardsApiService CardsApi service

func (*CardsApiService) CardsArchive

func (a *CardsApiService) CardsArchive(ctx context.Context, appId int32, cardId string) ApiCardsArchiveRequest

CardsArchive Delete a card

Permanently deletes a card definition with the given ID. Once deleted, data fetch requests for this card will no longer be sent to your service. This can't be undone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appId The ID of the target app.
@param cardId The ID of the card to delete.
@return ApiCardsArchiveRequest

func (*CardsApiService) CardsArchiveExecute

func (a *CardsApiService) CardsArchiveExecute(r ApiCardsArchiveRequest) (*http.Response, error)

Execute executes the request

func (*CardsApiService) CardsCreate

func (a *CardsApiService) CardsCreate(ctx context.Context, appId int32) ApiCardsCreateRequest

CardsCreate Create a new card

Defines a new card that will become active on an account when this app is installed.

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

func (*CardsApiService) CardsCreateExecute

func (a *CardsApiService) CardsCreateExecute(r ApiCardsCreateRequest) (*CardResponse, *http.Response, error)

Execute executes the request

@return CardResponse

func (*CardsApiService) CardsGetAll

func (a *CardsApiService) CardsGetAll(ctx context.Context, appId int32) ApiCardsGetAllRequest

CardsGetAll Get all cards

Returns a list of cards for a given app.

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

func (*CardsApiService) CardsGetAllExecute

Execute executes the request

@return CardListResponse

func (*CardsApiService) CardsGetByID

func (a *CardsApiService) CardsGetByID(ctx context.Context, appId int32, cardId string) ApiCardsGetByIDRequest

CardsGetByID Get a card.

Returns the definition for a card with the given ID.

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

func (*CardsApiService) CardsGetByIDExecute

func (a *CardsApiService) CardsGetByIDExecute(r ApiCardsGetByIDRequest) (*CardResponse, *http.Response, error)

Execute executes the request

@return CardResponse

func (*CardsApiService) CardsUpdate

func (a *CardsApiService) CardsUpdate(ctx context.Context, appId int32, cardId string) ApiCardsUpdateRequest

CardsUpdate Update a card

Update a card definition with new details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appId The ID of the target app.
@param cardId The ID of the card to update.
@return ApiCardsUpdateRequest

func (*CardsApiService) CardsUpdateExecute

func (a *CardsApiService) CardsUpdateExecute(r ApiCardsUpdateRequest) (*CardResponse, *http.Response, error)

Execute executes the request

@return CardResponse

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 DisplayOption

type DisplayOption struct {
	// JSON-friendly unique name for option.
	Name string `json:"name"`
	// The text that will be displayed to users for this option.
	Label string `json:"label"`
	// The type of status.
	Type string `json:"type"`
}

DisplayOption Option definition for STATUS dataTypes.

func NewDisplayOption

func NewDisplayOption(name string, label string, type_ string) *DisplayOption

NewDisplayOption instantiates a new DisplayOption 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 NewDisplayOptionWithDefaults

func NewDisplayOptionWithDefaults() *DisplayOption

NewDisplayOptionWithDefaults instantiates a new DisplayOption 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 (*DisplayOption) GetLabel

func (o *DisplayOption) GetLabel() string

GetLabel returns the Label field value

func (*DisplayOption) GetLabelOk

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

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

func (*DisplayOption) GetName

func (o *DisplayOption) GetName() string

GetName returns the Name field value

func (*DisplayOption) GetNameOk

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

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

func (*DisplayOption) GetType

func (o *DisplayOption) GetType() string

GetType returns the Type field value

func (*DisplayOption) GetTypeOk

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

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

func (DisplayOption) MarshalJSON

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

func (*DisplayOption) SetLabel

func (o *DisplayOption) SetLabel(v string)

SetLabel sets field value

func (*DisplayOption) SetName

func (o *DisplayOption) SetName(v string)

SetName sets field value

func (*DisplayOption) SetType

func (o *DisplayOption) SetType(v string)

SetType sets field value

type Error

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

Error struct for Error

func NewError

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

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCategory

func (o *Error) GetCategory() string

GetCategory returns the Category field value

func (*Error) GetCategoryOk

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

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

func (*Error) GetContext

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

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

func (*Error) GetContextOk

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

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

func (*Error) GetCorrelationId

func (o *Error) GetCorrelationId() string

GetCorrelationId returns the CorrelationId field value

func (*Error) GetCorrelationIdOk

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

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

func (*Error) GetErrors

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

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

func (*Error) GetErrorsOk

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

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

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

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

func (*Error) GetLinksOk

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

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

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

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

func (*Error) GetSubCategory

func (o *Error) GetSubCategory() string

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

func (*Error) GetSubCategoryOk

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

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

func (*Error) HasContext

func (o *Error) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*Error) HasErrors

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (o *Error) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Error) HasSubCategory

func (o *Error) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetCategory

func (o *Error) SetCategory(v string)

SetCategory sets field value

func (*Error) SetContext

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

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

func (*Error) SetCorrelationId

func (o *Error) SetCorrelationId(v string)

SetCorrelationId sets field value

func (*Error) SetErrors

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

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

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

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

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetSubCategory

func (o *Error) SetSubCategory(v string)

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

type ErrorDetail

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

ErrorDetail struct for ErrorDetail

func NewErrorDetail

func NewErrorDetail(message string) *ErrorDetail

NewErrorDetail instantiates a new ErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorDetailWithDefaults

func NewErrorDetailWithDefaults() *ErrorDetail

NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorDetail) GetCode

func (o *ErrorDetail) GetCode() string

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

func (*ErrorDetail) GetCodeOk

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

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

func (*ErrorDetail) GetContext

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

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

func (*ErrorDetail) GetContextOk

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

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

func (*ErrorDetail) GetIn

func (o *ErrorDetail) GetIn() string

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

func (*ErrorDetail) GetInOk

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

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

func (*ErrorDetail) GetMessage

func (o *ErrorDetail) GetMessage() string

GetMessage returns the Message field value

func (*ErrorDetail) GetMessageOk

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

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

func (*ErrorDetail) GetSubCategory

func (o *ErrorDetail) GetSubCategory() string

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

func (*ErrorDetail) GetSubCategoryOk

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

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

func (*ErrorDetail) HasCode

func (o *ErrorDetail) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ErrorDetail) HasContext

func (o *ErrorDetail) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ErrorDetail) HasIn

func (o *ErrorDetail) HasIn() bool

HasIn returns a boolean if a field has been set.

func (*ErrorDetail) HasSubCategory

func (o *ErrorDetail) HasSubCategory() bool

HasSubCategory returns a boolean if a field has been set.

func (ErrorDetail) MarshalJSON

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

func (*ErrorDetail) SetCode

func (o *ErrorDetail) SetCode(v string)

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

func (*ErrorDetail) SetContext

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

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

func (*ErrorDetail) SetIn

func (o *ErrorDetail) SetIn(v string)

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

func (*ErrorDetail) SetMessage

func (o *ErrorDetail) SetMessage(v string)

SetMessage sets field value

func (*ErrorDetail) SetSubCategory

func (o *ErrorDetail) SetSubCategory(v string)

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

type 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 IFrameActionBody

type IFrameActionBody struct {
	Type                  string   `json:"type"`
	Width                 int32    `json:"width"`
	Height                int32    `json:"height"`
	Url                   string   `json:"url"`
	Label                 *string  `json:"label,omitempty"`
	PropertyNamesIncluded []string `json:"propertyNamesIncluded"`
}

IFrameActionBody struct for IFrameActionBody

func NewIFrameActionBody

func NewIFrameActionBody(type_ string, width int32, height int32, url string, propertyNamesIncluded []string) *IFrameActionBody

NewIFrameActionBody instantiates a new IFrameActionBody 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 NewIFrameActionBodyWithDefaults

func NewIFrameActionBodyWithDefaults() *IFrameActionBody

NewIFrameActionBodyWithDefaults instantiates a new IFrameActionBody 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 (*IFrameActionBody) GetHeight

func (o *IFrameActionBody) GetHeight() int32

GetHeight returns the Height field value

func (*IFrameActionBody) GetHeightOk

func (o *IFrameActionBody) GetHeightOk() (*int32, bool)

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

func (*IFrameActionBody) GetLabel

func (o *IFrameActionBody) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*IFrameActionBody) GetLabelOk

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

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

func (*IFrameActionBody) GetPropertyNamesIncluded

func (o *IFrameActionBody) GetPropertyNamesIncluded() []string

GetPropertyNamesIncluded returns the PropertyNamesIncluded field value

func (*IFrameActionBody) GetPropertyNamesIncludedOk

func (o *IFrameActionBody) GetPropertyNamesIncludedOk() ([]string, bool)

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

func (*IFrameActionBody) GetType

func (o *IFrameActionBody) GetType() string

GetType returns the Type field value

func (*IFrameActionBody) GetTypeOk

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

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

func (*IFrameActionBody) GetUrl

func (o *IFrameActionBody) GetUrl() string

GetUrl returns the Url field value

func (*IFrameActionBody) GetUrlOk

func (o *IFrameActionBody) GetUrlOk() (*string, bool)

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

func (*IFrameActionBody) GetWidth

func (o *IFrameActionBody) GetWidth() int32

GetWidth returns the Width field value

func (*IFrameActionBody) GetWidthOk

func (o *IFrameActionBody) GetWidthOk() (*int32, bool)

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

func (*IFrameActionBody) HasLabel

func (o *IFrameActionBody) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (IFrameActionBody) MarshalJSON

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

func (*IFrameActionBody) SetHeight

func (o *IFrameActionBody) SetHeight(v int32)

SetHeight sets field value

func (*IFrameActionBody) SetLabel

func (o *IFrameActionBody) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*IFrameActionBody) SetPropertyNamesIncluded

func (o *IFrameActionBody) SetPropertyNamesIncluded(v []string)

SetPropertyNamesIncluded sets field value

func (*IFrameActionBody) SetType

func (o *IFrameActionBody) SetType(v string)

SetType sets field value

func (*IFrameActionBody) SetUrl

func (o *IFrameActionBody) SetUrl(v string)

SetUrl sets field value

func (*IFrameActionBody) SetWidth

func (o *IFrameActionBody) SetWidth(v int32)

SetWidth sets field value

type IntegratorCardPayloadResponse

type IntegratorCardPayloadResponse struct {
	// The total number of card properties that will be sent in this response.
	TotalCount int32 `json:"totalCount"`
	// URL to a page the integrator has built that displays all details for this card. This URL will be displayed to users under a `See more [x]` link if there are more than five items in your response, where `[x]` is the value of `itemLabel`.
	AllItemsLinkUrl *string `json:"allItemsLinkUrl,omitempty"`
	// The label to be used for the `allItemsLinkUrl` link (e.g. 'See more tickets'). If not provided, this falls back to the card's title.
	CardLabel       *string          `json:"cardLabel,omitempty"`
	TopLevelActions *TopLevelActions `json:"topLevelActions,omitempty"`
	// A list of up to five valid card sub categories.
	Sections        []IntegratorObjectResult `json:"sections,omitempty"`
	ResponseVersion *string                  `json:"responseVersion,omitempty"`
}

IntegratorCardPayloadResponse The card details payload, sent to HubSpot by an app in response to a data fetch request when a user visits a CRM record page.

func NewIntegratorCardPayloadResponse

func NewIntegratorCardPayloadResponse(totalCount int32) *IntegratorCardPayloadResponse

NewIntegratorCardPayloadResponse instantiates a new IntegratorCardPayloadResponse 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 NewIntegratorCardPayloadResponseWithDefaults

func NewIntegratorCardPayloadResponseWithDefaults() *IntegratorCardPayloadResponse

NewIntegratorCardPayloadResponseWithDefaults instantiates a new IntegratorCardPayloadResponse 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 (*IntegratorCardPayloadResponse) GetAllItemsLinkUrl

func (o *IntegratorCardPayloadResponse) GetAllItemsLinkUrl() string

GetAllItemsLinkUrl returns the AllItemsLinkUrl field value if set, zero value otherwise.

func (*IntegratorCardPayloadResponse) GetAllItemsLinkUrlOk

func (o *IntegratorCardPayloadResponse) GetAllItemsLinkUrlOk() (*string, bool)

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

func (*IntegratorCardPayloadResponse) GetCardLabel

func (o *IntegratorCardPayloadResponse) GetCardLabel() string

GetCardLabel returns the CardLabel field value if set, zero value otherwise.

func (*IntegratorCardPayloadResponse) GetCardLabelOk

func (o *IntegratorCardPayloadResponse) GetCardLabelOk() (*string, bool)

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

func (*IntegratorCardPayloadResponse) GetResponseVersion

func (o *IntegratorCardPayloadResponse) GetResponseVersion() string

GetResponseVersion returns the ResponseVersion field value if set, zero value otherwise.

func (*IntegratorCardPayloadResponse) GetResponseVersionOk

func (o *IntegratorCardPayloadResponse) GetResponseVersionOk() (*string, bool)

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

func (*IntegratorCardPayloadResponse) GetSections

GetSections returns the Sections field value if set, zero value otherwise.

func (*IntegratorCardPayloadResponse) GetSectionsOk

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

func (*IntegratorCardPayloadResponse) GetTopLevelActions

func (o *IntegratorCardPayloadResponse) GetTopLevelActions() TopLevelActions

GetTopLevelActions returns the TopLevelActions field value if set, zero value otherwise.

func (*IntegratorCardPayloadResponse) GetTopLevelActionsOk

func (o *IntegratorCardPayloadResponse) GetTopLevelActionsOk() (*TopLevelActions, bool)

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

func (*IntegratorCardPayloadResponse) GetTotalCount

func (o *IntegratorCardPayloadResponse) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*IntegratorCardPayloadResponse) GetTotalCountOk

func (o *IntegratorCardPayloadResponse) GetTotalCountOk() (*int32, bool)

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

func (*IntegratorCardPayloadResponse) HasAllItemsLinkUrl

func (o *IntegratorCardPayloadResponse) HasAllItemsLinkUrl() bool

HasAllItemsLinkUrl returns a boolean if a field has been set.

func (*IntegratorCardPayloadResponse) HasCardLabel

func (o *IntegratorCardPayloadResponse) HasCardLabel() bool

HasCardLabel returns a boolean if a field has been set.

func (*IntegratorCardPayloadResponse) HasResponseVersion

func (o *IntegratorCardPayloadResponse) HasResponseVersion() bool

HasResponseVersion returns a boolean if a field has been set.

func (*IntegratorCardPayloadResponse) HasSections

func (o *IntegratorCardPayloadResponse) HasSections() bool

HasSections returns a boolean if a field has been set.

func (*IntegratorCardPayloadResponse) HasTopLevelActions

func (o *IntegratorCardPayloadResponse) HasTopLevelActions() bool

HasTopLevelActions returns a boolean if a field has been set.

func (IntegratorCardPayloadResponse) MarshalJSON

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

func (*IntegratorCardPayloadResponse) SetAllItemsLinkUrl

func (o *IntegratorCardPayloadResponse) SetAllItemsLinkUrl(v string)

SetAllItemsLinkUrl gets a reference to the given string and assigns it to the AllItemsLinkUrl field.

func (*IntegratorCardPayloadResponse) SetCardLabel

func (o *IntegratorCardPayloadResponse) SetCardLabel(v string)

SetCardLabel gets a reference to the given string and assigns it to the CardLabel field.

func (*IntegratorCardPayloadResponse) SetResponseVersion

func (o *IntegratorCardPayloadResponse) SetResponseVersion(v string)

SetResponseVersion gets a reference to the given string and assigns it to the ResponseVersion field.

func (*IntegratorCardPayloadResponse) SetSections

SetSections gets a reference to the given []IntegratorObjectResult and assigns it to the Sections field.

func (*IntegratorCardPayloadResponse) SetTopLevelActions

func (o *IntegratorCardPayloadResponse) SetTopLevelActions(v TopLevelActions)

SetTopLevelActions gets a reference to the given TopLevelActions and assigns it to the TopLevelActions field.

func (*IntegratorCardPayloadResponse) SetTotalCount

func (o *IntegratorCardPayloadResponse) SetTotalCount(v int32)

SetTotalCount sets field value

type IntegratorObjectResult

type IntegratorObjectResult struct {
	Id      string                               `json:"id"`
	Title   string                               `json:"title"`
	LinkUrl *string                              `json:"linkUrl,omitempty"`
	Tokens  []ObjectToken                        `json:"tokens"`
	Actions []IntegratorObjectResultActionsInner `json:"actions"`
}

IntegratorObjectResult struct for IntegratorObjectResult

func NewIntegratorObjectResult

func NewIntegratorObjectResult(id string, title string, tokens []ObjectToken, actions []IntegratorObjectResultActionsInner) *IntegratorObjectResult

NewIntegratorObjectResult instantiates a new IntegratorObjectResult 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 NewIntegratorObjectResultWithDefaults

func NewIntegratorObjectResultWithDefaults() *IntegratorObjectResult

NewIntegratorObjectResultWithDefaults instantiates a new IntegratorObjectResult 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 (*IntegratorObjectResult) GetActions

GetActions returns the Actions field value

func (*IntegratorObjectResult) GetActionsOk

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

func (*IntegratorObjectResult) GetId

func (o *IntegratorObjectResult) GetId() string

GetId returns the Id field value

func (*IntegratorObjectResult) GetIdOk

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

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

func (*IntegratorObjectResult) GetLinkUrl

func (o *IntegratorObjectResult) GetLinkUrl() string

GetLinkUrl returns the LinkUrl field value if set, zero value otherwise.

func (*IntegratorObjectResult) GetLinkUrlOk

func (o *IntegratorObjectResult) GetLinkUrlOk() (*string, bool)

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

func (*IntegratorObjectResult) GetTitle

func (o *IntegratorObjectResult) GetTitle() string

GetTitle returns the Title field value

func (*IntegratorObjectResult) GetTitleOk

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

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

func (*IntegratorObjectResult) GetTokens

func (o *IntegratorObjectResult) GetTokens() []ObjectToken

GetTokens returns the Tokens field value

func (*IntegratorObjectResult) GetTokensOk

func (o *IntegratorObjectResult) GetTokensOk() ([]ObjectToken, bool)

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

func (*IntegratorObjectResult) HasLinkUrl

func (o *IntegratorObjectResult) HasLinkUrl() bool

HasLinkUrl returns a boolean if a field has been set.

func (IntegratorObjectResult) MarshalJSON

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

func (*IntegratorObjectResult) SetActions

SetActions sets field value

func (*IntegratorObjectResult) SetId

func (o *IntegratorObjectResult) SetId(v string)

SetId sets field value

func (*IntegratorObjectResult) SetLinkUrl

func (o *IntegratorObjectResult) SetLinkUrl(v string)

SetLinkUrl gets a reference to the given string and assigns it to the LinkUrl field.

func (*IntegratorObjectResult) SetTitle

func (o *IntegratorObjectResult) SetTitle(v string)

SetTitle sets field value

func (*IntegratorObjectResult) SetTokens

func (o *IntegratorObjectResult) SetTokens(v []ObjectToken)

SetTokens sets field value

type IntegratorObjectResultActionsInner

type IntegratorObjectResultActionsInner struct {
	ActionHookActionBody *ActionHookActionBody
	IFrameActionBody     *IFrameActionBody
}

IntegratorObjectResultActionsInner - struct for IntegratorObjectResultActionsInner

func ActionHookActionBodyAsIntegratorObjectResultActionsInner

func ActionHookActionBodyAsIntegratorObjectResultActionsInner(v *ActionHookActionBody) IntegratorObjectResultActionsInner

ActionHookActionBodyAsIntegratorObjectResultActionsInner is a convenience function that returns ActionHookActionBody wrapped in IntegratorObjectResultActionsInner

func IFrameActionBodyAsIntegratorObjectResultActionsInner

func IFrameActionBodyAsIntegratorObjectResultActionsInner(v *IFrameActionBody) IntegratorObjectResultActionsInner

IFrameActionBodyAsIntegratorObjectResultActionsInner is a convenience function that returns IFrameActionBody wrapped in IntegratorObjectResultActionsInner

func (*IntegratorObjectResultActionsInner) GetActualInstance

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

Get the actual instance

func (IntegratorObjectResultActionsInner) MarshalJSON

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

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

func (*IntegratorObjectResultActionsInner) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type NullableActionConfirmationBody

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

func (NullableActionConfirmationBody) Get

func (NullableActionConfirmationBody) IsSet

func (NullableActionConfirmationBody) MarshalJSON

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

func (*NullableActionConfirmationBody) Set

func (*NullableActionConfirmationBody) UnmarshalJSON

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

func (*NullableActionConfirmationBody) Unset

func (v *NullableActionConfirmationBody) Unset()

type NullableActionHookActionBody

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

func NewNullableActionHookActionBody

func NewNullableActionHookActionBody(val *ActionHookActionBody) *NullableActionHookActionBody

func (NullableActionHookActionBody) Get

func (NullableActionHookActionBody) IsSet

func (NullableActionHookActionBody) MarshalJSON

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

func (*NullableActionHookActionBody) Set

func (*NullableActionHookActionBody) UnmarshalJSON

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

func (*NullableActionHookActionBody) Unset

func (v *NullableActionHookActionBody) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCardActions

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

func NewNullableCardActions

func NewNullableCardActions(val *CardActions) *NullableCardActions

func (NullableCardActions) Get

func (NullableCardActions) IsSet

func (v NullableCardActions) IsSet() bool

func (NullableCardActions) MarshalJSON

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

func (*NullableCardActions) Set

func (v *NullableCardActions) Set(val *CardActions)

func (*NullableCardActions) UnmarshalJSON

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

func (*NullableCardActions) Unset

func (v *NullableCardActions) Unset()

type NullableCardCreateRequest

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

func NewNullableCardCreateRequest

func NewNullableCardCreateRequest(val *CardCreateRequest) *NullableCardCreateRequest

func (NullableCardCreateRequest) Get

func (NullableCardCreateRequest) IsSet

func (v NullableCardCreateRequest) IsSet() bool

func (NullableCardCreateRequest) MarshalJSON

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

func (*NullableCardCreateRequest) Set

func (*NullableCardCreateRequest) UnmarshalJSON

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

func (*NullableCardCreateRequest) Unset

func (v *NullableCardCreateRequest) Unset()

type NullableCardDisplayBody

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

func NewNullableCardDisplayBody

func NewNullableCardDisplayBody(val *CardDisplayBody) *NullableCardDisplayBody

func (NullableCardDisplayBody) Get

func (NullableCardDisplayBody) IsSet

func (v NullableCardDisplayBody) IsSet() bool

func (NullableCardDisplayBody) MarshalJSON

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

func (*NullableCardDisplayBody) Set

func (*NullableCardDisplayBody) UnmarshalJSON

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

func (*NullableCardDisplayBody) Unset

func (v *NullableCardDisplayBody) Unset()

type NullableCardDisplayProperty

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

func NewNullableCardDisplayProperty

func NewNullableCardDisplayProperty(val *CardDisplayProperty) *NullableCardDisplayProperty

func (NullableCardDisplayProperty) Get

func (NullableCardDisplayProperty) IsSet

func (NullableCardDisplayProperty) MarshalJSON

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

func (*NullableCardDisplayProperty) Set

func (*NullableCardDisplayProperty) UnmarshalJSON

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

func (*NullableCardDisplayProperty) Unset

func (v *NullableCardDisplayProperty) Unset()

type NullableCardFetchBody

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

func NewNullableCardFetchBody

func NewNullableCardFetchBody(val *CardFetchBody) *NullableCardFetchBody

func (NullableCardFetchBody) Get

func (NullableCardFetchBody) IsSet

func (v NullableCardFetchBody) IsSet() bool

func (NullableCardFetchBody) MarshalJSON

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

func (*NullableCardFetchBody) Set

func (v *NullableCardFetchBody) Set(val *CardFetchBody)

func (*NullableCardFetchBody) UnmarshalJSON

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

func (*NullableCardFetchBody) Unset

func (v *NullableCardFetchBody) Unset()

type NullableCardFetchBodyPatch

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

func NewNullableCardFetchBodyPatch

func NewNullableCardFetchBodyPatch(val *CardFetchBodyPatch) *NullableCardFetchBodyPatch

func (NullableCardFetchBodyPatch) Get

func (NullableCardFetchBodyPatch) IsSet

func (v NullableCardFetchBodyPatch) IsSet() bool

func (NullableCardFetchBodyPatch) MarshalJSON

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

func (*NullableCardFetchBodyPatch) Set

func (*NullableCardFetchBodyPatch) UnmarshalJSON

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

func (*NullableCardFetchBodyPatch) Unset

func (v *NullableCardFetchBodyPatch) Unset()

type NullableCardListResponse

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

func NewNullableCardListResponse

func NewNullableCardListResponse(val *CardListResponse) *NullableCardListResponse

func (NullableCardListResponse) Get

func (NullableCardListResponse) IsSet

func (v NullableCardListResponse) IsSet() bool

func (NullableCardListResponse) MarshalJSON

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

func (*NullableCardListResponse) Set

func (*NullableCardListResponse) UnmarshalJSON

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

func (*NullableCardListResponse) Unset

func (v *NullableCardListResponse) Unset()

type NullableCardObjectTypeBody

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

func NewNullableCardObjectTypeBody

func NewNullableCardObjectTypeBody(val *CardObjectTypeBody) *NullableCardObjectTypeBody

func (NullableCardObjectTypeBody) Get

func (NullableCardObjectTypeBody) IsSet

func (v NullableCardObjectTypeBody) IsSet() bool

func (NullableCardObjectTypeBody) MarshalJSON

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

func (*NullableCardObjectTypeBody) Set

func (*NullableCardObjectTypeBody) UnmarshalJSON

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

func (*NullableCardObjectTypeBody) Unset

func (v *NullableCardObjectTypeBody) Unset()

type NullableCardPatchRequest

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

func NewNullableCardPatchRequest

func NewNullableCardPatchRequest(val *CardPatchRequest) *NullableCardPatchRequest

func (NullableCardPatchRequest) Get

func (NullableCardPatchRequest) IsSet

func (v NullableCardPatchRequest) IsSet() bool

func (NullableCardPatchRequest) MarshalJSON

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

func (*NullableCardPatchRequest) Set

func (*NullableCardPatchRequest) UnmarshalJSON

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

func (*NullableCardPatchRequest) Unset

func (v *NullableCardPatchRequest) Unset()

type NullableCardResponse

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

func NewNullableCardResponse

func NewNullableCardResponse(val *CardResponse) *NullableCardResponse

func (NullableCardResponse) Get

func (NullableCardResponse) IsSet

func (v NullableCardResponse) IsSet() bool

func (NullableCardResponse) MarshalJSON

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

func (*NullableCardResponse) Set

func (v *NullableCardResponse) Set(val *CardResponse)

func (*NullableCardResponse) UnmarshalJSON

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

func (*NullableCardResponse) Unset

func (v *NullableCardResponse) Unset()

type NullableDisplayOption

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

func NewNullableDisplayOption

func NewNullableDisplayOption(val *DisplayOption) *NullableDisplayOption

func (NullableDisplayOption) Get

func (NullableDisplayOption) IsSet

func (v NullableDisplayOption) IsSet() bool

func (NullableDisplayOption) MarshalJSON

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

func (*NullableDisplayOption) Set

func (v *NullableDisplayOption) Set(val *DisplayOption)

func (*NullableDisplayOption) UnmarshalJSON

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

func (*NullableDisplayOption) Unset

func (v *NullableDisplayOption) Unset()

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

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

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorDetail

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

func NewNullableErrorDetail

func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail

func (NullableErrorDetail) Get

func (NullableErrorDetail) IsSet

func (v NullableErrorDetail) IsSet() bool

func (NullableErrorDetail) MarshalJSON

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

func (*NullableErrorDetail) Set

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

func (*NullableErrorDetail) UnmarshalJSON

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

func (*NullableErrorDetail) Unset

func (v *NullableErrorDetail) Unset()

type 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 NullableIFrameActionBody

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

func NewNullableIFrameActionBody

func NewNullableIFrameActionBody(val *IFrameActionBody) *NullableIFrameActionBody

func (NullableIFrameActionBody) Get

func (NullableIFrameActionBody) IsSet

func (v NullableIFrameActionBody) IsSet() bool

func (NullableIFrameActionBody) MarshalJSON

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

func (*NullableIFrameActionBody) Set

func (*NullableIFrameActionBody) UnmarshalJSON

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

func (*NullableIFrameActionBody) Unset

func (v *NullableIFrameActionBody) 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 NullableIntegratorCardPayloadResponse

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

func (NullableIntegratorCardPayloadResponse) Get

func (NullableIntegratorCardPayloadResponse) IsSet

func (NullableIntegratorCardPayloadResponse) MarshalJSON

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

func (*NullableIntegratorCardPayloadResponse) Set

func (*NullableIntegratorCardPayloadResponse) UnmarshalJSON

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

func (*NullableIntegratorCardPayloadResponse) Unset

type NullableIntegratorObjectResult

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

func (NullableIntegratorObjectResult) Get

func (NullableIntegratorObjectResult) IsSet

func (NullableIntegratorObjectResult) MarshalJSON

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

func (*NullableIntegratorObjectResult) Set

func (*NullableIntegratorObjectResult) UnmarshalJSON

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

func (*NullableIntegratorObjectResult) Unset

func (v *NullableIntegratorObjectResult) Unset()

type NullableIntegratorObjectResultActionsInner

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

func (NullableIntegratorObjectResultActionsInner) Get

func (NullableIntegratorObjectResultActionsInner) IsSet

func (NullableIntegratorObjectResultActionsInner) MarshalJSON

func (*NullableIntegratorObjectResultActionsInner) Set

func (*NullableIntegratorObjectResultActionsInner) UnmarshalJSON

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

func (*NullableIntegratorObjectResultActionsInner) Unset

type NullableObjectToken

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

func NewNullableObjectToken

func NewNullableObjectToken(val *ObjectToken) *NullableObjectToken

func (NullableObjectToken) Get

func (NullableObjectToken) IsSet

func (v NullableObjectToken) IsSet() bool

func (NullableObjectToken) MarshalJSON

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

func (*NullableObjectToken) Set

func (v *NullableObjectToken) Set(val *ObjectToken)

func (*NullableObjectToken) UnmarshalJSON

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

func (*NullableObjectToken) Unset

func (v *NullableObjectToken) 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 NullableTopLevelActions

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

func NewNullableTopLevelActions

func NewNullableTopLevelActions(val *TopLevelActions) *NullableTopLevelActions

func (NullableTopLevelActions) Get

func (NullableTopLevelActions) IsSet

func (v NullableTopLevelActions) IsSet() bool

func (NullableTopLevelActions) MarshalJSON

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

func (*NullableTopLevelActions) Set

func (*NullableTopLevelActions) UnmarshalJSON

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

func (*NullableTopLevelActions) Unset

func (v *NullableTopLevelActions) Unset()

type ObjectToken

type ObjectToken struct {
	Name     *string `json:"name,omitempty"`
	Label    *string `json:"label,omitempty"`
	DataType *string `json:"dataType,omitempty"`
	Value    string  `json:"value"`
}

ObjectToken struct for ObjectToken

func NewObjectToken

func NewObjectToken(value string) *ObjectToken

NewObjectToken instantiates a new ObjectToken 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 NewObjectTokenWithDefaults

func NewObjectTokenWithDefaults() *ObjectToken

NewObjectTokenWithDefaults instantiates a new ObjectToken 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 (*ObjectToken) GetDataType

func (o *ObjectToken) GetDataType() string

GetDataType returns the DataType field value if set, zero value otherwise.

func (*ObjectToken) GetDataTypeOk

func (o *ObjectToken) GetDataTypeOk() (*string, bool)

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

func (*ObjectToken) GetLabel

func (o *ObjectToken) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*ObjectToken) GetLabelOk

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

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

func (*ObjectToken) GetName

func (o *ObjectToken) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ObjectToken) GetNameOk

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

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

func (*ObjectToken) GetValue

func (o *ObjectToken) GetValue() string

GetValue returns the Value field value

func (*ObjectToken) GetValueOk

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

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

func (*ObjectToken) HasDataType

func (o *ObjectToken) HasDataType() bool

HasDataType returns a boolean if a field has been set.

func (*ObjectToken) HasLabel

func (o *ObjectToken) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*ObjectToken) HasName

func (o *ObjectToken) HasName() bool

HasName returns a boolean if a field has been set.

func (ObjectToken) MarshalJSON

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

func (*ObjectToken) SetDataType

func (o *ObjectToken) SetDataType(v string)

SetDataType gets a reference to the given string and assigns it to the DataType field.

func (*ObjectToken) SetLabel

func (o *ObjectToken) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*ObjectToken) SetName

func (o *ObjectToken) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ObjectToken) SetValue

func (o *ObjectToken) SetValue(v string)

SetValue sets field value

type SampleResponseApiService

type SampleResponseApiService service

SampleResponseApiService SampleResponseApi service

func (*SampleResponseApiService) CardsGetSample

CardsGetSample Get sample card detail response

Returns an example card detail response. This is the payload with displayed details for a card that will be shown to a user. An app should send this in response to the data fetch request.

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

func (*SampleResponseApiService) CardsGetSampleExecute

Execute executes the request

@return IntegratorCardPayloadResponse

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 TopLevelActions

type TopLevelActions struct {
	Settings  *IFrameActionBody                    `json:"settings,omitempty"`
	Primary   *IntegratorObjectResultActionsInner  `json:"primary,omitempty"`
	Secondary []IntegratorObjectResultActionsInner `json:"secondary"`
}

TopLevelActions struct for TopLevelActions

func NewTopLevelActions

func NewTopLevelActions(secondary []IntegratorObjectResultActionsInner) *TopLevelActions

NewTopLevelActions instantiates a new TopLevelActions 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 NewTopLevelActionsWithDefaults

func NewTopLevelActionsWithDefaults() *TopLevelActions

NewTopLevelActionsWithDefaults instantiates a new TopLevelActions 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 (*TopLevelActions) GetPrimary

GetPrimary returns the Primary field value if set, zero value otherwise.

func (*TopLevelActions) GetPrimaryOk

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

func (*TopLevelActions) GetSecondary

GetSecondary returns the Secondary field value

func (*TopLevelActions) GetSecondaryOk

func (o *TopLevelActions) GetSecondaryOk() ([]IntegratorObjectResultActionsInner, bool)

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

func (*TopLevelActions) GetSettings

func (o *TopLevelActions) GetSettings() IFrameActionBody

GetSettings returns the Settings field value if set, zero value otherwise.

func (*TopLevelActions) GetSettingsOk

func (o *TopLevelActions) GetSettingsOk() (*IFrameActionBody, bool)

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

func (*TopLevelActions) HasPrimary

func (o *TopLevelActions) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

func (*TopLevelActions) HasSettings

func (o *TopLevelActions) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (TopLevelActions) MarshalJSON

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

func (*TopLevelActions) SetPrimary

SetPrimary gets a reference to the given IntegratorObjectResultActionsInner and assigns it to the Primary field.

func (*TopLevelActions) SetSecondary

SetSecondary sets field value

func (*TopLevelActions) SetSettings

func (o *TopLevelActions) SetSettings(v IFrameActionBody)

SetSettings gets a reference to the given IFrameActionBody and assigns it to the Settings field.

Jump to

Keyboard shortcuts

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